{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/jquery/jquery.js","vendor/loader/loader.js","vendor/moment/moment.js","vendor/moment/locales/de.js","license.js","loader.js","@ember/-internals/browser-environment/index.js","@ember/-internals/console/index.js","@ember/-internals/container/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.js","@ember/-internals/extension-support/index.js","@ember/-internals/extension-support/lib/container_debug_adapter.js","@ember/-internals/extension-support/lib/data_adapter.js","@ember/-internals/glimmer/index.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal/index.js","@ember/-internals/owner/index.js","@ember/-internals/routing/index.js","@ember/-internals/routing/lib/ext/controller.js","@ember/-internals/routing/lib/location/api.js","@ember/-internals/routing/lib/location/auto_location.js","@ember/-internals/routing/lib/location/hash_location.js","@ember/-internals/routing/lib/location/history_location.js","@ember/-internals/routing/lib/location/none_location.js","@ember/-internals/routing/lib/location/util.js","@ember/-internals/routing/lib/services/router.js","@ember/-internals/routing/lib/services/routing.js","@ember/-internals/routing/lib/system/cache.js","@ember/-internals/routing/lib/system/controller_for.js","@ember/-internals/routing/lib/system/dsl.js","@ember/-internals/routing/lib/system/engines.js","@ember/-internals/routing/lib/system/generate_controller.js","@ember/-internals/routing/lib/system/query_params.js","@ember/-internals/routing/lib/system/route-info.js","@ember/-internals/routing/lib/system/route.js","@ember/-internals/routing/lib/system/router.js","@ember/-internals/routing/lib/system/router_state.js","@ember/-internals/routing/lib/system/transition.js","@ember/-internals/routing/lib/utils.js","@ember/-internals/runtime/index.js","@ember/-internals/runtime/lib/compare.js","@ember/-internals/runtime/lib/copy.js","@ember/-internals/runtime/lib/ext/function.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/is-equal.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/array.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/copyable.js","@ember/-internals/runtime/lib/mixins/enumerable.js","@ember/-internals/runtime/lib/mixins/evented.js","@ember/-internals/runtime/lib/mixins/mutable_enumerable.js","@ember/-internals/runtime/lib/mixins/observable.js","@ember/-internals/runtime/lib/mixins/promise_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/runtime/lib/system/array_proxy.js","@ember/-internals/runtime/lib/system/core_object.js","@ember/-internals/runtime/lib/system/namespace.js","@ember/-internals/runtime/lib/system/object.js","@ember/-internals/runtime/lib/system/object_proxy.js","@ember/-internals/runtime/lib/type-of.js","@ember/-internals/utils/index.js","@ember/-internals/views/index.js","@ember/-internals/views/lib/compat/attrs.js","@ember/-internals/views/lib/compat/fallback-view-registry.js","@ember/-internals/views/lib/component_lookup.js","@ember/-internals/views/lib/mixins/action_support.js","@ember/-internals/views/lib/mixins/child_views_support.js","@ember/-internals/views/lib/mixins/class_names_support.js","@ember/-internals/views/lib/mixins/text_support.js","@ember/-internals/views/lib/mixins/view_state_support.js","@ember/-internals/views/lib/mixins/view_support.js","@ember/-internals/views/lib/system/action_manager.js","@ember/-internals/views/lib/system/event_dispatcher.js","@ember/-internals/views/lib/system/jquery.js","@ember/-internals/views/lib/system/jquery_event_deprecation.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/-internals/views/lib/views/states/default.js","@ember/-internals/views/lib/views/states/destroying.js","@ember/-internals/views/lib/views/states/has_element.js","@ember/-internals/views/lib/views/states/in_dom.js","@ember/-internals/views/lib/views/states/pre_render.js","@ember/application/globals-resolver.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/application.js","@ember/application/lib/lazy_load.js","@ember/canary-features/index.js","@ember/component/index.js","@ember/component/template-only.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.js","@ember/debug/index.js","@ember/debug/lib/capture-render-tree.js","@ember/debug/lib/deprecate.js","@ember/debug/lib/handlers.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/error/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/index.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/polyfills/lib/merge.js","@ember/polyfills/lib/weak_set.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@glimmer/encoder.js","@glimmer/low-level.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/util.js","@glimmer/vm.js","@glimmer/wire-format.js","backburner.js","dag-map.js","ember-babel.js","ember-testing/index.js","ember-testing/lib/adapters/adapter.js","ember-testing/lib/adapters/qunit.js","ember-testing/lib/events.js","ember-testing/lib/ext/application.js","ember-testing/lib/ext/rsvp.js","ember-testing/lib/helpers.js","ember-testing/lib/helpers/-is-form-control.js","ember-testing/lib/helpers/and_then.js","ember-testing/lib/helpers/click.js","ember-testing/lib/helpers/current_path.js","ember-testing/lib/helpers/current_route_name.js","ember-testing/lib/helpers/current_url.js","ember-testing/lib/helpers/fill_in.js","ember-testing/lib/helpers/find.js","ember-testing/lib/helpers/find_with_assert.js","ember-testing/lib/helpers/key_event.js","ember-testing/lib/helpers/pause_test.js","ember-testing/lib/helpers/trigger_event.js","ember-testing/lib/helpers/visit.js","ember-testing/lib/helpers/wait.js","ember-testing/lib/initializers.js","ember-testing/lib/setup_for_testing.js","ember-testing/lib/support.js","ember-testing/lib/test.js","ember-testing/lib/test/adapter.js","ember-testing/lib/test/helpers.js","ember-testing/lib/test/on_inject_helpers.js","ember-testing/lib/test/pending_requests.js","ember-testing/lib/test/promise.js","ember-testing/lib/test/run.js","ember-testing/lib/test/waiters.js","ember/index.js","ember/version.js","node-module/index.js","route-recognizer.js","router_js.js","rsvp.js","vendor/shims/jquery.js","vendor/jquery/component.dollar.js","vendor/chart.js/Chart.js","vendor/cropper.min.js","vendor/shims/cropperjs.js","vendor/monkey-patch-ember-computed.js","vendor/ember-cli-shims/deprecations.js","vendor/ember-cli-shims/app-shims.js","vendor/ember-fetch.js","vendor/hammerjs/hammer.js","vendor/animation-frame/AnimationFrame.js","vendor/ember-destroyable-polyfill/index.js","vendor/ember-tooltips--popper.js","vendor/ember-tooltips--tooltip.js","node_modules/video.js/dist/video.min.js","node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.min.js","node_modules/videojs-hls-quality-selector/dist/videojs-hls-quality-selector.min.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/immutable.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/required.js","addon-tree-output/@ember-decorators/argument/-debug/decorators/type.js","addon-tree-output/@ember-decorators/argument/-debug/errors.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/array-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/one-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/optional.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/shape-of.js","addon-tree-output/@ember-decorators/argument/-debug/helpers/union-of.js","addon-tree-output/@ember-decorators/argument/-debug/index.js","addon-tree-output/@ember-decorators/argument/-debug/utils/computed.js","addon-tree-output/@ember-decorators/argument/-debug/utils/object.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validation-decorator.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validations-for.js","addon-tree-output/@ember-decorators/argument/-debug/utils/validators.js","addon-tree-output/@ember-decorators/argument/-debug/validated-component.js","addon-tree-output/@ember-decorators/argument/errors.js","addon-tree-output/@ember-decorators/argument/index.js","addon-tree-output/@ember-decorators/argument/type.js","addon-tree-output/@ember-decorators/argument/types.js","addon-tree-output/@ember-decorators/argument/utils/make-computed.js","addon-tree-output/@ember-decorators/argument/validation.js","addon-tree-output/@ember-decorators/component/index.js","addon-tree-output/@ember-decorators/object/index.js","addon-tree-output/@ember-decorators/utils/-private/class-field-descriptor.js","addon-tree-output/@ember-decorators/utils/collapse-proto.js","addon-tree-output/@ember-decorators/utils/decorator.js","addon-tree-output/@ember/render-modifiers/modifiers/did-insert.js","addon-tree-output/@ember/render-modifiers/modifiers/did-update.js","addon-tree-output/@ember/render-modifiers/modifiers/will-destroy.js","addon-tree-output/@embroider/macros/runtime.js","addon-tree-output/@embroider/util/ember-private-api.js","addon-tree-output/@embroider/util/index.js","addon-tree-output/@embroider/util/services/ensure-registered.js","addon-tree-output/@glimmer/component/-private/base-component-manager.js","addon-tree-output/@glimmer/component/-private/component.js","addon-tree-output/@glimmer/component/-private/destroyables.js","addon-tree-output/@glimmer/component/-private/ember-component-manager.js","addon-tree-output/@glimmer/component/-private/owner.js","addon-tree-output/@glimmer/component/index.js","addon-tree-output/ember-array-contains-helper/helpers/array-contains.js","addon-tree-output/ember-assign-helper/helpers/assign.js","addon-tree-output/ember-async-await-helper/components/async-await.js","addon-tree-output/ember-async-await-helper/templates/components/async-await.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-content.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-optional-tag.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-trigger.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-content.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-optional-tag.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-trigger.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown.js","addon-tree-output/ember-basic-dropdown/utils/calculate-position.js","addon-tree-output/ember-basic-dropdown/utils/has-moved.js","addon-tree-output/ember-basic-dropdown/utils/scroll-helpers.js","addon-tree-output/ember-changeset-validations/helpers/changeset.js","addon-tree-output/ember-changeset-validations/index.js","addon-tree-output/ember-changeset-validations/utils/get-messages.js","addon-tree-output/ember-changeset-validations/utils/handle-multiple-validations.js","addon-tree-output/ember-changeset-validations/utils/messages.js","addon-tree-output/ember-changeset-validations/utils/to-date.js","addon-tree-output/ember-changeset-validations/utils/validation-errors.js","addon-tree-output/ember-changeset-validations/utils/with-defaults.js","addon-tree-output/ember-changeset-validations/utils/wrap.js","addon-tree-output/ember-changeset-validations/validators/confirmation.js","addon-tree-output/ember-changeset-validations/validators/date.js","addon-tree-output/ember-changeset-validations/validators/exclusion.js","addon-tree-output/ember-changeset-validations/validators/format.js","addon-tree-output/ember-changeset-validations/validators/inclusion.js","addon-tree-output/ember-changeset-validations/validators/index.js","addon-tree-output/ember-changeset-validations/validators/length.js","addon-tree-output/ember-changeset-validations/validators/number.js","addon-tree-output/ember-changeset-validations/validators/presence.js","addon-tree-output/ember-changeset/helpers/changeset-get.js","addon-tree-output/ember-changeset/helpers/changeset-set.js","addon-tree-output/ember-changeset/helpers/changeset.js","addon-tree-output/ember-changeset/index.js","addon-tree-output/ember-changeset/utils/is-object.js","addon-tree-output/ember-changeset/utils/merge-deep.js","addon-tree-output/ember-class-based-modifier/-private/modifier-classic.js","addon-tree-output/ember-class-based-modifier/-private/modifier-manager.js","addon-tree-output/ember-class-based-modifier/-private/modifier-native.js","addon-tree-output/ember-class-based-modifier/classic.js","addon-tree-output/ember-class-based-modifier/index.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/AsyncGenerator.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/AwaitValue.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/arrayLikeToArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/arrayWithHoles.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/arrayWithoutHoles.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/assertThisInitialized.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/asyncIterator.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/asyncToGenerator.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/awaitAsyncGenerator.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classCallCheck.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classNameTDZError.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateFieldGet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateFieldSet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateMethodGet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classPrivateMethodSet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/construct.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/createClass.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/createForOfIteratorHelper.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/createSuper.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/decorate.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/defaults.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/defineEnumerableProperties.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/defineProperty.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/extends.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/get.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/getPrototypeOf.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/inherits.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/inheritsLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/initializerDefineProperty.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/initializerWarningHelper.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/instanceof.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/interopRequireDefault.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/interopRequireWildcard.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/isNativeFunction.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/iterableToArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/iterableToArrayLimit.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/iterableToArrayLimitLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/jsx.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/maybeArrayLike.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/newArrowCheck.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/nonIterableRest.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/nonIterableSpread.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/objectDestructuringEmpty.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/objectSpread.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/objectSpread2.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/objectWithoutProperties.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/possibleConstructorReturn.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/readOnlyError.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/set.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/setPrototypeOf.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/slicedToArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/slicedToArrayLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/superPropBase.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/tdz.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/temporalRef.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/temporalUndefined.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/toArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/toConsumableArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/toPrimitive.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/toPropertyKey.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/typeof.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/wrapAsyncGenerator.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/wrapNativeSuper.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/wrapRegExp.js","addon-tree-output/ember-cli-babel/@babel/runtime/helpers/esm/writeOnlyError.js","addon-tree-output/ember-cli-chart/components/ember-chart.js","addon-tree-output/ember-cli-image-cropper/components/image-cropper.js","addon-tree-output/ember-cli-image-cropper/templates/components/image-cropper.js","addon-tree-output/ember-cli-notifications/components/notification-container.js","addon-tree-output/ember-cli-notifications/components/notification-message.js","addon-tree-output/ember-cli-notifications/helpers/equal.js","addon-tree-output/ember-cli-notifications/services/notifications.js","addon-tree-output/ember-cli-notifications/templates/components/notification-container.js","addon-tree-output/ember-cli-notifications/templates/components/notification-message.js","addon-tree-output/ember-component-css/initializers/component-styles.js","addon-tree-output/ember-component-css/instance-initializers/route-styles.js","addon-tree-output/ember-component-css/mixins/style-namespacing-extras.js","addon-tree-output/ember-component-css/pod-names.js","addon-tree-output/ember-component-css/utils/init-route-styles.js","addon-tree-output/ember-composable-helpers/-private/closure-action.js","addon-tree-output/ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params.js","addon-tree-output/ember-composable-helpers/helpers/append.js","addon-tree-output/ember-composable-helpers/helpers/call.js","addon-tree-output/ember-composable-helpers/helpers/chunk.js","addon-tree-output/ember-composable-helpers/helpers/compact.js","addon-tree-output/ember-composable-helpers/helpers/compute.js","addon-tree-output/ember-composable-helpers/helpers/contains.js","addon-tree-output/ember-composable-helpers/helpers/dec.js","addon-tree-output/ember-composable-helpers/helpers/drop.js","addon-tree-output/ember-composable-helpers/helpers/entries.js","addon-tree-output/ember-composable-helpers/helpers/filter-by.js","addon-tree-output/ember-composable-helpers/helpers/filter.js","addon-tree-output/ember-composable-helpers/helpers/find-by.js","addon-tree-output/ember-composable-helpers/helpers/flatten.js","addon-tree-output/ember-composable-helpers/helpers/from-entries.js","addon-tree-output/ember-composable-helpers/helpers/group-by.js","addon-tree-output/ember-composable-helpers/helpers/has-next.js","addon-tree-output/ember-composable-helpers/helpers/has-previous.js","addon-tree-output/ember-composable-helpers/helpers/inc.js","addon-tree-output/ember-composable-helpers/helpers/includes.js","addon-tree-output/ember-composable-helpers/helpers/intersect.js","addon-tree-output/ember-composable-helpers/helpers/invoke.js","addon-tree-output/ember-composable-helpers/helpers/join.js","addon-tree-output/ember-composable-helpers/helpers/keys.js","addon-tree-output/ember-composable-helpers/helpers/map-by.js","addon-tree-output/ember-composable-helpers/helpers/map.js","addon-tree-output/ember-composable-helpers/helpers/next.js","addon-tree-output/ember-composable-helpers/helpers/noop.js","addon-tree-output/ember-composable-helpers/helpers/object-at.js","addon-tree-output/ember-composable-helpers/helpers/optional.js","addon-tree-output/ember-composable-helpers/helpers/pick.js","addon-tree-output/ember-composable-helpers/helpers/pipe-action.js","addon-tree-output/ember-composable-helpers/helpers/pipe.js","addon-tree-output/ember-composable-helpers/helpers/previous.js","addon-tree-output/ember-composable-helpers/helpers/queue.js","addon-tree-output/ember-composable-helpers/helpers/range.js","addon-tree-output/ember-composable-helpers/helpers/reduce.js","addon-tree-output/ember-composable-helpers/helpers/reject-by.js","addon-tree-output/ember-composable-helpers/helpers/repeat.js","addon-tree-output/ember-composable-helpers/helpers/reverse.js","addon-tree-output/ember-composable-helpers/helpers/shuffle.js","addon-tree-output/ember-composable-helpers/helpers/slice.js","addon-tree-output/ember-composable-helpers/helpers/sort-by.js","addon-tree-output/ember-composable-helpers/helpers/take.js","addon-tree-output/ember-composable-helpers/helpers/toggle-action.js","addon-tree-output/ember-composable-helpers/helpers/toggle.js","addon-tree-output/ember-composable-helpers/helpers/union.js","addon-tree-output/ember-composable-helpers/helpers/values.js","addon-tree-output/ember-composable-helpers/helpers/without.js","addon-tree-output/ember-composable-helpers/index.js","addon-tree-output/ember-composable-helpers/utils/as-array.js","addon-tree-output/ember-composable-helpers/utils/comparison.js","addon-tree-output/ember-composable-helpers/utils/get-index.js","addon-tree-output/ember-composable-helpers/utils/is-equal.js","addon-tree-output/ember-composable-helpers/utils/is-object.js","addon-tree-output/ember-composable-helpers/utils/is-promise.js","addon-tree-output/ember-concurrency-decorators/index.js","addon-tree-output/ember-concurrency-decorators/last-value.js","addon-tree-output/ember-concurrency-ts/async.js","addon-tree-output/ember-concurrency-ts/index.js","addon-tree-output/ember-concurrency/-buffer-policy.js","addon-tree-output/ember-concurrency/-cancelable-promise-helpers.js","addon-tree-output/ember-concurrency/-encapsulated-task.js","addon-tree-output/ember-concurrency/-helpers.js","addon-tree-output/ember-concurrency/-private/cancelable-promise-helpers.js","addon-tree-output/ember-concurrency/-private/ember-environment.js","addon-tree-output/ember-concurrency/-private/external/environment.js","addon-tree-output/ember-concurrency/-private/external/generator-state.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/bounded-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/drop-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/enqueued-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/execution-states.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/keep-latest-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/restartable-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/unbounded-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/refresh.js","addon-tree-output/ember-concurrency/-private/external/scheduler/scheduler.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/null-state.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/state-tracker.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/state.js","addon-tree-output/ember-concurrency/-private/external/task-instance/base.js","addon-tree-output/ember-concurrency/-private/external/task-instance/cancelation.js","addon-tree-output/ember-concurrency/-private/external/task-instance/completion-states.js","addon-tree-output/ember-concurrency/-private/external/task-instance/executor.js","addon-tree-output/ember-concurrency/-private/external/task-instance/initial-state.js","addon-tree-output/ember-concurrency/-private/external/task/default-state.js","addon-tree-output/ember-concurrency/-private/external/task/task-group.js","addon-tree-output/ember-concurrency/-private/external/task/task.js","addon-tree-output/ember-concurrency/-private/external/task/taskable.js","addon-tree-output/ember-concurrency/-private/external/yieldables.js","addon-tree-output/ember-concurrency/-private/helpers.js","addon-tree-output/ember-concurrency/-private/scheduler/ember-scheduler.js","addon-tree-output/ember-concurrency/-private/task-decorators.js","addon-tree-output/ember-concurrency/-private/task-factory.js","addon-tree-output/ember-concurrency/-private/task-group.js","addon-tree-output/ember-concurrency/-private/task-instance.js","addon-tree-output/ember-concurrency/-private/task-properties.js","addon-tree-output/ember-concurrency/-private/task.js","addon-tree-output/ember-concurrency/-private/taskable-mixin.js","addon-tree-output/ember-concurrency/-private/tracked-state.js","addon-tree-output/ember-concurrency/-private/utils.js","addon-tree-output/ember-concurrency/-private/wait-for.js","addon-tree-output/ember-concurrency/-property-modifiers-mixin.js","addon-tree-output/ember-concurrency/-scheduler.js","addon-tree-output/ember-concurrency/-task-group.js","addon-tree-output/ember-concurrency/-task-instance.js","addon-tree-output/ember-concurrency/-task-property.js","addon-tree-output/ember-concurrency/-task-state-mixin.js","addon-tree-output/ember-concurrency/-wait-for.js","addon-tree-output/ember-concurrency/helpers/cancel-all.js","addon-tree-output/ember-concurrency/helpers/perform.js","addon-tree-output/ember-concurrency/helpers/task.js","addon-tree-output/ember-concurrency/index.js","addon-tree-output/ember-concurrency/initializers/ember-concurrency.js","addon-tree-output/ember-concurrency/utils.js","addon-tree-output/ember-cookies/services/cookies.js","addon-tree-output/ember-cookies/utils/serialize-cookie.js","addon-tree-output/ember-copy/copy.js","addon-tree-output/ember-copy/copyable.js","addon-tree-output/ember-copy/index.js","addon-tree-output/ember-element-helper/helpers/-element.js","addon-tree-output/ember-element-helper/helpers/element.js","addon-tree-output/ember-fetch/errors.js","addon-tree-output/ember-fetch/types.js","addon-tree-output/ember-fetch/utils/determine-body-promise.js","addon-tree-output/ember-fetch/utils/mung-options-for-fetch.js","addon-tree-output/ember-fetch/utils/serialize-query-params.js","addon-tree-output/ember-gestures/components/async-element.js","addon-tree-output/ember-gestures/components/context-element.js","addon-tree-output/ember-gestures/components/fast-action.js","addon-tree-output/ember-gestures/components/fast-async.js","addon-tree-output/ember-gestures/components/gesture-element.js","addon-tree-output/ember-gestures/components/slide-toggle.js","addon-tree-output/ember-gestures/event_dispatcher.js","addon-tree-output/ember-gestures/hammer-events.js","addon-tree-output/ember-gestures/mixins/recognizers.js","addon-tree-output/ember-gestures/modifiers/recognize-gesture.js","addon-tree-output/ember-gestures/recognizers/double-tap.js","addon-tree-output/ember-gestures/recognizers/pan.js","addon-tree-output/ember-gestures/recognizers/pinch.js","addon-tree-output/ember-gestures/recognizers/press.js","addon-tree-output/ember-gestures/recognizers/rotate.js","addon-tree-output/ember-gestures/recognizers/single-tap.js","addon-tree-output/ember-gestures/recognizers/swipe.js","addon-tree-output/ember-gestures/recognizers/tap.js","addon-tree-output/ember-gestures/recognizers/vertical-pan.js","addon-tree-output/ember-gestures/recognizers/vertical-swipe.js","addon-tree-output/ember-gestures/registry-walker.js","addon-tree-output/ember-gestures/services/-gestures.js","addon-tree-output/ember-gestures/templates/components/fast-action.js","addon-tree-output/ember-gestures/templates/components/fast-async.js","addon-tree-output/ember-gestures/templates/components/gesture-element.js","addon-tree-output/ember-gestures/templates/components/slide-toggle.js","addon-tree-output/ember-gestures/utils/is-mobile.js","addon-tree-output/ember-gestures/utils/string/cap-first-letter.js","addon-tree-output/ember-gestures/utils/string/capitalize-word.js","addon-tree-output/ember-gestures/utils/string/capitalize-words.js","addon-tree-output/ember-gestures/utils/string/dasherized-to-camel.js","addon-tree-output/ember-gestures/utils/string/dasherized-to-words.js","addon-tree-output/ember-gestures/utils/string/strip-whitespace.js","addon-tree-output/ember-gestures/utils/string/uncapitalize-word.js","addon-tree-output/ember-get-config/index.js","addon-tree-output/ember-in-element-polyfill/helpers/-clear-element.js","addon-tree-output/ember-in-viewport/-private/observer-admin.js","addon-tree-output/ember-in-viewport/-private/raf-admin.js","addon-tree-output/ember-in-viewport/breakpoints.js","addon-tree-output/ember-in-viewport/index.js","addon-tree-output/ember-in-viewport/initializers/viewport-config.js","addon-tree-output/ember-in-viewport/mixins/in-viewport.js","addon-tree-output/ember-in-viewport/modifiers/in-viewport.js","addon-tree-output/ember-in-viewport/services/in-viewport.js","addon-tree-output/ember-in-viewport/utils/can-use-dom.js","addon-tree-output/ember-in-viewport/utils/can-use-intersection-observer.js","addon-tree-output/ember-in-viewport/utils/can-use-raf.js","addon-tree-output/ember-in-viewport/utils/check-scroll-direction.js","addon-tree-output/ember-in-viewport/utils/find-elem.js","addon-tree-output/ember-in-viewport/utils/is-in-viewport.js","addon-tree-output/ember-intl/-private/error-types.js","addon-tree-output/ember-intl/-private/formatters/-base.js","addon-tree-output/ember-intl/-private/formatters/-format-datetime.js","addon-tree-output/ember-intl/-private/formatters/format-date.js","addon-tree-output/ember-intl/-private/formatters/format-message.js","addon-tree-output/ember-intl/-private/formatters/format-number.js","addon-tree-output/ember-intl/-private/formatters/format-relative.js","addon-tree-output/ember-intl/-private/formatters/format-time.js","addon-tree-output/ember-intl/-private/formatters/index.js","addon-tree-output/ember-intl/-private/store/container.js","addon-tree-output/ember-intl/-private/store/translation.js","addon-tree-output/ember-intl/-private/utils/empty-object.js","addon-tree-output/ember-intl/-private/utils/flatten.js","addon-tree-output/ember-intl/-private/utils/get-dom.js","addon-tree-output/ember-intl/-private/utils/hydrate.js","addon-tree-output/ember-intl/-private/utils/is-array-equal.js","addon-tree-output/ember-intl/-private/utils/missing-message.js","addon-tree-output/ember-intl/-private/utils/normalize-locale.js","addon-tree-output/ember-intl/-private/utils/parse.js","addon-tree-output/ember-intl/helpers/-format-base.js","addon-tree-output/ember-intl/helpers/format-date.js","addon-tree-output/ember-intl/helpers/format-message.js","addon-tree-output/ember-intl/helpers/format-number.js","addon-tree-output/ember-intl/helpers/format-relative.js","addon-tree-output/ember-intl/helpers/format-time.js","addon-tree-output/ember-intl/helpers/t.js","addon-tree-output/ember-intl/index.js","addon-tree-output/ember-intl/macros/index.js","addon-tree-output/ember-intl/macros/intl.js","addon-tree-output/ember-intl/macros/t.js","addon-tree-output/ember-intl/services/intl.js","addon-tree-output/ember-intl/translations.js","addon-tree-output/ember-is-mobile/helpers/is-mobile.js","addon-tree-output/ember-is-mobile/index.js","addon-tree-output/ember-is-mobile/services/is-mobile.js","addon-tree-output/ember-load-initializers/index.js","addon-tree-output/ember-macro-helpers/-build-computed.js","addon-tree-output/ember-macro-helpers/-constants.js","addon-tree-output/ember-macro-helpers/collapse-key.js","addon-tree-output/ember-macro-helpers/collapse-keys.js","addon-tree-output/ember-macro-helpers/computed-unsafe.js","addon-tree-output/ember-macro-helpers/computed.js","addon-tree-output/ember-macro-helpers/create-class-computed.js","addon-tree-output/ember-macro-helpers/curried-computed.js","addon-tree-output/ember-macro-helpers/expand-property-list.js","addon-tree-output/ember-macro-helpers/expand-property.js","addon-tree-output/ember-macro-helpers/flatten-keys-unsafe.js","addon-tree-output/ember-macro-helpers/flatten-keys.js","addon-tree-output/ember-macro-helpers/get-value-unsafe.js","addon-tree-output/ember-macro-helpers/get-value.js","addon-tree-output/ember-macro-helpers/index.js","addon-tree-output/ember-macro-helpers/lazy-computed.js","addon-tree-output/ember-macro-helpers/lazy-curried-computed.js","addon-tree-output/ember-macro-helpers/literal.js","addon-tree-output/ember-macro-helpers/normalize-array-key.js","addon-tree-output/ember-macro-helpers/raw.js","addon-tree-output/ember-macro-helpers/reads.js","addon-tree-output/ember-macro-helpers/writable.js","addon-tree-output/ember-math-helpers/helpers/abs.js","addon-tree-output/ember-math-helpers/helpers/acos.js","addon-tree-output/ember-math-helpers/helpers/acosh.js","addon-tree-output/ember-math-helpers/helpers/add.js","addon-tree-output/ember-math-helpers/helpers/asin.js","addon-tree-output/ember-math-helpers/helpers/asinh.js","addon-tree-output/ember-math-helpers/helpers/atan.js","addon-tree-output/ember-math-helpers/helpers/atan2.js","addon-tree-output/ember-math-helpers/helpers/atanh.js","addon-tree-output/ember-math-helpers/helpers/cbrt.js","addon-tree-output/ember-math-helpers/helpers/ceil.js","addon-tree-output/ember-math-helpers/helpers/clz32.js","addon-tree-output/ember-math-helpers/helpers/cos.js","addon-tree-output/ember-math-helpers/helpers/cosh.js","addon-tree-output/ember-math-helpers/helpers/div.js","addon-tree-output/ember-math-helpers/helpers/exp.js","addon-tree-output/ember-math-helpers/helpers/expm1.js","addon-tree-output/ember-math-helpers/helpers/floor.js","addon-tree-output/ember-math-helpers/helpers/fround.js","addon-tree-output/ember-math-helpers/helpers/gcd.js","addon-tree-output/ember-math-helpers/helpers/hypot.js","addon-tree-output/ember-math-helpers/helpers/imul.js","addon-tree-output/ember-math-helpers/helpers/lcm.js","addon-tree-output/ember-math-helpers/helpers/log-e.js","addon-tree-output/ember-math-helpers/helpers/log10.js","addon-tree-output/ember-math-helpers/helpers/log1p.js","addon-tree-output/ember-math-helpers/helpers/log2.js","addon-tree-output/ember-math-helpers/helpers/max.js","addon-tree-output/ember-math-helpers/helpers/min.js","addon-tree-output/ember-math-helpers/helpers/mod.js","addon-tree-output/ember-math-helpers/helpers/mult.js","addon-tree-output/ember-math-helpers/helpers/pow.js","addon-tree-output/ember-math-helpers/helpers/random.js","addon-tree-output/ember-math-helpers/helpers/round.js","addon-tree-output/ember-math-helpers/helpers/sign.js","addon-tree-output/ember-math-helpers/helpers/sin.js","addon-tree-output/ember-math-helpers/helpers/sqrt.js","addon-tree-output/ember-math-helpers/helpers/sub.js","addon-tree-output/ember-math-helpers/helpers/tan.js","addon-tree-output/ember-math-helpers/helpers/tanh.js","addon-tree-output/ember-math-helpers/helpers/trunc.js","addon-tree-output/ember-maybe-in-element/components/maybe-in-element.js","addon-tree-output/ember-modifier/-private/class/modifier-manager.js","addon-tree-output/ember-modifier/-private/class/modifier.js","addon-tree-output/ember-modifier/-private/compat.js","addon-tree-output/ember-modifier/-private/functional/modifier-manager.js","addon-tree-output/ember-modifier/-private/functional/modifier.js","addon-tree-output/ember-modifier/-private/interfaces.js","addon-tree-output/ember-modifier/index.js","addon-tree-output/ember-moment/computeds/-base.js","addon-tree-output/ember-moment/computeds/calendar.js","addon-tree-output/ember-moment/computeds/duration.js","addon-tree-output/ember-moment/computeds/format.js","addon-tree-output/ember-moment/computeds/from-now.js","addon-tree-output/ember-moment/computeds/humanize.js","addon-tree-output/ember-moment/computeds/locale.js","addon-tree-output/ember-moment/computeds/moment.js","addon-tree-output/ember-moment/computeds/to-now.js","addon-tree-output/ember-moment/computeds/tz.js","addon-tree-output/ember-moment/computeds/utc.js","addon-tree-output/ember-moment/helpers/-base.js","addon-tree-output/ember-moment/helpers/is-after.js","addon-tree-output/ember-moment/helpers/is-before.js","addon-tree-output/ember-moment/helpers/is-between.js","addon-tree-output/ember-moment/helpers/is-same-or-after.js","addon-tree-output/ember-moment/helpers/is-same-or-before.js","addon-tree-output/ember-moment/helpers/is-same.js","addon-tree-output/ember-moment/helpers/moment-add.js","addon-tree-output/ember-moment/helpers/moment-calendar.js","addon-tree-output/ember-moment/helpers/moment-diff.js","addon-tree-output/ember-moment/helpers/moment-duration.js","addon-tree-output/ember-moment/helpers/moment-format.js","addon-tree-output/ember-moment/helpers/moment-from-now.js","addon-tree-output/ember-moment/helpers/moment-from.js","addon-tree-output/ember-moment/helpers/moment-subtract.js","addon-tree-output/ember-moment/helpers/moment-to-date.js","addon-tree-output/ember-moment/helpers/moment-to-now.js","addon-tree-output/ember-moment/helpers/moment-to.js","addon-tree-output/ember-moment/helpers/moment.js","addon-tree-output/ember-moment/helpers/now.js","addon-tree-output/ember-moment/helpers/unix.js","addon-tree-output/ember-moment/helpers/utc.js","addon-tree-output/ember-moment/services/moment.js","addon-tree-output/ember-moment/utils/helper-compute.js","addon-tree-output/ember-on-modifier/helpers/prevent-default.js","addon-tree-output/ember-on-modifier/utils/event-listener.js","addon-tree-output/ember-power-select/components/power-select-multiple.js","addon-tree-output/ember-power-select/components/power-select-multiple/trigger.js","addon-tree-output/ember-power-select/components/power-select.js","addon-tree-output/ember-power-select/components/power-select/before-options.js","addon-tree-output/ember-power-select/components/power-select/no-matches-message.js","addon-tree-output/ember-power-select/components/power-select/options.js","addon-tree-output/ember-power-select/components/power-select/placeholder.js","addon-tree-output/ember-power-select/components/power-select/power-select-group.js","addon-tree-output/ember-power-select/components/power-select/search-message.js","addon-tree-output/ember-power-select/components/power-select/trigger.js","addon-tree-output/ember-power-select/helpers/ember-power-select-is-group.js","addon-tree-output/ember-power-select/helpers/ember-power-select-is-selected.js","addon-tree-output/ember-power-select/utils/computed-fallback-if-undefined.js","addon-tree-output/ember-power-select/utils/group-utils.js","addon-tree-output/ember-resolver/features.js","addon-tree-output/ember-resolver/index.js","addon-tree-output/ember-resolver/resolver.js","addon-tree-output/ember-resolver/resolvers/classic/container-debug-adapter.js","addon-tree-output/ember-resolver/resolvers/classic/index.js","addon-tree-output/ember-resolver/utils/class-factory.js","addon-tree-output/ember-resolver/utils/make-dictionary.js","addon-tree-output/ember-searchable-select/components/searchable-select-option.js","addon-tree-output/ember-searchable-select/components/searchable-select.js","addon-tree-output/ember-searchable-select/helpers/searchable-select-get.js","addon-tree-output/ember-searchable-select/helpers/searchable-select-highlight-match.js","addon-tree-output/ember-searchable-select/pods/components/options-table/component.js","addon-tree-output/ember-searchable-select/pods/components/options-table/template.js","addon-tree-output/ember-searchable-select/templates/components/searchable-select-option.js","addon-tree-output/ember-searchable-select/templates/components/searchable-select.js","addon-tree-output/ember-style-modifier/modifiers/style.js","addon-tree-output/ember-test-waiters/build-waiter.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/ember-test-waiters/noop-test-waiter.js","addon-tree-output/ember-test-waiters/test-waiter.js","addon-tree-output/ember-test-waiters/types/index.js","addon-tree-output/ember-test-waiters/wait-for-promise.js","addon-tree-output/ember-test-waiters/waiter-manager.js","addon-tree-output/ember-text-measurer/services/text-measurer.js","addon-tree-output/ember-tooltips/components/ember-popover.js","addon-tree-output/ember-tooltips/components/ember-tooltip-base.js","addon-tree-output/ember-tooltips/components/ember-tooltip.js","addon-tree-output/ember-tooltips/templates/components/ember-tooltip-base.js","addon-tree-output/ember-tooltips/utils/ember-popover.js","addon-tree-output/ember-truth-helpers/helpers/and.js","addon-tree-output/ember-truth-helpers/helpers/equal.js","addon-tree-output/ember-truth-helpers/helpers/gt.js","addon-tree-output/ember-truth-helpers/helpers/gte.js","addon-tree-output/ember-truth-helpers/helpers/is-array.js","addon-tree-output/ember-truth-helpers/helpers/is-empty.js","addon-tree-output/ember-truth-helpers/helpers/is-equal.js","addon-tree-output/ember-truth-helpers/helpers/lt.js","addon-tree-output/ember-truth-helpers/helpers/lte.js","addon-tree-output/ember-truth-helpers/helpers/not-equal.js","addon-tree-output/ember-truth-helpers/helpers/not.js","addon-tree-output/ember-truth-helpers/helpers/or.js","addon-tree-output/ember-truth-helpers/helpers/xor.js","addon-tree-output/ember-truth-helpers/utils/truth-convert.js","addon-tree-output/ember-uuid/index.js","addon-tree-output/ember-uuid/utils/browser-rng.js","addon-tree-output/ember-uuid/utils/uuid-generator.js","addon-tree-output/ember-validators/collection.js","addon-tree-output/ember-validators/confirmation.js","addon-tree-output/ember-validators/date.js","addon-tree-output/ember-validators/ds-error.js","addon-tree-output/ember-validators/exclusion.js","addon-tree-output/ember-validators/format.js","addon-tree-output/ember-validators/inclusion.js","addon-tree-output/ember-validators/index.js","addon-tree-output/ember-validators/length.js","addon-tree-output/ember-validators/messages.js","addon-tree-output/ember-validators/number.js","addon-tree-output/ember-validators/presence.js","addon-tree-output/ember-validators/utils/is-promise.js","addon-tree-output/ember-validators/utils/unwrap-proxy.js","addon-tree-output/ember-validators/utils/validation-error.js","addon-tree-output/ember-welcome-page/components/welcome-page.js","addon-tree-output/ember-welcome-page/templates/components/welcome-page.js","addon-tree-output/ember-wormhole/components/ember-wormhole.js","addon-tree-output/ember-wormhole/templates/components/ember-wormhole.js","addon-tree-output/ember-wormhole/utils/dom.js","addon-tree-output/event-components/amplify/service.js","addon-tree-output/event-components/amplify/types.js","addon-tree-output/event-components/async-post/async-post.interface.js","addon-tree-output/event-components/auth/service.js","addon-tree-output/event-components/components/active-users/component.js","addon-tree-output/event-components/components/active-users/template.js","addon-tree-output/event-components/components/app-agenda-appointment-owner/component.js","addon-tree-output/event-components/components/app-agenda-appointment-owner/template.js","addon-tree-output/event-components/components/app-agenda-appointment/component.js","addon-tree-output/event-components/components/app-agenda-appointment/template.js","addon-tree-output/event-components/components/app-agenda-item/component.js","addon-tree-output/event-components/components/app-agenda-item/template.js","addon-tree-output/event-components/components/app-agenda/component.js","addon-tree-output/event-components/components/app-agenda/template.js","addon-tree-output/event-components/components/app-appointments/component.js","addon-tree-output/event-components/components/app-appointments/template.js","addon-tree-output/event-components/components/app-avatar-module/component.js","addon-tree-output/event-components/components/app-avatar-module/template.js","addon-tree-output/event-components/components/app-avatar-photo-detail/component.js","addon-tree-output/event-components/components/app-avatar-photo-detail/template.js","addon-tree-output/event-components/components/app-avatar-photo/component.js","addon-tree-output/event-components/components/app-avatar-photo/template.js","addon-tree-output/event-components/components/app-avatar-upload/component.js","addon-tree-output/event-components/components/app-avatar-upload/template.js","addon-tree-output/event-components/components/app-chat-pm-messages/component.js","addon-tree-output/event-components/components/app-chat-pm-messages/template.js","addon-tree-output/event-components/components/app-chat-pm/component.js","addon-tree-output/event-components/components/app-chat-pm/template.js","addon-tree-output/event-components/components/app-chat-private/component.js","addon-tree-output/event-components/components/app-chat-private/template.js","addon-tree-output/event-components/components/app-chat-profiles/component.js","addon-tree-output/event-components/components/app-chat-profiles/template.js","addon-tree-output/event-components/components/app-chat/component.js","addon-tree-output/event-components/components/app-chat/template.js","addon-tree-output/event-components/components/app-css/component.js","addon-tree-output/event-components/components/app-css/template.js","addon-tree-output/event-components/components/app-dashboard-item/component.js","addon-tree-output/event-components/components/app-dashboard-item/template.js","addon-tree-output/event-components/components/app-dashboard/component.js","addon-tree-output/event-components/components/app-dashboard/template.js","addon-tree-output/event-components/components/app-desktop-dashboard-item/component.js","addon-tree-output/event-components/components/app-desktop-dashboard-item/template.js","addon-tree-output/event-components/components/app-frage/component.js","addon-tree-output/event-components/components/app-frage/template.js","addon-tree-output/event-components/components/app-fragebogen/component.js","addon-tree-output/event-components/components/app-fragebogen/template.js","addon-tree-output/event-components/components/app-gallery-post/component.js","addon-tree-output/event-components/components/app-gallery-post/template.js","addon-tree-output/event-components/components/app-gallery/component.js","addon-tree-output/event-components/components/app-gallery/template.js","addon-tree-output/event-components/components/app-map-beacondetail/component.js","addon-tree-output/event-components/components/app-map-beacondetail/template.js","addon-tree-output/event-components/components/app-map/component.js","addon-tree-output/event-components/components/app-map/template.js","addon-tree-output/event-components/components/app-meeting/component.js","addon-tree-output/event-components/components/app-meeting/template.js","addon-tree-output/event-components/components/app-navbar/component.js","addon-tree-output/event-components/components/app-navbar/template.js","addon-tree-output/event-components/components/app-programm-item/component.js","addon-tree-output/event-components/components/app-programm-item/template.js","addon-tree-output/event-components/components/app-programm-module/component.js","addon-tree-output/event-components/components/app-programm-module/template.js","addon-tree-output/event-components/components/app-programm/component.js","addon-tree-output/event-components/components/app-programm/template.js","addon-tree-output/event-components/components/app-register/component.js","addon-tree-output/event-components/components/app-register/template.js","addon-tree-output/event-components/components/app-tab/component.js","addon-tree-output/event-components/components/app-tab/template.js","addon-tree-output/event-components/components/app-tabs/component.js","addon-tree-output/event-components/components/app-tabs/template.js","addon-tree-output/event-components/components/app-umfrage-vote/component.js","addon-tree-output/event-components/components/app-umfrage-vote/template.js","addon-tree-output/event-components/components/app-umfrage/component.js","addon-tree-output/event-components/components/app-umfrage/template.js","addon-tree-output/event-components/components/aws-image/component.js","addon-tree-output/event-components/components/aws-image/template.js","addon-tree-output/event-components/components/hls-stream/component.js","addon-tree-output/event-components/components/hls-stream/template.js","addon-tree-output/event-components/components/iframe-wrapper/component.js","addon-tree-output/event-components/components/iframe-wrapper/template.js","addon-tree-output/event-components/components/infinity-loader/component.js","addon-tree-output/event-components/components/infinity-loader/template.js","addon-tree-output/event-components/components/live-datetime/component.js","addon-tree-output/event-components/components/live-datetime/template.js","addon-tree-output/event-components/components/module-nav/component.js","addon-tree-output/event-components/components/module-nav/template.js","addon-tree-output/event-components/components/pwa-message/component.js","addon-tree-output/event-components/components/pwa-message/template.js","addon-tree-output/event-components/components/splashscreen/component.js","addon-tree-output/event-components/components/splashscreen/template.js","addon-tree-output/event-components/components/svg-mask/component.js","addon-tree-output/event-components/components/svg-mask/template.js","addon-tree-output/event-components/components/twitter-filter/component.js","addon-tree-output/event-components/components/twitter-filter/template.js","addon-tree-output/event-components/components/twitter-module/component.js","addon-tree-output/event-components/components/twitter-module/template.js","addon-tree-output/event-components/components/twitter-post-create/component.js","addon-tree-output/event-components/components/twitter-post-create/template.js","addon-tree-output/event-components/components/twitter-post/component.js","addon-tree-output/event-components/components/twitter-post/template.js","addon-tree-output/event-components/components/twitter-wall/component.js","addon-tree-output/event-components/components/twitter-wall/template.js","addon-tree-output/event-components/components/unity-nav/component.js","addon-tree-output/event-components/components/unity-nav/template.js","addon-tree-output/event-components/components/user-card/component.js","addon-tree-output/event-components/components/user-card/template.js","addon-tree-output/event-components/components/vote-chart/component.js","addon-tree-output/event-components/components/vote-chart/template.js","addon-tree-output/event-components/components/vote-list-module/component.js","addon-tree-output/event-components/components/vote-list-module/template.js","addon-tree-output/event-components/components/vote-module/component.js","addon-tree-output/event-components/components/vote-module/template.js","addon-tree-output/event-components/components/x-button/component.js","addon-tree-output/event-components/components/x-button/template.js","addon-tree-output/event-components/eventbus/service.js","addon-tree-output/event-components/helpers/awsimage.js","addon-tree-output/event-components/helpers/css-name.js","addon-tree-output/event-components/helpers/faved.js","addon-tree-output/event-components/helpers/findby.js","addon-tree-output/event-components/helpers/firstletter.js","addon-tree-output/event-components/helpers/input-value.js","addon-tree-output/event-components/helpers/link-blank.js","addon-tree-output/event-components/helpers/map-by-question.js","addon-tree-output/event-components/helpers/nl2br.js","addon-tree-output/event-components/helpers/replace.js","addon-tree-output/event-components/helpers/special-counter.js","addon-tree-output/event-components/helpers/split.js","addon-tree-output/event-components/helpers/striptags.js","addon-tree-output/event-components/helpers/to-string.js","addon-tree-output/event-components/helpers/truncate.js","addon-tree-output/event-components/module/service.js","addon-tree-output/event-services/admin/service.js","addon-tree-output/event-services/agenda/service.js","addon-tree-output/event-services/answer/service.js","addon-tree-output/event-services/appointment/service.js","addon-tree-output/event-services/base/service.js","addon-tree-output/event-services/beacon/service.js","addon-tree-output/event-services/chatline/service.js","addon-tree-output/event-services/chatroom/service.js","addon-tree-output/event-services/client/service.js","addon-tree-output/event-services/colorconfig/service.js","addon-tree-output/event-services/datastore/service.js","addon-tree-output/event-services/event/service.js","addon-tree-output/event-services/file/service.js","addon-tree-output/event-services/highscore/service.js","addon-tree-output/event-services/icon/service.js","addon-tree-output/event-services/info/service.js","addon-tree-output/event-services/instance-initializers/datastore.js","addon-tree-output/event-services/loading/service.js","addon-tree-output/event-services/logger/service.js","addon-tree-output/event-services/map/service.js","addon-tree-output/event-services/notification/service.js","addon-tree-output/event-services/post/service.js","addon-tree-output/event-services/privatechatline/service.js","addon-tree-output/event-services/program/service.js","addon-tree-output/event-services/question/service.js","addon-tree-output/event-services/theme/default.js","addon-tree-output/event-services/theme/service.js","addon-tree-output/event-services/typed-bufferedchangesset.interface.js","addon-tree-output/event-services/user/service.js","addon-tree-output/event-services/vote/service.js","addon-tree-output/event-services/wall/service.js","addon-tree-output/moment/index.js","addon-tree-output/moment/lib.js","vendor/ember-cli/vendor-suffix.js"],"sourcesContent":["window.EmberENV = (function(EmberENV, extra) {\n  for (var key in extra) {\n    EmberENV[key] = extra[key];\n  }\n\n  return EmberENV;\n})(window.EmberENV || {}, {\"FEATURES\":{},\"EXTEND_PROTOTYPES\":{\"Date\":false},\"_APPLICATION_TEMPLATE_WRAPPER\":false,\"_JQUERY_INTEGRATION\":true});\n\nvar runningTests = false;\n\n\n","/*!\n * jQuery JavaScript Library v3.6.0\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2021-03-02T17:08Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.6.0\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.6\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://js.foundation/\n *\n * Date: 2021-02-16\n */\n( function( window ) {\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ( {} ).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpushNative = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[ i ] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|\" +\n\t\t\"ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5]\n\t\t// or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" +\n\t\twhitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace +\n\t\t\"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trhtml = /HTML$/i,\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace + \"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\treturn nonHex ?\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\tnonHex :\n\n\t\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t\t// Support: IE <=11+\n\t\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t\t// surrogate pair\n\t\t\thigh < 0 ?\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" +\n\t\t\t\tch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && elem.nodeName.toLowerCase() === \"fieldset\";\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( ( target[ j++ ] = els[ i++ ] ) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) &&\n\n\t\t\t\t// Support: IE 8 only\n\t\t\t\t// Exclude object elements\n\t\t\t\t( nodeType !== 1 || context.nodeName.toLowerCase() !== \"object\" ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rcombinators.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\tif ( newContext !== context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split( \"|\" ),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[ i ] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( ( cur = cur.nextSibling ) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn ( name === \"input\" || name === \"button\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\tvar namespace = elem && elem.namespaceURI,\n\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t// Support: IE <=8\n\t// Assume HTML when documentElement doesn't yet exist, such as inside loading iframes\n\t// https://bugs.jquery.com/ticket/4833\n\treturn !rhtml.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( preferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t// Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only,\n\t// Safari 4 - 5 only, Opera <=11.6 - 12.x only\n\t// IE/Edge & older browsers don't support the :scope pseudo-class.\n\t// Support: Safari 6.0 only\n\t// Safari 6.0 supports :scope but it's an alias of :root there.\n\tsupport.scope = assert( function( el ) {\n\t\tdocElem.appendChild( el ).appendChild( document.createElement( \"div\" ) );\n\t\treturn typeof el.querySelectorAll !== \"undefined\" &&\n\t\t\t!el.querySelectorAll( \":scope fieldset div\" ).length;\n\t} );\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert( function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute( \"className\" );\n\t} );\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert( function( el ) {\n\t\tel.appendChild( document.createComment( \"\" ) );\n\t\treturn !el.getElementsByTagName( \"*\" ).length;\n\t} );\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[ \"ID\" ] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[ \"ID\" ] =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[ \"ID\" ] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[ \"TAG\" ] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[ \"CLASS\" ] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) {\n\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert( function( el ) {\n\n\t\t\tvar input;\n\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll( \"[msallowcapture^='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"~=\" );\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t\t// Adding a temporary attribute to the document before the selection works\n\t\t\t// around the issue.\n\t\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\t\tinput = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"name\", \"\" );\n\t\t\tel.appendChild( input );\n\t\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\t\trbuggyQSA.push( \":checked\" );\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t\t}\n\n\t\t\t// Support: Firefox <=3.6 - 5 only\n\t\t\t// Old Firefox doesn't throw on a badly-escaped identifier.\n\t\t\tel.querySelectorAll( \"\\\\\\f\" );\n\t\t\trbuggyQSA.push( \"[\\\\r\\\\n\\\\f]\" );\n\t\t} );\n\n\t\tassert( function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement( \"input\" );\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll( \"[name=d]\" ).length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll( \":enabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: Opera 10 - 11 only\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll( \"*,:x\" );\n\t\t\trbuggyQSA.push( \",.*:\" );\n\t\t} );\n\t}\n\n\tif ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector ) ) ) ) {\n\n\t\tassert( function( el ) {\n\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t} );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( \"|\" ) );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t) );\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( ( b = b.parentNode ) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a == document || a.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b == document || b.ownerDocument == preferredDoc &&\n\t\t\t\tcontains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\treturn a == document ? -1 :\n\t\t\t\tb == document ? 1 :\n\t\t\t\t/* eslint-enable eqeqeq */\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( ( cur = cur.parentNode ) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[ i ] === bp[ i ] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[ i ], bp[ i ] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t/* eslint-disable eqeqeq */\n\t\t\tap[ i ] == preferredDoc ? -1 :\n\t\t\tbp[ i ] == preferredDoc ? 1 :\n\t\t\t/* eslint-enable eqeqeq */\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA     || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t// fragment in IE 9\n\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] ||\n\t\t\t\tmatch[ 5 ] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" ) );\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tSizzle.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr[ \"CHILD\" ].test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace +\n\t\t\t\t\t\")\" + className + \"(\" + whitespace + \"|$)\" ) ) && classCache(\n\t\t\t\t\t\tclassName, function( elem ) {\n\t\t\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\t/* eslint-disable max-len */\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t\t/* eslint-enable max-len */\n\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || ( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( outerCache[ node.uniqueID ] = {} );\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\t\"has\": markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\t\"contains\": markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement &&\n\t\t\t\t( !document.hasFocus || document.hasFocus() ) &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn ( nodeName === \"input\" && !!elem.checked ) ||\n\t\t\t\t( nodeName === \"option\" && !!elem.selected );\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[ \"empty\" ]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\t\"last\": createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\t\"eq\": createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\t\"even\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"odd\": createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"lt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ?\n\t\t\t\targument + length :\n\t\t\t\targument > length ?\n\t\t\t\t\tlength :\n\t\t\t\t\targument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\t\"gt\": createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos[ \"nth\" ] = Expr.pseudos[ \"eq\" ];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rcombinators.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrim, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] ||\n\t\t\t\t\t\t\t( outerCache[ elem.uniqueID ] = {} );\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = uniqueCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts(\n\t\t\t\tselector || \"*\",\n\t\t\t\tcontext.nodeType ? [ context ] : context,\n\t\t\t\t[]\n\t\t\t),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\ttokens\n\t\t\t\t\t\t.slice( 0, i - 1 )\n\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[ \"TAG\" ]( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache(\n\t\t\tselector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers )\n\t\t);\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find[ \"ID\" ]( token.matches[ 0 ]\n\t\t\t\t.replace( runescape, funescape ), context ) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[ \"needsContext\" ].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert( function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute( \"href\" ) === \"#\";\n} ) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert( function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n} ) ) {\n\taddHandle( \"value\", function( elem, _name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t} );\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert( function( el ) {\n\treturn el.getAttribute( \"disabled\" ) == null;\n} ) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t( val = elem.getAttributeNode( name ) ) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\t\tnull;\n\t\t}\n\t} );\n}\n\nreturn Sizzle;\n\n} )( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (#9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 - 11+\n// focus() and blur() are asynchronous, except when they are no-op.\n// So expect focus to be synchronous when the element is already active,\n// and blur to be synchronous when the element is not already active.\n// (focus and blur are always synchronous in other supported browsers,\n// this just defines when we can count on it).\nfunction expectSync( elem, type ) {\n\treturn ( elem === safeActiveElement() ) === ( type === \"focus\" );\n}\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", returnTrue );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, expectSync ) {\n\n\t// Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !expectSync ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar notAsync, result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\t// Saved data should be false in such cases, but might be a leftover capture object\n\t\t\t\t// from an async native handler (gh-4350)\n\t\t\t\tif ( !saved.length ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t// focus() and blur() are asynchronous\n\t\t\t\t\tnotAsync = expectSync( this, type );\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tif ( saved !== result || notAsync ) {\n\t\t\t\t\t\tdataPriv.set( this, type, false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tresult = {};\n\t\t\t\t\t}\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\t// Support: Chrome 86+\n\t\t\t\t\t\t// In Chrome, if an element having a focusout handler is blurred by\n\t\t\t\t\t\t// clicking outside of it, it invokes the handler synchronously. If\n\t\t\t\t\t\t// that handler calls `.remove()` on the element, the data is cleared,\n\t\t\t\t\t\t// leaving `result` undefined. We need to guard against this.\n\t\t\t\t\t\treturn result && result.value;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering the\n\t\t\t\t// native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved.length ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, {\n\t\t\t\t\tvalue: jQuery.event.trigger(\n\n\t\t\t\t\t\t// Support: IE <=9 - 11+\n\t\t\t\t\t\t// Extend with the prototype to reset the above stopImmediatePropagation()\n\t\t\t\t\t\tjQuery.extend( saved[ 0 ], jQuery.Event.prototype ),\n\t\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\t\tthis\n\t\t\t\t\t)\n\t\t\t\t} );\n\n\t\t\t\t// Abort handling of the native event\n\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, expectSync );\n\n\t\t\t// Return false to allow normal processing in the caller\n\t\t\treturn false;\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\t// Suppress native focus or blur as it's already being fired\n\t\t// in leverageNative.\n\t\t_default: function() {\n\t\t\treturn true;\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is display: block\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, #12537)\n\t//   .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\tif ( box === \"margin\" ) {\n\t\t\tdelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"gridArea\": true,\n\t\t\"gridColumn\": true,\n\t\t\"gridColumnEnd\": true,\n\t\t\"gridColumnStart\": true,\n\t\t\"gridRow\": true,\n\t\t\"gridRowEnd\": true,\n\t\t\"gridRowStart\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = classesToArray( value );\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\n\t\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","if (typeof FastBoot === 'undefined') { //! moment.js\n//! version : 2.29.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\n    var hookCallback;\n\n    function hooks() {\n        return hookCallback.apply(null, arguments);\n    }\n\n    // This is done to register the method called with moment()\n    // without creating circular dependencies.\n    function setHookCallback(callback) {\n        hookCallback = callback;\n    }\n\n    function isArray(input) {\n        return (\n            input instanceof Array ||\n            Object.prototype.toString.call(input) === '[object Array]'\n        );\n    }\n\n    function isObject(input) {\n        // IE8 will treat undefined and null as object if it wasn't for\n        // input != null\n        return (\n            input != null &&\n            Object.prototype.toString.call(input) === '[object Object]'\n        );\n    }\n\n    function hasOwnProp(a, b) {\n        return Object.prototype.hasOwnProperty.call(a, b);\n    }\n\n    function isObjectEmpty(obj) {\n        if (Object.getOwnPropertyNames) {\n            return Object.getOwnPropertyNames(obj).length === 0;\n        } else {\n            var k;\n            for (k in obj) {\n                if (hasOwnProp(obj, k)) {\n                    return false;\n                }\n            }\n            return true;\n        }\n    }\n\n    function isUndefined(input) {\n        return input === void 0;\n    }\n\n    function isNumber(input) {\n        return (\n            typeof input === 'number' ||\n            Object.prototype.toString.call(input) === '[object Number]'\n        );\n    }\n\n    function isDate(input) {\n        return (\n            input instanceof Date ||\n            Object.prototype.toString.call(input) === '[object Date]'\n        );\n    }\n\n    function map(arr, fn) {\n        var res = [],\n            i;\n        for (i = 0; i < arr.length; ++i) {\n            res.push(fn(arr[i], i));\n        }\n        return res;\n    }\n\n    function extend(a, b) {\n        for (var i in b) {\n            if (hasOwnProp(b, i)) {\n                a[i] = b[i];\n            }\n        }\n\n        if (hasOwnProp(b, 'toString')) {\n            a.toString = b.toString;\n        }\n\n        if (hasOwnProp(b, 'valueOf')) {\n            a.valueOf = b.valueOf;\n        }\n\n        return a;\n    }\n\n    function createUTC(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, true).utc();\n    }\n\n    function defaultParsingFlags() {\n        // We need to deep clone this object.\n        return {\n            empty: false,\n            unusedTokens: [],\n            unusedInput: [],\n            overflow: -2,\n            charsLeftOver: 0,\n            nullInput: false,\n            invalidEra: null,\n            invalidMonth: null,\n            invalidFormat: false,\n            userInvalidated: false,\n            iso: false,\n            parsedDateParts: [],\n            era: null,\n            meridiem: null,\n            rfc2822: false,\n            weekdayMismatch: false,\n        };\n    }\n\n    function getParsingFlags(m) {\n        if (m._pf == null) {\n            m._pf = defaultParsingFlags();\n        }\n        return m._pf;\n    }\n\n    var some;\n    if (Array.prototype.some) {\n        some = Array.prototype.some;\n    } else {\n        some = function (fun) {\n            var t = Object(this),\n                len = t.length >>> 0,\n                i;\n\n            for (i = 0; i < len; i++) {\n                if (i in t && fun.call(this, t[i], i, t)) {\n                    return true;\n                }\n            }\n\n            return false;\n        };\n    }\n\n    function isValid(m) {\n        if (m._isValid == null) {\n            var flags = getParsingFlags(m),\n                parsedParts = some.call(flags.parsedDateParts, function (i) {\n                    return i != null;\n                }),\n                isNowValid =\n                    !isNaN(m._d.getTime()) &&\n                    flags.overflow < 0 &&\n                    !flags.empty &&\n                    !flags.invalidEra &&\n                    !flags.invalidMonth &&\n                    !flags.invalidWeekday &&\n                    !flags.weekdayMismatch &&\n                    !flags.nullInput &&\n                    !flags.invalidFormat &&\n                    !flags.userInvalidated &&\n                    (!flags.meridiem || (flags.meridiem && parsedParts));\n\n            if (m._strict) {\n                isNowValid =\n                    isNowValid &&\n                    flags.charsLeftOver === 0 &&\n                    flags.unusedTokens.length === 0 &&\n                    flags.bigHour === undefined;\n            }\n\n            if (Object.isFrozen == null || !Object.isFrozen(m)) {\n                m._isValid = isNowValid;\n            } else {\n                return isNowValid;\n            }\n        }\n        return m._isValid;\n    }\n\n    function createInvalid(flags) {\n        var m = createUTC(NaN);\n        if (flags != null) {\n            extend(getParsingFlags(m), flags);\n        } else {\n            getParsingFlags(m).userInvalidated = true;\n        }\n\n        return m;\n    }\n\n    // Plugins that add properties should also add the key here (null value),\n    // so we can properly clone ourselves.\n    var momentProperties = (hooks.momentProperties = []),\n        updateInProgress = false;\n\n    function copyConfig(to, from) {\n        var i, prop, val;\n\n        if (!isUndefined(from._isAMomentObject)) {\n            to._isAMomentObject = from._isAMomentObject;\n        }\n        if (!isUndefined(from._i)) {\n            to._i = from._i;\n        }\n        if (!isUndefined(from._f)) {\n            to._f = from._f;\n        }\n        if (!isUndefined(from._l)) {\n            to._l = from._l;\n        }\n        if (!isUndefined(from._strict)) {\n            to._strict = from._strict;\n        }\n        if (!isUndefined(from._tzm)) {\n            to._tzm = from._tzm;\n        }\n        if (!isUndefined(from._isUTC)) {\n            to._isUTC = from._isUTC;\n        }\n        if (!isUndefined(from._offset)) {\n            to._offset = from._offset;\n        }\n        if (!isUndefined(from._pf)) {\n            to._pf = getParsingFlags(from);\n        }\n        if (!isUndefined(from._locale)) {\n            to._locale = from._locale;\n        }\n\n        if (momentProperties.length > 0) {\n            for (i = 0; i < momentProperties.length; i++) {\n                prop = momentProperties[i];\n                val = from[prop];\n                if (!isUndefined(val)) {\n                    to[prop] = val;\n                }\n            }\n        }\n\n        return to;\n    }\n\n    // Moment prototype object\n    function Moment(config) {\n        copyConfig(this, config);\n        this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n        if (!this.isValid()) {\n            this._d = new Date(NaN);\n        }\n        // Prevent infinite loop in case updateOffset creates new moment\n        // objects.\n        if (updateInProgress === false) {\n            updateInProgress = true;\n            hooks.updateOffset(this);\n            updateInProgress = false;\n        }\n    }\n\n    function isMoment(obj) {\n        return (\n            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n        );\n    }\n\n    function warn(msg) {\n        if (\n            hooks.suppressDeprecationWarnings === false &&\n            typeof console !== 'undefined' &&\n            console.warn\n        ) {\n            console.warn('Deprecation warning: ' + msg);\n        }\n    }\n\n    function deprecate(msg, fn) {\n        var firstTime = true;\n\n        return extend(function () {\n            if (hooks.deprecationHandler != null) {\n                hooks.deprecationHandler(null, msg);\n            }\n            if (firstTime) {\n                var args = [],\n                    arg,\n                    i,\n                    key;\n                for (i = 0; i < arguments.length; i++) {\n                    arg = '';\n                    if (typeof arguments[i] === 'object') {\n                        arg += '\\n[' + i + '] ';\n                        for (key in arguments[0]) {\n                            if (hasOwnProp(arguments[0], key)) {\n                                arg += key + ': ' + arguments[0][key] + ', ';\n                            }\n                        }\n                        arg = arg.slice(0, -2); // Remove trailing comma and space\n                    } else {\n                        arg = arguments[i];\n                    }\n                    args.push(arg);\n                }\n                warn(\n                    msg +\n                        '\\nArguments: ' +\n                        Array.prototype.slice.call(args).join('') +\n                        '\\n' +\n                        new Error().stack\n                );\n                firstTime = false;\n            }\n            return fn.apply(this, arguments);\n        }, fn);\n    }\n\n    var deprecations = {};\n\n    function deprecateSimple(name, msg) {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(name, msg);\n        }\n        if (!deprecations[name]) {\n            warn(msg);\n            deprecations[name] = true;\n        }\n    }\n\n    hooks.suppressDeprecationWarnings = false;\n    hooks.deprecationHandler = null;\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    function set(config) {\n        var prop, i;\n        for (i in config) {\n            if (hasOwnProp(config, i)) {\n                prop = config[i];\n                if (isFunction(prop)) {\n                    this[i] = prop;\n                } else {\n                    this['_' + i] = prop;\n                }\n            }\n        }\n        this._config = config;\n        // Lenient ordinal parsing accepts just a number in addition to\n        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        this._dayOfMonthOrdinalParseLenient = new RegExp(\n            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n                '|' +\n                /\\d{1,2}/.source\n        );\n    }\n\n    function mergeConfigs(parentConfig, childConfig) {\n        var res = extend({}, parentConfig),\n            prop;\n        for (prop in childConfig) {\n            if (hasOwnProp(childConfig, prop)) {\n                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                    res[prop] = {};\n                    extend(res[prop], parentConfig[prop]);\n                    extend(res[prop], childConfig[prop]);\n                } else if (childConfig[prop] != null) {\n                    res[prop] = childConfig[prop];\n                } else {\n                    delete res[prop];\n                }\n            }\n        }\n        for (prop in parentConfig) {\n            if (\n                hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])\n            ) {\n                // make sure changes to properties don't modify parent config\n                res[prop] = extend({}, res[prop]);\n            }\n        }\n        return res;\n    }\n\n    function Locale(config) {\n        if (config != null) {\n            this.set(config);\n        }\n    }\n\n    var keys;\n\n    if (Object.keys) {\n        keys = Object.keys;\n    } else {\n        keys = function (obj) {\n            var i,\n                res = [];\n            for (i in obj) {\n                if (hasOwnProp(obj, i)) {\n                    res.push(i);\n                }\n            }\n            return res;\n        };\n    }\n\n    var defaultCalendar = {\n        sameDay: '[Today at] LT',\n        nextDay: '[Tomorrow at] LT',\n        nextWeek: 'dddd [at] LT',\n        lastDay: '[Yesterday at] LT',\n        lastWeek: '[Last] dddd [at] LT',\n        sameElse: 'L',\n    };\n\n    function calendar(key, mom, now) {\n        var output = this._calendar[key] || this._calendar['sameElse'];\n        return isFunction(output) ? output.call(mom, now) : output;\n    }\n\n    function zeroFill(number, targetLength, forceSign) {\n        var absNumber = '' + Math.abs(number),\n            zerosToFill = targetLength - absNumber.length,\n            sign = number >= 0;\n        return (\n            (sign ? (forceSign ? '+' : '') : '-') +\n            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n            absNumber\n        );\n    }\n\n    var formattingTokens = /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n        localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n        formatFunctions = {},\n        formatTokenFunctions = {};\n\n    // token:    'M'\n    // padded:   ['MM', 2]\n    // ordinal:  'Mo'\n    // callback: function () { this.month() + 1 }\n    function addFormatToken(token, padded, ordinal, callback) {\n        var func = callback;\n        if (typeof callback === 'string') {\n            func = function () {\n                return this[callback]();\n            };\n        }\n        if (token) {\n            formatTokenFunctions[token] = func;\n        }\n        if (padded) {\n            formatTokenFunctions[padded[0]] = function () {\n                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n            };\n        }\n        if (ordinal) {\n            formatTokenFunctions[ordinal] = function () {\n                return this.localeData().ordinal(\n                    func.apply(this, arguments),\n                    token\n                );\n            };\n        }\n    }\n\n    function removeFormattingTokens(input) {\n        if (input.match(/\\[[\\s\\S]/)) {\n            return input.replace(/^\\[|\\]$/g, '');\n        }\n        return input.replace(/\\\\/g, '');\n    }\n\n    function makeFormatFunction(format) {\n        var array = format.match(formattingTokens),\n            i,\n            length;\n\n        for (i = 0, length = array.length; i < length; i++) {\n            if (formatTokenFunctions[array[i]]) {\n                array[i] = formatTokenFunctions[array[i]];\n            } else {\n                array[i] = removeFormattingTokens(array[i]);\n            }\n        }\n\n        return function (mom) {\n            var output = '',\n                i;\n            for (i = 0; i < length; i++) {\n                output += isFunction(array[i])\n                    ? array[i].call(mom, format)\n                    : array[i];\n            }\n            return output;\n        };\n    }\n\n    // format date using native date object\n    function formatMoment(m, format) {\n        if (!m.isValid()) {\n            return m.localeData().invalidDate();\n        }\n\n        format = expandFormat(format, m.localeData());\n        formatFunctions[format] =\n            formatFunctions[format] || makeFormatFunction(format);\n\n        return formatFunctions[format](m);\n    }\n\n    function expandFormat(format, locale) {\n        var i = 5;\n\n        function replaceLongDateFormatTokens(input) {\n            return locale.longDateFormat(input) || input;\n        }\n\n        localFormattingTokens.lastIndex = 0;\n        while (i >= 0 && localFormattingTokens.test(format)) {\n            format = format.replace(\n                localFormattingTokens,\n                replaceLongDateFormatTokens\n            );\n            localFormattingTokens.lastIndex = 0;\n            i -= 1;\n        }\n\n        return format;\n    }\n\n    var defaultLongDateFormat = {\n        LTS: 'h:mm:ss A',\n        LT: 'h:mm A',\n        L: 'MM/DD/YYYY',\n        LL: 'MMMM D, YYYY',\n        LLL: 'MMMM D, YYYY h:mm A',\n        LLLL: 'dddd, MMMM D, YYYY h:mm A',\n    };\n\n    function longDateFormat(key) {\n        var format = this._longDateFormat[key],\n            formatUpper = this._longDateFormat[key.toUpperCase()];\n\n        if (format || !formatUpper) {\n            return format;\n        }\n\n        this._longDateFormat[key] = formatUpper\n            .match(formattingTokens)\n            .map(function (tok) {\n                if (\n                    tok === 'MMMM' ||\n                    tok === 'MM' ||\n                    tok === 'DD' ||\n                    tok === 'dddd'\n                ) {\n                    return tok.slice(1);\n                }\n                return tok;\n            })\n            .join('');\n\n        return this._longDateFormat[key];\n    }\n\n    var defaultInvalidDate = 'Invalid date';\n\n    function invalidDate() {\n        return this._invalidDate;\n    }\n\n    var defaultOrdinal = '%d',\n        defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n    function ordinal(number) {\n        return this._ordinal.replace('%d', number);\n    }\n\n    var defaultRelativeTime = {\n        future: 'in %s',\n        past: '%s ago',\n        s: 'a few seconds',\n        ss: '%d seconds',\n        m: 'a minute',\n        mm: '%d minutes',\n        h: 'an hour',\n        hh: '%d hours',\n        d: 'a day',\n        dd: '%d days',\n        w: 'a week',\n        ww: '%d weeks',\n        M: 'a month',\n        MM: '%d months',\n        y: 'a year',\n        yy: '%d years',\n    };\n\n    function relativeTime(number, withoutSuffix, string, isFuture) {\n        var output = this._relativeTime[string];\n        return isFunction(output)\n            ? output(number, withoutSuffix, string, isFuture)\n            : output.replace(/%d/i, number);\n    }\n\n    function pastFuture(diff, output) {\n        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n        return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n    }\n\n    var aliases = {};\n\n    function addUnitAlias(unit, shorthand) {\n        var lowerCase = unit.toLowerCase();\n        aliases[lowerCase] = aliases[lowerCase + 's'] = aliases[shorthand] = unit;\n    }\n\n    function normalizeUnits(units) {\n        return typeof units === 'string'\n            ? aliases[units] || aliases[units.toLowerCase()]\n            : undefined;\n    }\n\n    function normalizeObjectUnits(inputObject) {\n        var normalizedInput = {},\n            normalizedProp,\n            prop;\n\n        for (prop in inputObject) {\n            if (hasOwnProp(inputObject, prop)) {\n                normalizedProp = normalizeUnits(prop);\n                if (normalizedProp) {\n                    normalizedInput[normalizedProp] = inputObject[prop];\n                }\n            }\n        }\n\n        return normalizedInput;\n    }\n\n    var priorities = {};\n\n    function addUnitPriority(unit, priority) {\n        priorities[unit] = priority;\n    }\n\n    function getPrioritizedUnits(unitsObj) {\n        var units = [],\n            u;\n        for (u in unitsObj) {\n            if (hasOwnProp(unitsObj, u)) {\n                units.push({ unit: u, priority: priorities[u] });\n            }\n        }\n        units.sort(function (a, b) {\n            return a.priority - b.priority;\n        });\n        return units;\n    }\n\n    function isLeapYear(year) {\n        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n    }\n\n    function absFloor(number) {\n        if (number < 0) {\n            // -0 -> 0\n            return Math.ceil(number) || 0;\n        } else {\n            return Math.floor(number);\n        }\n    }\n\n    function toInt(argumentForCoercion) {\n        var coercedNumber = +argumentForCoercion,\n            value = 0;\n\n        if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n            value = absFloor(coercedNumber);\n        }\n\n        return value;\n    }\n\n    function makeGetSet(unit, keepTime) {\n        return function (value) {\n            if (value != null) {\n                set$1(this, unit, value);\n                hooks.updateOffset(this, keepTime);\n                return this;\n            } else {\n                return get(this, unit);\n            }\n        };\n    }\n\n    function get(mom, unit) {\n        return mom.isValid()\n            ? mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]()\n            : NaN;\n    }\n\n    function set$1(mom, unit, value) {\n        if (mom.isValid() && !isNaN(value)) {\n            if (\n                unit === 'FullYear' &&\n                isLeapYear(mom.year()) &&\n                mom.month() === 1 &&\n                mom.date() === 29\n            ) {\n                value = toInt(value);\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](\n                    value,\n                    mom.month(),\n                    daysInMonth(value, mom.month())\n                );\n            } else {\n                mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value);\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function stringGet(units) {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units]();\n        }\n        return this;\n    }\n\n    function stringSet(units, value) {\n        if (typeof units === 'object') {\n            units = normalizeObjectUnits(units);\n            var prioritized = getPrioritizedUnits(units),\n                i;\n            for (i = 0; i < prioritized.length; i++) {\n                this[prioritized[i].unit](units[prioritized[i].unit]);\n            }\n        } else {\n            units = normalizeUnits(units);\n            if (isFunction(this[units])) {\n                return this[units](value);\n            }\n        }\n        return this;\n    }\n\n    var match1 = /\\d/, //       0 - 9\n        match2 = /\\d\\d/, //      00 - 99\n        match3 = /\\d{3}/, //     000 - 999\n        match4 = /\\d{4}/, //    0000 - 9999\n        match6 = /[+-]?\\d{6}/, // -999999 - 999999\n        match1to2 = /\\d\\d?/, //       0 - 99\n        match3to4 = /\\d\\d\\d\\d?/, //     999 - 9999\n        match5to6 = /\\d\\d\\d\\d\\d\\d?/, //   99999 - 999999\n        match1to3 = /\\d{1,3}/, //       0 - 999\n        match1to4 = /\\d{1,4}/, //       0 - 9999\n        match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n        matchUnsigned = /\\d+/, //       0 - inf\n        matchSigned = /[+-]?\\d+/, //    -inf - inf\n        matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n        matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n        matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n        // any word (or two) characters or numbers including two/three word month in arabic.\n        // includes scottish gaelic two word and hyphenated months\n        matchWord = /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n        regexes;\n\n    regexes = {};\n\n    function addRegexToken(token, regex, strictRegex) {\n        regexes[token] = isFunction(regex)\n            ? regex\n            : function (isStrict, localeData) {\n                  return isStrict && strictRegex ? strictRegex : regex;\n              };\n    }\n\n    function getParseRegexForToken(token, config) {\n        if (!hasOwnProp(regexes, token)) {\n            return new RegExp(unescapeFormat(token));\n        }\n\n        return regexes[token](config._strict, config._locale);\n    }\n\n    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n    function unescapeFormat(s) {\n        return regexEscape(\n            s\n                .replace('\\\\', '')\n                .replace(/\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g, function (\n                    matched,\n                    p1,\n                    p2,\n                    p3,\n                    p4\n                ) {\n                    return p1 || p2 || p3 || p4;\n                })\n        );\n    }\n\n    function regexEscape(s) {\n        return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n    }\n\n    var tokens = {};\n\n    function addParseToken(token, callback) {\n        var i,\n            func = callback;\n        if (typeof token === 'string') {\n            token = [token];\n        }\n        if (isNumber(callback)) {\n            func = function (input, array) {\n                array[callback] = toInt(input);\n            };\n        }\n        for (i = 0; i < token.length; i++) {\n            tokens[token[i]] = func;\n        }\n    }\n\n    function addWeekParseToken(token, callback) {\n        addParseToken(token, function (input, array, config, token) {\n            config._w = config._w || {};\n            callback(input, config._w, config, token);\n        });\n    }\n\n    function addTimeToArrayFromToken(token, input, config) {\n        if (input != null && hasOwnProp(tokens, token)) {\n            tokens[token](input, config._a, config, token);\n        }\n    }\n\n    var YEAR = 0,\n        MONTH = 1,\n        DATE = 2,\n        HOUR = 3,\n        MINUTE = 4,\n        SECOND = 5,\n        MILLISECOND = 6,\n        WEEK = 7,\n        WEEKDAY = 8;\n\n    function mod(n, x) {\n        return ((n % x) + x) % x;\n    }\n\n    var indexOf;\n\n    if (Array.prototype.indexOf) {\n        indexOf = Array.prototype.indexOf;\n    } else {\n        indexOf = function (o) {\n            // I know\n            var i;\n            for (i = 0; i < this.length; ++i) {\n                if (this[i] === o) {\n                    return i;\n                }\n            }\n            return -1;\n        };\n    }\n\n    function daysInMonth(year, month) {\n        if (isNaN(year) || isNaN(month)) {\n            return NaN;\n        }\n        var modMonth = mod(month, 12);\n        year += (month - modMonth) / 12;\n        return modMonth === 1\n            ? isLeapYear(year)\n                ? 29\n                : 28\n            : 31 - ((modMonth % 7) % 2);\n    }\n\n    // FORMATTING\n\n    addFormatToken('M', ['MM', 2], 'Mo', function () {\n        return this.month() + 1;\n    });\n\n    addFormatToken('MMM', 0, 0, function (format) {\n        return this.localeData().monthsShort(this, format);\n    });\n\n    addFormatToken('MMMM', 0, 0, function (format) {\n        return this.localeData().months(this, format);\n    });\n\n    // ALIASES\n\n    addUnitAlias('month', 'M');\n\n    // PRIORITY\n\n    addUnitPriority('month', 8);\n\n    // PARSING\n\n    addRegexToken('M', match1to2);\n    addRegexToken('MM', match1to2, match2);\n    addRegexToken('MMM', function (isStrict, locale) {\n        return locale.monthsShortRegex(isStrict);\n    });\n    addRegexToken('MMMM', function (isStrict, locale) {\n        return locale.monthsRegex(isStrict);\n    });\n\n    addParseToken(['M', 'MM'], function (input, array) {\n        array[MONTH] = toInt(input) - 1;\n    });\n\n    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n        var month = config._locale.monthsParse(input, token, config._strict);\n        // if we didn't find a month name, mark the date as invalid.\n        if (month != null) {\n            array[MONTH] = month;\n        } else {\n            getParsingFlags(config).invalidMonth = input;\n        }\n    });\n\n    // LOCALES\n\n    var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n            '_'\n        ),\n        defaultLocaleMonthsShort = 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split(\n            '_'\n        ),\n        MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n        defaultMonthsShortRegex = matchWord,\n        defaultMonthsRegex = matchWord;\n\n    function localeMonths(m, format) {\n        if (!m) {\n            return isArray(this._months)\n                ? this._months\n                : this._months['standalone'];\n        }\n        return isArray(this._months)\n            ? this._months[m.month()]\n            : this._months[\n                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n                      ? 'format'\n                      : 'standalone'\n              ][m.month()];\n    }\n\n    function localeMonthsShort(m, format) {\n        if (!m) {\n            return isArray(this._monthsShort)\n                ? this._monthsShort\n                : this._monthsShort['standalone'];\n        }\n        return isArray(this._monthsShort)\n            ? this._monthsShort[m.month()]\n            : this._monthsShort[\n                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n              ][m.month()];\n    }\n\n    function handleStrictParse(monthName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = monthName.toLocaleLowerCase();\n        if (!this._monthsParse) {\n            // this is not used\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n            for (i = 0; i < 12; ++i) {\n                mom = createUTC([2000, i]);\n                this._shortMonthsParse[i] = this.monthsShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeMonthsParse(monthName, format, strict) {\n        var i, mom, regex;\n\n        if (this._monthsParseExact) {\n            return handleStrictParse.call(this, monthName, format, strict);\n        }\n\n        if (!this._monthsParse) {\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n        }\n\n        // TODO: add sorting\n        // Sorting makes sure if one month (or abbr) is a prefix of another\n        // see sorting in computeMonthsParse\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            if (strict && !this._longMonthsParse[i]) {\n                this._longMonthsParse[i] = new RegExp(\n                    '^' + this.months(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n                this._shortMonthsParse[i] = new RegExp(\n                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n            }\n            if (!strict && !this._monthsParse[i]) {\n                regex =\n                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'MMMM' &&\n                this._longMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'MMM' &&\n                this._shortMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (!strict && this._monthsParse[i].test(monthName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function setMonth(mom, value) {\n        var dayOfMonth;\n\n        if (!mom.isValid()) {\n            // No op\n            return mom;\n        }\n\n        if (typeof value === 'string') {\n            if (/^\\d+$/.test(value)) {\n                value = toInt(value);\n            } else {\n                value = mom.localeData().monthsParse(value);\n                // TODO: Another silent failure?\n                if (!isNumber(value)) {\n                    return mom;\n                }\n            }\n        }\n\n        dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));\n        mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth);\n        return mom;\n    }\n\n    function getSetMonth(value) {\n        if (value != null) {\n            setMonth(this, value);\n            hooks.updateOffset(this, true);\n            return this;\n        } else {\n            return get(this, 'Month');\n        }\n    }\n\n    function getDaysInMonth() {\n        return daysInMonth(this.year(), this.month());\n    }\n\n    function monthsShortRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsShortStrictRegex;\n            } else {\n                return this._monthsShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsShortRegex')) {\n                this._monthsShortRegex = defaultMonthsShortRegex;\n            }\n            return this._monthsShortStrictRegex && isStrict\n                ? this._monthsShortStrictRegex\n                : this._monthsShortRegex;\n        }\n    }\n\n    function monthsRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsStrictRegex;\n            } else {\n                return this._monthsRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                this._monthsRegex = defaultMonthsRegex;\n            }\n            return this._monthsStrictRegex && isStrict\n                ? this._monthsStrictRegex\n                : this._monthsRegex;\n        }\n    }\n\n    function computeMonthsParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom;\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            shortPieces.push(this.monthsShort(mom, ''));\n            longPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.months(mom, ''));\n            mixedPieces.push(this.monthsShort(mom, ''));\n        }\n        // Sorting makes sure if one month (or abbr) is a prefix of another it\n        // will match the longer piece.\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n        for (i = 0; i < 12; i++) {\n            shortPieces[i] = regexEscape(shortPieces[i]);\n            longPieces[i] = regexEscape(longPieces[i]);\n        }\n        for (i = 0; i < 24; i++) {\n            mixedPieces[i] = regexEscape(mixedPieces[i]);\n        }\n\n        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._monthsShortRegex = this._monthsRegex;\n        this._monthsStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._monthsShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken('Y', 0, 0, function () {\n        var y = this.year();\n        return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n    });\n\n    addFormatToken(0, ['YY', 2], 0, function () {\n        return this.year() % 100;\n    });\n\n    addFormatToken(0, ['YYYY', 4], 0, 'year');\n    addFormatToken(0, ['YYYYY', 5], 0, 'year');\n    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n    // ALIASES\n\n    addUnitAlias('year', 'y');\n\n    // PRIORITIES\n\n    addUnitPriority('year', 1);\n\n    // PARSING\n\n    addRegexToken('Y', matchSigned);\n    addRegexToken('YY', match1to2, match2);\n    addRegexToken('YYYY', match1to4, match4);\n    addRegexToken('YYYYY', match1to6, match6);\n    addRegexToken('YYYYYY', match1to6, match6);\n\n    addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n    addParseToken('YYYY', function (input, array) {\n        array[YEAR] =\n            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n    });\n    addParseToken('YY', function (input, array) {\n        array[YEAR] = hooks.parseTwoDigitYear(input);\n    });\n    addParseToken('Y', function (input, array) {\n        array[YEAR] = parseInt(input, 10);\n    });\n\n    // HELPERS\n\n    function daysInYear(year) {\n        return isLeapYear(year) ? 366 : 365;\n    }\n\n    // HOOKS\n\n    hooks.parseTwoDigitYear = function (input) {\n        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n    };\n\n    // MOMENTS\n\n    var getSetYear = makeGetSet('FullYear', true);\n\n    function getIsLeapYear() {\n        return isLeapYear(this.year());\n    }\n\n    function createDate(y, m, d, h, M, s, ms) {\n        // can't just apply() to create a date:\n        // https://stackoverflow.com/q/181348\n        var date;\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            date = new Date(y + 400, m, d, h, M, s, ms);\n            if (isFinite(date.getFullYear())) {\n                date.setFullYear(y);\n            }\n        } else {\n            date = new Date(y, m, d, h, M, s, ms);\n        }\n\n        return date;\n    }\n\n    function createUTCDate(y) {\n        var date, args;\n        // the Date.UTC function remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            args = Array.prototype.slice.call(arguments);\n            // preserve leap years using a full 400 year cycle, then reset\n            args[0] = y + 400;\n            date = new Date(Date.UTC.apply(null, args));\n            if (isFinite(date.getUTCFullYear())) {\n                date.setUTCFullYear(y);\n            }\n        } else {\n            date = new Date(Date.UTC.apply(null, arguments));\n        }\n\n        return date;\n    }\n\n    // start-of-first-week - start-of-year\n    function firstWeekOffset(year, dow, doy) {\n        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n            fwd = 7 + dow - doy,\n            // first-week day local weekday -- which local weekday is fwd\n            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n        return -fwdlw + fwd - 1;\n    }\n\n    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n        var localWeekday = (7 + weekday - dow) % 7,\n            weekOffset = firstWeekOffset(year, dow, doy),\n            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n            resYear,\n            resDayOfYear;\n\n        if (dayOfYear <= 0) {\n            resYear = year - 1;\n            resDayOfYear = daysInYear(resYear) + dayOfYear;\n        } else if (dayOfYear > daysInYear(year)) {\n            resYear = year + 1;\n            resDayOfYear = dayOfYear - daysInYear(year);\n        } else {\n            resYear = year;\n            resDayOfYear = dayOfYear;\n        }\n\n        return {\n            year: resYear,\n            dayOfYear: resDayOfYear,\n        };\n    }\n\n    function weekOfYear(mom, dow, doy) {\n        var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n            resWeek,\n            resYear;\n\n        if (week < 1) {\n            resYear = mom.year() - 1;\n            resWeek = week + weeksInYear(resYear, dow, doy);\n        } else if (week > weeksInYear(mom.year(), dow, doy)) {\n            resWeek = week - weeksInYear(mom.year(), dow, doy);\n            resYear = mom.year() + 1;\n        } else {\n            resYear = mom.year();\n            resWeek = week;\n        }\n\n        return {\n            week: resWeek,\n            year: resYear,\n        };\n    }\n\n    function weeksInYear(year, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n    }\n\n    // FORMATTING\n\n    addFormatToken('w', ['ww', 2], 'wo', 'week');\n    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n    // ALIASES\n\n    addUnitAlias('week', 'w');\n    addUnitAlias('isoWeek', 'W');\n\n    // PRIORITIES\n\n    addUnitPriority('week', 5);\n    addUnitPriority('isoWeek', 5);\n\n    // PARSING\n\n    addRegexToken('w', match1to2);\n    addRegexToken('ww', match1to2, match2);\n    addRegexToken('W', match1to2);\n    addRegexToken('WW', match1to2, match2);\n\n    addWeekParseToken(['w', 'ww', 'W', 'WW'], function (\n        input,\n        week,\n        config,\n        token\n    ) {\n        week[token.substr(0, 1)] = toInt(input);\n    });\n\n    // HELPERS\n\n    // LOCALES\n\n    function localeWeek(mom) {\n        return weekOfYear(mom, this._week.dow, this._week.doy).week;\n    }\n\n    var defaultLocaleWeek = {\n        dow: 0, // Sunday is the first day of the week.\n        doy: 6, // The week that contains Jan 6th is the first week of the year.\n    };\n\n    function localeFirstDayOfWeek() {\n        return this._week.dow;\n    }\n\n    function localeFirstDayOfYear() {\n        return this._week.doy;\n    }\n\n    // MOMENTS\n\n    function getSetWeek(input) {\n        var week = this.localeData().week(this);\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    function getSetISOWeek(input) {\n        var week = weekOfYear(this, 1, 4).week;\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('d', 0, 'do', 'day');\n\n    addFormatToken('dd', 0, 0, function (format) {\n        return this.localeData().weekdaysMin(this, format);\n    });\n\n    addFormatToken('ddd', 0, 0, function (format) {\n        return this.localeData().weekdaysShort(this, format);\n    });\n\n    addFormatToken('dddd', 0, 0, function (format) {\n        return this.localeData().weekdays(this, format);\n    });\n\n    addFormatToken('e', 0, 0, 'weekday');\n    addFormatToken('E', 0, 0, 'isoWeekday');\n\n    // ALIASES\n\n    addUnitAlias('day', 'd');\n    addUnitAlias('weekday', 'e');\n    addUnitAlias('isoWeekday', 'E');\n\n    // PRIORITY\n    addUnitPriority('day', 11);\n    addUnitPriority('weekday', 11);\n    addUnitPriority('isoWeekday', 11);\n\n    // PARSING\n\n    addRegexToken('d', match1to2);\n    addRegexToken('e', match1to2);\n    addRegexToken('E', match1to2);\n    addRegexToken('dd', function (isStrict, locale) {\n        return locale.weekdaysMinRegex(isStrict);\n    });\n    addRegexToken('ddd', function (isStrict, locale) {\n        return locale.weekdaysShortRegex(isStrict);\n    });\n    addRegexToken('dddd', function (isStrict, locale) {\n        return locale.weekdaysRegex(isStrict);\n    });\n\n    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n        var weekday = config._locale.weekdaysParse(input, token, config._strict);\n        // if we didn't get a weekday name, mark the date as invalid\n        if (weekday != null) {\n            week.d = weekday;\n        } else {\n            getParsingFlags(config).invalidWeekday = input;\n        }\n    });\n\n    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n        week[token] = toInt(input);\n    });\n\n    // HELPERS\n\n    function parseWeekday(input, locale) {\n        if (typeof input !== 'string') {\n            return input;\n        }\n\n        if (!isNaN(input)) {\n            return parseInt(input, 10);\n        }\n\n        input = locale.weekdaysParse(input);\n        if (typeof input === 'number') {\n            return input;\n        }\n\n        return null;\n    }\n\n    function parseIsoWeekday(input, locale) {\n        if (typeof input === 'string') {\n            return locale.weekdaysParse(input) % 7 || 7;\n        }\n        return isNaN(input) ? null : input;\n    }\n\n    // LOCALES\n    function shiftWeekdays(ws, n) {\n        return ws.slice(n, 7).concat(ws.slice(0, n));\n    }\n\n    var defaultLocaleWeekdays = 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(\n            '_'\n        ),\n        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        defaultWeekdaysRegex = matchWord,\n        defaultWeekdaysShortRegex = matchWord,\n        defaultWeekdaysMinRegex = matchWord;\n\n    function localeWeekdays(m, format) {\n        var weekdays = isArray(this._weekdays)\n            ? this._weekdays\n            : this._weekdays[\n                  m && m !== true && this._weekdays.isFormat.test(format)\n                      ? 'format'\n                      : 'standalone'\n              ];\n        return m === true\n            ? shiftWeekdays(weekdays, this._week.dow)\n            : m\n            ? weekdays[m.day()]\n            : weekdays;\n    }\n\n    function localeWeekdaysShort(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n            : m\n            ? this._weekdaysShort[m.day()]\n            : this._weekdaysShort;\n    }\n\n    function localeWeekdaysMin(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n            : m\n            ? this._weekdaysMin[m.day()]\n            : this._weekdaysMin;\n    }\n\n    function handleStrictParse$1(weekdayName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = weekdayName.toLocaleLowerCase();\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._minWeekdaysParse = [];\n\n            for (i = 0; i < 7; ++i) {\n                mom = createUTC([2000, 1]).day(i);\n                this._minWeekdaysParse[i] = this.weekdaysMin(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._shortWeekdaysParse[i] = this.weekdaysShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeWeekdaysParse(weekdayName, format, strict) {\n        var i, mom, regex;\n\n        if (this._weekdaysParseExact) {\n            return handleStrictParse$1.call(this, weekdayName, format, strict);\n        }\n\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._minWeekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._fullWeekdaysParse = [];\n        }\n\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n\n            mom = createUTC([2000, 1]).day(i);\n            if (strict && !this._fullWeekdaysParse[i]) {\n                this._fullWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._shortWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._minWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n            }\n            if (!this._weekdaysParse[i]) {\n                regex =\n                    '^' +\n                    this.weekdays(mom, '') +\n                    '|^' +\n                    this.weekdaysShort(mom, '') +\n                    '|^' +\n                    this.weekdaysMin(mom, '');\n                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'dddd' &&\n                this._fullWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'ddd' &&\n                this._shortWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'dd' &&\n                this._minWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function getSetDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();\n        if (input != null) {\n            input = parseWeekday(input, this.localeData());\n            return this.add(input - day, 'd');\n        } else {\n            return day;\n        }\n    }\n\n    function getSetLocaleDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n        return input == null ? weekday : this.add(input - weekday, 'd');\n    }\n\n    function getSetISODayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        // behaves the same as moment#day except\n        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n        // as a setter, sunday should belong to the previous week.\n\n        if (input != null) {\n            var weekday = parseIsoWeekday(input, this.localeData());\n            return this.day(this.day() % 7 ? weekday : weekday - 7);\n        } else {\n            return this.day() || 7;\n        }\n    }\n\n    function weekdaysRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysStrictRegex;\n            } else {\n                return this._weekdaysRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                this._weekdaysRegex = defaultWeekdaysRegex;\n            }\n            return this._weekdaysStrictRegex && isStrict\n                ? this._weekdaysStrictRegex\n                : this._weekdaysRegex;\n        }\n    }\n\n    function weekdaysShortRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysShortStrictRegex;\n            } else {\n                return this._weekdaysShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n                this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n            }\n            return this._weekdaysShortStrictRegex && isStrict\n                ? this._weekdaysShortStrictRegex\n                : this._weekdaysShortRegex;\n        }\n    }\n\n    function weekdaysMinRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysMinStrictRegex;\n            } else {\n                return this._weekdaysMinRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n                this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n            }\n            return this._weekdaysMinStrictRegex && isStrict\n                ? this._weekdaysMinStrictRegex\n                : this._weekdaysMinRegex;\n        }\n    }\n\n    function computeWeekdaysParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var minPieces = [],\n            shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            minp,\n            shortp,\n            longp;\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, 1]).day(i);\n            minp = regexEscape(this.weekdaysMin(mom, ''));\n            shortp = regexEscape(this.weekdaysShort(mom, ''));\n            longp = regexEscape(this.weekdays(mom, ''));\n            minPieces.push(minp);\n            shortPieces.push(shortp);\n            longPieces.push(longp);\n            mixedPieces.push(minp);\n            mixedPieces.push(shortp);\n            mixedPieces.push(longp);\n        }\n        // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n        // will match the longer piece.\n        minPieces.sort(cmpLenRev);\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._weekdaysShortRegex = this._weekdaysRegex;\n        this._weekdaysMinRegex = this._weekdaysRegex;\n\n        this._weekdaysStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysMinStrictRegex = new RegExp(\n            '^(' + minPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    function hFormat() {\n        return this.hours() % 12 || 12;\n    }\n\n    function kFormat() {\n        return this.hours() || 24;\n    }\n\n    addFormatToken('H', ['HH', 2], 0, 'hour');\n    addFormatToken('h', ['hh', 2], 0, hFormat);\n    addFormatToken('k', ['kk', 2], 0, kFormat);\n\n    addFormatToken('hmm', 0, 0, function () {\n        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('hmmss', 0, 0, function () {\n        return (\n            '' +\n            hFormat.apply(this) +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    addFormatToken('Hmm', 0, 0, function () {\n        return '' + this.hours() + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('Hmmss', 0, 0, function () {\n        return (\n            '' +\n            this.hours() +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    function meridiem(token, lowercase) {\n        addFormatToken(token, 0, 0, function () {\n            return this.localeData().meridiem(\n                this.hours(),\n                this.minutes(),\n                lowercase\n            );\n        });\n    }\n\n    meridiem('a', true);\n    meridiem('A', false);\n\n    // ALIASES\n\n    addUnitAlias('hour', 'h');\n\n    // PRIORITY\n    addUnitPriority('hour', 13);\n\n    // PARSING\n\n    function matchMeridiem(isStrict, locale) {\n        return locale._meridiemParse;\n    }\n\n    addRegexToken('a', matchMeridiem);\n    addRegexToken('A', matchMeridiem);\n    addRegexToken('H', match1to2);\n    addRegexToken('h', match1to2);\n    addRegexToken('k', match1to2);\n    addRegexToken('HH', match1to2, match2);\n    addRegexToken('hh', match1to2, match2);\n    addRegexToken('kk', match1to2, match2);\n\n    addRegexToken('hmm', match3to4);\n    addRegexToken('hmmss', match5to6);\n    addRegexToken('Hmm', match3to4);\n    addRegexToken('Hmmss', match5to6);\n\n    addParseToken(['H', 'HH'], HOUR);\n    addParseToken(['k', 'kk'], function (input, array, config) {\n        var kInput = toInt(input);\n        array[HOUR] = kInput === 24 ? 0 : kInput;\n    });\n    addParseToken(['a', 'A'], function (input, array, config) {\n        config._isPm = config._locale.isPM(input);\n        config._meridiem = input;\n    });\n    addParseToken(['h', 'hh'], function (input, array, config) {\n        array[HOUR] = toInt(input);\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('Hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n    });\n    addParseToken('Hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n    });\n\n    // LOCALES\n\n    function localeIsPM(input) {\n        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n        // Using charAt should be more compatible.\n        return (input + '').toLowerCase().charAt(0) === 'p';\n    }\n\n    var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n        // Setting the hour should keep the time, because the user explicitly\n        // specified which hour they want. So trying to maintain the same hour (in\n        // a new timezone) makes sense. Adding/subtracting hours does not follow\n        // this rule.\n        getSetHour = makeGetSet('Hours', true);\n\n    function localeMeridiem(hours, minutes, isLower) {\n        if (hours > 11) {\n            return isLower ? 'pm' : 'PM';\n        } else {\n            return isLower ? 'am' : 'AM';\n        }\n    }\n\n    var baseConfig = {\n        calendar: defaultCalendar,\n        longDateFormat: defaultLongDateFormat,\n        invalidDate: defaultInvalidDate,\n        ordinal: defaultOrdinal,\n        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n        relativeTime: defaultRelativeTime,\n\n        months: defaultLocaleMonths,\n        monthsShort: defaultLocaleMonthsShort,\n\n        week: defaultLocaleWeek,\n\n        weekdays: defaultLocaleWeekdays,\n        weekdaysMin: defaultLocaleWeekdaysMin,\n        weekdaysShort: defaultLocaleWeekdaysShort,\n\n        meridiemParse: defaultLocaleMeridiemParse,\n    };\n\n    // internal storage for locale config files\n    var locales = {},\n        localeFamilies = {},\n        globalLocale;\n\n    function commonPrefix(arr1, arr2) {\n        var i,\n            minl = Math.min(arr1.length, arr2.length);\n        for (i = 0; i < minl; i += 1) {\n            if (arr1[i] !== arr2[i]) {\n                return i;\n            }\n        }\n        return minl;\n    }\n\n    function normalizeLocale(key) {\n        return key ? key.toLowerCase().replace('_', '-') : key;\n    }\n\n    // pick the locale from the array\n    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n    function chooseLocale(names) {\n        var i = 0,\n            j,\n            next,\n            locale,\n            split;\n\n        while (i < names.length) {\n            split = normalizeLocale(names[i]).split('-');\n            j = split.length;\n            next = normalizeLocale(names[i + 1]);\n            next = next ? next.split('-') : null;\n            while (j > 0) {\n                locale = loadLocale(split.slice(0, j).join('-'));\n                if (locale) {\n                    return locale;\n                }\n                if (\n                    next &&\n                    next.length >= j &&\n                    commonPrefix(split, next) >= j - 1\n                ) {\n                    //the next array item is better than a shallower substring of this one\n                    break;\n                }\n                j--;\n            }\n            i++;\n        }\n        return globalLocale;\n    }\n\n    function loadLocale(name) {\n        var oldLocale = null,\n            aliasedRequire;\n        // TODO: Find a better way to register and load all the locales in Node\n        if (\n            locales[name] === undefined &&\n            typeof module !== 'undefined' &&\n            module &&\n            module.exports\n        ) {\n            try {\n                oldLocale = globalLocale._abbr;\n                aliasedRequire = require;\n                aliasedRequire('./locale/' + name);\n                getSetGlobalLocale(oldLocale);\n            } catch (e) {\n                // mark as not found to avoid repeating expensive file require call causing high CPU\n                // when trying to find en-US, en_US, en-us for every format call\n                locales[name] = null; // null means not found\n            }\n        }\n        return locales[name];\n    }\n\n    // This function will load locale and then set the global locale.  If\n    // no arguments are passed in, it will simply return the current global\n    // locale key.\n    function getSetGlobalLocale(key, values) {\n        var data;\n        if (key) {\n            if (isUndefined(values)) {\n                data = getLocale(key);\n            } else {\n                data = defineLocale(key, values);\n            }\n\n            if (data) {\n                // moment.duration._locale = moment._locale = data;\n                globalLocale = data;\n            } else {\n                if (typeof console !== 'undefined' && console.warn) {\n                    //warn user if arguments are passed but the locale could not be set\n                    console.warn(\n                        'Locale ' + key + ' not found. Did you forget to load it?'\n                    );\n                }\n            }\n        }\n\n        return globalLocale._abbr;\n    }\n\n    function defineLocale(name, config) {\n        if (config !== null) {\n            var locale,\n                parentConfig = baseConfig;\n            config.abbr = name;\n            if (locales[name] != null) {\n                deprecateSimple(\n                    'defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                        'an existing locale. moment.defineLocale(localeName, ' +\n                        'config) should only be used for creating a new locale ' +\n                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n                );\n                parentConfig = locales[name]._config;\n            } else if (config.parentLocale != null) {\n                if (locales[config.parentLocale] != null) {\n                    parentConfig = locales[config.parentLocale]._config;\n                } else {\n                    locale = loadLocale(config.parentLocale);\n                    if (locale != null) {\n                        parentConfig = locale._config;\n                    } else {\n                        if (!localeFamilies[config.parentLocale]) {\n                            localeFamilies[config.parentLocale] = [];\n                        }\n                        localeFamilies[config.parentLocale].push({\n                            name: name,\n                            config: config,\n                        });\n                        return null;\n                    }\n                }\n            }\n            locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n            if (localeFamilies[name]) {\n                localeFamilies[name].forEach(function (x) {\n                    defineLocale(x.name, x.config);\n                });\n            }\n\n            // backwards compat for now: also set the locale\n            // make sure we set the locale AFTER all child locales have been\n            // created, so we won't end up with the child locale set.\n            getSetGlobalLocale(name);\n\n            return locales[name];\n        } else {\n            // useful for testing\n            delete locales[name];\n            return null;\n        }\n    }\n\n    function updateLocale(name, config) {\n        if (config != null) {\n            var locale,\n                tmpLocale,\n                parentConfig = baseConfig;\n\n            if (locales[name] != null && locales[name].parentLocale != null) {\n                // Update existing child locale in-place to avoid memory-leaks\n                locales[name].set(mergeConfigs(locales[name]._config, config));\n            } else {\n                // MERGE\n                tmpLocale = loadLocale(name);\n                if (tmpLocale != null) {\n                    parentConfig = tmpLocale._config;\n                }\n                config = mergeConfigs(parentConfig, config);\n                if (tmpLocale == null) {\n                    // updateLocale is called for creating a new locale\n                    // Set abbr so it will have a name (getters return\n                    // undefined otherwise).\n                    config.abbr = name;\n                }\n                locale = new Locale(config);\n                locale.parentLocale = locales[name];\n                locales[name] = locale;\n            }\n\n            // backwards compat for now: also set the locale\n            getSetGlobalLocale(name);\n        } else {\n            // pass null for config to unupdate, useful for tests\n            if (locales[name] != null) {\n                if (locales[name].parentLocale != null) {\n                    locales[name] = locales[name].parentLocale;\n                    if (name === getSetGlobalLocale()) {\n                        getSetGlobalLocale(name);\n                    }\n                } else if (locales[name] != null) {\n                    delete locales[name];\n                }\n            }\n        }\n        return locales[name];\n    }\n\n    // returns locale data\n    function getLocale(key) {\n        var locale;\n\n        if (key && key._locale && key._locale._abbr) {\n            key = key._locale._abbr;\n        }\n\n        if (!key) {\n            return globalLocale;\n        }\n\n        if (!isArray(key)) {\n            //short-circuit everything else\n            locale = loadLocale(key);\n            if (locale) {\n                return locale;\n            }\n            key = [key];\n        }\n\n        return chooseLocale(key);\n    }\n\n    function listLocales() {\n        return keys(locales);\n    }\n\n    function checkOverflow(m) {\n        var overflow,\n            a = m._a;\n\n        if (a && getParsingFlags(m).overflow === -2) {\n            overflow =\n                a[MONTH] < 0 || a[MONTH] > 11\n                    ? MONTH\n                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n                    ? DATE\n                    : a[HOUR] < 0 ||\n                      a[HOUR] > 24 ||\n                      (a[HOUR] === 24 &&\n                          (a[MINUTE] !== 0 ||\n                              a[SECOND] !== 0 ||\n                              a[MILLISECOND] !== 0))\n                    ? HOUR\n                    : a[MINUTE] < 0 || a[MINUTE] > 59\n                    ? MINUTE\n                    : a[SECOND] < 0 || a[SECOND] > 59\n                    ? SECOND\n                    : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n                    ? MILLISECOND\n                    : -1;\n\n            if (\n                getParsingFlags(m)._overflowDayOfYear &&\n                (overflow < YEAR || overflow > DATE)\n            ) {\n                overflow = DATE;\n            }\n            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n                overflow = WEEK;\n            }\n            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n                overflow = WEEKDAY;\n            }\n\n            getParsingFlags(m).overflow = overflow;\n        }\n\n        return m;\n    }\n\n    // iso 8601 regex\n    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n    var extendedIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        basicIsoRegex = /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n        isoDates = [\n            ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n            ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n            ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n            ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n            ['YYYY-DDD', /\\d{4}-\\d{3}/],\n            ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n            ['YYYYYYMMDD', /[+-]\\d{10}/],\n            ['YYYYMMDD', /\\d{8}/],\n            ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n            ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n            ['YYYYDDD', /\\d{7}/],\n            ['YYYYMM', /\\d{6}/, false],\n            ['YYYY', /\\d{4}/, false],\n        ],\n        // iso time formats and regexes\n        isoTimes = [\n            ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n            ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n            ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n            ['HH:mm', /\\d\\d:\\d\\d/],\n            ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n            ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n            ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n            ['HHmm', /\\d\\d\\d\\d/],\n            ['HH', /\\d\\d/],\n        ],\n        aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n        rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n        obsOffsets = {\n            UT: 0,\n            GMT: 0,\n            EDT: -4 * 60,\n            EST: -5 * 60,\n            CDT: -5 * 60,\n            CST: -6 * 60,\n            MDT: -6 * 60,\n            MST: -7 * 60,\n            PDT: -7 * 60,\n            PST: -8 * 60,\n        };\n\n    // date from iso format\n    function configFromISO(config) {\n        var i,\n            l,\n            string = config._i,\n            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n            allowTime,\n            dateFormat,\n            timeFormat,\n            tzFormat;\n\n        if (match) {\n            getParsingFlags(config).iso = true;\n\n            for (i = 0, l = isoDates.length; i < l; i++) {\n                if (isoDates[i][1].exec(match[1])) {\n                    dateFormat = isoDates[i][0];\n                    allowTime = isoDates[i][2] !== false;\n                    break;\n                }\n            }\n            if (dateFormat == null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[3]) {\n                for (i = 0, l = isoTimes.length; i < l; i++) {\n                    if (isoTimes[i][1].exec(match[3])) {\n                        // match[2] should be 'T' or space\n                        timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                        break;\n                    }\n                }\n                if (timeFormat == null) {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            if (!allowTime && timeFormat != null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[4]) {\n                if (tzRegex.exec(match[4])) {\n                    tzFormat = 'Z';\n                } else {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n            configFromStringAndFormat(config);\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    function extractFromRFC2822Strings(\n        yearStr,\n        monthStr,\n        dayStr,\n        hourStr,\n        minuteStr,\n        secondStr\n    ) {\n        var result = [\n            untruncateYear(yearStr),\n            defaultLocaleMonthsShort.indexOf(monthStr),\n            parseInt(dayStr, 10),\n            parseInt(hourStr, 10),\n            parseInt(minuteStr, 10),\n        ];\n\n        if (secondStr) {\n            result.push(parseInt(secondStr, 10));\n        }\n\n        return result;\n    }\n\n    function untruncateYear(yearStr) {\n        var year = parseInt(yearStr, 10);\n        if (year <= 49) {\n            return 2000 + year;\n        } else if (year <= 999) {\n            return 1900 + year;\n        }\n        return year;\n    }\n\n    function preprocessRFC2822(s) {\n        // Remove comments and folding whitespace and replace multiple-spaces with a single space\n        return s\n            .replace(/\\([^)]*\\)|[\\n\\t]/g, ' ')\n            .replace(/(\\s\\s+)/g, ' ')\n            .replace(/^\\s\\s*/, '')\n            .replace(/\\s\\s*$/, '');\n    }\n\n    function checkWeekday(weekdayStr, parsedInput, config) {\n        if (weekdayStr) {\n            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n                weekdayActual = new Date(\n                    parsedInput[0],\n                    parsedInput[1],\n                    parsedInput[2]\n                ).getDay();\n            if (weekdayProvided !== weekdayActual) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return false;\n            }\n        }\n        return true;\n    }\n\n    function calculateOffset(obsOffset, militaryOffset, numOffset) {\n        if (obsOffset) {\n            return obsOffsets[obsOffset];\n        } else if (militaryOffset) {\n            // the only allowed military tz is Z\n            return 0;\n        } else {\n            var hm = parseInt(numOffset, 10),\n                m = hm % 100,\n                h = (hm - m) / 100;\n            return h * 60 + m;\n        }\n    }\n\n    // date and time from ref 2822 format\n    function configFromRFC2822(config) {\n        var match = rfc2822.exec(preprocessRFC2822(config._i)),\n            parsedArray;\n        if (match) {\n            parsedArray = extractFromRFC2822Strings(\n                match[4],\n                match[3],\n                match[2],\n                match[5],\n                match[6],\n                match[7]\n            );\n            if (!checkWeekday(match[1], parsedArray, config)) {\n                return;\n            }\n\n            config._a = parsedArray;\n            config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n            config._d = createUTCDate.apply(null, config._a);\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n            getParsingFlags(config).rfc2822 = true;\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n    function configFromString(config) {\n        var matched = aspNetJsonRegex.exec(config._i);\n        if (matched !== null) {\n            config._d = new Date(+matched[1]);\n            return;\n        }\n\n        configFromISO(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        configFromRFC2822(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        if (config._strict) {\n            config._isValid = false;\n        } else {\n            // Final attempt, use Input Fallback\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    hooks.createFromInputFallback = deprecate(\n        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n        function (config) {\n            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n        }\n    );\n\n    // Pick the first defined of two or three arguments.\n    function defaults(a, b, c) {\n        if (a != null) {\n            return a;\n        }\n        if (b != null) {\n            return b;\n        }\n        return c;\n    }\n\n    function currentDateArray(config) {\n        // hooks is actually the exported moment object\n        var nowValue = new Date(hooks.now());\n        if (config._useUTC) {\n            return [\n                nowValue.getUTCFullYear(),\n                nowValue.getUTCMonth(),\n                nowValue.getUTCDate(),\n            ];\n        }\n        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n    }\n\n    // convert an array to a date.\n    // the array should mirror the parameters below\n    // note: all values past the year are optional and will default to the lowest possible value.\n    // [year, month, day , hour, minute, second, millisecond]\n    function configFromArray(config) {\n        var i,\n            date,\n            input = [],\n            currentDate,\n            expectedWeekday,\n            yearToUse;\n\n        if (config._d) {\n            return;\n        }\n\n        currentDate = currentDateArray(config);\n\n        //compute day of the year from weeks and weekdays\n        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n            dayOfYearFromWeekInfo(config);\n        }\n\n        //if the day of the year is set, figure out what it is\n        if (config._dayOfYear != null) {\n            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n            if (\n                config._dayOfYear > daysInYear(yearToUse) ||\n                config._dayOfYear === 0\n            ) {\n                getParsingFlags(config)._overflowDayOfYear = true;\n            }\n\n            date = createUTCDate(yearToUse, 0, config._dayOfYear);\n            config._a[MONTH] = date.getUTCMonth();\n            config._a[DATE] = date.getUTCDate();\n        }\n\n        // Default to current date.\n        // * if no year, month, day of month are given, default to today\n        // * if day of month is given, default month and year\n        // * if month is given, default only year\n        // * if year is given, don't default anything\n        for (i = 0; i < 3 && config._a[i] == null; ++i) {\n            config._a[i] = input[i] = currentDate[i];\n        }\n\n        // Zero out whatever was not defaulted, including time\n        for (; i < 7; i++) {\n            config._a[i] = input[i] =\n                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n        }\n\n        // Check for 24:00:00.000\n        if (\n            config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0\n        ) {\n            config._nextDay = true;\n            config._a[HOUR] = 0;\n        }\n\n        config._d = (config._useUTC ? createUTCDate : createDate).apply(\n            null,\n            input\n        );\n        expectedWeekday = config._useUTC\n            ? config._d.getUTCDay()\n            : config._d.getDay();\n\n        // Apply timezone offset from input. The actual utcOffset can be changed\n        // with parseZone.\n        if (config._tzm != null) {\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n        }\n\n        if (config._nextDay) {\n            config._a[HOUR] = 24;\n        }\n\n        // check for mismatching day of week\n        if (\n            config._w &&\n            typeof config._w.d !== 'undefined' &&\n            config._w.d !== expectedWeekday\n        ) {\n            getParsingFlags(config).weekdayMismatch = true;\n        }\n    }\n\n    function dayOfYearFromWeekInfo(config) {\n        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n        w = config._w;\n        if (w.GG != null || w.W != null || w.E != null) {\n            dow = 1;\n            doy = 4;\n\n            // TODO: We need to take the current isoWeekYear, but that depends on\n            // how we interpret now (local, utc, fixed offset). So create\n            // a now version of current config (take local/utc/offset flags, and\n            // create now).\n            weekYear = defaults(\n                w.GG,\n                config._a[YEAR],\n                weekOfYear(createLocal(), 1, 4).year\n            );\n            week = defaults(w.W, 1);\n            weekday = defaults(w.E, 1);\n            if (weekday < 1 || weekday > 7) {\n                weekdayOverflow = true;\n            }\n        } else {\n            dow = config._locale._week.dow;\n            doy = config._locale._week.doy;\n\n            curWeek = weekOfYear(createLocal(), dow, doy);\n\n            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n            // Default to current week.\n            week = defaults(w.w, curWeek.week);\n\n            if (w.d != null) {\n                // weekday -- low day numbers are considered next week\n                weekday = w.d;\n                if (weekday < 0 || weekday > 6) {\n                    weekdayOverflow = true;\n                }\n            } else if (w.e != null) {\n                // local weekday -- counting starts from beginning of week\n                weekday = w.e + dow;\n                if (w.e < 0 || w.e > 6) {\n                    weekdayOverflow = true;\n                }\n            } else {\n                // default to beginning of week\n                weekday = dow;\n            }\n        }\n        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n            getParsingFlags(config)._overflowWeeks = true;\n        } else if (weekdayOverflow != null) {\n            getParsingFlags(config)._overflowWeekday = true;\n        } else {\n            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n            config._a[YEAR] = temp.year;\n            config._dayOfYear = temp.dayOfYear;\n        }\n    }\n\n    // constant that refers to the ISO standard\n    hooks.ISO_8601 = function () {};\n\n    // constant that refers to the RFC 2822 form\n    hooks.RFC_2822 = function () {};\n\n    // date from string and format string\n    function configFromStringAndFormat(config) {\n        // TODO: Move this to another part of the creation flow to prevent circular deps\n        if (config._f === hooks.ISO_8601) {\n            configFromISO(config);\n            return;\n        }\n        if (config._f === hooks.RFC_2822) {\n            configFromRFC2822(config);\n            return;\n        }\n        config._a = [];\n        getParsingFlags(config).empty = true;\n\n        // This array is used to make a Date, either with `new Date` or `Date.UTC`\n        var string = '' + config._i,\n            i,\n            parsedInput,\n            tokens,\n            token,\n            skipped,\n            stringLength = string.length,\n            totalParsedInputLength = 0,\n            era;\n\n        tokens =\n            expandFormat(config._f, config._locale).match(formattingTokens) || [];\n\n        for (i = 0; i < tokens.length; i++) {\n            token = tokens[i];\n            parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n                [])[0];\n            if (parsedInput) {\n                skipped = string.substr(0, string.indexOf(parsedInput));\n                if (skipped.length > 0) {\n                    getParsingFlags(config).unusedInput.push(skipped);\n                }\n                string = string.slice(\n                    string.indexOf(parsedInput) + parsedInput.length\n                );\n                totalParsedInputLength += parsedInput.length;\n            }\n            // don't parse if it's not a known token\n            if (formatTokenFunctions[token]) {\n                if (parsedInput) {\n                    getParsingFlags(config).empty = false;\n                } else {\n                    getParsingFlags(config).unusedTokens.push(token);\n                }\n                addTimeToArrayFromToken(token, parsedInput, config);\n            } else if (config._strict && !parsedInput) {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n        }\n\n        // add remaining unparsed input length to the string\n        getParsingFlags(config).charsLeftOver =\n            stringLength - totalParsedInputLength;\n        if (string.length > 0) {\n            getParsingFlags(config).unusedInput.push(string);\n        }\n\n        // clear _12h flag if hour is <= 12\n        if (\n            config._a[HOUR] <= 12 &&\n            getParsingFlags(config).bigHour === true &&\n            config._a[HOUR] > 0\n        ) {\n            getParsingFlags(config).bigHour = undefined;\n        }\n\n        getParsingFlags(config).parsedDateParts = config._a.slice(0);\n        getParsingFlags(config).meridiem = config._meridiem;\n        // handle meridiem\n        config._a[HOUR] = meridiemFixWrap(\n            config._locale,\n            config._a[HOUR],\n            config._meridiem\n        );\n\n        // handle era\n        era = getParsingFlags(config).era;\n        if (era !== null) {\n            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n        }\n\n        configFromArray(config);\n        checkOverflow(config);\n    }\n\n    function meridiemFixWrap(locale, hour, meridiem) {\n        var isPm;\n\n        if (meridiem == null) {\n            // nothing to do\n            return hour;\n        }\n        if (locale.meridiemHour != null) {\n            return locale.meridiemHour(hour, meridiem);\n        } else if (locale.isPM != null) {\n            // Fallback\n            isPm = locale.isPM(meridiem);\n            if (isPm && hour < 12) {\n                hour += 12;\n            }\n            if (!isPm && hour === 12) {\n                hour = 0;\n            }\n            return hour;\n        } else {\n            // this is not supposed to happen\n            return hour;\n        }\n    }\n\n    // date from string and array of format strings\n    function configFromStringAndArray(config) {\n        var tempConfig,\n            bestMoment,\n            scoreToBeat,\n            i,\n            currentScore,\n            validFormatFound,\n            bestFormatIsValid = false;\n\n        if (config._f.length === 0) {\n            getParsingFlags(config).invalidFormat = true;\n            config._d = new Date(NaN);\n            return;\n        }\n\n        for (i = 0; i < config._f.length; i++) {\n            currentScore = 0;\n            validFormatFound = false;\n            tempConfig = copyConfig({}, config);\n            if (config._useUTC != null) {\n                tempConfig._useUTC = config._useUTC;\n            }\n            tempConfig._f = config._f[i];\n            configFromStringAndFormat(tempConfig);\n\n            if (isValid(tempConfig)) {\n                validFormatFound = true;\n            }\n\n            // if there is any input that was not parsed add a penalty for that format\n            currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n            //or tokens\n            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n            getParsingFlags(tempConfig).score = currentScore;\n\n            if (!bestFormatIsValid) {\n                if (\n                    scoreToBeat == null ||\n                    currentScore < scoreToBeat ||\n                    validFormatFound\n                ) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                    if (validFormatFound) {\n                        bestFormatIsValid = true;\n                    }\n                }\n            } else {\n                if (currentScore < scoreToBeat) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                }\n            }\n        }\n\n        extend(config, bestMoment || tempConfig);\n    }\n\n    function configFromObject(config) {\n        if (config._d) {\n            return;\n        }\n\n        var i = normalizeObjectUnits(config._i),\n            dayOrDate = i.day === undefined ? i.date : i.day;\n        config._a = map(\n            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n            function (obj) {\n                return obj && parseInt(obj, 10);\n            }\n        );\n\n        configFromArray(config);\n    }\n\n    function createFromConfig(config) {\n        var res = new Moment(checkOverflow(prepareConfig(config)));\n        if (res._nextDay) {\n            // Adding is smart enough around DST\n            res.add(1, 'd');\n            res._nextDay = undefined;\n        }\n\n        return res;\n    }\n\n    function prepareConfig(config) {\n        var input = config._i,\n            format = config._f;\n\n        config._locale = config._locale || getLocale(config._l);\n\n        if (input === null || (format === undefined && input === '')) {\n            return createInvalid({ nullInput: true });\n        }\n\n        if (typeof input === 'string') {\n            config._i = input = config._locale.preparse(input);\n        }\n\n        if (isMoment(input)) {\n            return new Moment(checkOverflow(input));\n        } else if (isDate(input)) {\n            config._d = input;\n        } else if (isArray(format)) {\n            configFromStringAndArray(config);\n        } else if (format) {\n            configFromStringAndFormat(config);\n        } else {\n            configFromInput(config);\n        }\n\n        if (!isValid(config)) {\n            config._d = null;\n        }\n\n        return config;\n    }\n\n    function configFromInput(config) {\n        var input = config._i;\n        if (isUndefined(input)) {\n            config._d = new Date(hooks.now());\n        } else if (isDate(input)) {\n            config._d = new Date(input.valueOf());\n        } else if (typeof input === 'string') {\n            configFromString(config);\n        } else if (isArray(input)) {\n            config._a = map(input.slice(0), function (obj) {\n                return parseInt(obj, 10);\n            });\n            configFromArray(config);\n        } else if (isObject(input)) {\n            configFromObject(config);\n        } else if (isNumber(input)) {\n            // from milliseconds\n            config._d = new Date(input);\n        } else {\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    function createLocalOrUTC(input, format, locale, strict, isUTC) {\n        var c = {};\n\n        if (format === true || format === false) {\n            strict = format;\n            format = undefined;\n        }\n\n        if (locale === true || locale === false) {\n            strict = locale;\n            locale = undefined;\n        }\n\n        if (\n            (isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)\n        ) {\n            input = undefined;\n        }\n        // object construction must be done this way.\n        // https://github.com/moment/moment/issues/1423\n        c._isAMomentObject = true;\n        c._useUTC = c._isUTC = isUTC;\n        c._l = locale;\n        c._i = input;\n        c._f = format;\n        c._strict = strict;\n\n        return createFromConfig(c);\n    }\n\n    function createLocal(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, false);\n    }\n\n    var prototypeMin = deprecate(\n            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other < this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        ),\n        prototypeMax = deprecate(\n            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other > this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        );\n\n    // Pick a moment m from moments so that m[fn](other) is true for all\n    // other. This relies on the function fn to be transitive.\n    //\n    // moments should either be an array of moment objects or an array, whose\n    // first element is an array of moment objects.\n    function pickBy(fn, moments) {\n        var res, i;\n        if (moments.length === 1 && isArray(moments[0])) {\n            moments = moments[0];\n        }\n        if (!moments.length) {\n            return createLocal();\n        }\n        res = moments[0];\n        for (i = 1; i < moments.length; ++i) {\n            if (!moments[i].isValid() || moments[i][fn](res)) {\n                res = moments[i];\n            }\n        }\n        return res;\n    }\n\n    // TODO: Use [].sort instead?\n    function min() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isBefore', args);\n    }\n\n    function max() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isAfter', args);\n    }\n\n    var now = function () {\n        return Date.now ? Date.now() : +new Date();\n    };\n\n    var ordering = [\n        'year',\n        'quarter',\n        'month',\n        'week',\n        'day',\n        'hour',\n        'minute',\n        'second',\n        'millisecond',\n    ];\n\n    function isDurationValid(m) {\n        var key,\n            unitHasDecimal = false,\n            i;\n        for (key in m) {\n            if (\n                hasOwnProp(m, key) &&\n                !(\n                    indexOf.call(ordering, key) !== -1 &&\n                    (m[key] == null || !isNaN(m[key]))\n                )\n            ) {\n                return false;\n            }\n        }\n\n        for (i = 0; i < ordering.length; ++i) {\n            if (m[ordering[i]]) {\n                if (unitHasDecimal) {\n                    return false; // only allow non-integers for smallest unit\n                }\n                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                    unitHasDecimal = true;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    function isValid$1() {\n        return this._isValid;\n    }\n\n    function createInvalid$1() {\n        return createDuration(NaN);\n    }\n\n    function Duration(duration) {\n        var normalizedInput = normalizeObjectUnits(duration),\n            years = normalizedInput.year || 0,\n            quarters = normalizedInput.quarter || 0,\n            months = normalizedInput.month || 0,\n            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n            days = normalizedInput.day || 0,\n            hours = normalizedInput.hour || 0,\n            minutes = normalizedInput.minute || 0,\n            seconds = normalizedInput.second || 0,\n            milliseconds = normalizedInput.millisecond || 0;\n\n        this._isValid = isDurationValid(normalizedInput);\n\n        // representation for dateAddRemove\n        this._milliseconds =\n            +milliseconds +\n            seconds * 1e3 + // 1000\n            minutes * 6e4 + // 1000 * 60\n            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n        // Because of dateAddRemove treats 24 hours as different from a\n        // day when working around DST, we need to store them separately\n        this._days = +days + weeks * 7;\n        // It is impossible to translate months into days without knowing\n        // which months you are are talking about, so we have to store\n        // it separately.\n        this._months = +months + quarters * 3 + years * 12;\n\n        this._data = {};\n\n        this._locale = getLocale();\n\n        this._bubble();\n    }\n\n    function isDuration(obj) {\n        return obj instanceof Duration;\n    }\n\n    function absRound(number) {\n        if (number < 0) {\n            return Math.round(-1 * number) * -1;\n        } else {\n            return Math.round(number);\n        }\n    }\n\n    // compare two arrays, return the number of differences\n    function compareArrays(array1, array2, dontConvert) {\n        var len = Math.min(array1.length, array2.length),\n            lengthDiff = Math.abs(array1.length - array2.length),\n            diffs = 0,\n            i;\n        for (i = 0; i < len; i++) {\n            if (\n                (dontConvert && array1[i] !== array2[i]) ||\n                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n            ) {\n                diffs++;\n            }\n        }\n        return diffs + lengthDiff;\n    }\n\n    // FORMATTING\n\n    function offset(token, separator) {\n        addFormatToken(token, 0, 0, function () {\n            var offset = this.utcOffset(),\n                sign = '+';\n            if (offset < 0) {\n                offset = -offset;\n                sign = '-';\n            }\n            return (\n                sign +\n                zeroFill(~~(offset / 60), 2) +\n                separator +\n                zeroFill(~~offset % 60, 2)\n            );\n        });\n    }\n\n    offset('Z', ':');\n    offset('ZZ', '');\n\n    // PARSING\n\n    addRegexToken('Z', matchShortOffset);\n    addRegexToken('ZZ', matchShortOffset);\n    addParseToken(['Z', 'ZZ'], function (input, array, config) {\n        config._useUTC = true;\n        config._tzm = offsetFromString(matchShortOffset, input);\n    });\n\n    // HELPERS\n\n    // timezone chunker\n    // '+10:00' > ['10',  '00']\n    // '-1530'  > ['-15', '30']\n    var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n    function offsetFromString(matcher, string) {\n        var matches = (string || '').match(matcher),\n            chunk,\n            parts,\n            minutes;\n\n        if (matches === null) {\n            return null;\n        }\n\n        chunk = matches[matches.length - 1] || [];\n        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n        minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n    }\n\n    // Return a moment from input, that is local/utc/zone equivalent to model.\n    function cloneWithOffset(input, model) {\n        var res, diff;\n        if (model._isUTC) {\n            res = model.clone();\n            diff =\n                (isMoment(input) || isDate(input)\n                    ? input.valueOf()\n                    : createLocal(input).valueOf()) - res.valueOf();\n            // Use low-level api, because this fn is low-level api.\n            res._d.setTime(res._d.valueOf() + diff);\n            hooks.updateOffset(res, false);\n            return res;\n        } else {\n            return createLocal(input).local();\n        }\n    }\n\n    function getDateOffset(m) {\n        // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n        // https://github.com/moment/moment/pull/1871\n        return -Math.round(m._d.getTimezoneOffset());\n    }\n\n    // HOOKS\n\n    // This function will be called whenever a moment is mutated.\n    // It is intended to keep the offset in sync with the timezone.\n    hooks.updateOffset = function () {};\n\n    // MOMENTS\n\n    // keepLocalTime = true means only change the timezone, without\n    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n    // +0200, so we adjust the time as needed, to be valid.\n    //\n    // Keeping the time actually adds/subtracts (one hour)\n    // from the actual represented time. That is why we call updateOffset\n    // a second time. In case it wants us to change the offset again\n    // _changeInProgress == true case, then we have to adjust, because\n    // there is no such time in the given timezone.\n    function getSetOffset(input, keepLocalTime, keepMinutes) {\n        var offset = this._offset || 0,\n            localAdjust;\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        if (input != null) {\n            if (typeof input === 'string') {\n                input = offsetFromString(matchShortOffset, input);\n                if (input === null) {\n                    return this;\n                }\n            } else if (Math.abs(input) < 16 && !keepMinutes) {\n                input = input * 60;\n            }\n            if (!this._isUTC && keepLocalTime) {\n                localAdjust = getDateOffset(this);\n            }\n            this._offset = input;\n            this._isUTC = true;\n            if (localAdjust != null) {\n                this.add(localAdjust, 'm');\n            }\n            if (offset !== input) {\n                if (!keepLocalTime || this._changeInProgress) {\n                    addSubtract(\n                        this,\n                        createDuration(input - offset, 'm'),\n                        1,\n                        false\n                    );\n                } else if (!this._changeInProgress) {\n                    this._changeInProgress = true;\n                    hooks.updateOffset(this, true);\n                    this._changeInProgress = null;\n                }\n            }\n            return this;\n        } else {\n            return this._isUTC ? offset : getDateOffset(this);\n        }\n    }\n\n    function getSetZone(input, keepLocalTime) {\n        if (input != null) {\n            if (typeof input !== 'string') {\n                input = -input;\n            }\n\n            this.utcOffset(input, keepLocalTime);\n\n            return this;\n        } else {\n            return -this.utcOffset();\n        }\n    }\n\n    function setOffsetToUTC(keepLocalTime) {\n        return this.utcOffset(0, keepLocalTime);\n    }\n\n    function setOffsetToLocal(keepLocalTime) {\n        if (this._isUTC) {\n            this.utcOffset(0, keepLocalTime);\n            this._isUTC = false;\n\n            if (keepLocalTime) {\n                this.subtract(getDateOffset(this), 'm');\n            }\n        }\n        return this;\n    }\n\n    function setOffsetToParsedOffset() {\n        if (this._tzm != null) {\n            this.utcOffset(this._tzm, false, true);\n        } else if (typeof this._i === 'string') {\n            var tZone = offsetFromString(matchOffset, this._i);\n            if (tZone != null) {\n                this.utcOffset(tZone);\n            } else {\n                this.utcOffset(0, true);\n            }\n        }\n        return this;\n    }\n\n    function hasAlignedHourOffset(input) {\n        if (!this.isValid()) {\n            return false;\n        }\n        input = input ? createLocal(input).utcOffset() : 0;\n\n        return (this.utcOffset() - input) % 60 === 0;\n    }\n\n    function isDaylightSavingTime() {\n        return (\n            this.utcOffset() > this.clone().month(0).utcOffset() ||\n            this.utcOffset() > this.clone().month(5).utcOffset()\n        );\n    }\n\n    function isDaylightSavingTimeShifted() {\n        if (!isUndefined(this._isDSTShifted)) {\n            return this._isDSTShifted;\n        }\n\n        var c = {},\n            other;\n\n        copyConfig(c, this);\n        c = prepareConfig(c);\n\n        if (c._a) {\n            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n            this._isDSTShifted =\n                this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n        } else {\n            this._isDSTShifted = false;\n        }\n\n        return this._isDSTShifted;\n    }\n\n    function isLocal() {\n        return this.isValid() ? !this._isUTC : false;\n    }\n\n    function isUtcOffset() {\n        return this.isValid() ? this._isUTC : false;\n    }\n\n    function isUtc() {\n        return this.isValid() ? this._isUTC && this._offset === 0 : false;\n    }\n\n    // ASP.NET json date format regex\n    var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n        // and further modified to allow for strings containing both week and day\n        isoRegex = /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n    function createDuration(input, key) {\n        var duration = input,\n            // matching against regexp is expensive, do it on demand\n            match = null,\n            sign,\n            ret,\n            diffRes;\n\n        if (isDuration(input)) {\n            duration = {\n                ms: input._milliseconds,\n                d: input._days,\n                M: input._months,\n            };\n        } else if (isNumber(input) || !isNaN(+input)) {\n            duration = {};\n            if (key) {\n                duration[key] = +input;\n            } else {\n                duration.milliseconds = +input;\n            }\n        } else if ((match = aspNetRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: 0,\n                d: toInt(match[DATE]) * sign,\n                h: toInt(match[HOUR]) * sign,\n                m: toInt(match[MINUTE]) * sign,\n                s: toInt(match[SECOND]) * sign,\n                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n            };\n        } else if ((match = isoRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: parseIso(match[2], sign),\n                M: parseIso(match[3], sign),\n                w: parseIso(match[4], sign),\n                d: parseIso(match[5], sign),\n                h: parseIso(match[6], sign),\n                m: parseIso(match[7], sign),\n                s: parseIso(match[8], sign),\n            };\n        } else if (duration == null) {\n            // checks for null or undefined\n            duration = {};\n        } else if (\n            typeof duration === 'object' &&\n            ('from' in duration || 'to' in duration)\n        ) {\n            diffRes = momentsDifference(\n                createLocal(duration.from),\n                createLocal(duration.to)\n            );\n\n            duration = {};\n            duration.ms = diffRes.milliseconds;\n            duration.M = diffRes.months;\n        }\n\n        ret = new Duration(duration);\n\n        if (isDuration(input) && hasOwnProp(input, '_locale')) {\n            ret._locale = input._locale;\n        }\n\n        if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n            ret._isValid = input._isValid;\n        }\n\n        return ret;\n    }\n\n    createDuration.fn = Duration.prototype;\n    createDuration.invalid = createInvalid$1;\n\n    function parseIso(inp, sign) {\n        // We'd normally use ~~inp for this, but unfortunately it also\n        // converts floats to ints.\n        // inp may be undefined, so careful calling replace on it.\n        var res = inp && parseFloat(inp.replace(',', '.'));\n        // apply sign while we're at it\n        return (isNaN(res) ? 0 : res) * sign;\n    }\n\n    function positiveMomentsDifference(base, other) {\n        var res = {};\n\n        res.months =\n            other.month() - base.month() + (other.year() - base.year()) * 12;\n        if (base.clone().add(res.months, 'M').isAfter(other)) {\n            --res.months;\n        }\n\n        res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n        return res;\n    }\n\n    function momentsDifference(base, other) {\n        var res;\n        if (!(base.isValid() && other.isValid())) {\n            return { milliseconds: 0, months: 0 };\n        }\n\n        other = cloneWithOffset(other, base);\n        if (base.isBefore(other)) {\n            res = positiveMomentsDifference(base, other);\n        } else {\n            res = positiveMomentsDifference(other, base);\n            res.milliseconds = -res.milliseconds;\n            res.months = -res.months;\n        }\n\n        return res;\n    }\n\n    // TODO: remove 'name' arg after deprecation is removed\n    function createAdder(direction, name) {\n        return function (val, period) {\n            var dur, tmp;\n            //invert the arguments, but complain about it\n            if (period !== null && !isNaN(+period)) {\n                deprecateSimple(\n                    name,\n                    'moment().' +\n                        name +\n                        '(period, number) is deprecated. Please use moment().' +\n                        name +\n                        '(number, period). ' +\n                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n                );\n                tmp = val;\n                val = period;\n                period = tmp;\n            }\n\n            dur = createDuration(val, period);\n            addSubtract(this, dur, direction);\n            return this;\n        };\n    }\n\n    function addSubtract(mom, duration, isAdding, updateOffset) {\n        var milliseconds = duration._milliseconds,\n            days = absRound(duration._days),\n            months = absRound(duration._months);\n\n        if (!mom.isValid()) {\n            // No op\n            return;\n        }\n\n        updateOffset = updateOffset == null ? true : updateOffset;\n\n        if (months) {\n            setMonth(mom, get(mom, 'Month') + months * isAdding);\n        }\n        if (days) {\n            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n        }\n        if (milliseconds) {\n            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n        }\n        if (updateOffset) {\n            hooks.updateOffset(mom, days || months);\n        }\n    }\n\n    var add = createAdder(1, 'add'),\n        subtract = createAdder(-1, 'subtract');\n\n    function isString(input) {\n        return typeof input === 'string' || input instanceof String;\n    }\n\n    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n    function isMomentInput(input) {\n        return (\n            isMoment(input) ||\n            isDate(input) ||\n            isString(input) ||\n            isNumber(input) ||\n            isNumberOrStringArray(input) ||\n            isMomentInputObject(input) ||\n            input === null ||\n            input === undefined\n        );\n    }\n\n    function isMomentInputObject(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'years',\n                'year',\n                'y',\n                'months',\n                'month',\n                'M',\n                'days',\n                'day',\n                'd',\n                'dates',\n                'date',\n                'D',\n                'hours',\n                'hour',\n                'h',\n                'minutes',\n                'minute',\n                'm',\n                'seconds',\n                'second',\n                's',\n                'milliseconds',\n                'millisecond',\n                'ms',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function isNumberOrStringArray(input) {\n        var arrayTest = isArray(input),\n            dataTypeTest = false;\n        if (arrayTest) {\n            dataTypeTest =\n                input.filter(function (item) {\n                    return !isNumber(item) && isString(input);\n                }).length === 0;\n        }\n        return arrayTest && dataTypeTest;\n    }\n\n    function isCalendarSpec(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'sameDay',\n                'nextDay',\n                'lastDay',\n                'nextWeek',\n                'lastWeek',\n                'sameElse',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function getCalendarFormat(myMoment, now) {\n        var diff = myMoment.diff(now, 'days', true);\n        return diff < -6\n            ? 'sameElse'\n            : diff < -1\n            ? 'lastWeek'\n            : diff < 0\n            ? 'lastDay'\n            : diff < 1\n            ? 'sameDay'\n            : diff < 2\n            ? 'nextDay'\n            : diff < 7\n            ? 'nextWeek'\n            : 'sameElse';\n    }\n\n    function calendar$1(time, formats) {\n        // Support for single parameter, formats only overload to the calendar function\n        if (arguments.length === 1) {\n            if (!arguments[0]) {\n                time = undefined;\n                formats = undefined;\n            } else if (isMomentInput(arguments[0])) {\n                time = arguments[0];\n                formats = undefined;\n            } else if (isCalendarSpec(arguments[0])) {\n                formats = arguments[0];\n                time = undefined;\n            }\n        }\n        // We want to compare the start of today, vs this.\n        // Getting start-of-today depends on whether we're local/utc/offset or not.\n        var now = time || createLocal(),\n            sod = cloneWithOffset(now, this).startOf('day'),\n            format = hooks.calendarFormat(this, sod) || 'sameElse',\n            output =\n                formats &&\n                (isFunction(formats[format])\n                    ? formats[format].call(this, now)\n                    : formats[format]);\n\n        return this.format(\n            output || this.localeData().calendar(format, this, createLocal(now))\n        );\n    }\n\n    function clone() {\n        return new Moment(this);\n    }\n\n    function isAfter(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() > localInput.valueOf();\n        } else {\n            return localInput.valueOf() < this.clone().startOf(units).valueOf();\n        }\n    }\n\n    function isBefore(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() < localInput.valueOf();\n        } else {\n            return this.clone().endOf(units).valueOf() < localInput.valueOf();\n        }\n    }\n\n    function isBetween(from, to, units, inclusivity) {\n        var localFrom = isMoment(from) ? from : createLocal(from),\n            localTo = isMoment(to) ? to : createLocal(to);\n        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n            return false;\n        }\n        inclusivity = inclusivity || '()';\n        return (\n            (inclusivity[0] === '('\n                ? this.isAfter(localFrom, units)\n                : !this.isBefore(localFrom, units)) &&\n            (inclusivity[1] === ')'\n                ? this.isBefore(localTo, units)\n                : !this.isAfter(localTo, units))\n        );\n    }\n\n    function isSame(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input),\n            inputMs;\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() === localInput.valueOf();\n        } else {\n            inputMs = localInput.valueOf();\n            return (\n                this.clone().startOf(units).valueOf() <= inputMs &&\n                inputMs <= this.clone().endOf(units).valueOf()\n            );\n        }\n    }\n\n    function isSameOrAfter(input, units) {\n        return this.isSame(input, units) || this.isAfter(input, units);\n    }\n\n    function isSameOrBefore(input, units) {\n        return this.isSame(input, units) || this.isBefore(input, units);\n    }\n\n    function diff(input, units, asFloat) {\n        var that, zoneDelta, output;\n\n        if (!this.isValid()) {\n            return NaN;\n        }\n\n        that = cloneWithOffset(input, this);\n\n        if (!that.isValid()) {\n            return NaN;\n        }\n\n        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n        units = normalizeUnits(units);\n\n        switch (units) {\n            case 'year':\n                output = monthDiff(this, that) / 12;\n                break;\n            case 'month':\n                output = monthDiff(this, that);\n                break;\n            case 'quarter':\n                output = monthDiff(this, that) / 3;\n                break;\n            case 'second':\n                output = (this - that) / 1e3;\n                break; // 1000\n            case 'minute':\n                output = (this - that) / 6e4;\n                break; // 1000 * 60\n            case 'hour':\n                output = (this - that) / 36e5;\n                break; // 1000 * 60 * 60\n            case 'day':\n                output = (this - that - zoneDelta) / 864e5;\n                break; // 1000 * 60 * 60 * 24, negate dst\n            case 'week':\n                output = (this - that - zoneDelta) / 6048e5;\n                break; // 1000 * 60 * 60 * 24 * 7, negate dst\n            default:\n                output = this - that;\n        }\n\n        return asFloat ? output : absFloor(output);\n    }\n\n    function monthDiff(a, b) {\n        if (a.date() < b.date()) {\n            // end-of-month calculations work correct when the start month has more\n            // days than the end month.\n            return -monthDiff(b, a);\n        }\n        // difference in months\n        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n            // b is in (anchor - 1 month, anchor + 1 month)\n            anchor = a.clone().add(wholeMonthDiff, 'months'),\n            anchor2,\n            adjust;\n\n        if (b - anchor < 0) {\n            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor - anchor2);\n        } else {\n            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor2 - anchor);\n        }\n\n        //check for negative zero, return zero if negative zero\n        return -(wholeMonthDiff + adjust) || 0;\n    }\n\n    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n    function toString() {\n        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n    }\n\n    function toISOString(keepOffset) {\n        if (!this.isValid()) {\n            return null;\n        }\n        var utc = keepOffset !== true,\n            m = utc ? this.clone().utc() : this;\n        if (m.year() < 0 || m.year() > 9999) {\n            return formatMoment(\n                m,\n                utc\n                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n            );\n        }\n        if (isFunction(Date.prototype.toISOString)) {\n            // native implementation is ~50x faster, use it when we can\n            if (utc) {\n                return this.toDate().toISOString();\n            } else {\n                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n                    .toISOString()\n                    .replace('Z', formatMoment(m, 'Z'));\n            }\n        }\n        return formatMoment(\n            m,\n            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n        );\n    }\n\n    /**\n     * Return a human readable representation of a moment that can\n     * also be evaluated to get a new moment which is the same\n     *\n     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n     */\n    function inspect() {\n        if (!this.isValid()) {\n            return 'moment.invalid(/* ' + this._i + ' */)';\n        }\n        var func = 'moment',\n            zone = '',\n            prefix,\n            year,\n            datetime,\n            suffix;\n        if (!this.isLocal()) {\n            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n            zone = 'Z';\n        }\n        prefix = '[' + func + '(\"]';\n        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n        datetime = '-MM-DD[T]HH:mm:ss.SSS';\n        suffix = zone + '[\")]';\n\n        return this.format(prefix + year + datetime + suffix);\n    }\n\n    function format(inputString) {\n        if (!inputString) {\n            inputString = this.isUtc()\n                ? hooks.defaultFormatUtc\n                : hooks.defaultFormat;\n        }\n        var output = formatMoment(this, inputString);\n        return this.localeData().postformat(output);\n    }\n\n    function from(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ to: this, from: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function fromNow(withoutSuffix) {\n        return this.from(createLocal(), withoutSuffix);\n    }\n\n    function to(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ from: this, to: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function toNow(withoutSuffix) {\n        return this.to(createLocal(), withoutSuffix);\n    }\n\n    // If passed a locale key, it will set the locale for this\n    // instance.  Otherwise, it will return the locale configuration\n    // variables for this instance.\n    function locale(key) {\n        var newLocaleData;\n\n        if (key === undefined) {\n            return this._locale._abbr;\n        } else {\n            newLocaleData = getLocale(key);\n            if (newLocaleData != null) {\n                this._locale = newLocaleData;\n            }\n            return this;\n        }\n    }\n\n    var lang = deprecate(\n        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n        function (key) {\n            if (key === undefined) {\n                return this.localeData();\n            } else {\n                return this.locale(key);\n            }\n        }\n    );\n\n    function localeData() {\n        return this._locale;\n    }\n\n    var MS_PER_SECOND = 1000,\n        MS_PER_MINUTE = 60 * MS_PER_SECOND,\n        MS_PER_HOUR = 60 * MS_PER_MINUTE,\n        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n    // actual modulo - handles negative numbers (for dates before 1970):\n    function mod$1(dividend, divisor) {\n        return ((dividend % divisor) + divisor) % divisor;\n    }\n\n    function localStartOfDate(y, m, d) {\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return new Date(y, m, d).valueOf();\n        }\n    }\n\n    function utcStartOfDate(y, m, d) {\n        // Date.UTC remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return Date.UTC(y, m, d);\n        }\n    }\n\n    function startOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year(), 0, 1);\n                break;\n            case 'quarter':\n                time = startOfDate(\n                    this.year(),\n                    this.month() - (this.month() % 3),\n                    1\n                );\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month(), 1);\n                break;\n            case 'week':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - this.weekday()\n                );\n                break;\n            case 'isoWeek':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - (this.isoWeekday() - 1)\n                );\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date());\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time -= mod$1(\n                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                    MS_PER_HOUR\n                );\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_MINUTE);\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_SECOND);\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function endOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year() + 1, 0, 1) - 1;\n                break;\n            case 'quarter':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month() - (this.month() % 3) + 3,\n                        1\n                    ) - 1;\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n                break;\n            case 'week':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - this.weekday() + 7\n                    ) - 1;\n                break;\n            case 'isoWeek':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - (this.isoWeekday() - 1) + 7\n                    ) - 1;\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time +=\n                    MS_PER_HOUR -\n                    mod$1(\n                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                        MS_PER_HOUR\n                    ) -\n                    1;\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function valueOf() {\n        return this._d.valueOf() - (this._offset || 0) * 60000;\n    }\n\n    function unix() {\n        return Math.floor(this.valueOf() / 1000);\n    }\n\n    function toDate() {\n        return new Date(this.valueOf());\n    }\n\n    function toArray() {\n        var m = this;\n        return [\n            m.year(),\n            m.month(),\n            m.date(),\n            m.hour(),\n            m.minute(),\n            m.second(),\n            m.millisecond(),\n        ];\n    }\n\n    function toObject() {\n        var m = this;\n        return {\n            years: m.year(),\n            months: m.month(),\n            date: m.date(),\n            hours: m.hours(),\n            minutes: m.minutes(),\n            seconds: m.seconds(),\n            milliseconds: m.milliseconds(),\n        };\n    }\n\n    function toJSON() {\n        // new Date(NaN).toJSON() === null\n        return this.isValid() ? this.toISOString() : null;\n    }\n\n    function isValid$2() {\n        return isValid(this);\n    }\n\n    function parsingFlags() {\n        return extend({}, getParsingFlags(this));\n    }\n\n    function invalidAt() {\n        return getParsingFlags(this).overflow;\n    }\n\n    function creationData() {\n        return {\n            input: this._i,\n            format: this._f,\n            locale: this._locale,\n            isUTC: this._isUTC,\n            strict: this._strict,\n        };\n    }\n\n    addFormatToken('N', 0, 0, 'eraAbbr');\n    addFormatToken('NN', 0, 0, 'eraAbbr');\n    addFormatToken('NNN', 0, 0, 'eraAbbr');\n    addFormatToken('NNNN', 0, 0, 'eraName');\n    addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n    addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n    addFormatToken('y', ['yy', 2], 0, 'eraYear');\n    addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n    addRegexToken('N', matchEraAbbr);\n    addRegexToken('NN', matchEraAbbr);\n    addRegexToken('NNN', matchEraAbbr);\n    addRegexToken('NNNN', matchEraName);\n    addRegexToken('NNNNN', matchEraNarrow);\n\n    addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (\n        input,\n        array,\n        config,\n        token\n    ) {\n        var era = config._locale.erasParse(input, token, config._strict);\n        if (era) {\n            getParsingFlags(config).era = era;\n        } else {\n            getParsingFlags(config).invalidEra = input;\n        }\n    });\n\n    addRegexToken('y', matchUnsigned);\n    addRegexToken('yy', matchUnsigned);\n    addRegexToken('yyy', matchUnsigned);\n    addRegexToken('yyyy', matchUnsigned);\n    addRegexToken('yo', matchEraYearOrdinal);\n\n    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n    addParseToken(['yo'], function (input, array, config, token) {\n        var match;\n        if (config._locale._eraYearOrdinalRegex) {\n            match = input.match(config._locale._eraYearOrdinalRegex);\n        }\n\n        if (config._locale.eraYearOrdinalParse) {\n            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n        } else {\n            array[YEAR] = parseInt(input, 10);\n        }\n    });\n\n    function localeEras(m, format) {\n        var i,\n            l,\n            date,\n            eras = this._eras || getLocale('en')._eras;\n        for (i = 0, l = eras.length; i < l; ++i) {\n            switch (typeof eras[i].since) {\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].since).startOf('day');\n                    eras[i].since = date.valueOf();\n                    break;\n            }\n\n            switch (typeof eras[i].until) {\n                case 'undefined':\n                    eras[i].until = +Infinity;\n                    break;\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].until).startOf('day').valueOf();\n                    eras[i].until = date.valueOf();\n                    break;\n            }\n        }\n        return eras;\n    }\n\n    function localeErasParse(eraName, format, strict) {\n        var i,\n            l,\n            eras = this.eras(),\n            name,\n            abbr,\n            narrow;\n        eraName = eraName.toUpperCase();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            name = eras[i].name.toUpperCase();\n            abbr = eras[i].abbr.toUpperCase();\n            narrow = eras[i].narrow.toUpperCase();\n\n            if (strict) {\n                switch (format) {\n                    case 'N':\n                    case 'NN':\n                    case 'NNN':\n                        if (abbr === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNN':\n                        if (name === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNNN':\n                        if (narrow === eraName) {\n                            return eras[i];\n                        }\n                        break;\n                }\n            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n                return eras[i];\n            }\n        }\n    }\n\n    function localeErasConvertYear(era, year) {\n        var dir = era.since <= era.until ? +1 : -1;\n        if (year === undefined) {\n            return hooks(era.since).year();\n        } else {\n            return hooks(era.since).year() + (year - era.offset) * dir;\n        }\n    }\n\n    function getEraName() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].name;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].name;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraNarrow() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].narrow;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].narrow;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraAbbr() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].abbr;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].abbr;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraYear() {\n        var i,\n            l,\n            dir,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (\n                (eras[i].since <= val && val <= eras[i].until) ||\n                (eras[i].until <= val && val <= eras[i].since)\n            ) {\n                return (\n                    (this.year() - hooks(eras[i].since).year()) * dir +\n                    eras[i].offset\n                );\n            }\n        }\n\n        return this.year();\n    }\n\n    function erasNameRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNameRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNameRegex : this._erasRegex;\n    }\n\n    function erasAbbrRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasAbbrRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasAbbrRegex : this._erasRegex;\n    }\n\n    function erasNarrowRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNarrowRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNarrowRegex : this._erasRegex;\n    }\n\n    function matchEraAbbr(isStrict, locale) {\n        return locale.erasAbbrRegex(isStrict);\n    }\n\n    function matchEraName(isStrict, locale) {\n        return locale.erasNameRegex(isStrict);\n    }\n\n    function matchEraNarrow(isStrict, locale) {\n        return locale.erasNarrowRegex(isStrict);\n    }\n\n    function matchEraYearOrdinal(isStrict, locale) {\n        return locale._eraYearOrdinalRegex || matchUnsigned;\n    }\n\n    function computeErasParse() {\n        var abbrPieces = [],\n            namePieces = [],\n            narrowPieces = [],\n            mixedPieces = [],\n            i,\n            l,\n            eras = this.eras();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            namePieces.push(regexEscape(eras[i].name));\n            abbrPieces.push(regexEscape(eras[i].abbr));\n            narrowPieces.push(regexEscape(eras[i].narrow));\n\n            mixedPieces.push(regexEscape(eras[i].name));\n            mixedPieces.push(regexEscape(eras[i].abbr));\n            mixedPieces.push(regexEscape(eras[i].narrow));\n        }\n\n        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n        this._erasNarrowRegex = new RegExp(\n            '^(' + narrowPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken(0, ['gg', 2], 0, function () {\n        return this.weekYear() % 100;\n    });\n\n    addFormatToken(0, ['GG', 2], 0, function () {\n        return this.isoWeekYear() % 100;\n    });\n\n    function addWeekYearFormatToken(token, getter) {\n        addFormatToken(0, [token, token.length], 0, getter);\n    }\n\n    addWeekYearFormatToken('gggg', 'weekYear');\n    addWeekYearFormatToken('ggggg', 'weekYear');\n    addWeekYearFormatToken('GGGG', 'isoWeekYear');\n    addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n    // ALIASES\n\n    addUnitAlias('weekYear', 'gg');\n    addUnitAlias('isoWeekYear', 'GG');\n\n    // PRIORITY\n\n    addUnitPriority('weekYear', 1);\n    addUnitPriority('isoWeekYear', 1);\n\n    // PARSING\n\n    addRegexToken('G', matchSigned);\n    addRegexToken('g', matchSigned);\n    addRegexToken('GG', match1to2, match2);\n    addRegexToken('gg', match1to2, match2);\n    addRegexToken('GGGG', match1to4, match4);\n    addRegexToken('gggg', match1to4, match4);\n    addRegexToken('GGGGG', match1to6, match6);\n    addRegexToken('ggggg', match1to6, match6);\n\n    addWeekParseToken(['gggg', 'ggggg', 'GGGG', 'GGGGG'], function (\n        input,\n        week,\n        config,\n        token\n    ) {\n        week[token.substr(0, 2)] = toInt(input);\n    });\n\n    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n        week[token] = hooks.parseTwoDigitYear(input);\n    });\n\n    // MOMENTS\n\n    function getSetWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.week(),\n            this.weekday(),\n            this.localeData()._week.dow,\n            this.localeData()._week.doy\n        );\n    }\n\n    function getSetISOWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.isoWeek(),\n            this.isoWeekday(),\n            1,\n            4\n        );\n    }\n\n    function getISOWeeksInYear() {\n        return weeksInYear(this.year(), 1, 4);\n    }\n\n    function getISOWeeksInISOWeekYear() {\n        return weeksInYear(this.isoWeekYear(), 1, 4);\n    }\n\n    function getWeeksInYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getWeeksInWeekYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n        var weeksTarget;\n        if (input == null) {\n            return weekOfYear(this, dow, doy).year;\n        } else {\n            weeksTarget = weeksInYear(input, dow, doy);\n            if (week > weeksTarget) {\n                week = weeksTarget;\n            }\n            return setWeekAll.call(this, input, week, weekday, dow, doy);\n        }\n    }\n\n    function setWeekAll(weekYear, week, weekday, dow, doy) {\n        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n        this.year(date.getUTCFullYear());\n        this.month(date.getUTCMonth());\n        this.date(date.getUTCDate());\n        return this;\n    }\n\n    // FORMATTING\n\n    addFormatToken('Q', 0, 'Qo', 'quarter');\n\n    // ALIASES\n\n    addUnitAlias('quarter', 'Q');\n\n    // PRIORITY\n\n    addUnitPriority('quarter', 7);\n\n    // PARSING\n\n    addRegexToken('Q', match1);\n    addParseToken('Q', function (input, array) {\n        array[MONTH] = (toInt(input) - 1) * 3;\n    });\n\n    // MOMENTS\n\n    function getSetQuarter(input) {\n        return input == null\n            ? Math.ceil((this.month() + 1) / 3)\n            : this.month((input - 1) * 3 + (this.month() % 3));\n    }\n\n    // FORMATTING\n\n    addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n    // ALIASES\n\n    addUnitAlias('date', 'D');\n\n    // PRIORITY\n    addUnitPriority('date', 9);\n\n    // PARSING\n\n    addRegexToken('D', match1to2);\n    addRegexToken('DD', match1to2, match2);\n    addRegexToken('Do', function (isStrict, locale) {\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        return isStrict\n            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n            : locale._dayOfMonthOrdinalParseLenient;\n    });\n\n    addParseToken(['D', 'DD'], DATE);\n    addParseToken('Do', function (input, array) {\n        array[DATE] = toInt(input.match(match1to2)[0]);\n    });\n\n    // MOMENTS\n\n    var getSetDayOfMonth = makeGetSet('Date', true);\n\n    // FORMATTING\n\n    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n    // ALIASES\n\n    addUnitAlias('dayOfYear', 'DDD');\n\n    // PRIORITY\n    addUnitPriority('dayOfYear', 4);\n\n    // PARSING\n\n    addRegexToken('DDD', match1to3);\n    addRegexToken('DDDD', match3);\n    addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n        config._dayOfYear = toInt(input);\n    });\n\n    // HELPERS\n\n    // MOMENTS\n\n    function getSetDayOfYear(input) {\n        var dayOfYear =\n            Math.round(\n                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n            ) + 1;\n        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('m', ['mm', 2], 0, 'minute');\n\n    // ALIASES\n\n    addUnitAlias('minute', 'm');\n\n    // PRIORITY\n\n    addUnitPriority('minute', 14);\n\n    // PARSING\n\n    addRegexToken('m', match1to2);\n    addRegexToken('mm', match1to2, match2);\n    addParseToken(['m', 'mm'], MINUTE);\n\n    // MOMENTS\n\n    var getSetMinute = makeGetSet('Minutes', false);\n\n    // FORMATTING\n\n    addFormatToken('s', ['ss', 2], 0, 'second');\n\n    // ALIASES\n\n    addUnitAlias('second', 's');\n\n    // PRIORITY\n\n    addUnitPriority('second', 15);\n\n    // PARSING\n\n    addRegexToken('s', match1to2);\n    addRegexToken('ss', match1to2, match2);\n    addParseToken(['s', 'ss'], SECOND);\n\n    // MOMENTS\n\n    var getSetSecond = makeGetSet('Seconds', false);\n\n    // FORMATTING\n\n    addFormatToken('S', 0, 0, function () {\n        return ~~(this.millisecond() / 100);\n    });\n\n    addFormatToken(0, ['SS', 2], 0, function () {\n        return ~~(this.millisecond() / 10);\n    });\n\n    addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n    addFormatToken(0, ['SSSS', 4], 0, function () {\n        return this.millisecond() * 10;\n    });\n    addFormatToken(0, ['SSSSS', 5], 0, function () {\n        return this.millisecond() * 100;\n    });\n    addFormatToken(0, ['SSSSSS', 6], 0, function () {\n        return this.millisecond() * 1000;\n    });\n    addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n        return this.millisecond() * 10000;\n    });\n    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n        return this.millisecond() * 100000;\n    });\n    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n        return this.millisecond() * 1000000;\n    });\n\n    // ALIASES\n\n    addUnitAlias('millisecond', 'ms');\n\n    // PRIORITY\n\n    addUnitPriority('millisecond', 16);\n\n    // PARSING\n\n    addRegexToken('S', match1to3, match1);\n    addRegexToken('SS', match1to3, match2);\n    addRegexToken('SSS', match1to3, match3);\n\n    var token, getSetMillisecond;\n    for (token = 'SSSS'; token.length <= 9; token += 'S') {\n        addRegexToken(token, matchUnsigned);\n    }\n\n    function parseMs(input, array) {\n        array[MILLISECOND] = toInt(('0.' + input) * 1000);\n    }\n\n    for (token = 'S'; token.length <= 9; token += 'S') {\n        addParseToken(token, parseMs);\n    }\n\n    getSetMillisecond = makeGetSet('Milliseconds', false);\n\n    // FORMATTING\n\n    addFormatToken('z', 0, 0, 'zoneAbbr');\n    addFormatToken('zz', 0, 0, 'zoneName');\n\n    // MOMENTS\n\n    function getZoneAbbr() {\n        return this._isUTC ? 'UTC' : '';\n    }\n\n    function getZoneName() {\n        return this._isUTC ? 'Coordinated Universal Time' : '';\n    }\n\n    var proto = Moment.prototype;\n\n    proto.add = add;\n    proto.calendar = calendar$1;\n    proto.clone = clone;\n    proto.diff = diff;\n    proto.endOf = endOf;\n    proto.format = format;\n    proto.from = from;\n    proto.fromNow = fromNow;\n    proto.to = to;\n    proto.toNow = toNow;\n    proto.get = stringGet;\n    proto.invalidAt = invalidAt;\n    proto.isAfter = isAfter;\n    proto.isBefore = isBefore;\n    proto.isBetween = isBetween;\n    proto.isSame = isSame;\n    proto.isSameOrAfter = isSameOrAfter;\n    proto.isSameOrBefore = isSameOrBefore;\n    proto.isValid = isValid$2;\n    proto.lang = lang;\n    proto.locale = locale;\n    proto.localeData = localeData;\n    proto.max = prototypeMax;\n    proto.min = prototypeMin;\n    proto.parsingFlags = parsingFlags;\n    proto.set = stringSet;\n    proto.startOf = startOf;\n    proto.subtract = subtract;\n    proto.toArray = toArray;\n    proto.toObject = toObject;\n    proto.toDate = toDate;\n    proto.toISOString = toISOString;\n    proto.inspect = inspect;\n    if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n            return 'Moment<' + this.format() + '>';\n        };\n    }\n    proto.toJSON = toJSON;\n    proto.toString = toString;\n    proto.unix = unix;\n    proto.valueOf = valueOf;\n    proto.creationData = creationData;\n    proto.eraName = getEraName;\n    proto.eraNarrow = getEraNarrow;\n    proto.eraAbbr = getEraAbbr;\n    proto.eraYear = getEraYear;\n    proto.year = getSetYear;\n    proto.isLeapYear = getIsLeapYear;\n    proto.weekYear = getSetWeekYear;\n    proto.isoWeekYear = getSetISOWeekYear;\n    proto.quarter = proto.quarters = getSetQuarter;\n    proto.month = getSetMonth;\n    proto.daysInMonth = getDaysInMonth;\n    proto.week = proto.weeks = getSetWeek;\n    proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n    proto.weeksInYear = getWeeksInYear;\n    proto.weeksInWeekYear = getWeeksInWeekYear;\n    proto.isoWeeksInYear = getISOWeeksInYear;\n    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n    proto.date = getSetDayOfMonth;\n    proto.day = proto.days = getSetDayOfWeek;\n    proto.weekday = getSetLocaleDayOfWeek;\n    proto.isoWeekday = getSetISODayOfWeek;\n    proto.dayOfYear = getSetDayOfYear;\n    proto.hour = proto.hours = getSetHour;\n    proto.minute = proto.minutes = getSetMinute;\n    proto.second = proto.seconds = getSetSecond;\n    proto.millisecond = proto.milliseconds = getSetMillisecond;\n    proto.utcOffset = getSetOffset;\n    proto.utc = setOffsetToUTC;\n    proto.local = setOffsetToLocal;\n    proto.parseZone = setOffsetToParsedOffset;\n    proto.hasAlignedHourOffset = hasAlignedHourOffset;\n    proto.isDST = isDaylightSavingTime;\n    proto.isLocal = isLocal;\n    proto.isUtcOffset = isUtcOffset;\n    proto.isUtc = isUtc;\n    proto.isUTC = isUtc;\n    proto.zoneAbbr = getZoneAbbr;\n    proto.zoneName = getZoneName;\n    proto.dates = deprecate(\n        'dates accessor is deprecated. Use date instead.',\n        getSetDayOfMonth\n    );\n    proto.months = deprecate(\n        'months accessor is deprecated. Use month instead',\n        getSetMonth\n    );\n    proto.years = deprecate(\n        'years accessor is deprecated. Use year instead',\n        getSetYear\n    );\n    proto.zone = deprecate(\n        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n        getSetZone\n    );\n    proto.isDSTShifted = deprecate(\n        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n        isDaylightSavingTimeShifted\n    );\n\n    function createUnix(input) {\n        return createLocal(input * 1000);\n    }\n\n    function createInZone() {\n        return createLocal.apply(null, arguments).parseZone();\n    }\n\n    function preParsePostFormat(string) {\n        return string;\n    }\n\n    var proto$1 = Locale.prototype;\n\n    proto$1.calendar = calendar;\n    proto$1.longDateFormat = longDateFormat;\n    proto$1.invalidDate = invalidDate;\n    proto$1.ordinal = ordinal;\n    proto$1.preparse = preParsePostFormat;\n    proto$1.postformat = preParsePostFormat;\n    proto$1.relativeTime = relativeTime;\n    proto$1.pastFuture = pastFuture;\n    proto$1.set = set;\n    proto$1.eras = localeEras;\n    proto$1.erasParse = localeErasParse;\n    proto$1.erasConvertYear = localeErasConvertYear;\n    proto$1.erasAbbrRegex = erasAbbrRegex;\n    proto$1.erasNameRegex = erasNameRegex;\n    proto$1.erasNarrowRegex = erasNarrowRegex;\n\n    proto$1.months = localeMonths;\n    proto$1.monthsShort = localeMonthsShort;\n    proto$1.monthsParse = localeMonthsParse;\n    proto$1.monthsRegex = monthsRegex;\n    proto$1.monthsShortRegex = monthsShortRegex;\n    proto$1.week = localeWeek;\n    proto$1.firstDayOfYear = localeFirstDayOfYear;\n    proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n    proto$1.weekdays = localeWeekdays;\n    proto$1.weekdaysMin = localeWeekdaysMin;\n    proto$1.weekdaysShort = localeWeekdaysShort;\n    proto$1.weekdaysParse = localeWeekdaysParse;\n\n    proto$1.weekdaysRegex = weekdaysRegex;\n    proto$1.weekdaysShortRegex = weekdaysShortRegex;\n    proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n    proto$1.isPM = localeIsPM;\n    proto$1.meridiem = localeMeridiem;\n\n    function get$1(format, index, field, setter) {\n        var locale = getLocale(),\n            utc = createUTC().set(setter, index);\n        return locale[field](utc, format);\n    }\n\n    function listMonthsImpl(format, index, field) {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n\n        if (index != null) {\n            return get$1(format, index, field, 'month');\n        }\n\n        var i,\n            out = [];\n        for (i = 0; i < 12; i++) {\n            out[i] = get$1(format, i, field, 'month');\n        }\n        return out;\n    }\n\n    // ()\n    // (5)\n    // (fmt, 5)\n    // (fmt)\n    // (true)\n    // (true, 5)\n    // (true, fmt, 5)\n    // (true, fmt)\n    function listWeekdaysImpl(localeSorted, format, index, field) {\n        if (typeof localeSorted === 'boolean') {\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        } else {\n            format = localeSorted;\n            index = format;\n            localeSorted = false;\n\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        }\n\n        var locale = getLocale(),\n            shift = localeSorted ? locale._week.dow : 0,\n            i,\n            out = [];\n\n        if (index != null) {\n            return get$1(format, (index + shift) % 7, field, 'day');\n        }\n\n        for (i = 0; i < 7; i++) {\n            out[i] = get$1(format, (i + shift) % 7, field, 'day');\n        }\n        return out;\n    }\n\n    function listMonths(format, index) {\n        return listMonthsImpl(format, index, 'months');\n    }\n\n    function listMonthsShort(format, index) {\n        return listMonthsImpl(format, index, 'monthsShort');\n    }\n\n    function listWeekdays(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n    }\n\n    function listWeekdaysShort(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n    }\n\n    function listWeekdaysMin(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n    }\n\n    getSetGlobalLocale('en', {\n        eras: [\n            {\n                since: '0001-01-01',\n                until: +Infinity,\n                offset: 1,\n                name: 'Anno Domini',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: 'Before Christ',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    toInt((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                        ? 'st'\n                        : b === 2\n                        ? 'nd'\n                        : b === 3\n                        ? 'rd'\n                        : 'th';\n            return number + output;\n        },\n    });\n\n    // Side effect imports\n\n    hooks.lang = deprecate(\n        'moment.lang is deprecated. Use moment.locale instead.',\n        getSetGlobalLocale\n    );\n    hooks.langData = deprecate(\n        'moment.langData is deprecated. Use moment.localeData instead.',\n        getLocale\n    );\n\n    var mathAbs = Math.abs;\n\n    function abs() {\n        var data = this._data;\n\n        this._milliseconds = mathAbs(this._milliseconds);\n        this._days = mathAbs(this._days);\n        this._months = mathAbs(this._months);\n\n        data.milliseconds = mathAbs(data.milliseconds);\n        data.seconds = mathAbs(data.seconds);\n        data.minutes = mathAbs(data.minutes);\n        data.hours = mathAbs(data.hours);\n        data.months = mathAbs(data.months);\n        data.years = mathAbs(data.years);\n\n        return this;\n    }\n\n    function addSubtract$1(duration, input, value, direction) {\n        var other = createDuration(input, value);\n\n        duration._milliseconds += direction * other._milliseconds;\n        duration._days += direction * other._days;\n        duration._months += direction * other._months;\n\n        return duration._bubble();\n    }\n\n    // supports only 2.0-style add(1, 's') or add(duration)\n    function add$1(input, value) {\n        return addSubtract$1(this, input, value, 1);\n    }\n\n    // supports only 2.0-style subtract(1, 's') or subtract(duration)\n    function subtract$1(input, value) {\n        return addSubtract$1(this, input, value, -1);\n    }\n\n    function absCeil(number) {\n        if (number < 0) {\n            return Math.floor(number);\n        } else {\n            return Math.ceil(number);\n        }\n    }\n\n    function bubble() {\n        var milliseconds = this._milliseconds,\n            days = this._days,\n            months = this._months,\n            data = this._data,\n            seconds,\n            minutes,\n            hours,\n            years,\n            monthsFromDays;\n\n        // if we have a mix of positive and negative values, bubble down first\n        // check: https://github.com/moment/moment/issues/2166\n        if (\n            !(\n                (milliseconds >= 0 && days >= 0 && months >= 0) ||\n                (milliseconds <= 0 && days <= 0 && months <= 0)\n            )\n        ) {\n            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n            days = 0;\n            months = 0;\n        }\n\n        // The following code bubbles up values, see the tests for\n        // examples of what that means.\n        data.milliseconds = milliseconds % 1000;\n\n        seconds = absFloor(milliseconds / 1000);\n        data.seconds = seconds % 60;\n\n        minutes = absFloor(seconds / 60);\n        data.minutes = minutes % 60;\n\n        hours = absFloor(minutes / 60);\n        data.hours = hours % 24;\n\n        days += absFloor(hours / 24);\n\n        // convert days to months\n        monthsFromDays = absFloor(daysToMonths(days));\n        months += monthsFromDays;\n        days -= absCeil(monthsToDays(monthsFromDays));\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        data.days = days;\n        data.months = months;\n        data.years = years;\n\n        return this;\n    }\n\n    function daysToMonths(days) {\n        // 400 years have 146097 days (taking into account leap year rules)\n        // 400 years have 12 months === 4800\n        return (days * 4800) / 146097;\n    }\n\n    function monthsToDays(months) {\n        // the reverse of daysToMonths\n        return (months * 146097) / 4800;\n    }\n\n    function as(units) {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        var days,\n            months,\n            milliseconds = this._milliseconds;\n\n        units = normalizeUnits(units);\n\n        if (units === 'month' || units === 'quarter' || units === 'year') {\n            days = this._days + milliseconds / 864e5;\n            months = this._months + daysToMonths(days);\n            switch (units) {\n                case 'month':\n                    return months;\n                case 'quarter':\n                    return months / 3;\n                case 'year':\n                    return months / 12;\n            }\n        } else {\n            // handle milliseconds separately because of floating point math errors (issue #1867)\n            days = this._days + Math.round(monthsToDays(this._months));\n            switch (units) {\n                case 'week':\n                    return days / 7 + milliseconds / 6048e5;\n                case 'day':\n                    return days + milliseconds / 864e5;\n                case 'hour':\n                    return days * 24 + milliseconds / 36e5;\n                case 'minute':\n                    return days * 1440 + milliseconds / 6e4;\n                case 'second':\n                    return days * 86400 + milliseconds / 1000;\n                // Math.floor prevents floating point math errors here\n                case 'millisecond':\n                    return Math.floor(days * 864e5) + milliseconds;\n                default:\n                    throw new Error('Unknown unit ' + units);\n            }\n        }\n    }\n\n    // TODO: Use this.as('ms')?\n    function valueOf$1() {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        return (\n            this._milliseconds +\n            this._days * 864e5 +\n            (this._months % 12) * 2592e6 +\n            toInt(this._months / 12) * 31536e6\n        );\n    }\n\n    function makeAs(alias) {\n        return function () {\n            return this.as(alias);\n        };\n    }\n\n    var asMilliseconds = makeAs('ms'),\n        asSeconds = makeAs('s'),\n        asMinutes = makeAs('m'),\n        asHours = makeAs('h'),\n        asDays = makeAs('d'),\n        asWeeks = makeAs('w'),\n        asMonths = makeAs('M'),\n        asQuarters = makeAs('Q'),\n        asYears = makeAs('y');\n\n    function clone$1() {\n        return createDuration(this);\n    }\n\n    function get$2(units) {\n        units = normalizeUnits(units);\n        return this.isValid() ? this[units + 's']() : NaN;\n    }\n\n    function makeGetter(name) {\n        return function () {\n            return this.isValid() ? this._data[name] : NaN;\n        };\n    }\n\n    var milliseconds = makeGetter('milliseconds'),\n        seconds = makeGetter('seconds'),\n        minutes = makeGetter('minutes'),\n        hours = makeGetter('hours'),\n        days = makeGetter('days'),\n        months = makeGetter('months'),\n        years = makeGetter('years');\n\n    function weeks() {\n        return absFloor(this.days() / 7);\n    }\n\n    var round = Math.round,\n        thresholds = {\n            ss: 44, // a few seconds to seconds\n            s: 45, // seconds to minute\n            m: 45, // minutes to hour\n            h: 22, // hours to day\n            d: 26, // days to month/week\n            w: null, // weeks to month\n            M: 11, // months to year\n        };\n\n    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n    }\n\n    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n        var duration = createDuration(posNegDuration).abs(),\n            seconds = round(duration.as('s')),\n            minutes = round(duration.as('m')),\n            hours = round(duration.as('h')),\n            days = round(duration.as('d')),\n            months = round(duration.as('M')),\n            weeks = round(duration.as('w')),\n            years = round(duration.as('y')),\n            a =\n                (seconds <= thresholds.ss && ['s', seconds]) ||\n                (seconds < thresholds.s && ['ss', seconds]) ||\n                (minutes <= 1 && ['m']) ||\n                (minutes < thresholds.m && ['mm', minutes]) ||\n                (hours <= 1 && ['h']) ||\n                (hours < thresholds.h && ['hh', hours]) ||\n                (days <= 1 && ['d']) ||\n                (days < thresholds.d && ['dd', days]);\n\n        if (thresholds.w != null) {\n            a =\n                a ||\n                (weeks <= 1 && ['w']) ||\n                (weeks < thresholds.w && ['ww', weeks]);\n        }\n        a = a ||\n            (months <= 1 && ['M']) ||\n            (months < thresholds.M && ['MM', months]) ||\n            (years <= 1 && ['y']) || ['yy', years];\n\n        a[2] = withoutSuffix;\n        a[3] = +posNegDuration > 0;\n        a[4] = locale;\n        return substituteTimeAgo.apply(null, a);\n    }\n\n    // This function allows you to set the rounding function for relative time strings\n    function getSetRelativeTimeRounding(roundingFunction) {\n        if (roundingFunction === undefined) {\n            return round;\n        }\n        if (typeof roundingFunction === 'function') {\n            round = roundingFunction;\n            return true;\n        }\n        return false;\n    }\n\n    // This function allows you to set a threshold for relative time strings\n    function getSetRelativeTimeThreshold(threshold, limit) {\n        if (thresholds[threshold] === undefined) {\n            return false;\n        }\n        if (limit === undefined) {\n            return thresholds[threshold];\n        }\n        thresholds[threshold] = limit;\n        if (threshold === 's') {\n            thresholds.ss = limit - 1;\n        }\n        return true;\n    }\n\n    function humanize(argWithSuffix, argThresholds) {\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var withSuffix = false,\n            th = thresholds,\n            locale,\n            output;\n\n        if (typeof argWithSuffix === 'object') {\n            argThresholds = argWithSuffix;\n            argWithSuffix = false;\n        }\n        if (typeof argWithSuffix === 'boolean') {\n            withSuffix = argWithSuffix;\n        }\n        if (typeof argThresholds === 'object') {\n            th = Object.assign({}, thresholds, argThresholds);\n            if (argThresholds.s != null && argThresholds.ss == null) {\n                th.ss = argThresholds.s - 1;\n            }\n        }\n\n        locale = this.localeData();\n        output = relativeTime$1(this, !withSuffix, th, locale);\n\n        if (withSuffix) {\n            output = locale.pastFuture(+this, output);\n        }\n\n        return locale.postformat(output);\n    }\n\n    var abs$1 = Math.abs;\n\n    function sign(x) {\n        return (x > 0) - (x < 0) || +x;\n    }\n\n    function toISOString$1() {\n        // for ISO strings we do not use the normal bubbling rules:\n        //  * milliseconds bubble up until they become hours\n        //  * days do not bubble at all\n        //  * months bubble up until they become years\n        // This is because there is no context-free conversion between hours and days\n        // (think of clock changes)\n        // and also not between days and months (28-31 days per month)\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var seconds = abs$1(this._milliseconds) / 1000,\n            days = abs$1(this._days),\n            months = abs$1(this._months),\n            minutes,\n            hours,\n            years,\n            s,\n            total = this.asSeconds(),\n            totalSign,\n            ymSign,\n            daysSign,\n            hmsSign;\n\n        if (!total) {\n            // this is the same as C#'s (Noda) and python (isodate)...\n            // but not other JS (goog.date)\n            return 'P0D';\n        }\n\n        // 3600 seconds -> 60 minutes -> 1 hour\n        minutes = absFloor(seconds / 60);\n        hours = absFloor(minutes / 60);\n        seconds %= 60;\n        minutes %= 60;\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n        s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n        totalSign = total < 0 ? '-' : '';\n        ymSign = sign(this._months) !== sign(total) ? '-' : '';\n        daysSign = sign(this._days) !== sign(total) ? '-' : '';\n        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n        return (\n            totalSign +\n            'P' +\n            (years ? ymSign + years + 'Y' : '') +\n            (months ? ymSign + months + 'M' : '') +\n            (days ? daysSign + days + 'D' : '') +\n            (hours || minutes || seconds ? 'T' : '') +\n            (hours ? hmsSign + hours + 'H' : '') +\n            (minutes ? hmsSign + minutes + 'M' : '') +\n            (seconds ? hmsSign + s + 'S' : '')\n        );\n    }\n\n    var proto$2 = Duration.prototype;\n\n    proto$2.isValid = isValid$1;\n    proto$2.abs = abs;\n    proto$2.add = add$1;\n    proto$2.subtract = subtract$1;\n    proto$2.as = as;\n    proto$2.asMilliseconds = asMilliseconds;\n    proto$2.asSeconds = asSeconds;\n    proto$2.asMinutes = asMinutes;\n    proto$2.asHours = asHours;\n    proto$2.asDays = asDays;\n    proto$2.asWeeks = asWeeks;\n    proto$2.asMonths = asMonths;\n    proto$2.asQuarters = asQuarters;\n    proto$2.asYears = asYears;\n    proto$2.valueOf = valueOf$1;\n    proto$2._bubble = bubble;\n    proto$2.clone = clone$1;\n    proto$2.get = get$2;\n    proto$2.milliseconds = milliseconds;\n    proto$2.seconds = seconds;\n    proto$2.minutes = minutes;\n    proto$2.hours = hours;\n    proto$2.days = days;\n    proto$2.weeks = weeks;\n    proto$2.months = months;\n    proto$2.years = years;\n    proto$2.humanize = humanize;\n    proto$2.toISOString = toISOString$1;\n    proto$2.toString = toISOString$1;\n    proto$2.toJSON = toISOString$1;\n    proto$2.locale = locale;\n    proto$2.localeData = localeData;\n\n    proto$2.toIsoString = deprecate(\n        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n        toISOString$1\n    );\n    proto$2.lang = lang;\n\n    // FORMATTING\n\n    addFormatToken('X', 0, 0, 'unix');\n    addFormatToken('x', 0, 0, 'valueOf');\n\n    // PARSING\n\n    addRegexToken('x', matchSigned);\n    addRegexToken('X', matchTimestamp);\n    addParseToken('X', function (input, array, config) {\n        config._d = new Date(parseFloat(input) * 1000);\n    });\n    addParseToken('x', function (input, array, config) {\n        config._d = new Date(toInt(input));\n    });\n\n    //! moment.js\n\n    hooks.version = '2.29.1';\n\n    setHookCallback(createLocal);\n\n    hooks.fn = proto;\n    hooks.min = min;\n    hooks.max = max;\n    hooks.now = now;\n    hooks.utc = createUTC;\n    hooks.unix = createUnix;\n    hooks.months = listMonths;\n    hooks.isDate = isDate;\n    hooks.locale = getSetGlobalLocale;\n    hooks.invalid = createInvalid;\n    hooks.duration = createDuration;\n    hooks.isMoment = isMoment;\n    hooks.weekdays = listWeekdays;\n    hooks.parseZone = createInZone;\n    hooks.localeData = getLocale;\n    hooks.isDuration = isDuration;\n    hooks.monthsShort = listMonthsShort;\n    hooks.weekdaysMin = listWeekdaysMin;\n    hooks.defineLocale = defineLocale;\n    hooks.updateLocale = updateLocale;\n    hooks.locales = listLocales;\n    hooks.weekdaysShort = listWeekdaysShort;\n    hooks.normalizeUnits = normalizeUnits;\n    hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n    hooks.calendarFormat = getCalendarFormat;\n    hooks.prototype = proto;\n\n    // currently HTML5 input type only supports 24-hour formats\n    hooks.HTML5_FMT = {\n        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n        DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n        TIME: 'HH:mm', // <input type=\"time\" />\n        TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n        TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n        WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n        MONTH: 'YYYY-MM', // <input type=\"month\" />\n    };\n\n    return hooks;\n\n})));\n }","if (typeof FastBoot === 'undefined') { //! moment.js locale configuration\n//! locale : German [de]\n//! author : lluchs : https://github.com/lluchs\n//! author: Menelion Elensúle: https://github.com/Oire\n//! author : Mikolaj Dadela : https://github.com/mik01aj\n\n;(function (global, factory) {\n   typeof exports === 'object' && typeof module !== 'undefined'\n       && typeof require === 'function' ? factory(require('../moment')) :\n   typeof define === 'function' && define.amd ? define(['../moment'], factory) :\n   factory(global.moment)\n}(this, (function (moment) { 'use strict';\n\n    //! moment.js locale configuration\n\n    function processRelativeTime(number, withoutSuffix, key, isFuture) {\n        var format = {\n            m: ['eine Minute', 'einer Minute'],\n            h: ['eine Stunde', 'einer Stunde'],\n            d: ['ein Tag', 'einem Tag'],\n            dd: [number + ' Tage', number + ' Tagen'],\n            w: ['eine Woche', 'einer Woche'],\n            M: ['ein Monat', 'einem Monat'],\n            MM: [number + ' Monate', number + ' Monaten'],\n            y: ['ein Jahr', 'einem Jahr'],\n            yy: [number + ' Jahre', number + ' Jahren'],\n        };\n        return withoutSuffix ? format[key][0] : format[key][1];\n    }\n\n    var de = moment.defineLocale('de', {\n        months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(\n            '_'\n        ),\n        monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(\n            '_'\n        ),\n        monthsParseExact: true,\n        weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(\n            '_'\n        ),\n        weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),\n        weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),\n        weekdaysParseExact: true,\n        longDateFormat: {\n            LT: 'HH:mm',\n            LTS: 'HH:mm:ss',\n            L: 'DD.MM.YYYY',\n            LL: 'D. MMMM YYYY',\n            LLL: 'D. MMMM YYYY HH:mm',\n            LLLL: 'dddd, D. MMMM YYYY HH:mm',\n        },\n        calendar: {\n            sameDay: '[heute um] LT [Uhr]',\n            sameElse: 'L',\n            nextDay: '[morgen um] LT [Uhr]',\n            nextWeek: 'dddd [um] LT [Uhr]',\n            lastDay: '[gestern um] LT [Uhr]',\n            lastWeek: '[letzten] dddd [um] LT [Uhr]',\n        },\n        relativeTime: {\n            future: 'in %s',\n            past: 'vor %s',\n            s: 'ein paar Sekunden',\n            ss: '%d Sekunden',\n            m: processRelativeTime,\n            mm: '%d Minuten',\n            h: processRelativeTime,\n            hh: '%d Stunden',\n            d: processRelativeTime,\n            dd: processRelativeTime,\n            w: processRelativeTime,\n            ww: '%d Wochen',\n            M: processRelativeTime,\n            MM: processRelativeTime,\n            y: processRelativeTime,\n            yy: processRelativeTime,\n        },\n        dayOfMonthOrdinalParse: /\\d{1,2}\\./,\n        ordinal: '%d.',\n        week: {\n            dow: 1, // Monday is the first day of the week.\n            doy: 4, // The week that contains Jan 4th is the first week of the year.\n        },\n    });\n\n    return de;\n\n})));\n }","/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2019 Tilde Inc. and contributors\n *            Portions Copyright 2006-2011 Strobe Inc.\n *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license   Licensed under MIT license\n *            See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version   3.16.10\n */","/*globals process */\nvar define, require, Ember; // Used in @ember/-internals/environment/lib/global.js\n\n\nmainContext = this; // eslint-disable-line no-undef\n\n(function () {\n  var registry;\n  var seen;\n\n  function missingModule(name, referrerName) {\n    if (referrerName) {\n      throw new Error('Could not find module ' + name + ' required by: ' + referrerName);\n    } else {\n      throw new Error('Could not find module ' + name);\n    }\n  }\n\n  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n\n    var exports = seen[name];\n\n    if (exports !== undefined) {\n      return exports;\n    }\n\n    exports = seen[name] = {};\n\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\n\n    for (var i = 0; i < deps.length; i++) {\n      if (deps[i] === 'exports') {\n        reified[i] = exports;\n      } else if (deps[i] === 'require') {\n        reified[i] = require;\n      } else {\n        reified[i] = internalRequire(deps[i], name);\n      }\n    }\n\n    callback.apply(this, reified);\n    return exports;\n  }\n\n  var isNode = typeof window === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n  if (!isNode) {\n    Ember = this.Ember = this.Ember || {};\n  }\n\n  if (typeof Ember === 'undefined') {\n    Ember = {};\n  }\n\n  if (typeof Ember.__loader === 'undefined') {\n    registry = Object.create(null);\n    seen = Object.create(null);\n\n    define = function (name, deps, callback) {\n      var value = {};\n\n      if (!callback) {\n        value.deps = [];\n        value.callback = deps;\n      } else {\n        value.deps = deps;\n        value.callback = callback;\n      }\n\n      registry[name] = value;\n    };\n\n    require = function (name) {\n      return internalRequire(name, null);\n    }; // setup `require` module\n\n\n    require['default'] = require;\n\n    require.has = function registryHas(moduleName) {\n      return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n    };\n\n    require._eak_seen = registry;\n    Ember.__loader = {\n      define: define,\n      require: require,\n      registry: registry\n    };\n  } else {\n    define = Ember.__loader.define;\n    require = Ember.__loader.require;\n  }\n})();","define(\"@ember/-internals/browser-environment/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasDOM = _exports.isFirefox = _exports.isChrome = _exports.userAgent = _exports.history = _exports.location = _exports.window = void 0;\n  // check if window exists and actually is the global\n  var hasDom = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';\n  _exports.hasDOM = hasDom;\n  var window = hasDom ? self : null;\n  _exports.window = window;\n  var location$1 = hasDom ? self.location : null;\n  _exports.location = location$1;\n  var history$1 = hasDom ? self.history : null;\n  _exports.history = history$1;\n  var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n  _exports.userAgent = userAgent;\n  var isChrome = hasDom ? Boolean(window.chrome) && !window.opera : false;\n  _exports.isChrome = isChrome;\n  var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n  _exports.isFirefox = isFirefox;\n});","define(\"@ember/-internals/console/index\", [\"exports\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Deliver message that the function is deprecated\n  var DEPRECATION_MESSAGE = 'Use of Ember.Logger is deprecated. Please use `console` for logging.';\n  var DEPRECATION_ID = 'ember-console.deprecate-logger';\n  var DEPRECATION_URL = 'https://emberjs.com/deprecations/v3.x#toc_use-console-rather-than-ember-logger';\n  /**\n     @module ember\n  */\n\n  /**\n    Inside Ember-Metal, simply uses the methods from `imports.console`.\n    Override this to provide more robust logging functionality.\n  \n    @class Logger\n    @deprecated Use 'console' instead\n  \n    @namespace Ember\n    @public\n  */\n\n  var DEPRECATED_LOGGER;\n\n  if (_deprecatedFeatures.LOGGER) {\n    DEPRECATED_LOGGER = {\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.log('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method log\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      log() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        return console.log(...arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Prints the arguments to the console with a warning icon.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.warn('Something happened!');\n      // \"Something happened!\" will be printed to the console with a warning icon.\n      ```\n      @method warn\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      warn() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        return console.warn(...arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Prints the arguments to the console with an error icon, red text and a stack trace.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.error('Danger! Danger!');\n      // \"Danger! Danger!\" will be printed to the console in red text.\n      ```\n      @method error\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      error() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        return console.error(...arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.info('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method info\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      info() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        return console.info(...arguments); // eslint-disable-line no-console\n      },\n\n      /**\n      Logs the arguments to the console in blue text.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.debug('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method debug\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      debug() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        /* eslint-disable no-console */\n\n        if (console.debug) {\n          return console.debug(...arguments);\n        }\n\n        return console.info(...arguments);\n        /* eslint-enable no-console */\n      },\n\n      /**\n      If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n       ```javascript\n      Ember.Logger.assert(true); // undefined\n      Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n      Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n      ```\n      @method assert\n      @for Ember.Logger\n      @param {Boolean} bool Value to test\n      @param {String} message Assertion message on failed\n      @public\n      */\n      assert() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL\n        }));\n        return console.assert(...arguments); // eslint-disable-line no-console\n      }\n\n    };\n  }\n\n  var _default = DEPRECATED_LOGGER;\n  _exports.default = _default;\n});","define(\"@ember/-internals/container/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _owner, _utils, _debug, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.privatize = privatize;\n  _exports.FACTORY_FOR = _exports.Container = _exports.Registry = void 0;\n  var leakTracking;\n  var containers;\n\n  if (true\n  /* DEBUG */\n  ) {\n    // requires v8\n    // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n    // node --allow-natives-syntax --expose-gc\n    try {\n      if (typeof gc === 'function') {\n        leakTracking = (() => {\n          // avoid syntax errors when --allow-natives-syntax not present\n          var GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n          containers = new WeakSet();\n          return {\n            hasContainers() {\n              gc();\n              return GetWeakSetValues(containers).length > 0;\n            },\n\n            reset() {\n              var values = GetWeakSetValues(containers);\n\n              for (var i = 0; i < values.length; i++) {\n                containers.delete(values[i]);\n              }\n            }\n\n          };\n        })();\n      }\n    } catch (e) {// ignore\n    }\n  }\n  /**\n   A container used to instantiate and cache objects.\n  \n   Every `Container` must be associated with a `Registry`, which is referenced\n   to determine the factory and options that should be used to instantiate\n   objects.\n  \n   The public API for `Container` is still in flux and should not be considered\n   stable.\n  \n   @private\n   @class Container\n   */\n\n\n  class Container {\n    constructor(registry, options = {}) {\n      this.registry = registry;\n      this.owner = options.owner || null;\n      this.cache = (0, _utils.dictionary)(options.cache || null);\n      this.factoryManagerCache = (0, _utils.dictionary)(options.factoryManagerCache || null);\n      this.isDestroyed = false;\n      this.isDestroying = false;\n\n      if (true\n      /* DEBUG */\n      ) {\n        this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n\n        if (containers !== undefined) {\n          containers.add(this);\n        }\n      }\n    }\n    /**\n     @private\n     @property registry\n     @type Registry\n     @since 1.11.0\n     */\n\n    /**\n     @private\n     @property cache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n     @property validationCache\n     @type InheritingDict\n     */\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted, an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @private\n     @method lookup\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n\n\n    lookup(fullName, options) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.lookup\\` after the owner has been destroyed`);\n      }\n\n      (true && !(this.registry.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName)));\n      return lookup(this, this.registry.normalize(fullName), options);\n    }\n    /**\n     A depth first traversal, destroying the container, its descendant containers and all\n     their managed objects.\n      @private\n     @method destroy\n     */\n\n\n    destroy() {\n      this.isDestroying = true;\n      destroyDestroyables(this);\n    }\n\n    finalizeDestroy() {\n      resetCache(this);\n      this.isDestroyed = true;\n    }\n    /**\n     Clear either the entire cache or just the cache for a particular key.\n        @private\n     @method reset\n     @param {String} fullName optional key to reset; if missing, resets everything\n    */\n\n\n    reset(fullName) {\n      if (this.isDestroyed) return;\n\n      if (fullName === undefined) {\n        destroyDestroyables(this);\n        resetCache(this);\n      } else {\n        resetMember(this, this.registry.normalize(fullName));\n      }\n    }\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      @private\n     @method ownerInjection\n     @returns { Object }\n    */\n\n\n    ownerInjection() {\n      return {\n        [_owner.OWNER]: this.owner\n      };\n    }\n    /**\n     Given a fullName, return the corresponding factory. The consumer of the factory\n     is responsible for the destruction of any factory instances, as there is no\n     way for the container to ensure instances are destroyed when it itself is\n     destroyed.\n      @public\n     @method factoryFor\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n\n\n    factoryFor(fullName, options = {}) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.factoryFor\\` after the owner has been destroyed`);\n      }\n\n      var normalizedName = this.registry.normalize(fullName);\n      (true && !(this.registry.isValidFullName(normalizedName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName)));\n      (true && !(false\n      /* EMBER_MODULE_UNIFICATION */\n      || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to factoryFor', false || !options.namespace));\n\n      if (options.source || options.namespace) {\n        normalizedName = this.registry.expandLocalLookup(fullName, options);\n\n        if (!normalizedName) {\n          return;\n        }\n      }\n\n      return factoryFor(this, normalizedName, fullName);\n    }\n\n  }\n\n  _exports.Container = Container;\n\n  if (true\n  /* DEBUG */\n  ) {\n    Container._leakTracking = leakTracking;\n  }\n  /*\n   * Wrap a factory manager in a proxy which will not permit properties to be\n   * set on the manager.\n   */\n\n\n  function wrapManagerInDeprecationProxy(manager) {\n    if (_utils.HAS_NATIVE_PROXY) {\n      var validator = {\n        set(_obj, prop) {\n          throw new Error(`You attempted to set \"${prop}\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.`);\n        }\n\n      }; // Note:\n      // We have to proxy access to the manager here so that private property\n      // access doesn't cause the above errors to occur.\n\n      var m = manager;\n      var proxiedManager = {\n        class: m.class,\n\n        create(props) {\n          return m.create(props);\n        }\n\n      };\n      var proxy = new Proxy(proxiedManager, validator);\n      FACTORY_FOR.set(proxy, manager);\n    }\n\n    return manager;\n  }\n\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n\n  function lookup(container, fullName, options = {}) {\n    (true && !(false\n    /* EMBER_MODULE_UNIFICATION */\n    || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace));\n    var normalizedName = fullName;\n\n    if (options.source || options.namespace) {\n      normalizedName = container.registry.expandLocalLookup(fullName, options);\n\n      if (!normalizedName) {\n        return;\n      }\n    }\n\n    if (options.singleton !== false) {\n      var cached = container.cache[normalizedName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n    }\n\n    return instantiateFactory(container, normalizedName, fullName, options);\n  }\n\n  function factoryFor(container, normalizedName, fullName) {\n    var cached = container.factoryManagerCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var factory = container.registry.resolve(normalizedName);\n\n    if (factory === undefined) {\n      return;\n    }\n\n    if (true\n    /* DEBUG */\n    && factory && typeof factory._onLookup === 'function') {\n      factory._onLookup(fullName);\n    }\n\n    var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n    if (true\n    /* DEBUG */\n    ) {\n      manager = wrapManagerInDeprecationProxy(manager);\n    }\n\n    container.factoryManagerCache[normalizedName] = manager;\n    return manager;\n  }\n\n  function isSingletonClass(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n  }\n\n  function isSingletonInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n  }\n\n  function isFactoryClass(container, fullname, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n  }\n\n  function isFactoryInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n\n  function instantiateFactory(container, normalizedName, fullName, options) {\n    var factoryManager = factoryFor(container, normalizedName, fullName);\n\n    if (factoryManager === undefined) {\n      return;\n    } // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n    // By default majority of objects fall into this case\n\n\n    if (isSingletonInstance(container, fullName, options)) {\n      var instance = container.cache[normalizedName] = factoryManager.create(); // if this lookup happened _during_ destruction (emits a deprecation, but\n      // is still possible) ensure that it gets destroyed\n\n      if (container.isDestroying) {\n        if (typeof instance.destroy === 'function') {\n          instance.destroy();\n        }\n      }\n\n      return instance;\n    } // SomeClass { singleton: false, instantiate: true }\n\n\n    if (isFactoryInstance(container, fullName, options)) {\n      return factoryManager.create();\n    } // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n\n\n    if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n      return factoryManager.class;\n    }\n\n    throw new Error('Could not create factory');\n  }\n\n  function processInjections(container, injections, result) {\n    if (true\n    /* DEBUG */\n    ) {\n      container.registry.validateInjections(injections);\n    }\n\n    var hash = result.injections;\n\n    if (hash === undefined) {\n      hash = result.injections = {};\n    }\n\n    for (var i = 0; i < injections.length; i++) {\n      var {\n        property,\n        specifier,\n        source\n      } = injections[i];\n\n      if (source) {\n        hash[property] = lookup(container, specifier, {\n          source\n        });\n      } else {\n        hash[property] = lookup(container, specifier);\n      }\n\n      if (!result.isDynamic) {\n        result.isDynamic = !isSingleton(container, specifier);\n      }\n    }\n  }\n\n  function buildInjections(container, typeInjections, injections) {\n    var result = {\n      injections: undefined,\n      isDynamic: false\n    };\n\n    if (typeInjections !== undefined) {\n      processInjections(container, typeInjections, result);\n    }\n\n    if (injections !== undefined) {\n      processInjections(container, injections, result);\n    }\n\n    return result;\n  }\n\n  function injectionsFor(container, fullName) {\n    var registry = container.registry;\n    var [type] = fullName.split(':');\n    var typeInjections = registry.getTypeInjections(type);\n    var injections = registry.getInjections(fullName);\n    return buildInjections(container, typeInjections, injections);\n  }\n\n  function destroyDestroyables(container) {\n    var cache = container.cache;\n    var keys = Object.keys(cache);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = cache[key];\n\n      if (value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n\n  function resetCache(container) {\n    container.cache = (0, _utils.dictionary)(null);\n    container.factoryManagerCache = (0, _utils.dictionary)(null);\n  }\n\n  function resetMember(container, fullName) {\n    var member = container.cache[fullName];\n    delete container.factoryManagerCache[fullName];\n\n    if (member) {\n      delete container.cache[fullName];\n\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n\n  var FACTORY_FOR = new WeakMap();\n  _exports.FACTORY_FOR = FACTORY_FOR;\n\n  class FactoryManager {\n    constructor(container, factory, fullName, normalizedName) {\n      this.container = container;\n      this.owner = container.owner;\n      this.class = factory;\n      this.fullName = fullName;\n      this.normalizedName = normalizedName;\n      this.madeToString = undefined;\n      this.injections = undefined;\n      FACTORY_FOR.set(this, this);\n    }\n\n    toString() {\n      if (this.madeToString === undefined) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n\n      return this.madeToString;\n    }\n\n    create(options) {\n      var {\n        container\n      } = this;\n\n      if (container.isDestroyed) {\n        throw new Error(`Can not create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n      }\n\n      var injectionsCache = this.injections;\n\n      if (injectionsCache === undefined) {\n        var {\n          injections,\n          isDynamic\n        } = injectionsFor(this.container, this.normalizedName);\n        injectionsCache = injections;\n\n        if (!isDynamic) {\n          this.injections = injections;\n        }\n      }\n\n      var props = injectionsCache;\n\n      if (options !== undefined) {\n        props = (0, _polyfills.assign)({}, injectionsCache, options);\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        var lazyInjections;\n        var validationCache = this.container.validationCache; // Ensure that all lazy injections are valid at instantiation time\n\n        if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n          lazyInjections = this.class._lazyInjections();\n          lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n          this.container.registry.validateInjections(lazyInjections);\n        }\n\n        validationCache[this.fullName] = true;\n      }\n\n      if (!this.class.create) {\n        throw new Error(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`);\n      } // required to allow access to things like\n      // the customized toString, _debugContainerKey,\n      // owner, etc. without a double extend and without\n      // modifying the objects properties\n\n\n      if (typeof this.class._initFactory === 'function') {\n        this.class._initFactory(this);\n      } else {\n        // in the non-EmberObject case we need to still setOwner\n        // this is required for supporting glimmer environment and\n        // template instantiation which rely heavily on\n        // `options[OWNER]` being passed into `create`\n        // TODO: clean this up, and remove in future versions\n        if (options === undefined || props === undefined) {\n          // avoid mutating `props` here since they are the cached injections\n          props = (0, _polyfills.assign)({}, props);\n        }\n\n        (0, _owner.setOwner)(props, this.owner);\n      }\n\n      var instance = this.class.create(props);\n      FACTORY_FOR.set(instance, this);\n      return instance;\n    }\n\n  }\n\n  var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n  /**\n   A registry used to store factory and option information keyed\n   by type.\n  \n   A `Registry` stores the factory and option information needed by a\n   `Container` to instantiate and cache objects.\n  \n   The API for `Registry` is still in flux and should not be considered stable.\n  \n   @private\n   @class Registry\n   @since 1.11.0\n  */\n\n  class Registry {\n    constructor(options = {}) {\n      this.fallback = options.fallback || null;\n      this.resolver = options.resolver || null;\n      this.registrations = (0, _utils.dictionary)(options.registrations || null);\n      this._typeInjections = (0, _utils.dictionary)(null);\n      this._injections = (0, _utils.dictionary)(null);\n      this._localLookupCache = Object.create(null);\n      this._normalizeCache = (0, _utils.dictionary)(null);\n      this._resolveCache = (0, _utils.dictionary)(null);\n      this._failSet = new Set();\n      this._options = (0, _utils.dictionary)(null);\n      this._typeOptions = (0, _utils.dictionary)(null);\n    }\n    /**\n     A backup registry for resolving registrations when no matches can be found.\n        @private\n     @property fallback\n     @type Registry\n     */\n\n    /**\n     An object that has a `resolve` method that resolves a name.\n        @private\n     @property resolver\n     @type Resolver\n     */\n\n    /**\n     @private\n     @property registrations\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeInjections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _injections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _normalizeCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _resolveCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _options\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeOptions\n     @type InheritingDict\n     */\n\n    /**\n     Creates a container based on this registry.\n        @private\n     @method container\n     @param {Object} options\n     @return {Container} created container\n     */\n\n\n    container(options) {\n      return new Container(this, options);\n    }\n    /**\n     Registers a factory for later injection.\n        Example:\n        ```javascript\n     let registry = new Registry();\n        registry.register('model:user', Person, {singleton: false });\n     registry.register('fruit:favorite', Orange);\n     registry.register('communication:main', Email, {singleton: false});\n     ```\n        @private\n     @method register\n     @param {String} fullName\n     @param {Function} factory\n     @param {Object} options\n     */\n\n\n    register(fullName, factory, options = {}) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      (true && !(factory !== undefined) && (0, _debug.assert)(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined));\n      var normalizedName = this.normalize(fullName);\n      (true && !(!this._resolveCache[normalizedName]) && (0, _debug.assert)(`Cannot re-register: '${fullName}', as it has already been resolved.`, !this._resolveCache[normalizedName]));\n\n      this._failSet.delete(normalizedName);\n\n      this.registrations[normalizedName] = factory;\n      this._options[normalizedName] = options;\n    }\n    /**\n     Unregister a fullName\n        ```javascript\n     let registry = new Registry();\n     registry.register('model:user', User);\n        registry.resolve('model:user').create() instanceof User //=> true\n        registry.unregister('model:user')\n     registry.resolve('model:user') === undefined //=> true\n     ```\n        @private\n     @method unregister\n     @param {String} fullName\n     */\n\n\n    unregister(fullName) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var normalizedName = this.normalize(fullName);\n      this._localLookupCache = Object.create(null);\n      delete this.registrations[normalizedName];\n      delete this._resolveCache[normalizedName];\n      delete this._options[normalizedName];\n\n      this._failSet.delete(normalizedName);\n    }\n    /**\n     Given a fullName return the corresponding factory.\n        By default `resolve` will retrieve the factory from\n     the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.register('api:twitter', Twitter);\n        registry.resolve('api:twitter') // => Twitter\n     ```\n        Optionally the registry can be provided with a custom resolver.\n     If provided, `resolve` will first provide the custom resolver\n     the opportunity to resolve the fullName, otherwise it will fallback\n     to the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.resolver = function(fullName) {\n        // lookup via the module system of choice\n      };\n        // the twitter factory is added to the module system\n     registry.resolve('api:twitter') // => Twitter\n     ```\n        @private\n     @method resolve\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Function} fullName's factory\n     */\n\n\n    resolve(fullName, options) {\n      var factory = resolve(this, this.normalize(fullName), options);\n\n      if (factory === undefined && this.fallback !== null) {\n        factory = this.fallback.resolve(...arguments);\n      }\n\n      return factory;\n    }\n    /**\n     A hook that can be used to describe how the resolver will\n     attempt to find the factory.\n        For example, the default Ember `.describe` returns the full\n     class name (including namespace) where Ember's resolver expects\n     to find the `fullName`.\n        @private\n     @method describe\n     @param {String} fullName\n     @return {string} described fullName\n     */\n\n\n    describe(fullName) {\n      if (this.resolver !== null && this.resolver.lookupDescription) {\n        return this.resolver.lookupDescription(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.describe(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     A hook to enable custom fullName normalization behavior\n        @private\n     @method normalizeFullName\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n\n\n    normalizeFullName(fullName) {\n      if (this.resolver !== null && this.resolver.normalize) {\n        return this.resolver.normalize(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.normalizeFullName(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     Normalize a fullName based on the application's conventions\n        @private\n     @method normalize\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n\n\n    normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n    }\n    /**\n     @method makeToString\n        @private\n     @param {any} factory\n     @param {string} fullName\n     @return {function} toString function\n     */\n\n\n    makeToString(factory, fullName) {\n      if (this.resolver !== null && this.resolver.makeToString) {\n        return this.resolver.makeToString(factory, fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.makeToString(factory, fullName);\n      } else {\n        return factory.toString();\n      }\n    }\n    /**\n     Given a fullName check if the container is aware of its factory\n     or singleton instance.\n        @private\n     @method has\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Boolean}\n     */\n\n\n    has(fullName, options) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\n\n      var source = options && options.source && this.normalize(options.source);\n      var namespace = options && options.namespace || undefined;\n      return has(this, this.normalize(fullName), source, namespace);\n    }\n    /**\n     Allow registering options for all factories of a type.\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        // if all of type `connection` must not be singletons\n     registry.optionsForType('connection', { singleton: false });\n        registry.register('connection:twitter', TwitterConnection);\n     registry.register('connection:facebook', FacebookConnection);\n        let twitter = container.lookup('connection:twitter');\n     let twitter2 = container.lookup('connection:twitter');\n        twitter === twitter2; // => false\n        let facebook = container.lookup('connection:facebook');\n     let facebook2 = container.lookup('connection:facebook');\n        facebook === facebook2; // => false\n     ```\n        @private\n     @method optionsForType\n     @param {String} type\n     @param {Object} options\n     */\n\n\n    optionsForType(type, options) {\n      this._typeOptions[type] = options;\n    }\n\n    getOptionsForType(type) {\n      var optionsForType = this._typeOptions[type];\n\n      if (optionsForType === undefined && this.fallback !== null) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n\n      return optionsForType;\n    }\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n\n\n    options(fullName, options) {\n      var normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = options;\n    }\n\n    getOptions(fullName) {\n      var normalizedName = this.normalize(fullName);\n      var options = this._options[normalizedName];\n\n      if (options === undefined && this.fallback !== null) {\n        options = this.fallback.getOptions(fullName);\n      }\n\n      return options;\n    }\n\n    getOption(fullName, optionName) {\n      var options = this._options[fullName];\n\n      if (options !== undefined && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n\n      var type = fullName.split(':')[0];\n      options = this._typeOptions[type];\n\n      if (options && options[optionName] !== undefined) {\n        return options[optionName];\n      } else if (this.fallback !== null) {\n        return this.fallback.getOption(fullName, optionName);\n      }\n\n      return undefined;\n    }\n    /**\n     Used only via `injection`.\n        Provides a specialized form of injection, specifically enabling\n     all objects of one type to be injected with a reference to another\n     object.\n        For example, provided each object of type `controller` needed a `router`.\n     one would do the following:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('router:main', Router);\n     registry.register('controller:user', UserController);\n     registry.register('controller:post', PostController);\n        registry.typeInjection('controller', 'router', 'router:main');\n        let user = container.lookup('controller:user');\n     let post = container.lookup('controller:post');\n        user.router instanceof Router; //=> true\n     post.router instanceof Router; //=> true\n        // both controllers share the same router\n     user.router === post.router; //=> true\n     ```\n        @private\n     @method typeInjection\n     @param {String} type\n     @param {String} property\n     @param {String} fullName\n     */\n\n\n    typeInjection(type, property, fullName) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var fullNameType = fullName.split(':')[0];\n      (true && !(fullNameType !== type) && (0, _debug.assert)(`Cannot inject a '${fullName}' on other ${type}(s).`, fullNameType !== type));\n      var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n      injections.push({\n        property,\n        specifier: fullName\n      });\n    }\n    /**\n     Defines injection rules.\n        These rules are used to inject dependencies onto objects when they\n     are instantiated.\n        Two forms of injections are possible:\n        * Injecting one fullName on another fullName\n     * Injecting one fullName on a type\n        Example:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('source:main', Source);\n     registry.register('model:user', User);\n     registry.register('model:post', Post);\n        // injecting one fullName on another fullName\n     // eg. each user model gets a post model\n     registry.injection('model:user', 'post', 'model:post');\n        // injecting one fullName on another type\n     registry.injection('model', 'source', 'source:main');\n        let user = container.lookup('model:user');\n     let post = container.lookup('model:post');\n        user.source instanceof Source; //=> true\n     post.source instanceof Source; //=> true\n        user.post instanceof Post; //=> true\n        // and both models share the same source\n     user.source === post.source; //=> true\n     ```\n        @private\n     @method injection\n     @param {String} factoryName\n     @param {String} property\n     @param {String} injectionName\n     */\n\n\n    injection(fullName, property, injectionName) {\n      (true && !(this.isValidFullName(injectionName)) && (0, _debug.assert)(`Invalid injectionName, expected: 'type:name' got: ${injectionName}`, this.isValidFullName(injectionName)));\n      var normalizedInjectionName = this.normalize(injectionName);\n\n      if (fullName.indexOf(':') === -1) {\n        return this.typeInjection(fullName, property, normalizedInjectionName);\n      }\n\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var normalizedName = this.normalize(fullName);\n      var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n      injections.push({\n        property,\n        specifier: normalizedInjectionName\n      });\n    }\n    /**\n     @private\n     @method knownForType\n     @param {String} type the type to iterate over\n    */\n\n\n    knownForType(type) {\n      var localKnown = (0, _utils.dictionary)(null);\n      var registeredNames = Object.keys(this.registrations);\n\n      for (var index = 0; index < registeredNames.length; index++) {\n        var fullName = registeredNames[index];\n        var itemType = fullName.split(':')[0];\n\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n\n      var fallbackKnown, resolverKnown;\n\n      if (this.fallback !== null) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n\n      if (this.resolver !== null && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n\n      return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n    }\n\n    isValidFullName(fullName) {\n      return VALID_FULL_NAME_REGEXP.test(fullName);\n    }\n\n    getInjections(fullName) {\n      var injections = this._injections[fullName];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getInjections(fullName);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    }\n\n    getTypeInjections(type) {\n      var injections = this._typeInjections[type];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getTypeInjections(type);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    }\n    /**\n     Given a fullName and a source fullName returns the fully resolved\n     fullName. Used to allow for local lookup.\n        ```javascript\n     let registry = new Registry();\n        // the twitter factory is added to the module system\n     registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title\n     ```\n        @private\n     @method expandLocalLookup\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {String} fullName\n     */\n\n\n    expandLocalLookup(fullName, options) {\n      if (this.resolver !== null && this.resolver.expandLocalLookup) {\n        (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n        (true && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source)));\n        var normalizedFullName = this.normalize(fullName);\n        var normalizedSource = this.normalize(options.source);\n        return expandLocalLookup(this, normalizedFullName, normalizedSource, options.namespace);\n      } else if (this.fallback !== null) {\n        return this.fallback.expandLocalLookup(fullName, options);\n      } else {\n        return null;\n      }\n    }\n\n  }\n\n  _exports.Registry = Registry;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var proto = Registry.prototype;\n\n    proto.normalizeInjectionsHash = function (hash) {\n      var injections = [];\n\n      for (var key in hash) {\n        if (hash.hasOwnProperty(key)) {\n          var {\n            specifier,\n            source,\n            namespace\n          } = hash[key];\n          (true && !(this.isValidFullName(specifier)) && (0, _debug.assert)(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier)));\n          injections.push({\n            property: key,\n            specifier,\n            source,\n            namespace\n          });\n        }\n      }\n\n      return injections;\n    };\n\n    proto.validateInjections = function (injections) {\n      if (!injections) {\n        return;\n      }\n\n      for (var i = 0; i < injections.length; i++) {\n        var {\n          specifier,\n          source,\n          namespace\n        } = injections[i];\n        (true && !(this.has(specifier, {\n          source,\n          namespace\n        })) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier, {\n          source,\n          namespace\n        })));\n      }\n    };\n  }\n\n  function expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n    var cache = registry._localLookupCache;\n    var normalizedNameCache = cache[normalizedName];\n\n    if (!normalizedNameCache) {\n      normalizedNameCache = cache[normalizedName] = Object.create(null);\n    }\n\n    var cacheKey = namespace || normalizedSource;\n    var cached = normalizedNameCache[cacheKey];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n    return normalizedNameCache[cacheKey] = expanded;\n  }\n\n  function resolve(registry, _normalizedName, options) {\n    var normalizedName = _normalizedName; // when `source` is provided expand normalizedName\n    // and source into the full normalizedName\n\n    if (options !== undefined && (options.source || options.namespace)) {\n      normalizedName = registry.expandLocalLookup(_normalizedName, options);\n\n      if (!normalizedName) {\n        return;\n      }\n    }\n\n    var cached = registry._resolveCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    if (registry._failSet.has(normalizedName)) {\n      return;\n    }\n\n    var resolved;\n\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n\n    if (resolved === undefined) {\n      registry._failSet.add(normalizedName);\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n\n    return resolved;\n  }\n\n  function has(registry, fullName, source, namespace) {\n    return registry.resolve(fullName, {\n      source,\n      namespace\n    }) !== undefined;\n  }\n\n  var privateNames = (0, _utils.dictionary)(null);\n  var privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n\n  function privatize([fullName]) {\n    var name = privateNames[fullName];\n\n    if (name) {\n      return name;\n    }\n\n    var [type, rawName] = fullName.split(':');\n    return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n  }\n  /*\n  Public API for the container is still in flux.\n  The public API, specified on the application namespace should be considered the stable API.\n  // @module container\n    @private\n  */\n\n});","define(\"@ember/-internals/environment/index\", [\"exports\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getLookup = getLookup;\n  _exports.setLookup = setLookup;\n  _exports.getENV = getENV;\n  _exports.ENV = _exports.context = _exports.global = void 0;\n\n  // from lodash to catch fake globals\n  function checkGlobal(value) {\n    return value && value.Object === Object ? value : undefined;\n  } // element ids can ruin global miss checks\n\n\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  } // export real global\n\n\n  var global$1 = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext || // set before strict mode in Ember loader/wrapper\n  new Function('return this')(); // eval outside of strict mode\n\n  _exports.global = global$1;\n\n  var context = function (global, Ember) {\n    return Ember === undefined ? {\n      imports: global,\n      exports: global,\n      lookup: global\n    } : {\n      // import jQuery\n      imports: Ember.imports || global,\n      // export Ember\n      exports: Ember.exports || global,\n      // search for Namespaces\n      lookup: Ember.lookup || global\n    };\n  }(global$1, global$1.Ember);\n\n  _exports.context = context;\n\n  function getLookup() {\n    return context.lookup;\n  }\n\n  function setLookup(value) {\n    context.lookup = value;\n  }\n  /**\n    The hash of environment variables used to control various configuration\n    settings. To specify your own or override default settings, add the\n    desired properties to a global hash named `EmberENV` (or `ENV` for\n    backwards compatibility with earlier versions of Ember). The `EmberENV`\n    hash must be created before loading Ember.\n  \n    @class EmberENV\n    @type Object\n    @public\n  */\n\n\n  var ENV = {\n    ENABLE_OPTIONAL_FEATURES: false,\n\n    /**\n      Determines whether Ember should add to `Array`, `Function`, and `String`\n      native object prototypes, a few extra methods in order to provide a more\n      friendly API.\n         We generally recommend leaving this option set to true however, if you need\n      to turn it off, you can add the configuration property\n      `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n         Note, when disabled (the default configuration for Ember Addons), you will\n      instead have to access all methods and functions from the Ember\n      namespace.\n         @property EXTEND_PROTOTYPES\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    EXTEND_PROTOTYPES: {\n      Array: true,\n      Function: true,\n      String: true\n    },\n\n    /**\n      The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n      a full stack trace during deprecation warnings.\n         @property LOG_STACKTRACE_ON_DEPRECATION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_STACKTRACE_ON_DEPRECATION: true,\n\n    /**\n      The `LOG_VERSION` property, when true, tells Ember to log versions of all\n      dependent libraries in use.\n         @property LOG_VERSION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_VERSION: true,\n    RAISE_ON_DEPRECATION: false,\n    STRUCTURED_PROFILE: false,\n\n    /**\n      Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n      application template. See RFC #280.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _APPLICATION_TEMPLATE_WRAPPER\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _APPLICATION_TEMPLATE_WRAPPER: true,\n\n    /**\n      Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n      components semantics) for template-only components. See RFC #278.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n\n    /**\n      Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n      API work.\n         This has to be set before the ember JavaScript code is evaluated. This is\n      usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n      or `window.ENV = { _DEBUG_RENDER_TREE: true };` before the \"vendor\"\n      `<script>` tag in `index.html`.\n         Setting the flag after Ember is already loaded will not work correctly. It\n      may appear to work somewhat, but fundamentally broken.\n         This is not intended to be set directly. Ember Inspector will enable the\n      flag on behalf of the user as needed.\n         This flag is always on in development mode.\n         The flag is off by default in production mode, due to the cost associated\n      with the the bookkeeping work.\n         The expected flow is that Ember Inspector will ask the user to refresh the\n      page after enabling the feature. It could also offer a feature where the\n      user add some domains to the \"always on\" list. In either case, Ember\n      Inspector will inject the code on the page to set the flag if needed.\n         @property _DEBUG_RENDER_TREE\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _DEBUG_RENDER_TREE: true\n    /* DEBUG */\n    ,\n\n    /**\n      Whether the app is using jQuery. See RFC #294.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _JQUERY_INTEGRATION\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _JQUERY_INTEGRATION: true,\n\n    /**\n      Whether the app defaults to using async observers.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _DEFAULT_ASYNC_OBSERVERS\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _DEFAULT_ASYNC_OBSERVERS: false,\n\n    /**\n      Controls the maximum number of scheduled rerenders without \"settling\". In general,\n      applications should not need to modify this environment variable, but please\n      open an issue so that we can determine if a better default value is needed.\n         @property _RERENDER_LOOP_LIMIT\n      @for EmberENV\n      @type number\n      @default 1000\n      @private\n     */\n    _RERENDER_LOOP_LIMIT: 1000,\n    EMBER_LOAD_HOOKS: {},\n    FEATURES: {}\n  };\n  _exports.ENV = ENV;\n  var providedEnv = global$1.EmberENV;\n\n  if (providedEnv === undefined) {\n    providedEnv = global$1.ENV;\n    (true && !(providedEnv === undefined) && (0, _debug.deprecate)(\"Configuring Ember's boot options via `window.ENV` is deprecated, please migrate to `window.EmberENV` instead.\", providedEnv === undefined, {\n      id: 'ember-environment.window.env',\n      until: '3.17.0'\n    }));\n  }\n\n  (EmberENV => {\n    if (typeof EmberENV !== 'object' || EmberENV === null) return;\n\n    for (var flag in EmberENV) {\n      if (!EmberENV.hasOwnProperty(flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n      var defaultValue = ENV[flag];\n\n      if (defaultValue === true) {\n        ENV[flag] = EmberENV[flag] !== false;\n      } else if (defaultValue === false) {\n        ENV[flag] = EmberENV[flag] === true;\n      }\n    }\n\n    var {\n      EXTEND_PROTOTYPES\n    } = EmberENV;\n\n    if (EXTEND_PROTOTYPES !== undefined) {\n      if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n        ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n        }\n\n        ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n      } else {\n        var isEnabled = EXTEND_PROTOTYPES !== false;\n        ENV.EXTEND_PROTOTYPES.String = isEnabled;\n\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n        }\n\n        ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n      }\n    } // TODO this does not seem to be used by anything,\n    //      can we remove it? do we need to deprecate it?\n\n\n    var {\n      EMBER_LOAD_HOOKS\n    } = EmberENV;\n\n    if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n      for (var hookName in EMBER_LOAD_HOOKS) {\n        if (!EMBER_LOAD_HOOKS.hasOwnProperty(hookName)) continue;\n        var hooks = EMBER_LOAD_HOOKS[hookName];\n\n        if (Array.isArray(hooks)) {\n          ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n        }\n      }\n    }\n\n    var {\n      FEATURES\n    } = EmberENV;\n\n    if (typeof FEATURES === 'object' && FEATURES !== null) {\n      for (var feature in FEATURES) {\n        if (!FEATURES.hasOwnProperty(feature)) continue;\n        ENV.FEATURES[feature] = FEATURES[feature] === true;\n      }\n    }\n\n    if (true\n    /* DEBUG */\n    ) {\n      ENV._DEBUG_RENDER_TREE = true;\n    }\n  })(providedEnv);\n\n  function getENV() {\n    return ENV;\n  }\n});","define(\"@ember/-internals/error-handling/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOnerror = getOnerror;\n  _exports.setOnerror = setOnerror;\n  _exports.getDispatchOverride = getDispatchOverride;\n  _exports.setDispatchOverride = setDispatchOverride;\n  _exports.onErrorTarget = void 0;\n  var onerror;\n  var onErrorTarget = {\n    get onerror() {\n      return onerror;\n    }\n\n  }; // Ember.onerror getter\n\n  _exports.onErrorTarget = onErrorTarget;\n\n  function getOnerror() {\n    return onerror;\n  } // Ember.onerror setter\n\n\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n\n  var dispatchOverride; // allows testing adapter to override dispatch\n\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\n\n  function setDispatchOverride(handler) {\n    dispatchOverride = handler;\n  }\n});","define(\"@ember/-internals/extension-support/index\", [\"exports\", \"@ember/-internals/extension-support/lib/data_adapter\", \"@ember/-internals/extension-support/lib/container_debug_adapter\"], function (_exports, _data_adapter, _container_debug_adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"DataAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _data_adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerDebugAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _container_debug_adapter.default;\n    }\n  });\n});","define(\"@ember/-internals/extension-support/lib/container_debug_adapter\", [\"exports\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _string, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/debug\n  */\n\n  /**\n    The `ContainerDebugAdapter` helps the container and resolver interface\n    with tools that debug Ember such as the\n    [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class can be extended by a custom resolver implementer\n    to override some of the methods with library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `canCatalogEntriesByType`\n    * `catalogEntriesByType`\n  \n    The adapter will need to be registered\n    in the application's container as `container-debug-adapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"containerDebugAdapter\",\n  \n      initialize(application) {\n        application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n      }\n    });\n    ```\n  \n    @class ContainerDebugAdapter\n    @extends EmberObject\n    @since 1.5.0\n    @public\n  */\n  var _default = _runtime.Object.extend({\n    /**\n      The resolver instance of the application\n      being debugged. This property will be injected\n      on creation.\n       @property resolver\n      @default null\n      @public\n    */\n    resolver: null,\n\n    /**\n      Returns true if it is possible to catalog a list of available\n      classes in the resolver for a given type.\n       @method canCatalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {boolean} whether a list is available for this type.\n      @public\n    */\n    canCatalogEntriesByType(type) {\n      if (type === 'model' || type === 'template') {\n        return false;\n      }\n\n      return true;\n    },\n\n    /**\n      Returns the available classes a given type.\n       @method catalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {Array} An array of strings.\n      @public\n    */\n    catalogEntriesByType(type) {\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      var typeSuffixRegex = new RegExp(`${(0, _string.classify)(type)}$`);\n      namespaces.forEach(namespace => {\n        for (var key in namespace) {\n          if (!namespace.hasOwnProperty(key)) {\n            continue;\n          }\n\n          if (typeSuffixRegex.test(key)) {\n            var klass = namespace[key];\n\n            if ((0, _runtime.typeOf)(klass) === 'class') {\n              types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n            }\n          }\n        }\n      });\n      return types;\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/extension-support/lib/data_adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _owner, _runloop, _metal, _string, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/debug\n  */\n\n  /**\n    The `DataAdapter` helps a data persistence library\n    interface with tools that debug Ember such\n    as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class will be extended by a persistence library\n    which will override some of the methods with\n    library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `getFilters`\n    * `detect`\n    * `columnsForType`\n    * `getRecords`\n    * `getRecordColumnValues`\n    * `getRecordKeywords`\n    * `getRecordFilterValues`\n    * `getRecordColor`\n    * `observeRecord`\n  \n    The adapter will need to be registered\n    in the application's container as `dataAdapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"data-adapter\",\n  \n      initialize: function(application) {\n        application.register('data-adapter:main', DS.DataAdapter);\n      }\n    });\n    ```\n  \n    @class DataAdapter\n    @extends EmberObject\n    @public\n  */\n  var _default = _runtime.Object.extend({\n    init() {\n      this._super(...arguments);\n\n      this.releaseMethods = (0, _runtime.A)();\n    },\n\n    /**\n      The container-debug-adapter which is used\n      to list all models.\n       @property containerDebugAdapter\n      @default undefined\n      @since 1.5.0\n      @public\n    **/\n    containerDebugAdapter: undefined,\n\n    /**\n      The number of attributes to send\n      as columns. (Enough to make the record\n      identifiable).\n       @private\n      @property attributeLimit\n      @default 3\n      @since 1.3.0\n    */\n    attributeLimit: 3,\n\n    /**\n       Ember Data > v1.0.0-beta.18\n       requires string model names to be passed\n       around instead of the actual factories.\n        This is a stamp for the Ember Inspector\n       to differentiate between the versions\n       to be able to support older versions too.\n        @public\n       @property acceptsModelName\n     */\n    acceptsModelName: true,\n\n    /**\n      Stores all methods that clear observers.\n      These methods will be called on destruction.\n       @private\n      @property releaseMethods\n      @since 1.3.0\n    */\n    releaseMethods: (0, _runtime.A)(),\n\n    /**\n      Specifies how records can be filtered.\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array.\n       @public\n      @method getFilters\n      @return {Array} List of objects defining filters.\n       The object should have a `name` and `desc` property.\n    */\n    getFilters() {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Fetch the model types and observe them for changes.\n       @public\n      @method watchModelTypes\n       @param {Function} typesAdded Callback to call to add types.\n      Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n       @param {Function} typesUpdated Callback to call when a type has changed.\n      Takes an array of objects containing wrapped types.\n       @return {Function} Method to call to remove all observers\n    */\n    watchModelTypes(typesAdded, typesUpdated) {\n      var modelTypes = this.getModelTypes();\n      var releaseMethods = (0, _runtime.A)();\n      var typesToSend;\n      typesToSend = modelTypes.map(type => {\n        var klass = type.klass;\n        var wrapped = this.wrapModelType(klass, type.name);\n        releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n        return wrapped;\n      });\n      typesAdded(typesToSend);\n\n      var release = () => {\n        releaseMethods.forEach(fn => fn());\n        this.releaseMethods.removeObject(release);\n      };\n\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n\n    _nameToClass(type) {\n      if (typeof type === 'string') {\n        var owner = (0, _owner.getOwner)(this);\n        var Factory = owner.factoryFor(`model:${type}`);\n        type = Factory && Factory.class;\n      }\n\n      return type;\n    },\n\n    /**\n      Fetch the records of a given type and observe them for changes.\n       @public\n      @method watchRecords\n       @param {String} modelName The model name.\n       @param {Function} recordsAdded Callback to call to add records.\n      Takes an array of objects containing wrapped records.\n      The object should have the following properties:\n        columnValues: {Object} The key and value of a table cell.\n        object: {Object} The actual record object.\n       @param {Function} recordsUpdated Callback to call when a record has changed.\n      Takes an array of objects containing wrapped records.\n       @param {Function} recordsRemoved Callback to call when a record has removed.\n      Takes the following parameters:\n        index: The array index where the records were removed.\n        count: The number of records removed.\n       @return {Function} Method to call to remove all observers.\n    */\n    watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n      var releaseMethods = (0, _runtime.A)();\n\n      var klass = this._nameToClass(modelName);\n\n      var records = this.getRecords(klass, modelName);\n      var release;\n\n      function recordUpdated(updatedRecord) {\n        recordsUpdated([updatedRecord]);\n      }\n\n      var recordsToSend = records.map(record => {\n        releaseMethods.push(this.observeRecord(record, recordUpdated));\n        return this.wrapRecord(record);\n      });\n\n      var contentDidChange = (array, idx, removedCount, addedCount) => {\n        for (var i = idx; i < idx + addedCount; i++) {\n          var record = (0, _metal.objectAt)(array, i);\n          var wrapped = this.wrapRecord(record);\n          releaseMethods.push(this.observeRecord(record, recordUpdated));\n          recordsAdded([wrapped]);\n        }\n\n        if (removedCount) {\n          recordsRemoved(idx, removedCount);\n        }\n      };\n\n      var observer = {\n        didChange: contentDidChange,\n\n        willChange() {\n          return this;\n        }\n\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      release = () => {\n        releaseMethods.forEach(fn => fn());\n        (0, _metal.removeArrayObserver)(records, this, observer);\n        this.releaseMethods.removeObject(release);\n      };\n\n      recordsAdded(recordsToSend);\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n\n    /**\n      Clear all observers before destruction\n      @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._super(...arguments);\n\n      this.releaseMethods.forEach(fn => fn());\n    },\n\n    /**\n      Detect whether a class is a model.\n       Test that against the model class\n      of your persistence library.\n       @public\n      @method detect\n      @return boolean Whether the class is a model class or not.\n    */\n    detect() {\n      return false;\n    },\n\n    /**\n      Get the columns for a given model type.\n       @public\n      @method columnsForType\n      @return {Array} An array of columns of the following format:\n       name: {String} The name of the column.\n       desc: {String} Humanized description (what would show in a table column name).\n    */\n    columnsForType() {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Adds observers to a model type class.\n       @private\n      @method observeModelType\n      @param {String} modelName The model type name.\n      @param {Function} typesUpdated Called when a type is modified.\n      @return {Function} The function to call to remove observers.\n    */\n    observeModelType(modelName, typesUpdated) {\n      var klass = this._nameToClass(modelName);\n\n      var records = this.getRecords(klass, modelName);\n\n      function onChange() {\n        typesUpdated([this.wrapModelType(klass, modelName)]);\n      }\n\n      var observer = {\n        didChange(array, idx, removedCount, addedCount) {\n          // Only re-fetch records if the record count changed\n          // (which is all we care about as far as model types are concerned).\n          if (removedCount > 0 || addedCount > 0) {\n            (0, _runloop.scheduleOnce)('actions', this, onChange);\n          }\n        },\n\n        willChange() {\n          return this;\n        }\n\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      var release = () => (0, _metal.removeArrayObserver)(records, this, observer);\n\n      return release;\n    },\n\n    /**\n      Wraps a given model type and observes changes to it.\n       @private\n      @method wrapModelType\n      @param {Class} klass A model class.\n      @param {String} modelName Name of the class.\n      @return {Object} Contains the wrapped type and the function to remove observers\n      Format:\n        type: {Object} The wrapped type.\n          The wrapped type has the following format:\n            name: {String} The name of the type.\n            count: {Integer} The number of records available.\n            columns: {Columns} An array of columns to describe the record.\n            object: {Class} The actual Model type class.\n        release: {Function} The function to remove observers.\n    */\n    wrapModelType(klass, name) {\n      var records = this.getRecords(klass, name);\n      var typeToSend;\n      typeToSend = {\n        name,\n        count: (0, _metal.get)(records, 'length'),\n        columns: this.columnsForType(klass),\n        object: klass\n      };\n      return typeToSend;\n    },\n\n    /**\n      Fetches all models defined in the application.\n       @private\n      @method getModelTypes\n      @return {Array} Array of model types.\n    */\n    getModelTypes() {\n      var containerDebugAdapter = this.get('containerDebugAdapter');\n      var types;\n\n      if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n        types = containerDebugAdapter.catalogEntriesByType('model');\n      } else {\n        types = this._getObjectsOnNamespaces();\n      } // New adapters return strings instead of classes.\n\n\n      types = (0, _runtime.A)(types).map(name => {\n        return {\n          klass: this._nameToClass(name),\n          name\n        };\n      });\n      types = (0, _runtime.A)(types).filter(type => this.detect(type.klass));\n      return (0, _runtime.A)(types);\n    },\n\n    /**\n      Loops over all namespaces and all objects\n      attached to them.\n       @private\n      @method _getObjectsOnNamespaces\n      @return {Array} Array of model type strings.\n    */\n    _getObjectsOnNamespaces() {\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      namespaces.forEach(namespace => {\n        for (var key in namespace) {\n          if (!namespace.hasOwnProperty(key)) {\n            continue;\n          } // Even though we will filter again in `getModelTypes`,\n          // we should not call `lookupFactory` on non-models\n\n\n          if (!this.detect(namespace[key])) {\n            continue;\n          }\n\n          var name = (0, _string.dasherize)(key);\n          types.push(name);\n        }\n      });\n      return types;\n    },\n\n    /**\n      Fetches all loaded records for a given type.\n       @public\n      @method getRecords\n      @return {Array} An array of records.\n       This array will be observed for changes,\n       so it should update when new records are added/removed.\n    */\n    getRecords() {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Wraps a record and observers changes to it.\n       @private\n      @method wrapRecord\n      @param {Object} record The record instance.\n      @return {Object} The wrapped record. Format:\n      columnValues: {Array}\n      searchKeywords: {Array}\n    */\n    wrapRecord(record) {\n      var recordToSend = {\n        object: record\n      };\n      recordToSend.columnValues = this.getRecordColumnValues(record);\n      recordToSend.searchKeywords = this.getRecordKeywords(record);\n      recordToSend.filterValues = this.getRecordFilterValues(record);\n      recordToSend.color = this.getRecordColor(record);\n      return recordToSend;\n    },\n\n    /**\n      Gets the values for each column.\n       @public\n      @method getRecordColumnValues\n      @return {Object} Keys should match column names defined\n      by the model type.\n    */\n    getRecordColumnValues() {\n      return {};\n    },\n\n    /**\n      Returns keywords to match when searching records.\n       @public\n      @method getRecordKeywords\n      @return {Array} Relevant keywords for search.\n    */\n    getRecordKeywords() {\n      return (0, _runtime.A)();\n    },\n\n    /**\n      Returns the values of filters defined by `getFilters`.\n       @public\n      @method getRecordFilterValues\n      @param {Object} record The record instance.\n      @return {Object} The filter values.\n    */\n    getRecordFilterValues() {\n      return {};\n    },\n\n    /**\n      Each record can have a color that represents its state.\n       @public\n      @method getRecordColor\n      @param {Object} record The record instance\n      @return {String} The records color.\n        Possible options: black, red, blue, green.\n    */\n    getRecordColor() {\n      return null;\n    },\n\n    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs.\n       @public\n      @method observerRecord\n      @return {Function} The function to call to remove all observers.\n    */\n    observeRecord() {\n      return function () {};\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/glimmer/index\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/container\", \"@glimmer/opcode-compiler\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/runloop\", \"@glimmer/reference\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/runtime\", \"@ember/-internals/owner\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\", \"@ember/instrumentation\", \"@ember/service\", \"@glimmer/util\", \"@ember/-internals/environment\", \"@ember/deprecated-features\", \"@ember/string\", \"@glimmer/wire-format\", \"rsvp\", \"@glimmer/node\", \"@ember/-internals/routing\", \"@ember/component/template-only\", \"@ember/error\"], function (_exports, _polyfills, _container, _opcodeCompiler, _runtime, _utils, _runloop, _reference, _metal, _debug, _runtime2, _owner, _views, _browserEnvironment, _instrumentation, _service, _util, _environment2, _deprecatedFeatures, _string, _wireFormat, _rsvp, _node, _routing, _templateOnly, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.template = template;\n  _exports.helper = helper;\n  _exports.escapeExpression = escapeExpression;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports._resetRenderers = _resetRenderers;\n  _exports.renderSettled = renderSettled;\n  _exports.getTemplate = getTemplate;\n  _exports.setTemplate = setTemplate;\n  _exports.hasTemplate = hasTemplate;\n  _exports.getTemplates = getTemplates;\n  _exports.setTemplates = setTemplates;\n  _exports.setupEngineRegistry = setupEngineRegistry;\n  _exports.setupApplicationRegistry = setupApplicationRegistry;\n  _exports._registerMacros = registerMacros;\n  _exports.iterableFor = iterableFor;\n  _exports.capabilities = capabilities;\n  _exports.setComponentManager = setComponentManager;\n  _exports.getComponentManager = getComponentManager;\n  _exports.setModifierManager = setModifierManager;\n  _exports.getModifierManager = getModifierManager;\n  _exports.modifierCapabilities = capabilities$1;\n  _exports.setComponentTemplate = setComponentTemplate;\n  _exports.getComponentTemplate = getComponentTemplate;\n  Object.defineProperty(_exports, \"DOMChanges\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMChanges;\n    }\n  });\n  Object.defineProperty(_exports, \"DOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMTreeConstruction;\n    }\n  });\n  Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.isSerializationFirstNode;\n    }\n  });\n  Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _node.NodeDOMTreeConstruction;\n    }\n  });\n  _exports.OutletView = _exports.INVOKE = _exports.UpdatableReference = _exports.AbstractComponentManager = _exports._experimentalMacros = _exports.InteractiveRenderer = _exports.InertRenderer = _exports.Renderer = _exports.SafeString = _exports.Environment = _exports.Helper = _exports.Component = _exports.LinkComponent = _exports.TextArea = _exports.TextField = _exports.Checkbox = _exports.templateCacheCounters = _exports.RootTemplate = void 0;\n\n  function isTemplateFactory(template) {\n    return typeof template === 'function';\n  }\n\n  var counters = {\n    cacheHit: 0,\n    cacheMiss: 0\n  };\n  _exports.templateCacheCounters = counters;\n  var TEMPLATE_COMPILER_MAIN = (0, _container.privatize)`template-compiler:main`;\n\n  function template(json) {\n    var glimmerFactory = (0, _opcodeCompiler.templateFactory)(json);\n    var cache = new WeakMap();\n\n    var factory = owner => {\n      var result = cache.get(owner);\n\n      if (result === undefined) {\n        counters.cacheMiss++;\n        var compiler = owner.lookup(TEMPLATE_COMPILER_MAIN);\n        result = glimmerFactory.create(compiler, {\n          owner\n        });\n        cache.set(owner, result);\n      } else {\n        counters.cacheHit++;\n      }\n\n      return result;\n    };\n\n    factory.__id = glimmerFactory.id;\n    factory.__meta = glimmerFactory.meta;\n    return factory;\n  }\n\n  var RootTemplate = template({\n    \"id\": \"hjhxUoru\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[28,\\\"component\\\",[[23,0,[]]],null],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\"\n    }\n  });\n  /**\n  @module @ember/component\n  */\n\n  _exports.RootTemplate = RootTemplate;\n  var RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n\n  function isHelperFactory(helper) {\n    return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\n  }\n\n  function isSimpleHelper(helper) {\n    return helper.destroy === undefined;\n  }\n  /**\n    Ember Helpers are functions that can compute values, and are used in templates.\n    For example, this code calls a helper named `format-currency`:\n  \n    ```app/templates/application.hbs\n    <Cost @cents={{230}} />\n    ```\n  \n    ```app/components/cost.hbs\n    <div>{{format-currency @cents currency=\"$\"}}</div>\n    ```\n  \n    Additionally a helper can be called as a nested helper.\n    In this example, we show the formatted currency value if the `showMoney`\n    named argument is truthy.\n  \n    ```handlebars\n    {{if @showMoney (format-currency @cents currency=\"$\")}}\n    ```\n  \n    Helpers defined using a class must provide a `compute` function. For example:\n  \n    ```app/helpers/format-currency.js\n    import Helper from '@ember/component/helper';\n  \n    export default class extends Helper {\n      compute([cents], { currency }) {\n        return `${currency}${cents * 0.01}`;\n      }\n    }\n    ```\n  \n    Each time the input to a helper changes, the `compute` function will be\n    called again.\n  \n    As instances, these helpers also have access to the container and will accept\n    injected dependencies.\n  \n    Additionally, class helpers can call `recompute` to force a new computation.\n  \n    @class Helper\n    @public\n    @since 1.13.0\n  */\n\n\n  var Helper = _runtime.FrameworkObject.extend({\n    init() {\n      this._super(...arguments);\n\n      this[RECOMPUTE_TAG] = (0, _reference.createTag)();\n    },\n\n    /**\n      On a class-based helper, it may be useful to force a recomputation of that\n      helpers value. This is akin to `rerender` on a component.\n         For example, this component will rerender when the `currentUser` on a\n      session service changes:\n         ```app/helpers/current-user-email.js\n      import Helper from '@ember/component/helper'\n      import { inject as service } from '@ember/service'\n      import { observer } from '@ember/object'\n         export default Helper.extend({\n        session: service(),\n           onNewUser: observer('session.currentUser', function() {\n          this.recompute();\n        }),\n           compute() {\n          return this.get('session.currentUser.email');\n        }\n      });\n      ```\n         @method recompute\n      @public\n      @since 1.13.0\n    */\n    recompute() {\n      (0, _runloop.join)(() => (0, _reference.dirty)(this[RECOMPUTE_TAG]));\n    }\n\n  });\n\n  _exports.Helper = Helper;\n  Helper.isHelperFactory = true;\n  (0, _runtime.setFrameworkClass)(Helper);\n\n  class Wrapper {\n    constructor(compute) {\n      this.compute = compute;\n      this.isHelperFactory = true;\n    }\n\n    create() {\n      // needs new instance or will leak containers\n      return {\n        compute: this.compute\n      };\n    }\n\n  }\n  /**\n    In many cases it is not necessary to use the full `Helper` class.\n    The `helper` method create pure-function helpers without instances.\n    For example:\n  \n    ```app/helpers/format-currency.js\n    import { helper } from '@ember/component/helper';\n  \n    export default helper(function([cents], {currency}) {\n      return `${currency}${cents * 0.01}`;\n    });\n    ```\n  \n    @static\n    @param {Function} helper The helper function\n    @method helper\n    @for @ember/component/helper\n    @public\n    @since 1.13.0\n  */\n\n\n  function helper(helperFn) {\n    return new Wrapper(helperFn);\n  }\n\n  var debugRenderMessage;\n\n  if (true\n  /* DEBUG */\n  ) {\n    debugRenderMessage = renderingStack => {\n      return `While rendering:\\n----------------\\n${renderingStack.replace(/^/gm, '  ')}`;\n    };\n  }\n\n  var debugRenderMessage$1 = debugRenderMessage;\n\n  function toBool(predicate) {\n    if ((0, _runtime.isArray)(predicate)) {\n      return predicate.length !== 0;\n    } else {\n      return Boolean(predicate);\n    }\n  }\n\n  var UPDATE = (0, _utils.symbol)('UPDATE');\n  var INVOKE = (0, _utils.symbol)('INVOKE');\n  _exports.INVOKE = INVOKE;\n  var ACTION = (0, _utils.symbol)('ACTION');\n\n  class EmberPathReference {\n    get(key) {\n      return PropertyReference.create(this, key);\n    }\n\n  }\n\n  class CachedReference$1 extends EmberPathReference {\n    constructor() {\n      super();\n      this.lastRevision = null;\n      this.lastValue = null;\n    }\n\n    value() {\n      var {\n        tag,\n        lastRevision,\n        lastValue\n      } = this;\n\n      if (lastRevision === null || !(0, _reference.validate)(tag, lastRevision)) {\n        lastValue = this.lastValue = this.compute();\n        this.lastRevision = (0, _reference.value)(tag);\n      }\n\n      return lastValue;\n    }\n\n  }\n\n  class RootReference extends _reference.ConstReference {\n    constructor(value$$1, env) {\n      super(value$$1);\n      this.env = env;\n      this.children = Object.create(null);\n    }\n\n    static create(value$$1, env) {\n      return valueToRef(value$$1, true, env);\n    }\n\n    get(propertyKey) {\n      var ref = this.children[propertyKey];\n\n      if (ref === undefined) {\n        ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey, this.env);\n      }\n\n      return ref;\n    }\n\n  }\n\n  class PropertyReference extends CachedReference$1 {\n    static create(parentReference, propertyKey) {\n      if ((0, _reference.isConst)(parentReference)) {\n        return valueKeyToRef(parentReference.value(), propertyKey);\n      } else {\n        return new NestedPropertyReference(parentReference, propertyKey);\n      }\n    }\n\n    get(key) {\n      return new NestedPropertyReference(this, key);\n    }\n\n  }\n\n  class RootPropertyReference extends PropertyReference {\n    constructor(parentValue, propertyKey, env) {\n      super();\n      this.parentValue = parentValue;\n      this.propertyKey = propertyKey;\n\n      if (true\n      /* DEBUG */\n      ) {\n        // Capture the stack when this reference is created, as that is the\n        // component/context that the component was created _in_. Later, it could\n        // be accessed from any number of components.\n        this.debugStackLog = env ? env.debugRenderTree.logCurrentRenderStack() : '';\n      }\n\n      this.propertyTag = (0, _reference.createUpdatableTag)();\n      this.tag = this.propertyTag;\n    }\n\n    compute() {\n      var {\n        parentValue,\n        propertyKey\n      } = this;\n      var ret;\n      var tag = (0, _metal.track)(() => ret = (0, _metal.get)(parentValue, propertyKey), true\n      /* DEBUG */\n      && debugRenderMessage$1(this['debug']()));\n      (0, _metal.consume)(tag);\n      (0, _reference.update)(this.propertyTag, tag);\n      return ret;\n    }\n\n    [UPDATE](value$$1) {\n      (0, _metal.set)(this.parentValue, this.propertyKey, value$$1);\n    }\n\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    RootPropertyReference.prototype['debug'] = function debug(subPath) {\n      var path = `this.${this['propertyKey']}`;\n\n      if (subPath) {\n        path += `.${subPath}`;\n      }\n\n      return `${this['debugStackLog']}${path}`;\n    };\n  }\n\n  class NestedPropertyReference extends PropertyReference {\n    constructor(parentReference, propertyKey) {\n      super();\n      this.parentReference = parentReference;\n      this.propertyKey = propertyKey;\n      var parentReferenceTag = parentReference.tag;\n      var propertyTag = this.propertyTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([parentReferenceTag, propertyTag]);\n    }\n\n    compute() {\n      var {\n        parentReference,\n        propertyTag,\n        propertyKey\n      } = this;\n\n      var _parentValue = parentReference.value();\n\n      var parentValueType = typeof _parentValue;\n\n      if (parentValueType === 'string' && propertyKey === 'length') {\n        return _parentValue.length;\n      }\n\n      if (parentValueType === 'object' && _parentValue !== null || parentValueType === 'function') {\n        var parentValue = _parentValue;\n        var ret;\n        var tag = (0, _metal.track)(() => ret = (0, _metal.get)(parentValue, propertyKey), true\n        /* DEBUG */\n        && debugRenderMessage$1(this['debug']()));\n        (0, _metal.consume)(tag);\n        (0, _reference.update)(propertyTag, tag);\n        return ret;\n      } else {\n        return undefined;\n      }\n    }\n\n    [UPDATE](value$$1) {\n      (0, _metal.set)(this.parentReference.value()\n      /* let the other side handle the error */\n      , this.propertyKey, value$$1);\n    }\n\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    NestedPropertyReference.prototype['debug'] = function debug(subPath) {\n      var parent = this['parentReference'];\n      var path = subPath ? `${this['propertyKey']}.${subPath}` : this['propertyKey'];\n\n      if (typeof parent['debug'] === 'function') {\n        return parent['debug'](path);\n      } else {\n        return `unknownObject.${path}`;\n      }\n    };\n  }\n\n  class UpdatableReference extends EmberPathReference {\n    constructor(value$$1) {\n      super();\n      this.tag = (0, _reference.createTag)();\n      this._value = value$$1;\n    }\n\n    value() {\n      return this._value;\n    }\n\n    update(value$$1) {\n      var {\n        _value\n      } = this;\n\n      if (value$$1 !== _value) {\n        (0, _reference.dirty)(this.tag);\n        this._value = value$$1;\n      }\n    }\n\n  }\n\n  _exports.UpdatableReference = UpdatableReference;\n\n  class ConditionalReference$1 extends _runtime2.ConditionalReference {\n    static create(reference) {\n      if ((0, _reference.isConst)(reference)) {\n        var value$$1 = reference.value();\n\n        if (!(0, _utils.isProxy)(value$$1)) {\n          return _runtime2.PrimitiveReference.create(toBool(value$$1));\n        }\n      }\n\n      return new ConditionalReference$1(reference);\n    }\n\n    constructor(reference) {\n      super(reference);\n      this.objectTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([reference.tag, this.objectTag]);\n    }\n\n    toBool(predicate) {\n      if ((0, _utils.isProxy)(predicate)) {\n        (0, _reference.update)(this.objectTag, (0, _metal.tagForProperty)(predicate, 'isTruthy'));\n        return Boolean((0, _metal.get)(predicate, 'isTruthy'));\n      } else {\n        (0, _reference.update)(this.objectTag, (0, _metal.tagFor)(predicate));\n        return toBool(predicate);\n      }\n    }\n\n  }\n\n  class SimpleHelperReference extends CachedReference$1 {\n    constructor(helper$$1, args) {\n      super();\n      this.helper = helper$$1;\n      this.args = args;\n      var computeTag = this.computeTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([args.tag, computeTag]);\n    }\n\n    static create(helper$$1, args) {\n      if ((0, _reference.isConst)(args)) {\n        var {\n          positional,\n          named\n        } = args;\n        var positionalValue = positional.value();\n        var namedValue = named.value();\n\n        if (true\n        /* DEBUG */\n        ) {\n          (0, _debug.debugFreeze)(positionalValue);\n          (0, _debug.debugFreeze)(namedValue);\n        }\n\n        var result = helper$$1(positionalValue, namedValue);\n        return valueToRef(result);\n      } else {\n        return new SimpleHelperReference(helper$$1, args);\n      }\n    }\n\n    compute() {\n      var {\n        helper: helper$$1,\n        computeTag,\n        args: {\n          positional,\n          named\n        }\n      } = this;\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      if (true\n      /* DEBUG */\n      ) {\n        (0, _debug.debugFreeze)(positionalValue);\n        (0, _debug.debugFreeze)(namedValue);\n      }\n\n      var computedValue;\n      var combinedTrackingTag = (0, _metal.track)(() => {\n        if (true\n        /* DEBUG */\n        ) {\n          (0, _metal.deprecateMutationsInAutotrackingTransaction)(() => {\n            computedValue = helper$$1(positionalValue, namedValue);\n          });\n        } else {\n          computedValue = helper$$1(positionalValue, namedValue);\n        }\n      }, true\n      /* DEBUG */\n      && debugRenderMessage$1(`(result of a \\`${(0, _utils.getDebugName)(helper$$1)}\\` helper)`));\n      (0, _reference.update)(computeTag, combinedTrackingTag);\n      return computedValue;\n    }\n\n  }\n\n  class ClassBasedHelperReference extends CachedReference$1 {\n    constructor(instance, args) {\n      super();\n      this.instance = instance;\n      this.args = args;\n      var computeTag = this.computeTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([instance[RECOMPUTE_TAG], args.tag, computeTag]);\n    }\n\n    static create(instance, args) {\n      return new ClassBasedHelperReference(instance, args);\n    }\n\n    compute() {\n      var {\n        instance,\n        computeTag,\n        args: {\n          positional,\n          named\n        }\n      } = this;\n      var positionalValue = positional.value();\n      var namedValue = named.value();\n\n      if (true\n      /* DEBUG */\n      ) {\n        (0, _debug.debugFreeze)(positionalValue);\n        (0, _debug.debugFreeze)(namedValue);\n      }\n\n      var computedValue;\n      var combinedTrackingTag = (0, _metal.track)(() => {\n        if (true\n        /* DEBUG */\n        ) {\n          (0, _metal.deprecateMutationsInAutotrackingTransaction)(() => {\n            computedValue = instance.compute(positionalValue, namedValue);\n          });\n        } else {\n          computedValue = instance.compute(positionalValue, namedValue);\n        }\n      }, true\n      /* DEBUG */\n      && debugRenderMessage$1(`(result of a \\`${(0, _utils.getDebugName)(instance)}\\` helper)`));\n      (0, _reference.update)(computeTag, combinedTrackingTag);\n      return computedValue;\n    }\n\n  }\n\n  class InternalHelperReference extends CachedReference$1 {\n    constructor(helper$$1, args) {\n      super();\n      this.helper = helper$$1;\n      this.args = args;\n      this.tag = args.tag;\n    }\n\n    compute() {\n      var {\n        helper: helper$$1,\n        args\n      } = this;\n      return helper$$1(args);\n    }\n\n  }\n\n  class UnboundReference extends _reference.ConstReference {\n    static create(value$$1) {\n      return valueToRef(value$$1, false);\n    }\n\n    get(key) {\n      return valueToRef(this.inner[key], false);\n    }\n\n  }\n\n  class ReadonlyReference extends CachedReference$1 {\n    constructor(inner) {\n      super();\n      this.inner = inner;\n      this.tag = inner.tag;\n    }\n\n    get [INVOKE]() {\n      return this.inner[INVOKE];\n    }\n\n    compute() {\n      return this.inner.value();\n    }\n\n    get(key) {\n      return this.inner.get(key);\n    }\n\n  }\n\n  function referenceFromParts(root, parts) {\n    var reference = root;\n\n    for (var _i = 0; _i < parts.length; _i++) {\n      reference = reference.get(parts[_i]);\n    }\n\n    return reference;\n  }\n\n  function isObject(value$$1) {\n    return value$$1 !== null && typeof value$$1 === 'object';\n  }\n\n  function isFunction(value$$1) {\n    return typeof value$$1 === 'function';\n  }\n\n  function ensurePrimitive(value$$1) {\n    if (true\n    /* DEBUG */\n    ) {\n      var label;\n\n      try {\n        label = ` (was \\`${String(value$$1)}\\`)`;\n      } catch (e) {\n        label = null;\n      }\n\n      (true && !(value$$1 === undefined || value$$1 === null || typeof value$$1 === 'boolean' || typeof value$$1 === 'number' || typeof value$$1 === 'string') && (0, _debug.assert)(`This is a fall-through check for typing purposes only! \\`value\\` must already be a primitive at this point.${label})`, value$$1 === undefined || value$$1 === null || typeof value$$1 === 'boolean' || typeof value$$1 === 'number' || typeof value$$1 === 'string'));\n    }\n  }\n\n  function valueToRef(value$$1, bound = true, env) {\n    if (isObject(value$$1)) {\n      // root of interop with ember objects\n      return bound ? new RootReference(value$$1, env) : new UnboundReference(value$$1);\n    } else if (isFunction(value$$1)) {\n      // ember doesn't do observing with functions\n      return new UnboundReference(value$$1);\n    } else {\n      ensurePrimitive(value$$1);\n      return _runtime2.PrimitiveReference.create(value$$1);\n    }\n  }\n\n  function valueKeyToRef(value$$1, key) {\n    if (isObject(value$$1)) {\n      // root of interop with ember objects\n      return new RootPropertyReference(value$$1, key);\n    } else if (isFunction(value$$1)) {\n      // ember doesn't do observing with functions\n      return new UnboundReference(value$$1[key]);\n    } else {\n      ensurePrimitive(value$$1);\n      return _runtime2.UNDEFINED_REFERENCE;\n    }\n  }\n\n  var DIRTY_TAG = (0, _utils.symbol)('DIRTY_TAG');\n  var ARGS = (0, _utils.symbol)('ARGS');\n  var IS_DISPATCHING_ATTRS = (0, _utils.symbol)('IS_DISPATCHING_ATTRS');\n  var HAS_BLOCK = (0, _utils.symbol)('HAS_BLOCK');\n  var BOUNDS = (0, _utils.symbol)('BOUNDS');\n  /**\n  @module @ember/component\n  */\n\n  /**\n    A component is an isolated piece of UI, represented by a template and an\n    optional class. When a component has a class, its template's `this` value\n    is an instance of the component class.\n  \n    ## Template-only Components\n  \n    The simplest way to create a component is to create a template file in\n    `app/templates/components`. For example, if you name a template\n    `app/templates/components/person-profile.hbs`:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    <img src={{@person.avatar}}>\n    <p class='signature'>{{@person.signature}}</p>\n    ```\n  \n    You will be able to use `<PersonProfile />` to invoke this component elsewhere\n    in your application:\n  \n    ```app/templates/application.hbs\n    <PersonProfile @person={{this.currentUser}} />\n    ```\n  \n    Note that component names are capitalized here in order to distinguish them\n    from regular HTML elements, but they are dasherized in the file system.\n  \n    While the angle bracket invocation form is generally preferred, it is also\n    possible to invoke the same component with the `{{person-profile}}` syntax:\n  \n    ```app/templates/application.hbs\n    {{person-profile person=this.currentUser}}\n    ```\n  \n    Note that with this syntax, you use dashes in the component name and\n    arguments are passed without the `@` sign.\n  \n    In both cases, Ember will render the content of the component template we\n    created above. The end result will be something like this:\n  \n    ```html\n    <h1>Tomster</h1>\n    <img src=\"https://emberjs.com/tomster.jpg\">\n    <p class='signature'>Out of office this week</p>\n    ```\n  \n    ## File System Nesting\n  \n    Components can be nested inside sub-folders for logical groupping. For\n    example, if we placed our template in\n    `app/templates/components/person/short-profile.hbs`, we can invoke it as\n    `<Person::ShortProfile />`:\n  \n    ```app/templates/application.hbs\n    <Person::ShortProfile @person={{this.currentUser}} />\n    ```\n  \n    Or equivalently, `{{person/short-profile}}`:\n  \n    ```app/templates/application.hbs\n    {{person/short-profile person=this.currentUser}}\n    ```\n  \n    ## Yielding Contents\n  \n    You can use `yield` inside a template to include the **contents** of any block\n    attached to the component. The block will be executed in its original context:\n  \n    ```handlebars\n    <PersonProfile @person={{this.currentUser}}>\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile person=this.currentUser}}\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    {{/person-profile}}\n    ```\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing Components With JavaScript\n  \n    If you want to customize the component in order to handle events, transform\n    arguments or maintain internal state, you implement a subclass of `Component`.\n  \n    One example is to add computed properties to your component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n        let { title, firstName, lastName } = this;\n  \n        if (title) {\n          return `${title} ${lastName}`;\n        } else {\n          return `${firstName} ${lastName}`;\n        }\n      })\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{this.displayName}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing a Component's HTML Element in JavaScript\n  \n    ### HTML Tag\n  \n    The default HTML tag name used for a component's HTML representation is `div`.\n    This can be customized by setting the `tagName` property.\n  \n    Consider the following component class:\n  \n    ```app/components/emphasized-paragraph.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'em'\n    });\n    ```\n  \n    When invoked, this component would produce output that looks something like\n    this:\n  \n    ```html\n    <em id=\"ember1\" class=\"ember-view\"></em>\n    ```\n  \n    ### HTML `class` Attribute\n  \n    The HTML `class` attribute of a component's tag can be set by providing a\n    `classNames` property that is set to an array of strings:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class']\n    });\n    ```\n  \n    Invoking this component will produce output that looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n    ```\n  \n    `class` attribute values can also be set by providing a `classNameBindings`\n    property set to an array of properties names for the component. The return\n    value of these properties will be added as part of the value for the\n    components's `class` attribute. These properties can be computed properties:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class'],\n      classNameBindings: ['propertyA', 'propertyB'],\n  \n      propertyA: 'from-a',\n      propertyB: computed(function() {\n        if (someLogic) { return 'from-b'; }\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    Note that `classNames` and `classNameBindings` is in addition to the `class`\n    attribute passed with the angle bracket invocation syntax. Therefore, if this\n    component was invoked like so:\n  \n    ```handlebars\n    <MyWidget class=\"from-invocation\" />\n    ```\n  \n    The resulting HTML will look similar to this:\n  \n    ```html\n    <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    If the value of a class name binding returns a boolean the property name\n    itself will be used as the class name if the property is true. The class name\n    will not be added if the value is `false` or `undefined`.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['hovered'],\n  \n      hovered: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view hovered\"></div>\n    ```\n  \n    ### Custom Class Names for Boolean Values\n  \n    When using boolean class name bindings you can supply a string value other\n    than the property name for use as the `class` HTML attribute by appending the\n    preferred value after a \":\" character when defining the binding:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['awesome:so-very-cool'],\n  \n      awesome: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n    ```\n  \n    Boolean value class name bindings whose property names are in a\n    camelCase-style format will be converted to a dasherized format:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isUrgent'],\n  \n      isUrgent: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n    ```\n  \n    Class name bindings can also refer to object values that are found by\n    traversing a path relative to the component itself:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import EmberObject from '@ember/object';\n  \n    export default Component.extend({\n      classNameBindings: ['messages.empty'],\n  \n      messages: EmberObject.create({\n        empty: true\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view empty\"></div>\n    ```\n  \n    If you want to add a class name for a property which evaluates to true and\n    and a different class name if it evaluates to false, you can pass a binding\n    like this:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isEnabled:enabled:disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view enabled\"></div>\n    ```\n  \n    When isEnabled is `false`, the resulting HTML representation looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    This syntax offers the convenience to add a class if a property is `false`:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n    export default Component.extend({\n      classNameBindings: ['isEnabled::disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component when the `isEnabled` property is true will produce\n    HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view\"></div>\n    ```\n  \n    Invoking it when the `isEnabled` property on the component is `false` will\n    produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    Updates to the value of a class name binding will result in automatic update\n    of the  HTML `class` attribute in the component's rendered HTML\n    representation. If the value becomes `false` or `undefined` the class name\n    will be removed.\n  \n    Both `classNames` and `classNameBindings` are concatenated properties. See\n    [EmberObject](/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ### Other HTML Attributes\n  \n    The HTML attribute section of a component's tag can be set by providing an\n    `attributeBindings` property set to an array of property names on the component.\n    The return value of these properties will be used as the value of the component's\n    HTML associated attribute:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['href'],\n  \n      href: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    One property can be mapped on to another by placing a \":\" between\n    the source property and the destination property:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['url:href'],\n  \n      url: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    HTML attributes passed with angle bracket invocations will take precedence\n    over those specified in `attributeBindings`. Therefore, if this component was\n    invoked like so:\n  \n    ```handlebars\n    <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n    ```\n  \n    The resulting HTML will looks like this:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n    ```\n  \n    Note that the `href` attribute is ultimately set to `http://bing.com`,\n    despite it having attribute binidng to the `url` property, which was\n    set to `http://google.com`.\n  \n    Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n    mapped, since `:` is not a valid character for properties in Javascript:\n  \n    ```app/components/my-use.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'use',\n      attributeBindings: ['xlinkHref:xlink:href'],\n  \n      xlinkHref: '#triangle'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <use xlink:href=\"#triangle\"></use>\n    ```\n  \n    If the value of a property monitored by `attributeBindings` is a boolean, the\n    attribute will be present or absent depending on the value:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: false\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <input id=\"ember1\" class=\"ember-view\" />\n    ```\n  \n    `attributeBindings` can refer to computed properties:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: computed(function() {\n        if (someLogic) {\n          return true;\n        } else {\n          return false;\n        }\n      })\n    });\n    ```\n  \n    To prevent setting an attribute altogether, use `null` or `undefined` as the\n    value of the property used in `attributeBindings`:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'form',\n      attributeBindings: ['novalidate'],\n      novalidate: null\n    });\n    ```\n  \n    Updates to the property of an attribute binding will result in automatic\n    update of the  HTML attribute in the component's HTML output.\n  \n    `attributeBindings` is a concatenated property. See\n    [EmberObject](/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ## Layouts\n  \n    The `layout` property can be used to dynamically specify a template associated\n    with a component class, instead of relying on Ember to link together a\n    component class and a template based on file names.\n  \n    In general, applications should not use this feature, but it's commonly used\n    in addons for historical reasons.\n  \n    The `layout` property should be set to the default export of a template\n    module, which is the name of a template file without the `.hbs` extension.\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>Person's Title</h1>\n    <div class='details'>{{yield}}</div>\n    ```\n  \n    ```app/components/person-profile.js\n      import Component from '@ember/component';\n      import layout from '../templates/components/person-profile';\n  \n      export default Component.extend({\n        layout\n      });\n    ```\n  \n    If you invoke the component:\n  \n    ```handlebars\n    <PersonProfile>\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile}}\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    {{/person-profile}}\n    ```\n  \n    It will result in the following HTML output:\n  \n    ```html\n    <h1>Person's Title</h1>\n      <div class=\"details\">\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </div>\n    ```\n  \n    ## Handling Browser Events\n  \n    Components can respond to user-initiated events in one of three ways: passing\n    actions with angle bracket invocation, adding event handler methods to the\n    component's class, or adding actions to the component's template.\n  \n    ### Passing Actions With Angle Bracket Invoation\n  \n    For one-off events specific to particular instance of a component, it is possible\n    to pass actions to the component's element using angle bracket invoation syntax.\n  \n    ```handlebars\n    <MyWidget {{action 'firstWidgetClicked'}} />\n  \n    <MyWidget {{action 'secondWidgetClicked'}} />\n    ```\n  \n    In this case, when the first component is clicked on, Ember will invoke the\n    `firstWidgetClicked` action. When the second component is clicked on, Ember\n    will invoke the `secondWidgetClicked` action instead.\n  \n    Besides `{{action}}`, it is also possible to pass any arbitrary element modifiers\n    using the angle bracket invocation syntax.\n  \n    ### Event Handler Methods\n  \n    Components can also respond to user-initiated events by implementing a method\n    that matches the event name. This approach is appropiate when the same event\n    should be handled by all instances of the same component.\n  \n    An event object will be passed as the argument to the event handler method.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click(event) {\n        // `event.target` is either the component's element or one of its children\n        let tag = event.target.tagName.toLowerCase();\n        console.log('clicked on a `<${tag}>` HTML element!');\n      }\n    });\n    ```\n  \n    In this example, whenever the user clicked anywhere inside the component, it\n    will log a message to the console.\n  \n    It is possible to handle event types other than `click` by implementing the\n    following event handler methods. In addition, custom events can be registered\n    by using `Application.customEvents`.\n  \n    Touch events:\n  \n    * `touchStart`\n    * `touchMove`\n    * `touchEnd`\n    * `touchCancel`\n  \n    Keyboard events:\n  \n    * `keyDown`\n    * `keyUp`\n    * `keyPress`\n  \n    Mouse events:\n  \n    * `mouseDown`\n    * `mouseUp`\n    * `contextMenu`\n    * `click`\n    * `doubleClick`\n    * `focusIn`\n    * `focusOut`\n  \n    Form events:\n  \n    * `submit`\n    * `change`\n    * `focusIn`\n    * `focusOut`\n    * `input`\n  \n    Drag and drop events:\n  \n    * `dragStart`\n    * `drag`\n    * `dragEnter`\n    * `dragLeave`\n    * `dragOver`\n    * `dragEnd`\n    * `drop`\n  \n    ### `{{action}}` Helper\n  \n    Instead of handling all events of a particular type anywhere inside the\n    component's element, you may instead want to limit it to a particular\n    element in the component's template. In this case, it would be more\n    convenient to implement an action instead.\n  \n    For example, you could implement the action `hello` for the `person-profile`\n    component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        hello(name) {\n          console.log(\"Hello\", name);\n        }\n      }\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n  \n    <button {{action 'hello' @person.name}}>\n      Say Hello to {{@person.name}}\n    </button>\n    ```\n  \n    When the user clicks the button, Ember will invoke the `hello` action,\n    passing in the current value of `@person.name` as an argument.\n  \n    See [Ember.Templates.helpers.action](/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).\n  \n    @class Component\n    @extends Ember.CoreView\n    @uses Ember.TargetActionSupport\n    @uses Ember.ClassNamesSupport\n    @uses Ember.ActionSupport\n    @uses Ember.ViewMixin\n    @uses Ember.ViewStateSupport\n    @public\n  */\n\n  var Component = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n    isComponent: true,\n\n    init() {\n      this._super(...arguments);\n\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = (0, _reference.createTag)();\n      this[BOUNDS] = null;\n\n      if (true\n      /* DEBUG */\n      && this.renderer._destinedForDOM && this.tagName === '') {\n        var eventNames = [];\n        var eventDispatcher = (0, _owner.getOwner)(this).lookup('event_dispatcher:main');\n        var events = eventDispatcher && eventDispatcher._finalEvents || {}; // tslint:disable-next-line:forin\n\n        for (var key in events) {\n          var methodName = events[key];\n\n          if (typeof this[methodName] === 'function') {\n            eventNames.push(methodName);\n          }\n        } // If in a tagless component, assert that no event handlers are defined\n\n\n        (true && !(!eventNames.length) && (0, _debug.assert)( // tslint:disable-next-line:max-line-length\n        `You can not define \\`${eventNames}\\` function(s) to handle DOM event in the \\`${this}\\` tagless component since it doesn't have any DOM element.`, !eventNames.length));\n      }\n\n      (true && !(this.mouseEnter === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseEnter\\` event handler methods in components has been deprecated.`, this.mouseEnter === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n      }));\n      (true && !(this.mouseLeave === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseLeave\\` event handler methods in components has been deprecated.`, this.mouseLeave === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n      }));\n      (true && !(this.mouseMove === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseMove\\` event handler methods in components has been deprecated.`, this.mouseMove === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n      }));\n    },\n\n    rerender() {\n      (0, _reference.dirty)(this[DIRTY_TAG]);\n\n      this._super();\n    },\n\n    [_metal.PROPERTY_DID_CHANGE](key, value$$1) {\n      if (this[IS_DISPATCHING_ATTRS]) {\n        return;\n      }\n\n      var args = this[ARGS];\n      var reference = args !== undefined ? args[key] : undefined;\n\n      if (reference !== undefined && reference[UPDATE] !== undefined) {\n        reference[UPDATE](arguments.length === 2 ? value$$1 : (0, _metal.get)(this, key));\n      }\n    },\n\n    getAttr(key) {\n      // TODO Intimate API should be deprecated\n      return this.get(key);\n    },\n\n    /**\n      Normally, Ember's component model is \"write-only\". The component takes a\n      bunch of attributes that it got passed in, and uses them to render its\n      template.\n       One nice thing about this model is that if you try to set a value to the\n      same thing as last time, Ember (through HTMLBars) will avoid doing any\n      work on the DOM.\n       This is not just a performance optimization. If an attribute has not\n      changed, it is important not to clobber the element's \"hidden state\".\n      For example, if you set an input's `value` to the same value as before,\n      it will clobber selection state and cursor position. In other words,\n      setting an attribute is not **always** idempotent.\n       This method provides a way to read an element's attribute and also\n      update the last value Ember knows about at the same time. This makes\n      setting an attribute idempotent.\n       In particular, what this means is that if you get an `<input>` element's\n      `value` attribute and then re-render the template with the same value,\n      it will avoid clobbering the cursor and selection position.\n      Since most attribute sets are idempotent in the browser, you typically\n      can get away with reading attributes using jQuery, but the most reliable\n      way to do so is through this method.\n      @method readDOMAttr\n       @param {String} name the name of the attribute\n      @return String\n      @public\n     */\n    readDOMAttr(name) {\n      // TODO revisit this\n      var _element = (0, _views.getViewElement)(this);\n\n      (true && !(_element !== null) && (0, _debug.assert)(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`, _element !== null));\n      var element = _element;\n      var isSVG = element.namespaceURI === _runtime2.SVG_NAMESPACE;\n      var {\n        type,\n        normalized\n      } = (0, _runtime2.normalizeProperty)(element, name);\n\n      if (isSVG || type === 'attr') {\n        return element.getAttribute(normalized);\n      }\n\n      return element[normalized];\n    },\n\n    /**\n     The WAI-ARIA role of the control represented by this view. For example, a\n     button may have a role of type 'button', or a pane may have a role of\n     type 'alertdialog'. This property is used by assistive software to help\n     visually challenged users navigate rich web applications.\n      The full list of valid WAI-ARIA roles is available at:\n     [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)\n      @property ariaRole\n     @type String\n     @default null\n     @public\n     */\n\n    /**\n     Enables components to take a list of parameters as arguments.\n     For example, a component that takes two parameters with the names\n     `name` and `age`:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      let MyComponent = Component.extend();\n      MyComponent.reopenClass({\n       positionalParams: ['name', 'age']\n     });\n      export default MyComponent;\n     ```\n      It can then be invoked like this:\n      ```hbs\n     {{my-component \"John\" 38}}\n     ```\n      The parameters can be referred to just like named parameters:\n      ```hbs\n     Name: {{name}}, Age: {{age}}.\n     ```\n      Using a string instead of an array allows for an arbitrary number of\n     parameters:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      let MyComponent = Component.extend();\n      MyComponent.reopenClass({\n       positionalParams: 'names'\n     });\n      export default MyComponent;\n     ```\n      It can then be invoked like this:\n      ```hbs\n     {{my-component \"John\" \"Michael\" \"Scott\"}}\n     ```\n     The parameters can then be referred to by enumerating over the list:\n      ```hbs\n     {{#each names as |name|}}{{name}}{{/each}}\n     ```\n      @static\n     @public\n     @property positionalParams\n     @since 1.13.0\n     */\n\n    /**\n     Called when the attributes passed into the component have been updated.\n     Called both during the initial render of a container and during a rerender.\n     Can be used in place of an observer; code placed here will be executed\n     every time any attribute updates.\n     @method didReceiveAttrs\n     @public\n     @since 1.13.0\n     */\n    didReceiveAttrs() {},\n\n    /**\n     Called when the attributes passed into the component have been updated.\n     Called both during the initial render of a container and during a rerender.\n     Can be used in place of an observer; code placed here will be executed\n     every time any attribute updates.\n     @event didReceiveAttrs\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called after a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @method didRender\n     @public\n     @since 1.13.0\n     */\n    didRender() {},\n\n    /**\n     Called after a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @event didRender\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called before a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @method willRender\n     @public\n     @since 1.13.0\n     */\n    willRender() {},\n\n    /**\n     Called before a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @event willRender\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the attributes passed into the component have been changed.\n     Called only during a rerender, not during an initial render.\n     @method didUpdateAttrs\n     @public\n     @since 1.13.0\n     */\n    didUpdateAttrs() {},\n\n    /**\n     Called when the attributes passed into the component have been changed.\n     Called only during a rerender, not during an initial render.\n     @event didUpdateAttrs\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the component is about to update and rerender itself.\n     Called only during a rerender, not during an initial render.\n     @method willUpdate\n     @public\n     @since 1.13.0\n     */\n    willUpdate() {},\n\n    /**\n     Called when the component is about to update and rerender itself.\n     Called only during a rerender, not during an initial render.\n     @event willUpdate\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the component has updated and rerendered itself.\n     Called only during a rerender, not during an initial render.\n     @method didUpdate\n     @public\n     @since 1.13.0\n     */\n    didUpdate() {}\n\n  });\n\n  _exports.Component = Component;\n\n  Component.toString = () => '@ember/component';\n\n  Component.reopenClass({\n    isComponentFactory: true,\n    positionalParams: []\n  });\n  (0, _runtime.setFrameworkClass)(Component);\n  var layout = template({\n    \"id\": \"hvtsz7RF\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\"\n    }\n  });\n  /**\n  @module @ember/component\n  */\n\n  /**\n    The internal class used to create text inputs when the `{{input}}`\n    helper is used with `type` of `checkbox`.\n  \n    See [Ember.Templates.helpers.input](/ember/release/classes/Ember.Templates.helpers/methods/input?anchor=input)  for usage details.\n  \n    ## Direct manipulation of `checked`\n  \n    The `checked` attribute of an `Checkbox` object should always be set\n    through the Ember object or by interacting with its rendered element\n    representation via the mouse, keyboard, or touch. Updating the value of the\n    checkbox via jQuery will result in the checked value of the object and its\n    element losing synchronization.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class Checkbox\n    @extends Component\n    @public\n  */\n\n  var Checkbox = Component.extend({\n    layout,\n\n    /**\n      By default, this component will add the `ember-checkbox` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-checkbox']\n      @public\n     */\n    classNames: ['ember-checkbox'],\n    tagName: 'input',\n\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * indeterminate\n      * disabled\n      * tabindex\n      * name\n      * autofocus\n      * required\n      * form\n         When invoked with curly braces, this is the exhaustive list of HTML attributes you can\n      customize (i.e. `{{input type=\"checkbox\" disabled=true}}`).\n         When invoked with angle bracket invocation, this list is irrelevant, because you can use HTML\n      attribute syntax to customize the element (i.e.\n      `<Input @type=\"checkbox\" disabled data-custom=\"custom value\" />`). However, `@type` and\n      `@checked` must be passed as named arguments, not attributes.\n         @property attributeBindings\n      @type Array | String\n      @default ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form']\n      @public\n    */\n    attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n\n    /**\n      Sets the `type` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @private\n     */\n    type: 'checkbox',\n\n    /**\n      Sets the `disabled` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    disabled: false,\n\n    /**\n      Corresponds to the `indeterminate` property of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    indeterminate: false,\n\n    /**\n      Whenever the checkbox is inserted into the DOM, perform initialization steps, which include\n      setting the indeterminate property if needed.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    didInsertElement() {\n      this._super(...arguments);\n\n      this.element.indeterminate = Boolean(this.indeterminate);\n    },\n\n    /**\n      Whenever the `change` event is fired on the checkbox, update its `checked` property to reflect\n      whether the checkbox is checked.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    change() {\n      (0, _metal.set)(this, 'checked', this.element.checked);\n    }\n\n  });\n  _exports.Checkbox = Checkbox;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var UNSET = {};\n    Checkbox.reopen({\n      value: UNSET,\n\n      didReceiveAttrs() {\n        this._super();\n\n        (true && !(!(this.type === 'checkbox' && this.value !== UNSET)) && (0, _debug.assert)(\"`<Input @type='checkbox' @value={{...}} />` is not supported; \" + \"please use `<Input @type='checkbox' @checked={{...}} />` instead.\", !(this.type === 'checkbox' && this.value !== UNSET)));\n      }\n\n    });\n  }\n\n  Checkbox.toString = () => '@ember/component/checkbox';\n  /**\n  @module @ember/component\n  */\n\n\n  var inputTypes = _browserEnvironment.hasDOM ? Object.create(null) : null;\n\n  function canSetTypeOfInput(type) {\n    // if running in outside of a browser always return\n    // the original type\n    if (!_browserEnvironment.hasDOM) {\n      return Boolean(type);\n    }\n\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n\n    var inputTypeTestElement = document.createElement('input');\n\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {// ignored\n    }\n\n    return inputTypes[type] = inputTypeTestElement.type === type;\n  }\n  /**\n    The internal class used to create text inputs when the `Input` component is used with `type` of `text`.\n  \n    See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input) for usage details.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class TextField\n    @extends Component\n    @uses Ember.TextSupport\n    @public\n  */\n\n\n  var TextField = Component.extend(_views.TextSupport, {\n    layout,\n\n    /**\n      By default, this component will add the `ember-text-field` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-text-field']\n      @public\n     */\n    classNames: ['ember-text-field'],\n    tagName: 'input',\n\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * accept\n      * autocomplete\n      * autosave\n      * dir\n      * formaction\n      * formenctype\n      * formmethod\n      * formnovalidate\n      * formtarget\n      * height\n      * inputmode\n      * lang\n      * list\n      * type\n      * max\n      * min\n      * multiple\n      * name\n      * pattern\n      * size\n      * step\n      * value\n      * width\n         When invoked with `{{input type=\"text\"}}`, you can only customize these attributes. When invoked\n      with `<Input @type=\"text\" />`, you can just use HTML attributes directly.\n         @property attributeBindings\n      @type Array | String\n      @default ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width']\n      @public\n    */\n    attributeBindings: ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width'],\n\n    /**\n      As the user inputs text, this property is updated to reflect the `value` property of the HTML\n      element.\n         @property value\n      @type String\n      @default \"\"\n      @public\n    */\n    value: '',\n\n    /**\n      The `type` attribute of the input element.\n         @property type\n      @type String\n      @default \"text\"\n      @public\n    */\n    type: (0, _metal.computed)({\n      get() {\n        return 'text';\n      },\n\n      set(_key, value$$1) {\n        var type = 'text';\n\n        if (canSetTypeOfInput(value$$1)) {\n          type = value$$1;\n        }\n\n        return type;\n      }\n\n    }),\n\n    /**\n      The `size` of the text field in characters.\n         @property size\n      @type String\n      @default null\n      @public\n    */\n    size: null,\n\n    /**\n      The `pattern` attribute of input element.\n         @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\n\n    /**\n      The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property min\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    min: null,\n\n    /**\n      The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property max\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    max: null\n  });\n  _exports.TextField = TextField;\n\n  TextField.toString = () => '@ember/component/text-field';\n  /**\n  @module @ember/component\n  */\n\n  /**\n    The `Textarea` component inserts a new instance of `<textarea>` tag into the template.\n  \n    The `@value` argument provides the content of the `<textarea>`.\n  \n    This template:\n  \n    ```handlebars\n    <Textarea @value=\"A bunch of text\" />\n    ```\n  \n    Would result in the following HTML:\n  \n    ```html\n    <textarea class=\"ember-text-area\">\n      A bunch of text\n    </textarea>\n    ```\n  \n    The `@value` argument is two-way bound. If the user types text into the textarea, the `@value`\n    argument is updated. If the `@value` argument is updated, the text in the textarea is updated.\n  \n    In the following example, the `writtenWords` property on the component will be updated as the user\n    types 'Lots of text' into the text area of their browser's window.\n  \n    ```app/components/word-editor.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class WordEditorComponent extends Component {\n      @tracked writtenWords = \"Lots of text that IS bound\";\n    }\n    ```\n  \n    ```handlebars\n    <Textarea @value={{writtenWords}} />\n    ```\n  \n    Would result in the following HTML:\n  \n    ```html\n    <textarea class=\"ember-text-area\">\n      Lots of text that IS bound\n    </textarea>\n    ```\n  \n    If you wanted a one way binding, you could use the `<textarea>` element directly, and use the\n    `value` DOM property and the `input` event.\n  \n    ### Actions\n  \n    The `Textarea` component takes a number of arguments with callbacks that are invoked in\n    response to user events.\n  \n    * `enter`\n    * `insert-newline`\n    * `escape-press`\n    * `focus-in`\n    * `focus-out`\n    * `key-press`\n  \n    These callbacks are passed to `Textarea` like this:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    ## Classic Invocation Syntax\n  \n    The `Textarea` component can also be invoked using curly braces, just like any other Ember\n    component.\n  \n    For example, this is an invocation using angle-bracket notation:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    You could accomplish the same thing using classic invocation:\n  \n    ```handlebars\n    {{textarea value=this.searchWord enter=this.query}}\n    ```\n  \n    The main difference is that angle-bracket invocation supports any HTML attribute using HTML\n    attribute syntax, because attributes and arguments have different syntax when using angle-bracket\n    invocation. Curly brace invocation, on the other hand, only has a single syntax for arguments,\n    and components must manually map attributes onto component arguments.\n  \n    When using classic invocation with `{{textarea}}`, only the following attributes are mapped onto\n    arguments:\n  \n    * rows\n    * cols\n    * name\n    * selectionEnd\n    * selectionStart\n    * autocomplete\n    * wrap\n    * lang\n    * dir\n    * value\n  \n    ## Classic `layout` and `layoutName` properties\n  \n    Because HTML `textarea` elements do not contain inner HTML the `layout` and\n    `layoutName` properties will not be applied.\n  \n    @method Textarea\n    @for Ember.Templates.components\n    @see {TextArea}\n    @public\n  */\n\n  /**\n    See Ember.Templates.components.Textarea.\n  \n    @method textarea\n    @for Ember.Templates.helpers\n    @see {Ember.Templates.components.textarea}\n    @public\n  */\n\n  /**\n    The internal representation used for `Textarea` invocations.\n  \n    @class TextArea\n    @extends Component\n    @see {Ember.Templates.components.Textarea}\n    @uses Ember.TextSupport\n    @public\n  */\n\n\n  var TextArea = Component.extend(_views.TextSupport, {\n    classNames: ['ember-text-area'],\n    layout,\n    tagName: 'textarea',\n    attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n    rows: null,\n    cols: null\n  });\n  _exports.TextArea = TextArea;\n\n  TextArea.toString = () => '@ember/component/text-area';\n\n  var layout$1 = template({\n    \"id\": \"giTNx+op\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[25,1]],null,{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[23,0,[\\\"linkTitle\\\"]],false]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\"\n    }\n  });\n  /**\n  @module ember\n  */\n\n  /**\n    The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\n    supplied model to the route as its `model` context of the route. The block for `LinkTo`\n    becomes the contents of the rendered element:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This will result in:\n  \n    ```html\n    <a href=\"/hamster-photos\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    ### Disabling the `LinkTo` component\n  \n    The `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\n    doesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\n    element.\n  \n    (The class name to apply to the element can be overridden by using the `disabledClass`\n    argument)\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @disabled={{true}}>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    ### Handling `href`\n  \n    `<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\n    that matches the path to the supplied `routeName`.\n  \n    ### Handling current route\n  \n    The `LinkTo` component will apply a CSS class name of 'active' when the application's current\n    route matches the supplied routeName. For example, if the application's current route is\n    'photoGallery.recent', then the following invocation of `LinkTo`:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.recent'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    will result in\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"active\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    The CSS class used for active classes can be customized by passing an `activeClass` argument:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    ### Keeping a link active for other routes\n  \n    If you need a link to be 'active' even when it doesn't match the current route, you can use the\n    `current-when` argument.\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @current-when='photos'>\n      Photo Gallery\n    </LinkTo>\n    ```\n  \n    This may be helpful for keeping links active for:\n  \n    * non-nested routes that are logically related\n    * some secondary menu approaches\n    * 'top navigation' with 'sub navigation' scenarios\n  \n    A link will be active if `current-when` is `true` or the current\n    route is the route this link would transition to.\n  \n    To match multiple routes 'space-separate' the routes:\n  \n    ```handlebars\n    <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n      Art Gallery\n    </LinkTo>\n    ```\n  \n    ### Supplying a model\n  \n    An optional `model` argument can be used for routes whose\n    paths contain dynamic segments. This argument will become\n    the model context of the linked route:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n    });\n    ```\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n      {{aPhoto.title}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    ### Supplying multiple models\n  \n    For deep-linking to route paths that contain multiple\n    dynamic segments, the `models` argument can be used.\n  \n    As the router transitions through the route path, each\n    supplied model argument will become the context for the\n    route with the dynamic segments:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n        this.route(\"comment\", {path: \"comments/:comment_id\"});\n      });\n    });\n    ```\n  \n    This argument will become the model context of the linked route:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n      {{comment.body}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42/comments/718\">\n      A+++ would snuggle again.\n    </a>\n    ```\n  \n    ### Supplying an explicit dynamic segment value\n  \n    If you don't have a model object available to pass to `LinkTo`,\n    an optional string or integer argument can be passed for routes whose\n    paths contain dynamic segments. This argument will become the value\n    of the dynamic segment:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n    });\n    ```\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n      {{this.aPhoto.title}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    When transitioning into the linked route, the `model` hook will\n    be triggered with parameters including this passed identifier.\n  \n    ### Allowing Default Action\n  \n    By default the `<LinkTo>` component prevents the default browser action by calling\n    `preventDefault()` to avoid reloading the browser page.\n  \n    If you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n      {{this.aPhotoId.title}}\n    </LinkTo>\n    ```\n  \n    ### Supplying a `tagName`\n  \n    By default `<LinkTo>` renders an `<a>` element. This can be overridden for a single use of\n    `<LinkTo>` by supplying a `tagName` argument:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @tagName='li'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This produces:\n  \n    ```html\n    <li>\n      Great Hamster Photos\n    </li>\n    ```\n  \n    In general, this is not recommended. Instead, you can use the `transition-to` helper together\n    with a click event handler on the HTML tag of your choosing.\n  \n    @for Ember.Templates.components\n    @method LinkTo\n    @see {LinkComponent}\n    @public\n  */\n\n  /**\n    @module @ember/routing\n  */\n\n  /**\n    See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n  \n    @for Ember.Templates.helpers\n    @method link-to\n    @see {Ember.Templates.components.LinkTo}\n    @public\n  **/\n\n  /**\n    `LinkComponent` is the internal component invoked with `<LinkTo>` or `{{link-to}}`.\n  \n    @class LinkComponent\n    @extends Component\n    @see {Ember.Templates.components.LinkTo}\n    @public\n  **/\n\n  var UNDEFINED = Object.freeze({\n    toString() {\n      return 'UNDEFINED';\n    }\n\n  });\n  var EMPTY_QUERY_PARAMS = Object.freeze({});\n  var LinkComponent = Component.extend({\n    layout: layout$1,\n    tagName: 'a',\n\n    /**\n      @property route\n      @public\n    */\n    route: UNDEFINED,\n\n    /**\n      @property model\n      @public\n    */\n    model: UNDEFINED,\n\n    /**\n      @property models\n      @public\n    */\n    models: UNDEFINED,\n\n    /**\n      @property query\n      @public\n    */\n    query: UNDEFINED,\n\n    /**\n      Used to determine when this `LinkComponent` is active.\n         @property current-when\n      @public\n    */\n    'current-when': null,\n\n    /**\n      Sets the `title` attribute of the `LinkComponent`'s HTML element.\n         @property title\n      @default null\n      @public\n    **/\n    title: null,\n\n    /**\n      Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n         @property rel\n      @default null\n      @public\n    **/\n    rel: null,\n\n    /**\n      Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n         @property tabindex\n      @default null\n      @public\n    **/\n    tabindex: null,\n\n    /**\n      Sets the `target` attribute of the `LinkComponent`'s HTML element.\n         @since 1.8.0\n      @property target\n      @default null\n      @public\n    **/\n    target: null,\n\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `active`\n      property is `true`.\n         @property activeClass\n      @type String\n      @default active\n      @public\n    **/\n    activeClass: 'active',\n\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `loading`\n      property is `true`.\n         @property loadingClass\n      @type String\n      @default loading\n      @private\n    **/\n    loadingClass: 'loading',\n\n    /**\n      The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n      property is `true`.\n         @property disabledClass\n      @type String\n      @default disabled\n      @private\n    **/\n    disabledClass: 'disabled',\n\n    /**\n      Determines whether the `LinkComponent` will trigger routing via\n      the `replaceWith` routing strategy.\n         @property replace\n      @type Boolean\n      @default false\n      @public\n    **/\n    replace: false,\n\n    /**\n      By default this component will forward `href`, `title`, `rel`, `tabindex`, and `target`\n      arguments to attributes on the component's element. When invoked with `{{link-to}}`, you can\n      only customize these attributes. When invoked with `<LinkTo>`, you can just use HTML\n      attributes directly.\n         @property attributeBindings\n      @type Array | String\n      @default ['title', 'rel', 'tabindex', 'target']\n      @public\n    */\n    attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n\n    /**\n      By default this component will set classes on its element when any of the following arguments\n      are truthy:\n         * active\n      * loading\n      * disabled\n         When these arguments are truthy, a class with the same name will be set on the element. When\n      falsy, the associated class will not be on the element.\n         @property classNameBindings\n      @type Array\n      @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n      @public\n    */\n    classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n\n    /**\n      By default this component responds to the `click` event. When the component element is an\n      `<a>` element, activating the link in another way, such as using the keyboard, triggers the\n      click event.\n         @property eventName\n      @type String\n      @default click\n      @private\n    */\n    eventName: 'click',\n\n    // this is doc'ed here so it shows up in the events\n    // section of the API documentation, which is where\n    // people will likely go looking for it.\n\n    /**\n      Triggers the `LinkComponent`'s routing behavior. If\n      `eventName` is changed to a value other than `click`\n      the routing behavior will trigger on that custom event\n      instead.\n         @event click\n      @private\n    */\n\n    /**\n      An overridable method called when `LinkComponent` objects are instantiated.\n         Example:\n         ```app/components/my-link.js\n      import LinkComponent from '@ember/routing/link-component';\n         export default LinkComponent.extend({\n        init() {\n          this._super(...arguments);\n          console.log('Event is ' + this.get('eventName'));\n        }\n      });\n      ```\n         NOTE: If you do override `init` for a framework class like `Component`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n         @method init\n      @private\n    */\n    init() {\n      this._super(...arguments); // Map desired event name to invoke function\n\n\n      var {\n        eventName\n      } = this;\n      this.on(eventName, this, this._invoke);\n    },\n\n    _routing: (0, _service.inject)('-routing'),\n    _currentRoute: (0, _metal.alias)('_routing.currentRouteName'),\n    _currentRouterState: (0, _metal.alias)('_routing.currentState'),\n    _targetRouterState: (0, _metal.alias)('_routing.targetState'),\n    _route: (0, _metal.computed)('route', '_currentRouterState', function computeLinkToComponentRoute() {\n      var {\n        route\n      } = this;\n      return route === UNDEFINED ? this._currentRoute : route;\n    }),\n    _models: (0, _metal.computed)('model', 'models', function computeLinkToComponentModels() {\n      var {\n        model,\n        models\n      } = this;\n      (true && !(model === UNDEFINED || models === UNDEFINED) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', model === UNDEFINED || models === UNDEFINED));\n\n      if (model !== UNDEFINED) {\n        return [model];\n      } else if (models !== UNDEFINED) {\n        (true && !(Array.isArray(models)) && (0, _debug.assert)('The `@models` argument must be an array.', Array.isArray(models)));\n        return models;\n      } else {\n        return [];\n      }\n    }),\n    _query: (0, _metal.computed)('query', function computeLinkToComponentQuery() {\n      var {\n        query\n      } = this;\n\n      if (query === UNDEFINED) {\n        return EMPTY_QUERY_PARAMS;\n      } else {\n        return (0, _polyfills.assign)({}, query);\n      }\n    }),\n\n    /**\n      Accessed as a classname binding to apply the component's `disabledClass`\n      CSS `class` to the element when the link is disabled.\n         When `true`, interactions with the element will not trigger route changes.\n      @property disabled\n      @private\n    */\n    disabled: (0, _metal.computed)({\n      get(_key) {\n        // always returns false for `get` because (due to the `set` just below)\n        // the cached return value from the set will prevent this getter from _ever_\n        // being called after a set has occured\n        return false;\n      },\n\n      set(_key, value$$1) {\n        this._isDisabled = value$$1;\n        return value$$1 ? this.disabledClass : false;\n      }\n\n    }),\n\n    /**\n      Accessed as a classname binding to apply the component's `activeClass`\n      CSS `class` to the element when the link is active.\n         This component is considered active when its `currentWhen` property is `true`\n      or the application's current route is the route this component would trigger\n      transitions into.\n         The `currentWhen` property can match against multiple routes by separating\n      route names using the ` ` (space) character.\n         @property active\n      @private\n    */\n    active: (0, _metal.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n      return this._active ? this.activeClass : false;\n    }),\n    _active: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentActive() {\n      var {\n        _currentRouterState: state\n      } = this;\n\n      if (state) {\n        return this._isActive(state);\n      } else {\n        return false;\n      }\n    }),\n    willBeActive: (0, _metal.computed)('_currentRouterState', '_targetRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentWillBeActive() {\n      var {\n        _currentRouterState: current,\n        _targetRouterState: target\n      } = this;\n\n      if (current === target) {\n        return;\n      }\n\n      return this._isActive(target);\n    }),\n\n    _isActive(routerState) {\n      if (this.loading) {\n        return false;\n      }\n\n      var currentWhen = this['current-when'];\n\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      }\n\n      var isCurrentWhenSpecified = Boolean(currentWhen);\n\n      if (isCurrentWhenSpecified) {\n        currentWhen = currentWhen.split(' ');\n      } else {\n        currentWhen = [this._route];\n      }\n\n      var {\n        _models: models,\n        _query: query,\n        _routing: routing\n      } = this;\n\n      for (var _i2 = 0; _i2 < currentWhen.length; _i2++) {\n        if (routing.isActiveForRoute(models, query, currentWhen[_i2], routerState, isCurrentWhenSpecified)) {\n          return true;\n        }\n      }\n\n      return false;\n    },\n\n    transitioningIn: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n      if (this.willBeActive === true && !this._active) {\n        return 'ember-transitioning-in';\n      } else {\n        return false;\n      }\n    }),\n    transitioningOut: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n      if (this.willBeActive === false && this._active) {\n        return 'ember-transitioning-out';\n      } else {\n        return false;\n      }\n    }),\n\n    /**\n      Event handler that invokes the link, activating the associated route.\n         @method _invoke\n      @param {Event} event\n      @private\n    */\n    _invoke(event) {\n      if (!(0, _views.isSimpleClick)(event)) {\n        return true;\n      }\n\n      var {\n        bubbles,\n        preventDefault\n      } = this;\n      var target = this.element.target;\n      var isSelf = !target || target === '_self';\n\n      if (preventDefault !== false && isSelf) {\n        event.preventDefault();\n      }\n\n      if (bubbles === false) {\n        event.stopPropagation();\n      }\n\n      if (this._isDisabled) {\n        return false;\n      }\n\n      if (this.loading) {\n        // tslint:disable-next-line:max-line-length\n        (true && (0, _debug.warn)('This link is in an inactive loading state because at least one of its models ' + 'currently has a null/undefined value, or the provided route name is invalid.', false, {\n          id: 'ember-glimmer.link-to.inactive-loading-state'\n        }));\n        return false;\n      }\n\n      if (!isSelf) {\n        return false;\n      }\n\n      var {\n        _route: routeName,\n        _models: models,\n        _query: queryParams,\n        replace: shouldReplace\n      } = this;\n      var payload = {\n        queryParams,\n        routeName\n      };\n      (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, routeName, models, queryParams, shouldReplace));\n      return false;\n    },\n\n    _generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n      var {\n        _routing: routing\n      } = this;\n      return () => {\n        payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n      };\n    },\n\n    /**\n      Sets the element's `href` attribute to the url for\n      the `LinkComponent`'s targeted route.\n         If the `LinkComponent`'s `tagName` is changed to a value other\n      than `a`, this property will be ignored.\n         @property href\n      @private\n    */\n    href: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'tagName', 'loading', 'loadingHref', function computeLinkToComponentHref() {\n      if (this.tagName !== 'a') {\n        return;\n      }\n\n      if (this.loading) {\n        return this.loadingHref;\n      }\n\n      var {\n        _route: route,\n        _models: models,\n        _query: query,\n        _routing: routing\n      } = this;\n\n      if (true\n      /* DEBUG */\n      ) {\n        /*\n         * Unfortunately, to get decent error messages, we need to do this.\n         * In some future state we should be able to use a \"feature flag\"\n         * which allows us to strip this without needing to call it twice.\n         *\n         * if (isDebugBuild()) {\n         *   // Do the useful debug thing, probably including try/catch.\n         * } else {\n         *   // Do the performant thing.\n         * }\n         */\n        try {\n          return routing.generateURL(route, models, query);\n        } catch (e) {\n          // tslint:disable-next-line:max-line-length\n          (true && !(false) && (0, _debug.assert)(`You attempted to generate a link for the \"${this.route}\" route, but did not ` + `pass the models required for generating its dynamic segments. ` + e.message));\n        }\n      } else {\n        return routing.generateURL(route, models, query);\n      }\n    }),\n    loading: (0, _metal.computed)('_route', '_modelsAreLoaded', 'loadingClass', function computeLinkToComponentLoading() {\n      var {\n        _route: route,\n        _modelsAreLoaded: loaded\n      } = this;\n\n      if (!loaded || route === null || route === undefined) {\n        return this.loadingClass;\n      }\n    }),\n    _modelsAreLoaded: (0, _metal.computed)('_models', function computeLinkToComponentModelsAreLoaded() {\n      var {\n        _models: models\n      } = this;\n\n      for (var _i3 = 0; _i3 < models.length; _i3++) {\n        var model = models[_i3];\n\n        if (model === null || model === undefined) {\n          return false;\n        }\n      }\n\n      return true;\n    }),\n\n    /**\n      The default href value to use while a link-to is loading.\n      Only applies when tagName is 'a'\n         @property loadingHref\n      @type String\n      @default #\n      @private\n    */\n    loadingHref: '#',\n\n    didReceiveAttrs() {\n      var {\n        disabledWhen\n      } = this;\n\n      if (disabledWhen !== undefined) {\n        this.set('disabled', disabledWhen);\n      }\n\n      var {\n        params\n      } = this;\n\n      if (!params || params.length === 0) {\n        (true && !(!(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` argument to `<LinkTo>`.', !(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)));\n        var {\n          _models: models\n        } = this;\n\n        if (models.length > 0) {\n          var lastModel = models[models.length - 1];\n\n          if (typeof lastModel === 'object' && lastModel !== null && lastModel.isQueryParams) {\n            this.query = lastModel.values;\n            models.pop();\n          }\n        }\n\n        return;\n      }\n\n      params = params.slice(); // Process the positional arguments, in order.\n      // 1. Inline link title comes first, if present.\n\n      if (!this[HAS_BLOCK]) {\n        this.set('linkTitle', params.shift());\n      } // 2. The last argument is possibly the `query` object.\n\n\n      var queryParams = params[params.length - 1];\n\n      if (queryParams && queryParams.isQueryParams) {\n        this.set('query', params.pop().values);\n      } else {\n        this.set('query', UNDEFINED);\n      } // 3. If there is a `route`, it is now at index 0.\n\n\n      if (params.length === 0) {\n        this.set('route', UNDEFINED);\n      } else {\n        this.set('route', params.shift());\n      } // 4. Any remaining indices (if any) are `models`.\n\n\n      this.set('model', UNDEFINED);\n      this.set('models', params);\n    }\n\n  });\n  _exports.LinkComponent = LinkComponent;\n\n  LinkComponent.toString = () => '@ember/routing/link-component';\n\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{#each}}` helper loops over elements in a collection. It is an extension\n    of the base Handlebars `{{#each}}` helper.\n  \n    The default behavior of `{{#each}}` is to yield its inner block once for every\n    item in an array passing the item as the first block parameter.\n  \n    Assuming the `@developers` argument contains this array:\n  \n    ```javascript\n    [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n    ```\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person|}}\n        <li>Hello, {{person.name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    The same rules apply to arrays of primitives.\n  \n    ```javascript\n    ['Yehuda', 'Tom', 'Paul']\n    ```\n  \n    ```handlebars\n    <ul>\n      {{#each @developerNames as |name|}}\n        <li>Hello, {{name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    During iteration, the index of each item in the array is provided as a second block\n    parameter.\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person index|}}\n        <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    ### Specifying Keys\n  \n    In order to improve rendering speed, Ember will try to reuse the DOM elements\n    where possible. Specifically, if the same item is present in the array both\n    before and after the change, its DOM output will be reused.\n  \n    The `key` option is used to tell Ember how to determine if the items in the\n    array being iterated over with `{{#each}}` has changed between renders. By\n    default the item's object identity is used.\n  \n    This is usually sufficient, so in most cases, the `key` option is simply not\n    needed. However, in some rare cases, the objects' identities may change even\n    though they represent the same underlying data.\n  \n    For example:\n  \n    ```javascript\n    people.map(person => {\n      return { ...person, type: 'developer' };\n    });\n    ```\n  \n    In this case, each time the `people` array is `map`-ed over, it will produce\n    an new array with completely different objects between renders. In these cases,\n    you can help Ember determine how these objects related to each other with the\n    `key` option:\n  \n    ```handlebars\n    <ul>\n      {{#each @developers key=\"name\" as |person|}}\n        <li>Hello, {{person.name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    By doing so, Ember will use the value of the property specified (`person.name`\n    in the example) to find a \"match\" from the previous render. That is, if Ember\n    has previously seen an object from the `@developers` array with a matching\n    name, its DOM elements will be re-used.\n  \n    ### {{else}} condition\n  \n    `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n    if the collection is empty.\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person|}}\n        <li>{{person.name}} is available!</li>\n      {{else}}\n        <li>Sorry, nobody is available for this task.</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    @method each\n    @for Ember.Templates.helpers\n    @public\n   */\n\n  /**\n    The `{{each-in}}` helper loops over properties on an object.\n  \n    For example, given this component definition:\n  \n    ```app/components/developer-details.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        \"name\": \"Shelly Sails\",\n        \"age\": 42\n      };\n    }\n    ```\n  \n    This template would display all properties on the `developer`\n    object in a list:\n  \n    ```app/components/developer-details.hbs\n    <ul>\n      {{#each-in this.developer as |key value|}}\n        <li>{{key}}: {{value}}</li>\n      {{/each-in}}\n    </ul>\n    ```\n  \n    Outputting their name and age.\n  \n    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n\n  var EACH_IN_REFERENCE = (0, _utils.symbol)('EACH_IN');\n\n  class EachInReference {\n    constructor(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n      this[EACH_IN_REFERENCE] = true;\n    }\n\n    value() {\n      return this.inner.value();\n    }\n\n    get(key) {\n      return this.inner.get(key);\n    }\n\n  }\n\n  function isEachIn(ref) {\n    return ref !== null && typeof ref === 'object' && ref[EACH_IN_REFERENCE];\n  }\n\n  function eachIn(_vm, args) {\n    return new EachInReference(args.positional.at(0));\n  }\n\n  var ITERATOR_KEY_GUID = 'be277757-bbbe-4620-9fcb-213ef433cca2';\n\n  function iterableFor(ref, keyPath) {\n    if (isEachIn(ref)) {\n      return new EachInIterable(ref, keyPath || '@key');\n    } else {\n      return new EachIterable(ref, keyPath || '@identity');\n    }\n  }\n\n  class BoundedIterator {\n    constructor(length, keyFor) {\n      this.length = length;\n      this.keyFor = keyFor;\n      this.position = 0;\n    }\n\n    isEmpty() {\n      return false;\n    }\n\n    memoFor(position) {\n      return position;\n    }\n\n    next() {\n      var {\n        length,\n        keyFor,\n        position\n      } = this;\n\n      if (position >= length) {\n        return null;\n      }\n\n      var value$$1 = this.valueFor(position);\n      var memo = this.memoFor(position);\n      var key = keyFor(value$$1, memo, position);\n      this.position++;\n      return {\n        key,\n        value: value$$1,\n        memo\n      };\n    }\n\n  }\n\n  class ArrayIterator extends BoundedIterator {\n    constructor(array, length, keyFor) {\n      super(length, keyFor);\n      this.array = array;\n    }\n\n    static from(array, keyFor) {\n      var {\n        length\n      } = array;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        return new this(array, length, keyFor);\n      }\n    }\n\n    static fromForEachable(object, keyFor) {\n      var array = [];\n      object.forEach(item => array.push(item));\n      return this.from(array, keyFor);\n    }\n\n    valueFor(position) {\n      return this.array[position];\n    }\n\n  }\n\n  class EmberArrayIterator extends BoundedIterator {\n    constructor(array, length, keyFor) {\n      super(length, keyFor);\n      this.array = array;\n    }\n\n    static from(array, keyFor) {\n      var {\n        length\n      } = array;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        return new this(array, length, keyFor);\n      }\n    }\n\n    valueFor(position) {\n      return (0, _metal.objectAt)(this.array, position);\n    }\n\n  }\n\n  class ObjectIterator extends BoundedIterator {\n    constructor(keys, values, length, keyFor) {\n      super(length, keyFor);\n      this.keys = keys;\n      this.values = values;\n    }\n\n    static fromIndexable(obj, keyFor) {\n      var keys = Object.keys(obj);\n      var {\n        length\n      } = keys;\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else {\n        var values = [];\n\n        for (var _i4 = 0; _i4 < length; _i4++) {\n          var value$$1 = void 0;\n          var key = keys[_i4];\n          value$$1 = obj[key]; // Add the tag of the returned value if it is an array, since arrays\n          // should always cause updates if they are consumed and then changed\n\n          if ((0, _metal.isTracking)()) {\n            (0, _metal.consume)((0, _metal.tagForProperty)(obj, key));\n\n            if (Array.isArray(value$$1) || (0, _utils.isEmberArray)(value$$1)) {\n              (0, _metal.consume)((0, _metal.tagForProperty)(value$$1, '[]'));\n            }\n          }\n\n          values.push(value$$1);\n        }\n\n        return new this(keys, values, length, keyFor);\n      }\n    }\n\n    static fromForEachable(obj, keyFor) {\n      var keys = [];\n      var values = [];\n      var length = 0;\n      var isMapLike = false;\n      obj.forEach((value$$1, key) => {\n        isMapLike = isMapLike || arguments.length >= 2;\n\n        if (isMapLike) {\n          keys.push(key);\n        }\n\n        values.push(value$$1);\n        length++;\n      });\n\n      if (length === 0) {\n        return EMPTY_ITERATOR;\n      } else if (isMapLike) {\n        return new this(keys, values, length, keyFor);\n      } else {\n        return new ArrayIterator(values, length, keyFor);\n      }\n    }\n\n    valueFor(position) {\n      return this.values[position];\n    }\n\n    memoFor(position) {\n      return this.keys[position];\n    }\n\n  }\n\n  class NativeIterator {\n    constructor(iterable, result, keyFor) {\n      this.iterable = iterable;\n      this.result = result;\n      this.keyFor = keyFor;\n      this.position = 0;\n    }\n\n    static from(iterable, keyFor) {\n      var iterator = iterable[Symbol.iterator]();\n      var result = iterator.next();\n      var {\n        value: value$$1,\n        done\n      } = result;\n\n      if (done) {\n        return EMPTY_ITERATOR;\n      } else if (Array.isArray(value$$1) && value$$1.length === 2) {\n        return new this(iterator, result, keyFor);\n      } else {\n        return new ArrayLikeNativeIterator(iterator, result, keyFor);\n      }\n    }\n\n    isEmpty() {\n      return false;\n    }\n\n    next() {\n      var {\n        iterable,\n        result,\n        position,\n        keyFor\n      } = this;\n\n      if (result.done) {\n        return null;\n      }\n\n      var value$$1 = this.valueFor(result, position);\n      var memo = this.memoFor(result, position);\n      var key = keyFor(value$$1, memo, position);\n      this.position++;\n      this.result = iterable.next();\n      return {\n        key,\n        value: value$$1,\n        memo\n      };\n    }\n\n  }\n\n  class ArrayLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value;\n    }\n\n    memoFor(_result, position) {\n      return position;\n    }\n\n  }\n\n  class MapLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value[1];\n    }\n\n    memoFor(result) {\n      return result.value[0];\n    }\n\n  }\n\n  var EMPTY_ITERATOR = {\n    isEmpty() {\n      return true;\n    },\n\n    next() {\n      (true && !(false) && (0, _debug.assert)('Cannot call next() on an empty iterator'));\n      return null;\n    }\n\n  };\n\n  class EachInIterable {\n    constructor(ref, keyPath) {\n      this.ref = ref;\n      this.keyPath = keyPath;\n      this.valueTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n    }\n\n    iterate() {\n      var {\n        ref,\n        valueTag\n      } = this;\n      var iterable = ref.value();\n      var tag = (0, _metal.tagFor)(iterable);\n\n      if ((0, _utils.isProxy)(iterable)) {\n        // this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n        // and the proxy's tag is lazy updated on access\n        iterable = (0, _runtime._contentFor)(iterable);\n      }\n\n      (0, _reference.update)(valueTag, tag);\n\n      if (!isIndexable(iterable)) {\n        return EMPTY_ITERATOR;\n      }\n\n      if (Array.isArray(iterable) || (0, _utils.isEmberArray)(iterable)) {\n        return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n      } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n        return MapLikeNativeIterator.from(iterable, this.keyFor());\n      } else if (hasForEach(iterable)) {\n        return ObjectIterator.fromForEachable(iterable, this.keyFor());\n      } else {\n        return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n      }\n    }\n\n    valueReferenceFor(item) {\n      return new UpdatableReference(item.value);\n    }\n\n    updateValueReference(ref, item) {\n      ref.update(item.value);\n    }\n\n    memoReferenceFor(item) {\n      return new UpdatableReference(item.memo);\n    }\n\n    updateMemoReference(ref, item) {\n      ref.update(item.memo);\n    }\n\n    keyFor(hasUniqueKeys = false) {\n      var {\n        keyPath\n      } = this;\n\n      switch (keyPath) {\n        case '@key':\n          return hasUniqueKeys ? ObjectKey : Unique(MapKey);\n\n        case '@index':\n          return Index;\n\n        case '@identity':\n          return Unique(Identity);\n\n        default:\n          (true && !(keyPath[0] !== '@') && (0, _debug.assert)(`Invalid key: ${keyPath}`, keyPath[0] !== '@'));\n          return Unique(KeyPath(keyPath));\n      }\n    }\n\n  }\n\n  class EachIterable {\n    constructor(ref, keyPath) {\n      this.ref = ref;\n      this.keyPath = keyPath;\n      this.valueTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n    }\n\n    iterate() {\n      var {\n        ref,\n        valueTag\n      } = this;\n      var iterable = ref.value();\n      (0, _reference.update)(valueTag, (0, _metal.tagForProperty)(iterable, '[]'));\n\n      if (iterable === null || typeof iterable !== 'object') {\n        return EMPTY_ITERATOR;\n      }\n\n      var keyFor = this.keyFor();\n\n      if (Array.isArray(iterable)) {\n        return ArrayIterator.from(iterable, keyFor);\n      } else if ((0, _utils.isEmberArray)(iterable)) {\n        return EmberArrayIterator.from(iterable, keyFor);\n      } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n        return ArrayLikeNativeIterator.from(iterable, keyFor);\n      } else if (hasForEach(iterable)) {\n        return ArrayIterator.fromForEachable(iterable, keyFor);\n      } else {\n        return EMPTY_ITERATOR;\n      }\n    }\n\n    valueReferenceFor(item) {\n      return new UpdatableReference(item.value);\n    }\n\n    updateValueReference(ref, item) {\n      ref.update(item.value);\n    }\n\n    memoReferenceFor(item) {\n      return new UpdatableReference(item.memo);\n    }\n\n    updateMemoReference(ref, item) {\n      ref.update(item.memo);\n    }\n\n    keyFor() {\n      var {\n        keyPath\n      } = this;\n\n      switch (keyPath) {\n        case '@index':\n          return Index;\n\n        case '@identity':\n          return Unique(Identity);\n\n        default:\n          (true && !(keyPath[0] !== '@') && (0, _debug.assert)(`Invalid key: ${keyPath}`, keyPath[0] !== '@'));\n          return Unique(KeyPath(keyPath));\n      }\n    }\n\n  }\n\n  function hasForEach(value$$1) {\n    return typeof value$$1['forEach'] === 'function';\n  }\n\n  function isNativeIterable(value$$1) {\n    return typeof value$$1[Symbol.iterator] === 'function';\n  }\n\n  function isIndexable(value$$1) {\n    return value$$1 !== null && (typeof value$$1 === 'object' || typeof value$$1 === 'function');\n  } // Position in an array is guarenteed to be unique\n\n\n  function Index(_value, _memo, position) {\n    return String(position);\n  } // Object.keys(...) is guarenteed to be strings and unique\n\n\n  function ObjectKey(_value, memo) {\n    return memo;\n  } // Map keys can be any objects\n\n\n  function MapKey(_value, memo) {\n    return Identity(memo);\n  }\n\n  function Identity(value$$1) {\n    switch (typeof value$$1) {\n      case 'string':\n        return value$$1;\n\n      case 'number':\n        return String(value$$1);\n\n      default:\n        return (0, _utils.guidFor)(value$$1);\n    }\n  }\n\n  function KeyPath(keyPath) {\n    return value$$1 => String((0, _metal.get)(value$$1, keyPath));\n  }\n\n  function Unique(func) {\n    var seen = {};\n    return (value$$1, memo, position) => {\n      var key = func(value$$1, memo, position);\n      var count = seen[key];\n\n      if (count === undefined) {\n        seen[key] = 0;\n        return key;\n      } else {\n        seen[key] = ++count;\n        return `${key}${ITERATOR_KEY_GUID}${count}`;\n      }\n    };\n  }\n  /**\n  @module @ember/template\n  */\n\n\n  class SafeString {\n    constructor(string) {\n      this.string = string;\n    }\n\n    toString() {\n      return `${this.string}`;\n    }\n\n    toHTML() {\n      return this.toString();\n    }\n\n  }\n\n  _exports.SafeString = SafeString;\n  var escape = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#x27;',\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n  var possible = /[&<>\"'`=]/;\n  var badChars = /[&<>\"'`=]/g;\n\n  function escapeChar(chr) {\n    return escape[chr];\n  }\n\n  function escapeExpression(string) {\n    if (typeof string !== 'string') {\n      // don't escape SafeStrings, since they're already safe\n      if (string && string.toHTML) {\n        return string.toHTML();\n      } else if (string === null || string === undefined) {\n        return '';\n      } else if (!string) {\n        return String(string);\n      } // Force a string conversion as this will be done by the append regardless and\n      // the regex test will do this transparently behind the scenes, causing issues if\n      // an object's to string has escaped characters in it.\n\n\n      string = String(string);\n    }\n\n    if (!possible.test(string)) {\n      return string;\n    }\n\n    return string.replace(badChars, escapeChar);\n  }\n  /**\n    Mark a string as safe for unescaped output with Ember templates. If you\n    return HTML from a helper, use this function to\n    ensure Ember's rendering layer does not escape the HTML.\n  \n    ```javascript\n    import { htmlSafe } from '@ember/template';\n  \n    htmlSafe('<div>someString</div>')\n    ```\n  \n    @method htmlSafe\n    @for @ember/template\n    @static\n    @return {SafeString} A string that will not be HTML escaped by Handlebars.\n    @public\n  */\n\n\n  function htmlSafe(str) {\n    if (str === null || str === undefined) {\n      str = '';\n    } else if (typeof str !== 'string') {\n      str = String(str);\n    }\n\n    return new SafeString(str);\n  }\n  /**\n    Detects if a string was decorated using `htmlSafe`.\n  \n    ```javascript\n    import { htmlSafe, isHTMLSafe } from '@ember/template';\n  \n    var plainString = 'plain string',\n        safeString = htmlSafe('<div>someValue</div>');\n  \n    isHTMLSafe(plainString); // false\n    isHTMLSafe(safeString);  // true\n    ```\n  \n    @method isHTMLSafe\n    @for @ember/template\n    @static\n    @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n    @public\n  */\n\n\n  function isHTMLSafe(str) {\n    return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n  }\n  /* globals module, URL */\n\n\n  var nodeURL;\n  var parsingNode;\n\n  function installProtocolForURL(environment) {\n    var protocol;\n\n    if (_browserEnvironment.hasDOM) {\n      protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n    } // Test to see if our DOM implementation parses\n    // and normalizes URLs.\n\n\n    if (protocol === 'foobar:') {\n      // Swap in the method that doesn't do this test now that\n      // we know it works.\n      environment.protocolForURL = browserProtocolForURL;\n    } else if (typeof URL === 'object') {\n      // URL globally provided, likely from FastBoot's sandbox\n      nodeURL = URL;\n      environment.protocolForURL = nodeProtocolForURL;\n    } else if (typeof module !== undefined && typeof module.require === 'function') {\n      // Otherwise, we need to fall back to our own URL parsing.\n      // Global `require` is shadowed by Ember's loader so we have to use the fully\n      // qualified `module.require`.\n      // tslint:disable-next-line:no-require-imports\n      nodeURL = module.require('url');\n      environment.protocolForURL = nodeProtocolForURL;\n    } else {\n      throw new Error('Could not find valid URL parsing mechanism for URL Sanitization');\n    }\n  }\n\n  function browserProtocolForURL(url) {\n    if (!parsingNode) {\n      parsingNode = document.createElement('a');\n    }\n\n    parsingNode.href = url;\n    return parsingNode.protocol;\n  }\n\n  function nodeProtocolForURL(url) {\n    var protocol = null;\n\n    if (typeof url === 'string') {\n      protocol = nodeURL.parse(url).protocol;\n    }\n\n    return protocol === null ? ':' : protocol;\n  }\n\n  var GUID = 0;\n\n  class Ref {\n    constructor(value$$1) {\n      this.id = GUID++;\n      this.value = value$$1;\n    }\n\n    get() {\n      return this.value;\n    }\n\n    release() {\n      (true && !(this.value !== null) && (0, _debug.assert)('BUG: double release?', this.value !== null));\n      this.value = null;\n    }\n\n    toString() {\n      var label = `Ref ${this.id}`;\n\n      if (this.value === null) {\n        return `${label} (released)`;\n      } else {\n        try {\n          return `${label}: ${this.value}`;\n        } catch (_a) {\n          return label;\n        }\n      }\n    }\n\n  }\n\n  var _repeat = String.prototype.repeat || function (count) {\n    return new Array(count + 1).join(this);\n  };\n\n  function repeatString(str, count) {\n    return _repeat.call(str, count);\n  }\n\n  class StackWithToArray extends _util.Stack {\n    toArray() {\n      // polyfilling feature of modern Glimmer VM\n      return this['stack'];\n    }\n\n  }\n\n  class DebugRenderTree {\n    constructor() {\n      this.stack = new StackWithToArray();\n      this.refs = new WeakMap();\n      this.roots = new Set();\n      this.nodes = new WeakMap();\n    }\n\n    begin() {\n      this.reset();\n    }\n\n    create(state, node) {\n      this.nodes.set(state, (0, _polyfills.assign)({}, node, {\n        bounds: null,\n        refs: new Set()\n      }));\n      this.appendChild(state);\n      this.enter(state);\n    }\n\n    update(state) {\n      this.enter(state);\n    } // for dynamic layouts\n\n\n    setTemplate(state, template) {\n      this.nodeFor(state).template = template;\n    }\n\n    didRender(state, bounds) {\n      (true && !(this.stack.current === state) && (0, _debug.assert)(`BUG: expecting ${this.stack.current}, got ${state}`, this.stack.current === state));\n      this.nodeFor(state).bounds = bounds;\n      this.exit();\n    }\n\n    willDestroy(state) {\n      (0, _util.expect)(this.refs.get(state), 'BUG: missing ref').release();\n    }\n\n    commit() {\n      this.reset();\n    }\n\n    capture() {\n      return this.captureRefs(this.roots);\n    }\n\n    logCurrentRenderStack() {\n      var nodes = this.stack.toArray().map(bucket => this.nodeFor(bucket));\n      var message = nodes.filter(node => node.type !== 'outlet' && node.name !== '-top-level').map((node, index) => `${repeatString(' ', index * 2)}${node.name}`);\n      message.push(`${repeatString(' ', message.length * 2)}`);\n      return message.join('\\n');\n    }\n\n    reset() {\n      if (this.stack.size !== 0) {\n        // We probably encountered an error during the rendering loop. This will\n        // likely trigger undefined behavior and memory leaks as the error left\n        // things in an inconsistent state. It is recommended that the user\n        // refresh the page.\n        // TODO: We could warn here? But this happens all the time in our tests?\n        while (!this.stack.isEmpty()) {\n          this.stack.pop();\n        }\n      }\n    }\n\n    enter(state) {\n      this.stack.push(state);\n    }\n\n    exit() {\n      (true && !(this.stack.size !== 0) && (0, _debug.assert)('BUG: unbalanced pop', this.stack.size !== 0));\n      this.stack.pop();\n    }\n\n    nodeFor(state) {\n      return (0, _util.expect)(this.nodes.get(state), 'BUG: missing node');\n    }\n\n    appendChild(state) {\n      (true && !(!this.refs.has(state)) && (0, _debug.assert)('BUG: child already appended', !this.refs.has(state)));\n      var parent = this.stack.current;\n      var ref = new Ref(state);\n      this.refs.set(state, ref);\n\n      if (parent) {\n        this.nodeFor(parent).refs.add(ref);\n      } else {\n        this.roots.add(ref);\n      }\n    }\n\n    captureRefs(refs) {\n      var captured = [];\n      refs.forEach(ref => {\n        var state = ref.get();\n\n        if (state) {\n          captured.push(this.captureNode(`render-node:${ref.id}`, state));\n        } else {\n          refs.delete(ref);\n        }\n      });\n      return captured;\n    }\n\n    captureNode(id, state) {\n      var node = this.nodeFor(state);\n      var {\n        type,\n        name,\n        args,\n        instance,\n        refs\n      } = node;\n      var template = this.captureTemplate(node);\n      var bounds = this.captureBounds(node);\n      var children = this.captureRefs(refs);\n      return {\n        id,\n        type,\n        name,\n        args: args.value(),\n        instance,\n        template,\n        bounds,\n        children\n      };\n    }\n\n    captureTemplate({\n      template\n    }) {\n      return template && template.referrer.moduleName || null;\n    }\n\n    captureBounds(node) {\n      var bounds = (0, _util.expect)(node.bounds, 'BUG: missing bounds');\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n\n  }\n\n  class Environment$1 extends _runtime2.Environment {\n    constructor(injections) {\n      super(injections);\n      this.inTransaction = false;\n      var owner = injections[_owner.OWNER];\n      this.owner = owner;\n      this.isInteractive = owner.lookup('-environment:main').isInteractive; // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n\n      this.destroyedComponents = [];\n      installProtocolForURL(this);\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        this._debugRenderTree = new DebugRenderTree();\n      }\n    }\n\n    static create(options) {\n      return new this(options);\n    }\n\n    get debugRenderTree() {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return this._debugRenderTree;\n      } else {\n        throw new Error(\"Can't access debug render tree outside of the inspector (_DEBUG_RENDER_TREE flag is disabled)\");\n      }\n    } // this gets clobbered by installPlatformSpecificProtocolForURL\n    // it really should just delegate to a platform specific injection\n\n\n    protocolForURL(s) {\n      return s;\n    }\n\n    toConditionalReference(reference) {\n      return ConditionalReference$1.create(reference);\n    }\n\n    iterableFor(ref, key) {\n      return iterableFor(ref, key);\n    }\n\n    scheduleInstallModifier(modifier, manager) {\n      if (this.isInteractive) {\n        super.scheduleInstallModifier(modifier, manager);\n      }\n    }\n\n    scheduleUpdateModifier(modifier, manager) {\n      if (this.isInteractive) {\n        super.scheduleUpdateModifier(modifier, manager);\n      }\n    }\n\n    didDestroy(destroyable) {\n      destroyable.destroy();\n    }\n\n    begin() {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        this.debugRenderTree.begin();\n      }\n\n      this.inTransaction = true;\n      super.begin();\n    }\n\n    commit() {\n      var destroyedComponents = this.destroyedComponents;\n      this.destroyedComponents = []; // components queued for destruction must be destroyed before firing\n      // `didCreate` to prevent errors when removing and adding a component\n      // with the same name (would throw an error when added to view registry)\n\n      for (var _i5 = 0; _i5 < destroyedComponents.length; _i5++) {\n        destroyedComponents[_i5].destroy();\n      }\n\n      try {\n        super.commit();\n      } finally {\n        this.inTransaction = false;\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        this.debugRenderTree.commit();\n      }\n    }\n\n  }\n\n  _exports.Environment = Environment$1;\n\n  if (true\n  /* DEBUG */\n  ) {\n    class StyleAttributeManager extends _runtime2.SimpleDynamicAttribute {\n      set(dom, value$$1, env) {\n        (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value$$1), (() => {\n          if (value$$1 === null || value$$1 === undefined || isHTMLSafe(value$$1)) {\n            return true;\n          }\n\n          return false;\n        })(), {\n          id: 'ember-htmlbars.style-xss-warning'\n        }));\n        super.set(dom, value$$1, env);\n      }\n\n      update(value$$1, env) {\n        (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value$$1), (() => {\n          if (value$$1 === null || value$$1 === undefined || isHTMLSafe(value$$1)) {\n            return true;\n          }\n\n          return false;\n        })(), {\n          id: 'ember-htmlbars.style-xss-warning'\n        }));\n        super.update(value$$1, env);\n      }\n\n    }\n\n    Environment$1.prototype.attributeFor = function (element, attribute, isTrusting, namespace) {\n      if (attribute === 'style' && !isTrusting) {\n        return new StyleAttributeManager({\n          element,\n          name: attribute,\n          namespace\n        });\n      }\n\n      return _runtime2.Environment.prototype.attributeFor.call(this, element, attribute, isTrusting, namespace);\n    };\n  } // implements the ComponentManager interface as defined in glimmer:\n  // tslint:disable-next-line:max-line-length\n  // https://github.com/glimmerjs/glimmer-vm/blob/v0.24.0-beta.4/packages/%40glimmer/runtime/lib/component/interfaces.ts#L21\n\n\n  class AbstractManager {\n    prepareArgs(_state, _args) {\n      return null;\n    }\n\n    didCreateElement(_component, _element, _operations) {// noop\n    }\n\n    didRenderLayout(_component, _bounds) {// noop\n    }\n\n    didCreate(_bucket) {// noop\n    }\n\n    update(_bucket, _dynamicScope) {// noop\n    }\n\n    didUpdateLayout(_bucket, _bounds) {// noop\n    }\n\n    didUpdate(_bucket) {// noop\n    }\n\n  }\n\n  _exports.AbstractComponentManager = AbstractManager;\n\n  function instrumentationPayload(def) {\n    return {\n      object: `${def.name}:${def.outlet}`\n    };\n  }\n\n  var CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: _environment2.ENV._DEBUG_RENDER_TREE,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: _environment2.ENV._DEBUG_RENDER_TREE,\n    createInstance: true\n  };\n\n  class OutletComponentManager extends AbstractManager {\n    create(environment, definition, args, dynamicScope) {\n      var parentStateRef = dynamicScope.outletState;\n      var currentStateRef = definition.ref;\n      dynamicScope.outletState = currentStateRef;\n      var state = {\n        self: RootReference.create(definition.controller),\n        environment,\n        finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n      };\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.outlet = {\n          name: definition.outlet\n        };\n        environment.debugRenderTree.create(state.outlet, {\n          type: 'outlet',\n          name: state.outlet.name,\n          args: _runtime2.EMPTY_ARGS,\n          instance: undefined,\n          template: undefined\n        });\n        var parentState = parentStateRef.value();\n        var parentOwner = parentState && parentState.render && parentState.render.owner;\n        var currentOwner = currentStateRef.value().render.owner;\n\n        if (parentOwner && parentOwner !== currentOwner) {\n          var engine = currentOwner;\n          (true && !(typeof currentOwner.mountPoint === 'string') && (0, _debug.assert)('invalid engine: missing mountPoint', typeof currentOwner.mountPoint === 'string'));\n          (true && !(currentOwner.routable === true) && (0, _debug.assert)('invalid engine: missing routable', currentOwner.routable === true));\n          var mountPoint = engine.mountPoint;\n          state.engine = {\n            mountPoint\n          };\n          environment.debugRenderTree.create(state.engine, {\n            type: 'engine',\n            name: mountPoint,\n            args: _runtime2.EMPTY_ARGS,\n            instance: engine,\n            template: undefined\n          });\n        }\n\n        environment.debugRenderTree.create(state, {\n          type: 'route-template',\n          name: definition.name,\n          args: args.capture(),\n          instance: definition.controller,\n          template: definition.template\n        });\n      }\n\n      return state;\n    }\n\n    getLayout({\n      template\n    }, _resolver) {\n      // The router has already resolved the template\n      var layout = template.asLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n\n    getTag() {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        // returning a const tag skips the update hook (VM BUG?)\n        return (0, _reference.createTag)();\n      } else {\n        // an outlet has no hooks\n        return _reference.CONSTANT_TAG;\n      }\n    }\n\n    didRenderLayout(state, bounds) {\n      state.finalize();\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.environment.debugRenderTree.didRender(state, bounds);\n\n        if (state.engine) {\n          state.environment.debugRenderTree.didRender(state.engine, bounds);\n        }\n\n        state.environment.debugRenderTree.didRender(state.outlet, bounds);\n      }\n    }\n\n    update(state) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.environment.debugRenderTree.update(state.outlet);\n\n        if (state.engine) {\n          state.environment.debugRenderTree.update(state.engine);\n        }\n\n        state.environment.debugRenderTree.update(state);\n      }\n    }\n\n    didUpdateLayout(state, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.environment.debugRenderTree.didRender(state, bounds);\n\n        if (state.engine) {\n          state.environment.debugRenderTree.didRender(state.engine, bounds);\n        }\n\n        state.environment.debugRenderTree.didRender(state.outlet, bounds);\n      }\n    }\n\n    getDestructor(state) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return {\n          destroy() {\n            state.environment.debugRenderTree.willDestroy(state);\n\n            if (state.engine) {\n              state.environment.debugRenderTree.willDestroy(state.engine);\n            }\n\n            state.environment.debugRenderTree.willDestroy(state.outlet);\n          }\n\n        };\n      } else {\n        return null;\n      }\n    }\n\n  }\n\n  var OUTLET_MANAGER = new OutletComponentManager();\n\n  class OutletComponentDefinition {\n    constructor(state, manager = OUTLET_MANAGER) {\n      this.state = state;\n      this.manager = manager;\n    }\n\n  }\n\n  function createRootOutlet(outletView) {\n    if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n      var WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n        dynamicTag: true,\n        elementHook: true\n      });\n      var WrappedOutletComponentManager = class extends OutletComponentManager {\n        getTagName(_component) {\n          return 'div';\n        }\n\n        getLayout(state) {\n          // The router has already resolved the template\n          var template = state.template;\n          var layout = template.asWrappedLayout();\n          return {\n            handle: layout.compile(),\n            symbolTable: layout.symbolTable\n          };\n        }\n\n        getCapabilities() {\n          return WRAPPED_CAPABILITIES;\n        }\n\n        didCreateElement(component, element, _operations) {\n          // to add GUID id and class\n          element.setAttribute('class', 'ember-view');\n          element.setAttribute('id', (0, _utils.guidFor)(component));\n        }\n\n      };\n      var WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n      return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n    } else {\n      return new OutletComponentDefinition(outletView.state);\n    }\n  }\n\n  function NOOP() {}\n  /**\n    @module ember\n  */\n\n  /**\n    Represents the internal state of the component.\n  \n    @class ComponentStateBucket\n    @private\n  */\n\n\n  class ComponentStateBucket {\n    constructor(environment, component, args, finalizer, hasWrappedElement) {\n      this.environment = environment;\n      this.component = component;\n      this.args = args;\n      this.finalizer = finalizer;\n      this.hasWrappedElement = hasWrappedElement;\n      this.classRef = null;\n      this.classRef = null;\n      this.argsRevision = args === null ? 0 : (0, _reference.value)(args.tag);\n      this.rootRef = new RootReference(component, environment);\n    }\n\n    destroy() {\n      var {\n        component,\n        environment\n      } = this;\n\n      if (environment.isInteractive) {\n        component.trigger('willDestroyElement');\n        component.trigger('willClearRender');\n        var element = (0, _views.getViewElement)(component);\n\n        if (element) {\n          (0, _views.clearElementView)(element);\n          (0, _views.clearViewElement)(component);\n        }\n      }\n\n      environment.destroyedComponents.push(component);\n    }\n\n    finalize() {\n      var {\n        finalizer\n      } = this;\n      finalizer();\n      this.finalizer = NOOP;\n    }\n\n  }\n\n  function referenceForKey(rootRef, key) {\n    return rootRef.get(key);\n  }\n\n  function referenceForParts(rootRef, parts) {\n    var isAttrs = parts[0] === 'attrs'; // TODO deprecate this\n\n    if (isAttrs) {\n      parts.shift();\n\n      if (parts.length === 1) {\n        return referenceForKey(rootRef, parts[0]);\n      }\n    }\n\n    return referenceFromParts(rootRef, parts);\n  } // TODO we should probably do this transform at build time\n\n\n  function wrapComponentClassAttribute(hash) {\n    if (hash === null) {\n      return;\n    }\n\n    var [keys, values] = hash;\n    var index = keys === null ? -1 : keys.indexOf('class');\n\n    if (index !== -1) {\n      var value$$1 = values[index];\n\n      if (!Array.isArray(value$$1)) {\n        return;\n      }\n\n      var [type] = value$$1;\n\n      if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {\n        var path = value$$1[value$$1.length - 1];\n        var propName = path[path.length - 1];\n        values[index] = [_wireFormat.Ops.Helper, '-class', [value$$1, propName], null];\n      }\n    }\n  }\n\n  var AttributeBinding = {\n    parse(microsyntax) {\n      var colonIndex = microsyntax.indexOf(':');\n\n      if (colonIndex === -1) {\n        (true && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class'));\n        return [microsyntax, microsyntax, true];\n      } else {\n        var prop = microsyntax.substring(0, colonIndex);\n        var attribute = microsyntax.substring(colonIndex + 1);\n        (true && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class'));\n        return [prop, attribute, false];\n      }\n    },\n\n    install(_element, component, rootRef, parsed, operations) {\n      var [prop, attribute, isSimple] = parsed;\n\n      if (attribute === 'id') {\n        var elementId = (0, _metal.get)(component, prop);\n\n        if (elementId === undefined || elementId === null) {\n          elementId = component.elementId;\n        }\n\n        elementId = _runtime2.PrimitiveReference.create(elementId);\n        operations.setAttribute('id', elementId, true, null); // operations.addStaticAttribute(element, 'id', elementId);\n\n        return;\n      }\n\n      var isPath = prop.indexOf('.') > -1;\n      var reference = isPath ? referenceForParts(rootRef, prop.split('.')) : referenceForKey(rootRef, prop);\n      (true && !(!(isSimple && isPath)) && (0, _debug.assert)(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath)));\n\n      if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && attribute === 'style' && StyleBindingReference !== undefined) {\n        reference = new StyleBindingReference(reference, referenceForKey(rootRef, 'isVisible'), component);\n      }\n\n      operations.setAttribute(attribute, reference, false, null); // operations.addDynamicAttribute(element, attribute, reference, false);\n    }\n\n  };\n  var DISPLAY_NONE = 'display: none;';\n  var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n  var StyleBindingReference;\n\n  if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n    StyleBindingReference = class extends _reference.CachedReference {\n      constructor(inner, isVisible, component) {\n        super();\n        this.inner = inner;\n        this.isVisible = isVisible;\n        this.component = component;\n        this.tag = (0, _reference.combine)([inner.tag, isVisible.tag]);\n      }\n\n      compute() {\n        var value$$1 = this.inner.value();\n        var isVisible = this.isVisible.value();\n\n        if (isVisible !== undefined) {\n          (true && !(false) && (0, _debug.deprecate)(`\\`isVisible\\` is deprecated (from \"${this.component._debugContainerKey}\")`, false, {\n            id: 'ember-component.is-visible',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-is-visible'\n          }));\n        }\n\n        if (isVisible !== false) {\n          return value$$1;\n        }\n\n        if (!value$$1) {\n          return SAFE_DISPLAY_NONE;\n        } else {\n          var style = value$$1 + ' ' + DISPLAY_NONE;\n          return isHTMLSafe(value$$1) ? htmlSafe(style) : style;\n        }\n      }\n\n    };\n  }\n\n  var IsVisibleBinding;\n\n  if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n    IsVisibleBinding = {\n      install(_element, component, rootRef, operations) {\n        var componentMapStyleValue = isVisible => {\n          return this.mapStyleValue(isVisible, component);\n        };\n\n        operations.setAttribute('style', (0, _reference.map)(referenceForKey(rootRef, 'isVisible'), componentMapStyleValue), false, null); // // the upstream type for addDynamicAttribute's `value` argument\n        // // appears to be incorrect. It is currently a Reference<string>, I\n        // // think it should be a Reference<string|null>.\n        // operations.addDynamicAttribute(element, 'style', ref as any as Reference<string>, false);\n      },\n\n      mapStyleValue(isVisible, component) {\n        if (isVisible !== undefined) {\n          (true && !(false) && (0, _debug.deprecate)(`\\`isVisible\\` is deprecated (from \"${component._debugContainerKey}\")`, false, {\n            id: 'ember-component.is-visible',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-is-visible'\n          }));\n        }\n\n        return isVisible === false ? SAFE_DISPLAY_NONE : null;\n      }\n\n    };\n  }\n\n  var ClassNameBinding = {\n    install(_element, rootRef, microsyntax, operations) {\n      var [prop, truthy, falsy] = microsyntax.split(':');\n      var isStatic = prop === '';\n\n      if (isStatic) {\n        operations.setAttribute('class', _runtime2.PrimitiveReference.create(truthy), true, null);\n      } else {\n        var isPath = prop.indexOf('.') > -1;\n        var parts = isPath ? prop.split('.') : [];\n        var value$$1 = isPath ? referenceForParts(rootRef, parts) : referenceForKey(rootRef, prop);\n        var ref;\n\n        if (truthy === undefined) {\n          ref = new SimpleClassNameBindingReference(value$$1, isPath ? parts[parts.length - 1] : prop);\n        } else {\n          ref = new ColonClassNameBindingReference(value$$1, truthy, falsy);\n        }\n\n        operations.setAttribute('class', ref, false, null); // // the upstream type for addDynamicAttribute's `value` argument\n        // // appears to be incorrect. It is currently a Reference<string>, I\n        // // think it should be a Reference<string|null>.\n        // operations.addDynamicAttribute(element, 'class', ref as any as Reference<string>, false);\n      }\n    }\n\n  };\n\n  class SimpleClassNameBindingReference extends _reference.CachedReference {\n    constructor(inner, path) {\n      super();\n      this.inner = inner;\n      this.path = path;\n      this.tag = inner.tag;\n      this.inner = inner;\n      this.path = path;\n      this.dasherizedPath = null;\n    }\n\n    compute() {\n      var value$$1 = this.inner.value();\n\n      if (value$$1 === true) {\n        var {\n          path,\n          dasherizedPath\n        } = this;\n        return dasherizedPath || (this.dasherizedPath = (0, _string.dasherize)(path));\n      } else if (value$$1 || value$$1 === 0) {\n        return String(value$$1);\n      } else {\n        return null;\n      }\n    }\n\n  }\n\n  class ColonClassNameBindingReference extends _reference.CachedReference {\n    constructor(inner, truthy = null, falsy = null) {\n      super();\n      this.inner = inner;\n      this.truthy = truthy;\n      this.falsy = falsy;\n      this.tag = inner.tag;\n    }\n\n    compute() {\n      var {\n        inner,\n        truthy,\n        falsy\n      } = this;\n      return inner.value() ? truthy : falsy;\n    }\n\n  } // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n\n\n  function processComponentArgs(namedArgs) {\n    var keys = namedArgs.names;\n    var attrs = namedArgs.value();\n    var props = Object.create(null);\n    var args = Object.create(null);\n    props[ARGS] = args;\n\n    for (var _i6 = 0; _i6 < keys.length; _i6++) {\n      var name = keys[_i6];\n      var ref = namedArgs.get(name);\n      var value$$1 = attrs[name];\n\n      if (typeof value$$1 === 'function' && value$$1[ACTION]) {\n        attrs[name] = value$$1;\n      } else if (ref[UPDATE]) {\n        attrs[name] = new MutableCell(ref, value$$1);\n      }\n\n      args[name] = ref;\n      props[name] = value$$1;\n    }\n\n    props.attrs = attrs;\n    return props;\n  }\n\n  var REF = (0, _utils.symbol)('REF');\n\n  class MutableCell {\n    constructor(ref, value$$1) {\n      this[_views.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value$$1;\n    }\n\n    update(val) {\n      this[REF][UPDATE](val);\n    }\n\n  }\n\n  var __rest = undefined && undefined.__rest || function (s, e) {\n    var t = {};\n\n    for (var p in s) {\n      if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n    }\n\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n      if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];\n    }\n    return t;\n  };\n\n  function aliasIdToElementId(args, props) {\n    if (args.named.has('id')) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(!args.named.has('elementId')) && (0, _debug.assert)(`You cannot invoke a component with both 'id' and 'elementId' at the same time.`, !args.named.has('elementId')));\n      props.elementId = props.id;\n    }\n  } // We must traverse the attributeBindings in reverse keeping track of\n  // what has already been applied. This is essentially refining the concatenated\n  // properties applying right to left.\n\n\n  function applyAttributeBindings(element, attributeBindings, component, rootRef, operations) {\n    var seen = [];\n    var i = attributeBindings.length - 1;\n\n    while (i !== -1) {\n      var binding = attributeBindings[i];\n      var parsed = AttributeBinding.parse(binding);\n      var attribute = parsed[1];\n\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        AttributeBinding.install(element, component, rootRef, parsed, operations);\n      }\n\n      i--;\n    }\n\n    if (seen.indexOf('id') === -1) {\n      var id$$1 = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n      operations.setAttribute('id', _runtime2.PrimitiveReference.create(id$$1), false, null);\n    }\n\n    if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && IsVisibleBinding !== undefined && seen.indexOf('style') === -1) {\n      IsVisibleBinding.install(element, component, rootRef, operations);\n    }\n  }\n\n  var DEFAULT_LAYOUT = (0, _container.privatize)`template:components/-default`;\n  var EMPTY_POSITIONAL_ARGS = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n\n  class CurlyComponentManager extends AbstractManager {\n    getLayout(state, _resolver) {\n      return {\n        // TODO fix\n        handle: state.handle,\n        symbolTable: state.symbolTable\n      };\n    }\n\n    templateFor(component) {\n      var {\n        layout,\n        layoutName\n      } = component;\n      var owner = (0, _owner.getOwner)(component);\n      var factory;\n\n      if (layout === undefined) {\n        if (layoutName !== undefined) {\n          var _factory = owner.lookup(`template:${layoutName}`);\n\n          (true && !(_factory !== undefined) && (0, _debug.assert)(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined));\n          factory = _factory;\n        } else {\n          factory = owner.lookup(DEFAULT_LAYOUT);\n        }\n      } else if (isTemplateFactory(layout)) {\n        factory = layout;\n      } else {\n        // we were provided an instance already\n        return layout;\n      }\n\n      return factory(owner);\n    }\n\n    getDynamicLayout(bucket) {\n      var component = bucket.component;\n      var template$$1 = this.templateFor(component);\n      var layout = template$$1.asWrappedLayout();\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.setTemplate(bucket, template$$1);\n      }\n\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n    getTagName(state) {\n      var {\n        component,\n        hasWrappedElement\n      } = state;\n\n      if (!hasWrappedElement) {\n        return null;\n      }\n\n      return component && component.tagName || 'div';\n    }\n\n    getCapabilities(state) {\n      return state.capabilities;\n    }\n\n    prepareArgs(state, args) {\n      if (args.named.has('__ARGS__')) {\n        var _a = args.named.capture().map,\n            {\n          __ARGS__\n        } = _a,\n            rest = __rest(_a, [\"__ARGS__\"]);\n\n        var prepared = {\n          positional: EMPTY_POSITIONAL_ARGS,\n          named: (0, _polyfills.assign)({}, rest, __ARGS__.value())\n        };\n        return prepared;\n      }\n\n      var {\n        positionalParams\n      } = state.ComponentClass.class; // early exits\n\n      if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n        return null;\n      }\n\n      var named;\n\n      if (typeof positionalParams === 'string') {\n        (true && !(!args.named.has(positionalParams)) && (0, _debug.assert)(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`, !args.named.has(positionalParams)));\n        named = {\n          [positionalParams]: args.positional.capture()\n        };\n        (0, _polyfills.assign)(named, args.named.capture().map);\n      } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n        var count = Math.min(positionalParams.length, args.positional.length);\n        named = {};\n        (0, _polyfills.assign)(named, args.named.capture().map);\n\n        for (var _i7 = 0; _i7 < count; _i7++) {\n          var name = positionalParams[_i7];\n          (true && !(!args.named.has(name)) && (0, _debug.assert)(`You cannot specify both a positional param (at position ${_i7}) and the hash argument \\`${name}\\`.`, !args.named.has(name)));\n          named[name] = args.positional.at(_i7);\n        }\n      } else {\n        return null;\n      }\n\n      return {\n        positional: _util.EMPTY_ARRAY,\n        named\n      };\n    }\n    /*\n     * This hook is responsible for actually instantiating the component instance.\n     * It also is where we perform additional bookkeeping to support legacy\n     * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n     * etc.\n     */\n\n\n    create(environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n      // Get the nearest concrete component instance from the scope. \"Virtual\"\n      // components will be skipped.\n      var parentView = dynamicScope.view; // Get the Ember.Component subclass to instantiate for this component.\n\n      var factory = state.ComponentClass; // Capture the arguments, which tells Glimmer to give us our own, stable\n      // copy of the Arguments object that is safe to hold on to between renders.\n\n      var capturedArgs = args.named.capture();\n      var props = processComponentArgs(capturedArgs); // Alias `id` argument to `elementId` property on the component instance.\n\n      aliasIdToElementId(args, props); // Set component instance's parentView property to point to nearest concrete\n      // component.\n\n      props.parentView = parentView; // Set whether this component was invoked with a block\n      // (`{{#my-component}}{{/my-component}}`) or without one\n      // (`{{my-component}}`).\n\n      props[HAS_BLOCK] = hasBlock; // Save the current `this` context of the template as the component's\n      // `_target`, so bubbled actions are routed to the right place.\n\n      props._target = callerSelfRef.value(); // static layout asserts CurriedDefinition\n\n      if (state.template) {\n        props.layout = state.template;\n      } // caller:\n      // <FaIcon @name=\"bug\" />\n      //\n      // callee:\n      // <i class=\"fa-{{@name}}\"></i>\n      // Now that we've built up all of the properties to set on the component instance,\n      // actually create it.\n\n\n      var component = factory.create(props);\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component); // We become the new parentView for downstream components, so save our\n      // component off on the dynamic scope.\n\n      dynamicScope.view = component; // Unless we're the root component, we need to add ourselves to our parent\n      // component's childViews array.\n\n      if (parentView !== null && parentView !== undefined) {\n        (0, _views.addChildView)(parentView, component);\n      }\n\n      component.trigger('didReceiveAttrs');\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      } // Track additional lifecycle metadata about this component in a state bucket.\n      // Essentially we're saving off all the state we'll need in the future.\n\n\n      var bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        processComponentInitializationAssertions(component, props);\n      }\n\n      if (environment.isInteractive && hasWrappedElement) {\n        component.trigger('willRender');\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        environment.debugRenderTree.create(bucket, {\n          type: 'component',\n          name: state.name,\n          args: args.capture(),\n          instance: component,\n          template: state.template\n        });\n      }\n\n      return bucket;\n    }\n\n    getSelf({\n      rootRef\n    }) {\n      return rootRef;\n    }\n\n    didCreateElement({\n      component,\n      classRef,\n      environment,\n      rootRef\n    }, element, operations) {\n      (0, _views.setViewElement)(component, element);\n      (0, _views.setElementView)(element, component);\n      var {\n        attributeBindings,\n        classNames,\n        classNameBindings\n      } = component;\n\n      if (attributeBindings && attributeBindings.length) {\n        applyAttributeBindings(element, attributeBindings, component, rootRef, operations);\n      } else {\n        var id$$1 = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n        operations.setAttribute('id', _runtime2.PrimitiveReference.create(id$$1), false, null);\n\n        if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && IsVisibleBinding !== undefined) {\n          IsVisibleBinding.install(element, component, rootRef, operations);\n        }\n      }\n\n      if (classRef) {\n        var ref = new SimpleClassNameBindingReference(classRef, classRef['propertyKey']);\n        operations.setAttribute('class', ref, false, null);\n      }\n\n      if (classNames && classNames.length) {\n        classNames.forEach(name => {\n          operations.setAttribute('class', _runtime2.PrimitiveReference.create(name), false, null);\n        });\n      }\n\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(binding => {\n          ClassNameBinding.install(element, rootRef, binding, operations);\n        });\n      }\n\n      operations.setAttribute('class', _runtime2.PrimitiveReference.create('ember-view'), false, null);\n\n      if ('ariaRole' in component) {\n        operations.setAttribute('role', referenceForKey(rootRef, 'ariaRole'), false, null);\n      }\n\n      component._transitionTo('hasElement');\n\n      if (environment.isInteractive) {\n        component.trigger('willInsertElement');\n      }\n    }\n\n    didRenderLayout(bucket, bounds) {\n      bucket.component[BOUNDS] = bounds;\n      bucket.finalize();\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    getTag({\n      args,\n      component\n    }) {\n      return args ? (0, _reference.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n    }\n\n    didCreate({\n      component,\n      environment\n    }) {\n      if (environment.isInteractive) {\n        component._transitionTo('inDOM');\n\n        component.trigger('didInsertElement');\n        component.trigger('didRender');\n      }\n    }\n\n    update(bucket) {\n      var {\n        component,\n        args,\n        argsRevision,\n        environment\n      } = bucket;\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        environment.debugRenderTree.update(bucket);\n      }\n\n      bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n\n      if (args && !(0, _reference.validate)(args.tag, argsRevision)) {\n        var props = processComponentArgs(args);\n        bucket.argsRevision = (0, _reference.value)(args.tag);\n        component[IS_DISPATCHING_ATTRS] = true;\n        component.setProperties(props);\n        component[IS_DISPATCHING_ATTRS] = false;\n        component.trigger('didUpdateAttrs');\n        component.trigger('didReceiveAttrs');\n      }\n\n      if (environment.isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n    }\n\n    didUpdateLayout(bucket, bounds) {\n      bucket.finalize();\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    didUpdate({\n      component,\n      environment\n    }) {\n      if (environment.isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    }\n\n    getDestructor(bucket) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return {\n          destroy() {\n            bucket.environment.debugRenderTree.willDestroy(bucket);\n            bucket.destroy();\n          }\n\n        };\n      } else {\n        return bucket;\n      }\n    }\n\n  }\n\n  function processComponentInitializationAssertions(component, props) {\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var _i8 = 0; _i8 < classNameBindings.length; _i8++) {\n        var binding = classNameBindings[_i8];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var _i8 = 0; _i8 < classNameBindings.length; _i8++) {\n        var binding = classNameBindings[_i8];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    })()));\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var _i9 = 0; _i9 < classNameBindings.length; _i9++) {\n        var binding = classNameBindings[_i9];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var _i9 = 0; _i9 < classNameBindings.length; _i9++) {\n        var binding = classNameBindings[_i9];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n\n      return true;\n    })()));\n    (true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`classNameBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0));\n    (true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _debug.assert)(`You cannot use \\`elementId\\` on a tag-less component: ${component}`, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== ''));\n    (true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`attributeBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0));\n  }\n\n  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: true\n    });\n  }\n\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: false\n    });\n  }\n\n  var CURLY_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n  var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n\n  class CurlyComponentDefinition {\n    // tslint:disable-next-line:no-shadowed-variable\n    constructor(name, ComponentClass, handle, template$$1, args) {\n      this.name = name;\n      this.ComponentClass = ComponentClass;\n      this.handle = handle;\n      this.template = template$$1;\n      this.manager = CURLY_COMPONENT_MANAGER;\n      var layout = template$$1 && template$$1.asLayout();\n      var symbolTable = layout ? layout.symbolTable : undefined;\n      this.symbolTable = symbolTable;\n      this.template = template$$1;\n      this.args = args;\n      this.state = {\n        name,\n        ComponentClass,\n        handle,\n        template: template$$1,\n        capabilities: CURLY_CAPABILITIES,\n        symbolTable\n      };\n    }\n\n  }\n\n  class RootComponentManager extends CurlyComponentManager {\n    constructor(component) {\n      super();\n      this.component = component;\n    }\n\n    getLayout(_state) {\n      var template = this.templateFor(this.component);\n      var layout = template.asWrappedLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n    create(environment, state, _args, dynamicScope) {\n      var component = this.component;\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n      dynamicScope.view = component;\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        processComponentInitializationAssertions(component, {});\n      }\n\n      var bucket = new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        environment.debugRenderTree.create(bucket, {\n          type: 'component',\n          name: state.name,\n          args: _runtime2.EMPTY_ARGS,\n          instance: component,\n          template: state.template\n        });\n      }\n\n      return bucket;\n    }\n\n  } // ROOT is the top-level template it has nothing but one yield.\n  // it is supposed to have a dummy element\n\n\n  var ROOT_CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: true,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n\n  class RootComponentDefinition {\n    constructor(component) {\n      this.component = component;\n      var manager = new RootComponentManager(component);\n      this.manager = manager;\n\n      var factory = _container.FACTORY_FOR.get(component);\n\n      this.state = {\n        name: factory.fullName.slice(10),\n        capabilities: ROOT_CAPABILITIES,\n        ComponentClass: factory,\n        handle: null\n      };\n    }\n\n    getTag({\n      component\n    }) {\n      return component[DIRTY_TAG];\n    }\n\n  }\n\n  class DynamicScope {\n    constructor(view, outletState) {\n      this.view = view;\n      this.outletState = outletState;\n    }\n\n    child() {\n      return new DynamicScope(this.view, this.outletState);\n    }\n\n    get(key) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n      return this.outletState;\n    }\n\n    set(key, value$$1) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n      this.outletState = value$$1;\n      return value$$1;\n    }\n\n  }\n\n  class RootState {\n    constructor(root, env, template, self, parentElement, dynamicScope, builder) {\n      (true && !(template !== undefined) && (0, _debug.assert)(`You cannot render \\`${self.value()}\\` without a template.`, template !== undefined));\n      this.id = (0, _views.getViewId)(root);\n      this.env = env;\n      this.root = root;\n      this.result = undefined;\n      this.shouldReflush = false;\n      this.destroyed = false;\n\n      this.render = () => {\n        var layout = template.asLayout();\n        var handle = layout.compile();\n        var iterator = (0, _runtime2.renderMain)(layout['compiler'].program, env, self, dynamicScope, builder(env, {\n          element: parentElement,\n          nextSibling: null\n        }), handle);\n        var iteratorResult;\n\n        do {\n          iteratorResult = iterator.next();\n        } while (!iteratorResult.done);\n\n        var result = this.result = iteratorResult.value; // override .render function after initial render\n\n        this.render = () => result.rerender({\n          alwaysRevalidate: false\n        });\n      };\n    }\n\n    isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    }\n\n    destroy() {\n      var {\n        result,\n        env\n      } = this;\n      this.destroyed = true;\n      this.env = undefined;\n      this.root = null;\n      this.result = undefined;\n      this.render = undefined;\n\n      if (result) {\n        /*\n         Handles these scenarios:\n                * When roots are removed during standard rendering process, a transaction exists already\n           `.begin()` / `.commit()` are not needed.\n         * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n           transaction exists already.\n         * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n                */\n        var needsTransaction = !env.inTransaction;\n\n        if (needsTransaction) {\n          env.begin();\n        }\n\n        try {\n          result.destroy();\n        } finally {\n          if (needsTransaction) {\n            env.commit();\n          }\n        }\n      }\n    }\n\n  }\n\n  var renderers = [];\n\n  function _resetRenderers() {\n    renderers.length = 0;\n  }\n\n  function register(renderer) {\n    (true && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1));\n    renderers.push(renderer);\n  }\n\n  function deregister(renderer) {\n    var index = renderers.indexOf(renderer);\n    (true && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1));\n    renderers.splice(index, 1);\n  }\n\n  function loopBegin() {\n    for (var _i10 = 0; _i10 < renderers.length; _i10++) {\n      renderers[_i10]._scheduleRevalidate();\n    }\n  }\n\n  function K() {\n    /* noop */\n  }\n\n  var renderSettledDeferred = null;\n  /*\n    Returns a promise which will resolve when rendering has settled. Settled in\n    this context is defined as when all of the tags in use are \"current\" (e.g.\n    `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n    the run loop, this essentially guarantees that all rendering is completed.\n  \n    @method renderSettled\n    @returns {Promise<void>} a promise which fulfills when rendering has settled\n  */\n\n  function renderSettled() {\n    if (renderSettledDeferred === null) {\n      renderSettledDeferred = _rsvp.default.defer(); // if there is no current runloop, the promise created above will not have\n      // a chance to resolve (because its resolved in backburner's \"end\" event)\n\n      if (!(0, _runloop.getCurrentRunLoop)()) {\n        // ensure a runloop has been kicked off\n        _runloop.backburner.schedule('actions', null, K);\n      }\n    }\n\n    return renderSettledDeferred.promise;\n  }\n\n  function resolveRenderPromise() {\n    if (renderSettledDeferred !== null) {\n      var resolve = renderSettledDeferred.resolve;\n      renderSettledDeferred = null;\n\n      _runloop.backburner.join(null, resolve);\n    }\n  }\n\n  var loops = 0;\n\n  function loopEnd() {\n    for (var _i11 = 0; _i11 < renderers.length; _i11++) {\n      if (!renderers[_i11]._isValid()) {\n        if (loops > _environment2.ENV._RERENDER_LOOP_LIMIT) {\n          loops = 0; // TODO: do something better\n\n          renderers[_i11].destroy();\n\n          throw new Error('infinite rendering invalidation detected');\n        }\n\n        loops++;\n        return _runloop.backburner.join(null, K);\n      }\n    }\n\n    loops = 0;\n    resolveRenderPromise();\n  }\n\n  _runloop.backburner.on('begin', loopBegin);\n\n  _runloop.backburner.on('end', loopEnd);\n\n  class Renderer {\n    constructor(env, rootTemplate, viewRegistry, destinedForDOM = false, builder = _runtime2.clientBuilder) {\n      this._env = env;\n      this._rootTemplate = rootTemplate(env.owner);\n      this._viewRegistry = viewRegistry;\n      this._destinedForDOM = destinedForDOM;\n      this._destroyed = false;\n      this._roots = [];\n      this._lastRevision = -1;\n      this._isRenderingRoots = false;\n      this._removedRoots = [];\n      this._builder = builder;\n    } // renderer HOOKS\n\n\n    appendOutletView(view, target) {\n      var definition = createRootOutlet(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    }\n\n    appendTo(view, target) {\n      var definition = new RootComponentDefinition(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    }\n\n    _appendDefinition(root, definition, target) {\n      var self = new UnboundReference(definition);\n      var dynamicScope = new DynamicScope(null, _runtime2.UNDEFINED_REFERENCE);\n      var rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope, this._builder);\n\n      this._renderRoot(rootState);\n    }\n\n    rerender() {\n      this._scheduleRevalidate();\n    }\n\n    register(view) {\n      var id = (0, _views.getViewId)(view);\n      (true && !(!this._viewRegistry[id]) && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]));\n      this._viewRegistry[id] = view;\n    }\n\n    unregister(view) {\n      delete this._viewRegistry[(0, _views.getViewId)(view)];\n    }\n\n    remove(view) {\n      view._transitionTo('destroying');\n\n      this.cleanupRootFor(view);\n\n      if (this._destinedForDOM) {\n        view.trigger('didDestroyElement');\n      }\n    }\n\n    cleanupRootFor(view) {\n      // no need to cleanup roots if we have already been destroyed\n      if (this._destroyed) {\n        return;\n      }\n\n      var roots = this._roots; // traverse in reverse so we can remove items\n      // without mucking up the index\n\n      var i = this._roots.length;\n\n      while (i--) {\n        var root = roots[i];\n\n        if (root.isFor(view)) {\n          root.destroy();\n          roots.splice(i, 1);\n        }\n      }\n    }\n\n    destroy() {\n      if (this._destroyed) {\n        return;\n      }\n\n      this._destroyed = true;\n\n      this._clearAllRoots();\n    }\n\n    getBounds(view) {\n      var bounds = view[BOUNDS];\n      (true && !(Boolean(bounds)) && (0, _debug.assert)('object passed to getBounds must have the BOUNDS symbol as a property', Boolean(bounds)));\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n\n    createElement(tagName) {\n      return this._env.getAppendOperations().createElement(tagName);\n    }\n\n    _renderRoot(root) {\n      var {\n        _roots: roots\n      } = this;\n      roots.push(root);\n\n      if (roots.length === 1) {\n        register(this);\n      }\n\n      this._renderRootsTransaction();\n    }\n\n    _renderRoots() {\n      var {\n        _roots: roots,\n        _env: env,\n        _removedRoots: removedRoots\n      } = this;\n      var initialRootsLength;\n\n      do {\n        env.begin();\n\n        try {\n          // ensure that for the first iteration of the loop\n          // each root is processed\n          initialRootsLength = roots.length;\n\n          for (var _i12 = 0; _i12 < roots.length; _i12++) {\n            var root = roots[_i12];\n\n            if (root.destroyed) {\n              // add to the list of roots to be removed\n              // they will be removed from `this._roots` later\n              removedRoots.push(root); // skip over roots that have been marked as destroyed\n\n              continue;\n            } // when processing non-initial reflush loops,\n            // do not process more roots than needed\n\n\n            if (_i12 >= initialRootsLength) {\n              continue;\n            }\n\n            if (true\n            /* DEBUG */\n            ) {\n              // run in an autotracking transaction to prevent backflow errors.\n              // we use `bind` here to avoid creating a closure (and requiring a\n              // hoisted variable).\n              (0, _metal.runInAutotrackingTransaction)(root.render.bind(root));\n            } else {\n              root.render();\n            }\n          }\n\n          this._lastRevision = (0, _reference.value)(_reference.CURRENT_TAG);\n        } finally {\n          env.commit();\n        }\n      } while (roots.length > initialRootsLength); // remove any roots that were destroyed during this transaction\n\n\n      while (removedRoots.length) {\n        var _root = removedRoots.pop();\n\n        var rootIndex = roots.indexOf(_root);\n        roots.splice(rootIndex, 1);\n      }\n\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\n    }\n\n    _renderRootsTransaction() {\n      if (this._isRenderingRoots) {\n        // currently rendering roots, a new root was added and will\n        // be processed by the existing _renderRoots invocation\n        return;\n      } // used to prevent calling _renderRoots again (see above)\n      // while we are actively rendering roots\n\n\n      this._isRenderingRoots = true;\n      var completedWithoutError = false;\n\n      try {\n        this._renderRoots();\n\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = (0, _reference.value)(_reference.CURRENT_TAG);\n\n          if (this._env.inTransaction === true) {\n            this._env.commit();\n          }\n        }\n\n        this._isRenderingRoots = false;\n      }\n    }\n\n    _clearAllRoots() {\n      var roots = this._roots;\n\n      for (var _i13 = 0; _i13 < roots.length; _i13++) {\n        var root = roots[_i13];\n        root.destroy();\n      }\n\n      this._removedRoots.length = 0;\n      this._roots = []; // if roots were present before destroying\n      // deregister this renderer instance\n\n      if (roots.length) {\n        deregister(this);\n      }\n    }\n\n    _scheduleRevalidate() {\n      _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n    }\n\n    _isValid() {\n      return this._destroyed || this._roots.length === 0 || (0, _reference.validate)(_reference.CURRENT_TAG, this._lastRevision);\n    }\n\n    _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n\n      this._renderRootsTransaction();\n    }\n\n  }\n\n  _exports.Renderer = Renderer;\n\n  class InertRenderer extends Renderer {\n    static create({\n      env,\n      rootTemplate,\n      _viewRegistry,\n      builder\n    }) {\n      return new this(env, rootTemplate, _viewRegistry, false, builder);\n    }\n\n    getElement(_view) {\n      throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n    }\n\n  }\n\n  _exports.InertRenderer = InertRenderer;\n\n  class InteractiveRenderer extends Renderer {\n    static create({\n      env,\n      rootTemplate,\n      _viewRegistry,\n      builder\n    }) {\n      return new this(env, rootTemplate, _viewRegistry, true, builder);\n    }\n\n    getElement(view) {\n      return (0, _views.getViewElement)(view);\n    }\n\n  }\n\n  _exports.InteractiveRenderer = InteractiveRenderer;\n  var TEMPLATES = {};\n\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n\n  function getTemplates() {\n    return TEMPLATES;\n  }\n\n  function getTemplate(name) {\n    if (TEMPLATES.hasOwnProperty(name)) {\n      return TEMPLATES[name];\n    }\n  }\n\n  function hasTemplate(name) {\n    return TEMPLATES.hasOwnProperty(name);\n  }\n\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n\n  class InternalComponentDefinition {\n    constructor(manager, ComponentClass, layout) {\n      this.manager = manager;\n      this.state = {\n        ComponentClass,\n        layout\n      };\n    }\n\n  }\n\n  class InternalManager extends AbstractManager {\n    constructor(owner) {\n      super();\n      this.owner = owner;\n    }\n\n    getLayout({\n      layout: _layout\n    }) {\n      var layout = _layout.asLayout();\n\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n  }\n\n  var CAPABILITIES$1 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: false,\n    updateHook: true,\n    createInstance: true\n  };\n  var EMPTY_POSITIONAL_ARGS$1 = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS$1);\n\n  class InputComponentManager extends InternalManager {\n    getCapabilities() {\n      return CAPABILITIES$1;\n    }\n\n    prepareArgs(_state, args) {\n      (true && !(args.positional.length === 0) && (0, _debug.assert)('The `<Input />` component does not take any positional arguments', args.positional.length === 0));\n      var __ARGS__ = args.named.capture().map;\n      return {\n        positional: EMPTY_POSITIONAL_ARGS$1,\n        named: {\n          __ARGS__: new RootReference(__ARGS__),\n          type: args.named.get('type')\n        }\n      };\n    }\n\n    create(env, {\n      ComponentClass,\n      layout\n    }, args, _dynamicScope, caller) {\n      (true && !((0, _reference.isConst)(caller)) && (0, _debug.assert)('caller must be const', (0, _reference.isConst)(caller)));\n      var type = args.named.get('type');\n      var instance = ComponentClass.create({\n        caller: caller.value(),\n        type: type.value()\n      });\n      var state = {\n        env,\n        type,\n        instance\n      };\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        env.debugRenderTree.create(state, {\n          type: 'component',\n          name: 'input',\n          args: args.capture(),\n          instance,\n          template: layout\n        });\n      }\n\n      return state;\n    }\n\n    getSelf({\n      env,\n      instance\n    }) {\n      return new RootReference(instance, env);\n    }\n\n    getTag() {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        // returning a const tag skips the update hook (VM BUG?)\n        return (0, _reference.createTag)();\n      } else {\n        // an outlet has no hooks\n        return _reference.CONSTANT_TAG;\n      }\n    }\n\n    didRenderLayout(state, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.env.debugRenderTree.didRender(state, bounds);\n      }\n    }\n\n    update(state) {\n      (0, _metal.set)(state.instance, 'type', state.type.value());\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.env.debugRenderTree.update(state);\n      }\n    }\n\n    didUpdateLayout(state, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.env.debugRenderTree.didRender(state, bounds);\n      }\n    }\n\n    getDestructor(state) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return {\n          destroy() {\n            state.env.debugRenderTree.willDestroy(state);\n            state.instance.destroy();\n          }\n\n        };\n      } else {\n        return state.instance;\n      }\n    }\n\n  }\n\n  var InputComponentManagerFactory = owner => {\n    return new InputComponentManager(owner);\n  };\n\n  var MANAGERS = new WeakMap();\n  var getPrototypeOf = Object.getPrototypeOf;\n\n  function setManager(wrapper, obj) {\n    MANAGERS.set(obj, wrapper);\n    return obj;\n  }\n\n  function getManager(obj) {\n    var pointer = obj;\n\n    while (pointer !== undefined && pointer !== null) {\n      var manager = MANAGERS.get(pointer);\n\n      if (manager !== undefined) {\n        return manager;\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\n\n    return null;\n  }\n  /**\n  @module @ember/component\n  */\n\n  /**\n    See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n  \n    @method input\n    @for Ember.Templates.helpers\n    @param {Hash} options\n    @public\n    */\n\n  /**\n    The `Input` component lets you create an HTML `<input>` element.\n  \n    ```handlebars\n    <Input @value=\"987\" />\n    ```\n  \n    creates an `<input>` element with `type=\"text\"` and value set to 987.\n  \n    ### Text field\n  \n    If no `type` argument is specified, a default of type 'text' is used.\n  \n    ```handlebars\n    Search:\n    <Input @value={{this.searchWord}} />\n    ```\n  \n    In this example, the initial value in the `<input>` will be set to the value of\n    `this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\n    updated.\n  \n    ### Actions\n  \n    The `Input` component takes a number of arguments with callbacks that are invoked in response to\n    user events.\n  \n    * `enter`\n    * `insert-newline`\n    * `escape-press`\n    * `focus-in`\n    * `focus-out`\n    * `key-press`\n    * `key-up`\n  \n    These callbacks are passed to `Input` like this:\n  \n    ```handlebars\n    <Input @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    ### `<input>` HTML Attributes to Avoid\n  \n    In most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\n    can pass the attribute directly, just like any other Ember component.\n  \n    ```handlebars\n    <Input @type=\"text\" size=\"10\" />\n    ```\n  \n    In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n    outputted HTML.\n  \n    However, there are a few attributes where you **must** use the `@` version.\n  \n    * `@type`: This argument is used to control which Ember component is used under the hood\n    * `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n      one-way binding, use `<input>` with the `value` property and the `input` event instead.\n    * `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n      onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n      `checked` and the `input` event instead.\n  \n    ### Extending `TextField`\n  \n    Internally, `<Input @type=\"text\" />` creates an instance of `TextField`, passing arguments from\n    the helper to `TextField`'s `create` method. Subclassing `TextField` is supported but not\n    recommended.\n  \n    See [TextField](/ember/release/classes/TextField)\n  \n    ### Checkbox\n  \n    To create an `<input type=\"checkbox\">`:\n  \n    ```handlebars\n    Emberize Everything:\n    <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n    ```\n  \n    This will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\n    changes, it will be reflected in the other.\n  \n    ### Extending `Checkbox`\n  \n    Internally, `<Input @type=\"checkbox\" />` creates an instance of `Checkbox`. Subclassing\n    `TextField` is supported but not recommended.\n  \n    See [Checkbox](/ember/release/classes/Checkbox)\n  \n    @method Input\n    @for Ember.Templates.components\n    @see {TextField}\n    @see {Checkbox}\n    @param {Hash} options\n    @public\n  */\n\n\n  var Input = _runtime.Object.extend({\n    isCheckbox: (0, _metal.computed)('type', function () {\n      return this.type === 'checkbox';\n    })\n  });\n\n  setManager({\n    factory: InputComponentManagerFactory,\n    internal: true,\n    type: 'component'\n  }, Input);\n\n  Input.toString = () => '@ember/component/input'; ///<reference path=\"./simple-dom.d.ts\" />\n\n  /**\n  @module ember\n  */\n\n  /**\n    Calls [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) with the\n    provided string. This is a convenient way to localize text within a template.\n    For example:\n  \n    ```javascript\n    Ember.STRINGS = {\n      '_welcome_': 'Bonjour'\n    };\n    ```\n  \n    ```handlebars\n    <div class='message'>\n      {{loc '_welcome_'}}\n    </div>\n    ```\n  \n    ```html\n    <div class='message'>\n      Bonjour\n    </div>\n    ```\n  \n    See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) for how to\n    set up localized string references.\n  \n    @method loc\n    @for Ember.Templates.helpers\n    @param {String} str The string to format.\n    @see {String#loc}\n    @public\n  */\n\n\n  var loc$1 = helper(function (params) {\n    return _string.loc.apply(null, params\n    /* let the other side handle errors */\n    );\n  });\n\n  class CompileTimeLookup {\n    constructor(resolver) {\n      this.resolver = resolver;\n    }\n\n    getCapabilities(handle) {\n      var definition = this.resolver.resolve(handle);\n      var {\n        manager,\n        state\n      } = definition;\n      return manager.getCapabilities(state);\n    }\n\n    getLayout(handle) {\n      var {\n        manager,\n        state\n      } = this.resolver.resolve(handle);\n      var capabilities = manager.getCapabilities(state);\n\n      if (capabilities.dynamicLayout) {\n        return null;\n      }\n\n      var invocation = manager.getLayout(state, this.resolver);\n      return {\n        // TODO: this seems weird, it already is compiled\n        compile() {\n          return invocation.handle;\n        },\n\n        symbolTable: invocation.symbolTable\n      };\n    }\n\n    lookupHelper(name, referrer) {\n      return this.resolver.lookupHelper(name, referrer);\n    }\n\n    lookupModifier(name, referrer) {\n      return this.resolver.lookupModifier(name, referrer);\n    }\n\n    lookupComponentDefinition(name, referrer) {\n      return this.resolver.lookupComponentHandle(name, referrer);\n    }\n\n    lookupPartial(name, referrer) {\n      return this.resolver.lookupPartial(name, referrer);\n    }\n\n  }\n\n  var CAPABILITIES$2 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  };\n\n  function capabilities(managerAPI, options = {}) {\n    (true && !(managerAPI === '3.4' || managerAPI === '3.13') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4' || managerAPI === '3.13'));\n    var updateHook = true;\n    {\n      updateHook = managerAPI === '3.13' ? Boolean(options.updateHook) : true;\n    }\n    return {\n      asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n      destructor: Boolean(options.destructor),\n      updateHook\n    };\n  }\n\n  function hasAsyncLifeCycleCallbacks(delegate) {\n    return delegate.capabilities.asyncLifeCycleCallbacks;\n  }\n\n  function hasUpdateHook(delegate) {\n    return delegate.capabilities.updateHook;\n  }\n\n  function hasAsyncUpdateHook(delegate) {\n    return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n  }\n\n  function hasDestructors(delegate) {\n    return delegate.capabilities.destructor;\n  }\n  /**\n    The CustomComponentManager allows addons to provide custom component\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom component manager, which\n    implements a set of hooks that determine component behavior.\n  \n    To create a custom component manager, instantiate a new CustomComponentManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomComponentManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a component, the component manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n  \n    * `create()` - invoked when a new instance of a component should be created\n    * `update()` - invoked when the arguments passed to a component change\n    * `getContext()` - returns the object that should be\n  */\n\n\n  class CustomComponentManager extends AbstractManager {\n    create(env, definition, args) {\n      var {\n        delegate\n      } = definition;\n      var capturedArgs = args.capture();\n      var namedArgs = capturedArgs.named;\n      var value$$1;\n      var namedArgsProxy = {};\n      {\n        var getTag = key => {\n          return namedArgs.get(key).tag;\n        };\n\n        if (_utils.HAS_NATIVE_PROXY) {\n          var handler = {\n            get(_target, prop) {\n              if (namedArgs.has(prop)) {\n                var ref = namedArgs.get(prop);\n                (0, _metal.consume)(ref.tag);\n                return ref.value();\n              } else if (prop === _metal.CUSTOM_TAG_FOR) {\n                return getTag;\n              }\n            },\n\n            has(_target, prop) {\n              return namedArgs.has(prop);\n            },\n\n            ownKeys(_target) {\n              return namedArgs.names;\n            },\n\n            getOwnPropertyDescriptor(_target, prop) {\n              (true && !(namedArgs.has(prop)) && (0, _debug.assert)('args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys()', namedArgs.has(prop)));\n              return {\n                enumerable: true,\n                configurable: true\n              };\n            }\n\n          };\n\n          if (true\n          /* DEBUG */\n          ) {\n            handler.set = function (_target, prop) {\n              (true && !(false) && (0, _debug.assert)(`You attempted to set ${definition.ComponentClass.class}#${String(prop)} on a components arguments. Component arguments are immutable and cannot be updated directly, they always represent the values that are passed to your component. If you want to set default values, you should use a getter instead`));\n              return false;\n            };\n          }\n\n          namedArgsProxy = new Proxy(namedArgsProxy, handler);\n        } else {\n          Object.defineProperty(namedArgsProxy, _metal.CUSTOM_TAG_FOR, {\n            configurable: false,\n            enumerable: false,\n            value: getTag\n          });\n          namedArgs.names.forEach(name => {\n            Object.defineProperty(namedArgsProxy, name, {\n              enumerable: true,\n              configurable: true,\n\n              get() {\n                var ref = namedArgs.get(name);\n                (0, _metal.consume)(ref.tag);\n                return ref.value();\n              }\n\n            });\n          });\n        }\n\n        value$$1 = {\n          named: namedArgsProxy,\n          positional: capturedArgs.positional.value()\n        };\n      }\n      var component = delegate.createComponent(definition.ComponentClass.class, value$$1);\n      var bucket = new CustomComponentState(delegate, component, capturedArgs, env, namedArgsProxy);\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        env.debugRenderTree.create(bucket, {\n          type: 'component',\n          name: definition.name,\n          args: args.capture(),\n          instance: component,\n          template: definition.template\n        });\n      }\n\n      return bucket;\n    }\n\n    update(bucket) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.env.debugRenderTree.update(bucket);\n      }\n\n      var {\n        delegate,\n        component,\n        args,\n        namedArgsProxy\n      } = bucket;\n      var value$$1;\n      {\n        value$$1 = {\n          named: namedArgsProxy,\n          positional: args.positional.value()\n        };\n      }\n\n      if (hasUpdateHook(delegate)) {\n        delegate.updateComponent(component, value$$1);\n      }\n    }\n\n    didCreate({\n      delegate,\n      component\n    }) {\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didCreateComponent(component);\n      }\n    }\n\n    didUpdate({\n      delegate,\n      component\n    }) {\n      if (hasAsyncUpdateHook(delegate)) {\n        delegate.didUpdateComponent(component);\n      }\n    }\n\n    getContext({\n      delegate,\n      component\n    }) {\n      delegate.getContext(component);\n    }\n\n    getSelf({\n      env,\n      delegate,\n      component\n    }) {\n      return RootReference.create(delegate.getContext(component), env);\n    }\n\n    getDestructor(state) {\n      var destructor = null;\n\n      if (hasDestructors(state.delegate)) {\n        destructor = state;\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        var inner = destructor;\n        destructor = {\n          destroy() {\n            state.env.debugRenderTree.willDestroy(state);\n\n            if (inner) {\n              inner.destroy();\n            }\n          }\n\n        };\n      }\n\n      return destructor;\n    }\n\n    getCapabilities({\n      delegate\n    }) {\n      return (0, _polyfills.assign)({}, CAPABILITIES$2, {\n        updateHook: _environment2.ENV._DEBUG_RENDER_TREE || delegate.capabilities.updateHook\n      });\n    }\n\n    getTag({\n      args\n    }) {\n      if ((0, _reference.isConst)(args)) {\n        // returning a const tag skips the update hook (VM BUG?)\n        return (0, _reference.createTag)();\n      } else {\n        return args.tag;\n      }\n    }\n\n    didRenderLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.env.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    didUpdateLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.env.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    getLayout(state) {\n      return {\n        handle: state.template.asLayout().compile(),\n        symbolTable: state.symbolTable\n      };\n    }\n\n  }\n\n  var CUSTOM_COMPONENT_MANAGER = new CustomComponentManager();\n  /**\n   * Stores internal state about a component instance after it's been created.\n   */\n\n  class CustomComponentState {\n    constructor(delegate, component, args, env, namedArgsProxy) {\n      this.delegate = delegate;\n      this.component = component;\n      this.args = args;\n      this.env = env;\n      this.namedArgsProxy = namedArgsProxy;\n    }\n\n    destroy() {\n      var {\n        delegate,\n        component\n      } = this;\n\n      if (hasDestructors(delegate)) {\n        delegate.destroyComponent(component);\n      }\n    }\n\n  }\n\n  class CustomManagerDefinition {\n    constructor(name, ComponentClass, delegate, template) {\n      this.name = name;\n      this.ComponentClass = ComponentClass;\n      this.delegate = delegate;\n      this.template = template;\n      this.manager = CUSTOM_COMPONENT_MANAGER;\n      var layout = template.asLayout();\n      var symbolTable = layout.symbolTable;\n      this.symbolTable = symbolTable;\n      this.state = {\n        name,\n        ComponentClass,\n        template,\n        symbolTable,\n        delegate\n      };\n    }\n\n  }\n\n  var CAPABILITIES$3 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: _environment2.ENV._DEBUG_RENDER_TREE,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: false,\n    updateHook: _environment2.ENV._DEBUG_RENDER_TREE,\n    createInstance: true\n  };\n\n  class TemplateOnlyComponentManager extends AbstractManager {\n    getLayout({\n      template\n    }) {\n      var layout = template.asLayout();\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$3;\n    }\n\n    create(environment, {\n      name,\n      template\n    }, args) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        var bucket = {\n          environment\n        };\n        environment.debugRenderTree.create(bucket, {\n          type: 'component',\n          name: name,\n          args: args.capture(),\n          instance: null,\n          template\n        });\n        return bucket;\n      } else {\n        return null;\n      }\n    }\n\n    getSelf() {\n      return _runtime2.NULL_REFERENCE;\n    }\n\n    getTag() {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        // returning a const tag skips the update hook (VM BUG?)\n        return (0, _reference.createTag)();\n      } else {\n        // an outlet has no hooks\n        return _reference.CONSTANT_TAG;\n      }\n    }\n\n    getDestructor(bucket) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return {\n          destroy() {\n            bucket.environment.debugRenderTree.willDestroy(bucket);\n          }\n\n        };\n      } else {\n        return null;\n      }\n    }\n\n    didRenderLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    update(bucket) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.update(bucket);\n      }\n    }\n\n    didUpdateLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n  }\n\n  var MANAGER = new TemplateOnlyComponentManager();\n\n  class TemplateOnlyComponentDefinition {\n    constructor(name, template) {\n      this.name = name;\n      this.template = template;\n      this.manager = MANAGER;\n    }\n\n    get state() {\n      return this;\n    }\n\n  }\n\n  var helper$1;\n\n  if (true\n  /* DEBUG */\n  ) {\n    class ComponentAssertionReference {\n      constructor(component, message) {\n        this.component = component;\n        this.message = message;\n        this.tag = component.tag;\n      }\n\n      value() {\n        var value$$1 = this.component.value();\n        (true && !(typeof value$$1 !== 'string') && (0, _debug.assert)(this.message, typeof value$$1 !== 'string'));\n        return value$$1;\n      }\n\n      get(property) {\n        return this.component.get(property);\n      }\n\n    }\n\n    helper$1 = (_vm, args) => new ComponentAssertionReference(args.positional.at(0), args.positional.at(1).value());\n  } else {\n    helper$1 = (_vm, args) => args.positional.at(0);\n  }\n\n  var componentAssertionHelper = helper$1;\n\n  function classHelper({\n    positional\n  }) {\n    var path = positional.at(0);\n    var args = positional.length;\n    var value$$1 = path.value();\n\n    if (value$$1 === true) {\n      if (args > 1) {\n        return (0, _string.dasherize)(positional.at(1).value());\n      }\n\n      return null;\n    }\n\n    if (value$$1 === false) {\n      if (args > 2) {\n        return (0, _string.dasherize)(positional.at(2).value());\n      }\n\n      return null;\n    }\n\n    return value$$1;\n  }\n\n  function classHelper$1(_vm, args) {\n    return new InternalHelperReference(classHelper, args.capture());\n  }\n\n  function i({\n    positional\n  }) {\n    (true && !(typeof positional.at(0).value() === 'string') && (0, _debug.assert)('[BUG] -i takes a single string', typeof positional.at(0).value() === 'string'));\n    return parseInt(positional.at(0).value(), 10);\n  }\n\n  function parseIntHelper(_vm, args) {\n    return new InternalHelperReference(i, args.capture());\n  }\n\n  function inputTypeHelper({\n    positional\n  }) {\n    var type = positional.at(0).value();\n\n    if (type === 'checkbox') {\n      return '-checkbox';\n    }\n\n    return '-text-field';\n  }\n\n  function inputTypeHelper$1(_vm, args) {\n    return new InternalHelperReference(inputTypeHelper, args.capture());\n  }\n\n  function normalizeClass({\n    positional\n  }) {\n    var classNameParts = positional.at(0).value().split('.');\n    var className = classNameParts[classNameParts.length - 1];\n    var value$$1 = positional.at(1).value();\n\n    if (value$$1 === true) {\n      return (0, _string.dasherize)(className);\n    } else if (!value$$1 && value$$1 !== 0) {\n      return '';\n    } else {\n      return String(value$$1);\n    }\n  }\n\n  function normalizeClassHelper(_vm, args) {\n    return new InternalHelperReference(normalizeClass, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{action}}` helper provides a way to pass triggers for behavior (usually\n    just a function) between components, and into components from controllers.\n  \n    ### Passing functions with the action helper\n  \n    There are three contexts an action helper can be used in. The first two\n    contexts to discuss are attribute context, and Handlebars value context.\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    {{! Examples of Handlebars value context }}\n    {{input on-input=(action \"save\")}}\n    {{yield (action \"refreshData\") andAnotherParam}}\n    ```\n  \n    In these contexts,\n    the helper is called a \"closure action\" helper. Its behavior is simple:\n    If passed a function name, read that function off the `actions` property\n    of the current context. Once that function is read, or immediately if a function was\n    passed, create a closure over that function and any arguments.\n    The resulting value of an action helper used this way is simply a function.\n  \n    For example, in the attribute context:\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    ```\n  \n    The resulting template render logic would be:\n  \n    ```js\n    var div = document.createElement('div');\n    var actionFunction = (function(context){\n      return function() {\n        return context.actions.save.apply(context, arguments);\n      };\n    })(context);\n    div.onclick = actionFunction;\n    ```\n  \n    Thus when the div is clicked, the action on that context is called.\n    Because the `actionFunction` is just a function, closure actions can be\n    passed between components and still execute in the correct context.\n  \n    Here is an example action handler on a component:\n  \n    ```app/components/my-component.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      save() {\n        this.model.save();\n      }\n    }\n    ```\n  \n    Actions are always looked up on the `actions` property of the current context.\n    This avoids collisions in the naming of common actions, such as `destroy`.\n    Two options can be passed to the `action` helper when it is used in this way.\n  \n    * `target=someProperty` will look to `someProperty` instead of the current\n      context for the `actions` hash. This can be useful when targeting a\n      service for actions.\n    * `value=\"target.value\"` will read the path `target.value` off the first\n      argument to the action when it is called and rewrite the first argument\n      to be that value. This is useful when attaching actions to event listeners.\n  \n    ### Invoking an action\n  \n    Closure actions curry both their scope and any arguments. When invoked, any\n    additional arguments are added to the already curried list.\n    Actions should be invoked using the [sendAction](/ember/release/classes/Component/methods/sendAction?anchor=sendAction)\n    method. The first argument to `sendAction` is the action to be called, and\n    additional arguments are passed to the action function. This has interesting\n    properties combined with currying of arguments. For example:\n  \n    ```app/components/update-name.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      setName(model, name) {\n        model.set('name', name);\n      }\n    }\n    ```\n  \n    ```app/components/update-name.hbs\n    {{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n    ```\n  \n    The first argument (`@model`) was curried over, and the run-time argument (`event`)\n    becomes a second argument. Action calls can be nested this way because each simply\n    returns a function. Any function can be passed to the `{{action}}` helper, including\n    other actions.\n  \n    Actions invoked with `sendAction` have the same currying behavior as demonstrated\n    with `on-input` above. For example:\n  \n    ```app/components/my-input.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      setName(model, name) {\n        model.set('name', name);\n      }\n    }\n    ```\n  \n    ```handlebars\n    <MyInput @submit={{action 'setName' @model}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{my-input submit=(action 'setName' @model)}}\n    ```\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        // Note that model is not passed, it was curried in the template\n        this.sendAction('submit', 'bob');\n      }\n    });\n    ```\n  \n    ### Attaching actions to DOM elements\n  \n    The third context of the `{{action}}` helper can be called \"element space\".\n    For example:\n  \n    ```handlebars\n    {{! An example of element space }}\n    <div {{action \"save\"}}></div>\n    ```\n  \n    Used this way, the `{{action}}` helper provides a useful shortcut for\n    registering an HTML element in a template for a single DOM event and\n    forwarding that interaction to the template's context (controller or component).\n    If the context of a template is a controller, actions used this way will\n    bubble to routes when the controller does not implement the specified action.\n    Once an action hits a route, it will bubble through the route hierarchy.\n  \n    ### Event Propagation\n  \n    `{{action}}` helpers called in element space can control event bubbling. Note\n    that the closure style actions cannot.\n  \n    Events triggered through the action helper will automatically have\n    `.preventDefault()` called on them. You do not need to do so in your event\n    handlers. If you need to allow event propagation (to handle file inputs for\n    example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n  \n    ```handlebars\n    <div {{action \"sayHello\" preventDefault=false}}>\n      <input type=\"file\" />\n      <input type=\"checkbox\" />\n    </div>\n    ```\n  \n    To disable bubbling, pass `bubbles=false` to the helper:\n  \n    ```handlebars\n    <button {{action 'edit' post bubbles=false}}>Edit</button>\n    ```\n  \n    To disable bubbling with closure style actions you must create your own\n    wrapper helper that makes use of `event.stopPropagation()`:\n  \n    ```handlebars\n    <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n    ```\n  \n    ```app/helpers/disable-bubbling.js\n    import { helper } from '@ember/component/helper';\n  \n    export function disableBubbling([action]) {\n      return function(event) {\n        event.stopPropagation();\n        return action(event);\n      };\n    }\n    export default helper(disableBubbling);\n    ```\n  \n    If you need the default handler to trigger you should either register your\n    own event handler, or use event methods on your view class. See\n    [\"Responding to Browser Events\"](/ember/release/classes/Component)\n    in the documentation for `Component` for more information.\n  \n    ### Specifying DOM event type\n  \n    `{{action}}` helpers called in element space can specify an event type.\n    By default the `{{action}}` helper registers for DOM `click` events. You can\n    supply an `on` option to the helper to specify a different DOM event name:\n  \n    ```handlebars\n    <div {{action \"anActionName\" on=\"doubleClick\"}}>\n      click me\n    </div>\n    ```\n  \n    See [\"Event Names\"](/ember/release/classes/Component) for a list of\n    acceptable DOM event names.\n  \n    ### Specifying whitelisted modifier keys\n  \n    `{{action}}` helpers called in element space can specify modifier keys.\n    By default the `{{action}}` helper will ignore click events with pressed modifier\n    keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n      click me\n    </div>\n    ```\n  \n    This way the action will fire when clicking with the alt key pressed down.\n    Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n      click me with any key pressed\n    </div>\n    ```\n  \n    ### Specifying a Target\n  \n    A `target` option can be provided to the helper to change\n    which object will receive the method call. This option must be a path\n    to an object, accessible in the current context:\n  \n    ```app/templates/application.hbs\n    <div {{action \"anActionName\" target=someService}}>\n      click me\n    </div>\n    ```\n  \n    ```app/controllers/application.js\n    import Controller from '@ember/controller';\n    import { inject as service } from '@ember/service';\n  \n    export default class extends Controller {\n      @service someService;\n    }\n    ```\n  \n    @method action\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function action(_vm, args) {\n    var {\n      named,\n      positional\n    } = args;\n    var capturedArgs = positional.capture(); // The first two argument slots are reserved.\n    // pos[0] is the context (or `this`)\n    // pos[1] is the action name or function\n    // Anything else is an action argument.\n\n    var [context, action, ...restArgs] = capturedArgs.references; // TODO: Is there a better way of doing this?\n\n    var debugKey = action.propertyKey;\n    var target = named.has('target') ? named.get('target') : context;\n    var processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n    var fn;\n\n    if (typeof action[INVOKE] === 'function') {\n      fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n    } else if ((0, _reference.isConst)(target) && (0, _reference.isConst)(action)) {\n      fn = makeClosureAction(context.value(), target.value(), action.value(), processArgs, debugKey);\n    } else {\n      fn = makeDynamicClosureAction(context.value(), target, action, processArgs, debugKey);\n    }\n\n    fn[ACTION] = true;\n    return new UnboundReference(fn);\n  }\n\n  function NOOP$1(args) {\n    return args;\n  }\n\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    var mergeArgs;\n\n    if (actionArgsRef.length > 0) {\n      mergeArgs = args => {\n        return actionArgsRef.map(ref => ref.value()).concat(args);\n      };\n    }\n\n    var readValue;\n\n    if (valuePathRef) {\n      readValue = args => {\n        var valuePath = valuePathRef.value();\n\n        if (valuePath && args.length > 0) {\n          args[0] = (0, _metal.get)(args[0], valuePath);\n        }\n\n        return args;\n      };\n    }\n\n    if (mergeArgs && readValue) {\n      return args => {\n        return readValue(mergeArgs(args));\n      };\n    } else {\n      return mergeArgs || readValue || NOOP$1;\n    }\n  }\n\n  function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n    // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n    if (true\n    /* DEBUG */\n    ) {\n      makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey);\n    }\n\n    return (...args) => {\n      return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey)(...args);\n    };\n  }\n\n  function makeClosureAction(context, target, action, processArgs, debugKey) {\n    var self;\n    var fn;\n    (true && !(action !== undefined && action !== null) && (0, _debug.assert)(`Action passed is null or undefined in (action) from ${target}.`, action !== undefined && action !== null));\n\n    if (typeof action[INVOKE] === 'function') {\n      self = action;\n      fn = action[INVOKE];\n    } else {\n      var typeofAction = typeof action;\n\n      if (typeofAction === 'string') {\n        self = target;\n        fn = target.actions && target.actions[action];\n        (true && !(fn) && (0, _debug.assert)(`An action named '${action}' was not found in ${target}`, fn));\n      } else if (typeofAction === 'function') {\n        self = context;\n        fn = action;\n      } else {\n        // tslint:disable-next-line:max-line-length\n        (true && !(false) && (0, _debug.assert)(`An action could not be made for \\`${debugKey || action}\\` in ${target}. Please confirm that you are using either a quoted action name (i.e. \\`(action '${debugKey || 'myAction'}')\\`) or a function available in ${target}.`, false));\n      }\n    }\n\n    return (...args) => {\n      var payload = {\n        target: self,\n        args,\n        label: '@glimmer/closure-action'\n      };\n      return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n        return (0, _runloop.join)(self, fn, ...processArgs(args));\n      });\n    };\n  }\n  /**\n  @module ember\n  */\n\n  /**\n     Use the `{{array}}` helper to create an array to pass as an option to your\n     components.\n  \n     ```handlebars\n     <MyComponent @people={{array\n       'Tom Dade'\n       'Yehuda Katz'\n       this.myOtherPerson}}\n     />\n     ```\n      or\n     ```handlebars\n     {{my-component people=(array\n       'Tom Dade'\n       'Yehuda Katz'\n       this.myOtherPerson)\n     }}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     ['Tom Date', 'Yehuda Katz', this.get('myOtherPerson')]\n     ```\n  \n     Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n  \n     @method array\n     @for Ember.Templates.helpers\n     @param {Array} options\n     @return {Array} Array\n     @since 3.8.0\n     @public\n   */\n\n\n  function array(_vm, args) {\n    return args.positional.capture();\n  }\n\n  var isEmpty = value$$1 => {\n    return value$$1 === null || value$$1 === undefined || typeof value$$1.toString !== 'function';\n  };\n\n  var normalizeTextValue = value$$1 => {\n    if (isEmpty(value$$1)) {\n      return '';\n    }\n\n    return String(value$$1);\n  };\n  /**\n  @module ember\n  */\n\n  /**\n    Concatenates the given arguments into a string.\n  \n    Example:\n  \n    ```handlebars\n    {{some-component name=(concat firstName \" \" lastName)}}\n  \n    {{! would pass name=\"<first name value> <last name value>\" to the component}}\n    ```\n  \n    or for angle bracket invocation, you actually don't need concat at all.\n  \n    ```handlebars\n    <SomeComponent @name=\"{{firstName}} {{lastName}}\" />\n    ```\n  \n    @public\n    @method concat\n    @for Ember.Templates.helpers\n    @since 1.13.0\n  */\n\n\n  function concat({\n    positional\n  }) {\n    return positional.value().map(normalizeTextValue).join('');\n  }\n\n  function concat$1(_vm, args) {\n    return new InternalHelperReference(concat, args.capture());\n  }\n\n  function buildUntouchableThis(source) {\n    var context = null;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      var assertOnProperty = property => {\n        (true && !(false) && (0, _debug.assert)(`You accessed \\`this.${String(property)}\\` from a function passed to the ${source}, but the function itself was not bound to a valid \\`this\\` context. Consider updating to usage of \\`@action\\`.`));\n      };\n\n      context = new Proxy({}, {\n        get(_target, property) {\n          assertOnProperty(property);\n        },\n\n        set(_target, property) {\n          assertOnProperty(property);\n          return false;\n        },\n\n        has(_target, property) {\n          assertOnProperty(property);\n          return false;\n        }\n\n      });\n    }\n\n    return context;\n  }\n\n  var context = buildUntouchableThis('`fn` helper');\n  /**\n  @module ember\n  */\n\n  /**\n    The `fn` helper allows you to ensure a function that you are passing off\n    to another component, helper, or modifier has access to arguments that are\n    available in the template.\n  \n    For example, if you have an `each` helper looping over a number of items, you\n    may need to pass a function that expects to receive the item as an argument\n    to a component invoked within the loop. Here's how you could use the `fn`\n    helper to pass both the function and its arguments together:\n  \n      ```app/templates/components/items-listing.hbs\n    {{#each @items as |item|}}\n      <DisplayItem @item=item @select={{fn this.handleSelected item}} />\n    {{/each}}\n    ```\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class ItemsList extends Component {\n      @action\n      handleSelected(item) {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this case the `display-item` component will receive a normal function\n    that it can invoke. When it invokes the function, the `handleSelected`\n    function will receive the `item` and any arguments passed, thanks to the\n    `fn` helper.\n  \n    Let's take look at what that means in a couple circumstances:\n  \n    - When invoked as `this.args.select()` the `handleSelected` function will\n      receive the `item` from the loop as its first and only argument.\n    - When invoked as `this.args.select('foo')` the `handleSelected` function\n      will receive the `item` from the loop as its first argument and the\n      string `'foo'` as its second argument.\n  \n    In the example above, we used `@action` to ensure that `handleSelected` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n  \n    export default class ItemsList extends Component {\n      handleSelected(item) {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when `handleSelected` is invoked inside the `display-item`\n    component, it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via `@action` or other means) before passing into `fn`!\n  \n    See also [partial application](https://en.wikipedia.org/wiki/Partial_application).\n  \n    @method fn\n    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n  function fnHelper({\n    positional\n  }) {\n    var callbackRef = positional.at(0);\n\n    if (true\n    /* DEBUG */\n    && typeof callbackRef[INVOKE] !== 'function') {\n      var callback = callbackRef.value();\n      (true && !(typeof callback === 'function') && (0, _debug.assert)(`You must pass a function as the \\`fn\\` helpers first argument, you passed ${callback}`, typeof callback === 'function'));\n    }\n\n    return (...invocationArgs) => {\n      var [fn, ...args] = positional.value();\n\n      if (typeof callbackRef[INVOKE] === 'function') {\n        // references with the INVOKE symbol expect the function behind\n        // the symbol to be bound to the reference\n        return callbackRef[INVOKE](...args, ...invocationArgs);\n      } else {\n        return fn['call'](context, ...args, ...invocationArgs);\n      }\n    };\n  }\n\n  function fn(_vm, args) {\n    return new InternalHelperReference(fnHelper, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    Dynamically look up a property on an object. The second argument to `{{get}}`\n    should have a string value, although it can be bound.\n  \n    For example, these two usages are equivalent:\n  \n    ```app/components/developer-detail.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        name: \"Sandi Metz\",\n        language: \"Ruby\"\n      }\n    }\n    ```\n  \n    ```handlebars\n    {{this.developer.name}}\n    {{get this.developer \"name\"}}\n    ```\n  \n    If there were several facts about a person, the `{{get}}` helper can dynamically\n    pick one:\n  \n    ```app/templates/application.hbs\n    <DeveloperDetail @factName=\"language\" />\n    ```\n  \n    ```handlebars\n    {{get this.developer @factName}}\n    ```\n  \n    For a more complex example, this template would allow the user to switch\n    between showing the user's height and weight with a click:\n  \n    ```app/components/developer-detail.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        name: \"Sandi Metz\",\n        language: \"Ruby\"\n      }\n  \n      @tracked currentFact = 'name'\n  \n      @action\n      showFact(fact) {\n        this.currentFact = fact;\n      }\n    }\n    ```\n  \n    ```app/components/developer-detail.js\n    {{get this.developer this.currentFact}}\n  \n    <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n    <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n    ```\n  \n    The `{{get}}` helper can also respect mutable values itself. For example:\n  \n    ```app/components/developer-detail.js\n    <Input @value={{mut (get this.person this.currentFact)}} />\n  \n    <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n    <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n    ```\n  \n    Would allow the user to swap what fact is being displayed, and also edit\n    that fact via a two-way mutable binding.\n  \n    @public\n    @method get\n    @for Ember.Templates.helpers\n    @since 2.1.0\n   */\n\n\n  function get$1(_vm, args) {\n    return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n  }\n\n  function referenceFromPath(source, path) {\n    var innerReference;\n\n    if (path === undefined || path === null || path === '') {\n      innerReference = _runtime2.NULL_REFERENCE;\n    } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n      innerReference = referenceFromParts(source, path.split('.'));\n    } else {\n      innerReference = source.get(path);\n    }\n\n    return innerReference;\n  }\n\n  class GetHelperReference extends CachedReference$1 {\n    static create(sourceReference, pathReference) {\n      if ((0, _reference.isConst)(pathReference)) {\n        var path = pathReference.value();\n        return referenceFromPath(sourceReference, path);\n      } else {\n        return new GetHelperReference(sourceReference, pathReference);\n      }\n    }\n\n    constructor(sourceReference, pathReference) {\n      super();\n      this.sourceReference = sourceReference;\n      this.pathReference = pathReference;\n      this.lastPath = null;\n      this.innerReference = _runtime2.NULL_REFERENCE;\n      var innerTag = this.innerTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([sourceReference.tag, pathReference.tag, innerTag]);\n    }\n\n    compute() {\n      var {\n        lastPath,\n        innerReference,\n        innerTag\n      } = this;\n      var path = this.pathReference.value();\n\n      if (path !== lastPath) {\n        innerReference = referenceFromPath(this.sourceReference, path);\n        (0, _reference.update)(innerTag, innerReference.tag);\n        this.innerReference = innerReference;\n        this.lastPath = path;\n      }\n\n      return innerReference.value();\n    }\n\n    [UPDATE](value$$1) {\n      (0, _metal.set)(this.sourceReference.value(), this.pathReference.value(), value$$1);\n    }\n\n  }\n  /**\n  @module ember\n  */\n\n  /**\n     Use the `{{hash}}` helper to create a hash to pass as an option to your\n     components. This is specially useful for contextual components where you can\n     just yield a hash:\n  \n     ```handlebars\n     {{yield (hash\n        name='Sarah'\n        title=office\n     )}}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     { name: 'Sarah', title: this.get('office') }\n     ```\n  \n     Where the `title` is bound to updates of the `office` property.\n  \n     Note that the hash is an empty object with no prototype chain, therefore\n     common methods like `toString` are not available in the resulting hash.\n     If you need to use such a method, you can use the `call` or `apply`\n     approach:\n  \n     ```js\n     function toString(obj) {\n       return Object.prototype.toString.apply(obj);\n     }\n     ```\n  \n     @method hash\n     @for Ember.Templates.helpers\n     @param {Object} options\n     @return {Object} Hash\n     @since 2.3.0\n     @public\n   */\n\n\n  function hash(_vm, args) {\n    return args.named.capture();\n  }\n  /**\n  @module ember\n  */\n\n\n  class ConditionalHelperReference extends CachedReference$1 {\n    static create(_condRef, truthyRef, falsyRef) {\n      var condRef = ConditionalReference$1.create(_condRef);\n\n      if ((0, _reference.isConst)(condRef)) {\n        return condRef.value() ? truthyRef : falsyRef;\n      } else {\n        return new ConditionalHelperReference(condRef, truthyRef, falsyRef);\n      }\n    }\n\n    constructor(cond, truthy, falsy) {\n      super();\n      this.branchTag = (0, _reference.createUpdatableTag)();\n      this.tag = (0, _reference.combine)([cond.tag, this.branchTag]);\n      this.cond = cond;\n      this.truthy = truthy;\n      this.falsy = falsy;\n    }\n\n    compute() {\n      var branch = this.cond.value() ? this.truthy : this.falsy;\n      (0, _reference.update)(this.branchTag, branch.tag);\n      return branch.value();\n    }\n\n  }\n  /**\n    The `if` helper allows you to conditionally render one of two branches,\n    depending on the \"truthiness\" of a property.\n    For example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    This helper has two forms, block and inline.\n  \n    ## Block form\n  \n    You can use the block form of `if` to conditionally render a section of the template.\n  \n    To use it, pass the conditional value to the `if` helper,\n    using the block form to wrap the section of template you want to conditionally render.\n    Like so:\n  \n    ```app/templates/application.hbs\n    <Weather />\n    ```\n  \n    ```app/components/weather.hbs\n    {{! will not render because greeting is undefined}}\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{/if}}\n    ```\n  \n    You can also define what to show if the property is falsey by using\n    the `else` helper.\n  \n    ```app/components/weather.hbs\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{else}}\n      No, it's lovely outside!\n    {{/if}}\n    ```\n  \n    You are also able to combine `else` and `if` helpers to create more complex\n    conditional logic.\n  \n    For the following template:\n  \n     ```app/components/weather.hbs\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{else if @isCold}}\n      Grab a coat, it's chilly!\n    {{else}}\n      No, it's lovely outside!\n    {{/if}}\n    ```\n  \n    If you call it by saying `isCold` is true:\n  \n    ```app/templates/application.hbs\n    <Weather @isCold={{true}} />\n    ```\n  \n    Then `Grab a coat, it's chilly!` will be rendered.\n  \n    ## Inline form\n  \n    The inline `if` helper conditionally renders a single property or string.\n  \n    In this form, the `if` helper receives three arguments, the conditional value,\n    the value to render when truthy, and the value to render when falsey.\n  \n    For example, if `useLongGreeting` is truthy, the following:\n  \n    ```app/templates/application.hbs\n    <Greeting @useLongGreeting={{true}} />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{if @useLongGreeting \"Hello\" \"Hi\"}} Alex\n    ```\n  \n    Will render:\n  \n    ```html\n    Hello Alex\n    ```\n  \n    One detail to keep in mind is that both branches of the `if` helper will be evaluated,\n    so if you have `{{if condition \"foo\" (expensive-operation \"bar\")`,\n    `expensive-operation` will always calculate.\n  \n    @method if\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineIf(_vm, {\n    positional\n  }) {\n    (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `if` helper expects two or three arguments, e.g. ' + '`{{if trialExpired \"Expired\" expiryDate}}`.', positional.length === 3 || positional.length === 2));\n    return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n  }\n  /**\n    The `unless` helper is the inverse of the `if` helper. It displays if a value\n    is falsey (\"not true\" or \"is false\"). Example values that will display with\n    `unless`: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    ## Inline form\n  \n    The inline `unless` helper conditionally renders a single property or string.\n    This helper acts like a ternary operator. If the first property is falsy,\n    the second argument will be displayed, otherwise, the third argument will be\n    displayed\n  \n    For example, if you pass a falsey `useLongGreeting` to the `Greeting` component:\n  \n    ```app/templates/application.hbs\n    <Greeting @useLongGreeting={{false}} />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{unless @useLongGreeting \"Hi\" \"Hello\"}} Ben\n    ```\n  \n    Then it will display:\n  \n    ```html\n    Hi Ben\n    ```\n  \n    ## Block form\n  \n    Like the `if` helper, the `unless` helper also has a block form.\n  \n    The following will not render anything:\n  \n    ```app/templates/application.hbs\n    <Greeting />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{#unless @greeting}}\n      No greeting was found. Why not set one?\n    {{/unless}}\n    ```\n  \n    You can also use an `else` helper with the `unless` block. The\n    `else` will display if the value is truthy.\n  \n    If you have the following component:\n  \n    ```app/components/logged-in.hbs\n    {{#unless @userData}}\n      Please login.\n    {{else}}\n      Welcome back!\n    {{/unless}}\n    ```\n  \n    Calling it with a truthy `userData`:\n  \n    ```app/templates/application.hbs\n    <LoggedIn @userData={{hash username=\"Zoey\"}} />\n    ```\n  \n    Will render:\n  \n    ```html\n    Welcome back!\n    ```\n  \n    and calling it with a falsey `userData`:\n  \n    ```app/templates/application.hbs\n    <LoggedIn @userData={{false}} />\n    ```\n  \n    Will render:\n  \n    ```html\n    Please login.\n    ```\n  \n    @method unless\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineUnless(_vm, {\n    positional\n  }) {\n    (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `unless` helper expects two or three arguments, e.g. ' + '`{{unless isFirstLogin \"Welcome back!\"}}`.', positional.length === 3 || positional.length === 2));\n    return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    `log` allows you to output the value of variables in the current rendering\n    context. `log` also accepts primitive types such as strings or numbers.\n  \n    ```handlebars\n    {{log \"myVariable:\" myVariable }}\n    ```\n  \n    @method log\n    @for Ember.Templates.helpers\n    @param {Array} params\n    @public\n  */\n\n\n  function log({\n    positional\n  }) {\n    /* eslint-disable no-console */\n    console.log(...positional.value());\n    /* eslint-enable no-console */\n  }\n\n  function log$1(_vm, args) {\n    return new InternalHelperReference(log, args.capture());\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n    (mutable) value passed to it, which will __change the value of the parent component__.\n  \n    To specify that a parameter is mutable, when invoking the child `Component`:\n  \n    ```handlebars\n    <MyChild @childClickCount={{fn (mut totalClicks)}} />\n    ```\n  \n     or\n  \n    ```handlebars\n    {{my-child childClickCount=(mut totalClicks)}}\n    ```\n  \n    The child `Component` can then modify the parent's value just by modifying its own\n    property:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n    making the `mut` unnecessary.\n  \n    Additionally, the `mut` helper can be combined with the `fn` helper to\n    mutate a value. For example:\n  \n    ```handlebars\n    <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n    ```\n  \n    The child `Component` would invoke the function with the new click value:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.get('click-count-change')(this.get('childClickCount') + 1);\n      }\n    });\n    ```\n  \n    The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n  \n    The `mut` helper, when used with `fn`, will return a function that\n    sets the value passed to `mut` to its first argument. As an example, we can create a\n    button that increments a value passing the value directly to the `fn`:\n  \n    ```handlebars\n    {{! inc helper is not provided by Ember }}\n    <button onclick={{fn (mut count) (inc count)}}>\n      Increment count\n    </button>\n    ```\n  \n    You can also use the `value` option:\n  \n    ```handlebars\n    <input value={{name}} oninput={{fn (mut name) value=\"target.value\"}}>\n    ```\n  \n    @method mut\n    @param {Object} [attr] the \"two-way\" attribute that can be modified.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  var MUT_REFERENCE = (0, _utils.symbol)('MUT');\n  var SOURCE = (0, _utils.symbol)('SOURCE');\n\n  function isMut(ref) {\n    return ref && ref[MUT_REFERENCE];\n  }\n\n  function unMut(ref) {\n    return ref[SOURCE] || ref;\n  }\n\n  function mut(_vm, args) {\n    var rawRef = args.positional.at(0);\n\n    if (isMut(rawRef)) {\n      return rawRef;\n    } // TODO: Improve this error message. This covers at least two distinct\n    // cases:\n    //\n    // 1. (mut \"not a path\") – passing a literal, result from a helper\n    //    invocation, etc\n    //\n    // 2. (mut receivedValue) – passing a value received from the caller\n    //    that was originally derived from a literal, result from a helper\n    //    invocation, etc\n    //\n    // This message is alright for the first case, but could be quite\n    // confusing for the second case.\n\n\n    (true && !(rawRef[UPDATE]) && (0, _debug.assert)('You can only pass a path to mut', rawRef[UPDATE]));\n    var wrappedRef = Object.create(rawRef);\n    wrappedRef[SOURCE] = rawRef;\n    wrappedRef[INVOKE] = rawRef[UPDATE];\n    wrappedRef[MUT_REFERENCE] = true;\n    return wrappedRef;\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    This is a helper to be used in conjunction with the link-to helper.\n    It will supply url query parameters to the target route.\n  \n    @example In this example we are setting the `direction` query param to the value `\"asc\"`\n  \n    ```app/templates/application.hbs\n    <LinkTo\n      @route=\"posts\"\n      {{query-params direction=\"asc\"}}\n    >\n      Sort\n    </LinkTo>\n    ```\n  \n    @method query-params\n    @for Ember.Templates.helpers\n    @param {Object} hash takes a hash of query parameters\n    @return {Object} A `QueryParams` object for `{{link-to}}`\n    @public\n  */\n\n\n  function queryParams({\n    positional,\n    named\n  }) {\n    // tslint:disable-next-line:max-line-length\n    (true && !(positional.value().length === 0) && (0, _debug.assert)(\"The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName='foo') as opposed to just (query-params 'foo')\", positional.value().length === 0));\n    return new _routing.QueryParams((0, _polyfills.assign)({}, named.value()));\n  }\n\n  function queryParams$1(_vm, args) {\n    return new InternalHelperReference(queryParams, args.capture());\n  }\n  /**\n    The `readonly` helper let's you specify that a binding is one-way only,\n    instead of two-way.\n    When you pass a `readonly` binding from an outer context (e.g. parent component),\n    to to an inner context (e.g. child component), you are saying that changing that\n    property in the inner context does not change the value in the outer context.\n  \n    To specify that a binding is read-only, when invoking the child `Component`:\n  \n    ```app/components/my-parent.js\n    export default Component.extend({\n      totalClicks: 3\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} // -> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    ```\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    Now, when you update `childClickCount`:\n  \n    ```app/components/my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    The value updates in the child component, but not the parent component:\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClickCount}} //-> 4\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    ### Objects and Arrays\n  \n    When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n    only the reference to the object is protected using the readonly helper.\n    This means that you can change properties of the object both on the parent component, as well as the child component.\n    The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n  \n    Let's look at an example:\n  \n    First let's set up the parent component:\n  \n    ```app/components/my-parent.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      clicks: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set('clicks', { total: 3 });\n      }\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    Now, if you update the `total` property of `childClicks`:\n  \n    ```app/components/my-child.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        this.get('clicks').incrementProperty('total');\n      }\n    });\n    ```\n  \n    You will see the following happen:\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClicks.total}} //-> 4\n    ```\n  \n    @method readonly\n    @param {Object} [attr] the read-only attribute.\n    @for Ember.Templates.helpers\n    @private\n  */\n\n\n  function readonly(_vm, args) {\n    var ref = unMut(args.positional.at(0));\n    return new ReadonlyReference(ref);\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `{{unbound}}` helper disconnects the one-way binding of a property,\n    essentially freezing its value at the moment of rendering. For example,\n    in this example the display of the variable `name` will not change even\n    if it is set with a new value:\n  \n    ```handlebars\n    {{unbound this.name}}\n    ```\n  \n    Like any helper, the `unbound` helper can accept a nested helper expression.\n    This allows for custom helpers to be rendered unbound:\n  \n    ```handlebars\n    {{unbound (some-custom-helper)}}\n    {{unbound (capitalize this.name)}}\n    {{! You can use any helper, including unbound, in a nested expression }}\n    {{capitalize (unbound this.name)}}\n    ```\n  \n    The `unbound` helper only accepts a single argument, and it return an\n    unbound value.\n  \n    @method unbound\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function unbound(_vm, args) {\n    (true && !(args.positional.length === 1 && args.named.length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', args.positional.length === 1 && args.named.length === 0));\n    return UnboundReference.create(args.positional.at(0).value());\n  }\n\n  var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n\n  function isAllowedEvent(event, allowedKeys) {\n    if (allowedKeys === null || allowedKeys === undefined) {\n      if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n        return (0, _views.isSimpleClick)(event);\n      } else {\n        allowedKeys = '';\n      }\n    }\n\n    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\n\n    for (var _i14 = 0; _i14 < MODIFIERS.length; _i14++) {\n      if (event[MODIFIERS[_i14] + 'Key'] && allowedKeys.indexOf(MODIFIERS[_i14]) === -1) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var ActionHelper = {\n    // registeredActions is re-exported for compatibility with older plugins\n    // that were using this undocumented API.\n    registeredActions: _views.ActionManager.registeredActions,\n\n    registerAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      _views.ActionManager.registeredActions[actionId] = actionState;\n      return actionId;\n    },\n\n    unregisterAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      delete _views.ActionManager.registeredActions[actionId];\n    }\n\n  };\n\n  class ActionState {\n    constructor(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom, tag) {\n      this.element = element;\n      this.actionId = actionId;\n      this.actionName = actionName;\n      this.actionArgs = actionArgs;\n      this.namedArgs = namedArgs;\n      this.positional = positionalArgs;\n      this.implicitTarget = implicitTarget;\n      this.dom = dom;\n      this.eventName = this.getEventName();\n      this.tag = tag;\n    }\n\n    getEventName() {\n      return this.namedArgs.get('on').value() || 'click';\n    }\n\n    getActionArgs() {\n      var result = new Array(this.actionArgs.length);\n\n      for (var _i15 = 0; _i15 < this.actionArgs.length; _i15++) {\n        result[_i15] = this.actionArgs[_i15].value();\n      }\n\n      return result;\n    }\n\n    getTarget() {\n      var {\n        implicitTarget,\n        namedArgs\n      } = this;\n      var target;\n\n      if (namedArgs.has('target')) {\n        target = namedArgs.get('target').value();\n      } else {\n        target = implicitTarget.value();\n      }\n\n      return target;\n    }\n\n    handler(event) {\n      var {\n        actionName,\n        namedArgs\n      } = this;\n      var bubbles = namedArgs.get('bubbles');\n      var preventDefault = namedArgs.get('preventDefault');\n      var allowedKeys = namedArgs.get('allowedKeys');\n      var target = this.getTarget();\n      var shouldBubble = bubbles.value() !== false;\n\n      if (!isAllowedEvent(event, allowedKeys.value())) {\n        return true;\n      }\n\n      if (preventDefault.value() !== false) {\n        event.preventDefault();\n      }\n\n      if (!shouldBubble) {\n        event.stopPropagation();\n      }\n\n      (0, _runloop.join)(() => {\n        var args = this.getActionArgs();\n        var payload = {\n          args,\n          target,\n          name: null\n        };\n\n        if (typeof actionName[INVOKE] === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName[INVOKE].apply(actionName, args);\n          });\n          return;\n        }\n\n        if (typeof actionName === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n\n        payload.name = actionName;\n\n        if (target.send) {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            target.send.apply(target, [actionName, ...args]);\n          });\n        } else {\n          (true && !(typeof target[actionName] === 'function') && (0, _debug.assert)(`The action '${actionName}' did not exist on ${target}`, typeof target[actionName] === 'function'));\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            target[actionName].apply(target, args);\n          });\n        }\n      });\n      return shouldBubble;\n    }\n\n    destroy() {\n      ActionHelper.unregisterAction(this);\n    }\n\n  } // implements ModifierManager<Action>\n\n\n  class ActionModifierManager {\n    create(element, _state, args, _dynamicScope, dom) {\n      var {\n        named,\n        positional,\n        tag\n      } = args.capture();\n      var implicitTarget;\n      var actionName;\n      var actionNameRef;\n\n      if (positional.length > 1) {\n        implicitTarget = positional.at(0);\n        actionNameRef = positional.at(1);\n\n        if (actionNameRef[INVOKE]) {\n          actionName = actionNameRef;\n        } else {\n          var actionLabel = actionNameRef.propertyKey;\n          actionName = actionNameRef.value();\n          (true && !(typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)('You specified a quoteless path, `' + actionLabel + '`, to the ' + '{{action}} helper which did not resolve to an action name (a ' + 'string). Perhaps you meant to use a quoted actionName? (e.g. ' + '{{action \"' + actionLabel + '\"}}).', typeof actionName === 'string' || typeof actionName === 'function'));\n        }\n      }\n\n      var actionArgs = []; // The first two arguments are (1) `this` and (2) the action name.\n      // Everything else is a param.\n\n      for (var _i16 = 2; _i16 < positional.length; _i16++) {\n        actionArgs.push(positional.at(_i16));\n      }\n\n      var actionId = (0, _utils.uuid)();\n      var actionState = new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n      (true && !(actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove') && (0, _debug.deprecate)(`Using the \\`{{action}}\\` modifier with \\`${actionState.eventName}\\` events has been deprecated.`, actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove', {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_action-mouseenter-leave-move'\n      }));\n      return actionState;\n    }\n\n    install(actionState) {\n      var {\n        dom,\n        element,\n        actionId\n      } = actionState;\n      ActionHelper.registerAction(actionState);\n      dom.setAttribute(element, 'data-ember-action', '');\n      dom.setAttribute(element, `data-ember-action-${actionId}`, actionId);\n    }\n\n    update(actionState) {\n      var {\n        positional\n      } = actionState;\n      var actionNameRef = positional.at(1);\n\n      if (!actionNameRef[INVOKE]) {\n        actionState.actionName = actionNameRef.value();\n      }\n\n      actionState.eventName = actionState.getEventName();\n    }\n\n    getTag(actionState) {\n      return actionState.tag;\n    }\n\n    getDestructor(modifier) {\n      return modifier;\n    }\n\n  }\n\n  function capabilities$1(managerAPI, optionalFeatures = {}) {\n    if (managerAPI !== '3.13') {\n      managerAPI = '3.13';\n      (true && !(false) && (0, _debug.deprecate)('Modifier manager capabilities now require you to pass a valid version when being generated. Valid versions include: 3.13', false, {\n        until: '3.17.0',\n        id: 'implicit-modifier-manager-capabilities'\n      }));\n    }\n\n    (true && !(managerAPI === '3.13') && (0, _debug.assert)('Invalid modifier manager compatibility specified', managerAPI === '3.13'));\n    return {\n      disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking)\n    };\n  }\n\n  class CustomModifierDefinition {\n    constructor(name, ModifierClass, delegate, isInteractive) {\n      this.name = name;\n      this.ModifierClass = ModifierClass;\n      this.delegate = delegate;\n      this.state = {\n        ModifierClass,\n        name,\n        delegate\n      };\n      this.manager = isInteractive ? CUSTOM_INTERACTIVE_MODIFIER_MANAGER : CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER;\n    }\n\n  }\n\n  class CustomModifierState {\n    constructor(element, delegate, modifier, args) {\n      this.element = element;\n      this.delegate = delegate;\n      this.modifier = modifier;\n      this.args = args;\n      this.tag = (0, _reference.createUpdatableTag)();\n    }\n\n    destroy() {\n      var {\n        delegate,\n        modifier,\n        args\n      } = this;\n      delegate.destroyModifier(modifier, args.value());\n    }\n\n  }\n  /**\n    The CustomModifierManager allows addons to provide custom modifier\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom modifier manager, which\n    implements a set of hooks that determine modifier behavior.\n    To create a custom modifier manager, instantiate a new CustomModifierManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomModifierManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a modifier, the modifier manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n    * `createModifier()` - invoked when a new instance of a modifier should be created\n    * `installModifier()` - invoked when the modifier is installed on the element\n    * `updateModifier()` - invoked when the arguments passed to a modifier change\n    * `destroyModifier()` - invoked when the modifier is about to be destroyed\n  */\n\n\n  class InteractiveCustomModifierManager {\n    create(element, definition, args) {\n      var {\n        delegate,\n        ModifierClass\n      } = definition;\n      var capturedArgs = args.capture();\n      var instance = definition.delegate.createModifier(ModifierClass, capturedArgs.value());\n\n      if (delegate.capabilities === undefined) {\n        delegate.capabilities = capabilities$1('3.13');\n        (true && !(false) && (0, _debug.deprecate)('Custom modifier managers must define their capabilities using the capabilities() helper function', false, {\n          until: '3.17.0',\n          id: 'implicit-modifier-manager-capabilities'\n        }));\n      }\n\n      return new CustomModifierState(element, delegate, instance, capturedArgs);\n    }\n\n    getTag({\n      args,\n      tag\n    }) {\n      return (0, _reference.combine)([tag, args.tag]);\n    }\n\n    install(state) {\n      var {\n        element,\n        args,\n        delegate,\n        modifier,\n        tag\n      } = state;\n      var {\n        capabilities\n      } = delegate;\n\n      if (capabilities.disableAutoTracking === true) {\n        (0, _metal.untrack)(() => delegate.installModifier(modifier, element, args.value()));\n      } else {\n        var combinedTrackingTag = (0, _metal.track)(() => delegate.installModifier(modifier, element, args.value()), true\n        /* DEBUG */\n        && debugRenderMessage$1(`(instance of a \\`${(0, _utils.getDebugName)(modifier)}\\` modifier)`));\n        (0, _reference.update)(tag, combinedTrackingTag);\n      }\n    }\n\n    update(state) {\n      var {\n        args,\n        delegate,\n        modifier,\n        tag\n      } = state;\n      var {\n        capabilities\n      } = delegate;\n\n      if (capabilities.disableAutoTracking === true) {\n        (0, _metal.untrack)(() => delegate.updateModifier(modifier, args.value()));\n      } else {\n        var combinedTrackingTag = (0, _metal.track)(() => delegate.updateModifier(modifier, args.value()), true\n        /* DEBUG */\n        && debugRenderMessage$1(`(instance of a \\`${(0, _utils.getDebugName)(modifier)}\\` modifier)`));\n        (0, _reference.update)(tag, combinedTrackingTag);\n      }\n    }\n\n    getDestructor(state) {\n      return state;\n    }\n\n  }\n\n  class NonInteractiveCustomModifierManager {\n    create() {\n      return null;\n    }\n\n    getTag() {\n      return _reference.CONSTANT_TAG;\n    }\n\n    install() {}\n\n    update() {}\n\n    getDestructor() {\n      return null;\n    }\n\n  }\n\n  var CUSTOM_INTERACTIVE_MODIFIER_MANAGER = new InteractiveCustomModifierManager();\n  var CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER = new NonInteractiveCustomModifierManager();\n  var untouchableContext = buildUntouchableThis('`on` modifier');\n  /**\n  @module ember\n  */\n\n  /*\n    Internet Explorer 11 does not support `once` and also does not support\n    passing `eventOptions`. In some situations it then throws a weird script\n    error, like:\n  \n    ```\n    Could not complete the operation due to error 80020101\n    ```\n  \n    This flag determines, whether `{ once: true }` and thus also event options in\n    general are supported.\n  */\n\n  var SUPPORTS_EVENT_OPTIONS = (() => {\n    try {\n      var div = document.createElement('div');\n      var counter = 0;\n      div.addEventListener('click', () => counter++, {\n        once: true\n      });\n      var event;\n\n      if (typeof Event === 'function') {\n        event = new Event('click');\n      } else {\n        event = document.createEvent('Event');\n        event.initEvent('click', true, true);\n      }\n\n      div.dispatchEvent(event);\n      div.dispatchEvent(event);\n      return counter === 1;\n    } catch (error) {\n      return false;\n    }\n  })();\n\n  class OnModifierState {\n    constructor(element, args) {\n      this.shouldUpdate = true;\n      this.element = element;\n      this.args = args;\n      this.tag = args.tag;\n    }\n\n    updateFromArgs() {\n      var {\n        args\n      } = this;\n      var {\n        once,\n        passive,\n        capture\n      } = args.named.value();\n\n      if (once !== this.once) {\n        this.once = once;\n        this.shouldUpdate = true;\n      }\n\n      if (passive !== this.passive) {\n        this.passive = passive;\n        this.shouldUpdate = true;\n      }\n\n      if (capture !== this.capture) {\n        this.capture = capture;\n        this.shouldUpdate = true;\n      }\n\n      var options;\n\n      if (once || passive || capture) {\n        options = this.options = {\n          once,\n          passive,\n          capture\n        };\n      } else {\n        this.options = undefined;\n      }\n\n      (true && !(args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string') && (0, _debug.assert)('You must pass a valid DOM event name as the first argument to the `on` modifier', args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string'));\n      var eventName = args.positional.at(0).value();\n\n      if (eventName !== this.eventName) {\n        this.eventName = eventName;\n        this.shouldUpdate = true;\n      }\n\n      (true && !(args.positional.at(1) !== undefined && typeof args.positional.at(1).value() === 'function') && (0, _debug.assert)('You must pass a function as the second argument to the `on` modifier', args.positional.at(1) !== undefined && typeof args.positional.at(1).value() === 'function'));\n      var userProvidedCallback = args.positional.at(1).value();\n\n      if (userProvidedCallback !== this.userProvidedCallback) {\n        this.userProvidedCallback = userProvidedCallback;\n        this.shouldUpdate = true;\n      }\n\n      (true && !(args.positional.length === 2) && (0, _debug.assert)(`You can only pass two positional arguments (event name and callback) to the \\`on\\` modifier, but you provided ${args.positional.length}. Consider using the \\`fn\\` helper to provide additional arguments to the \\`on\\` callback.`, args.positional.length === 2));\n      var needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once ||\n      /* needs manual once implementation */\n      true\n      /* DEBUG */\n      && passive\n      /* needs passive enforcement */\n      ;\n\n      if (this.shouldUpdate) {\n        if (needsCustomCallback) {\n          var callback = this.callback = function (event) {\n            if (true\n            /* DEBUG */\n            && passive) {\n              event.preventDefault = () => {\n                (true && !(false) && (0, _debug.assert)(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback}`));\n              };\n            }\n\n            if (!SUPPORTS_EVENT_OPTIONS && once) {\n              removeEventListener(this, eventName, callback, options);\n            }\n\n            return userProvidedCallback.call(untouchableContext, event);\n          };\n        } else if (true\n        /* DEBUG */\n        ) {\n          // prevent the callback from being bound to the element\n          this.callback = userProvidedCallback.bind(untouchableContext);\n        } else {\n          this.callback = userProvidedCallback;\n        }\n      }\n    }\n\n    destroy() {\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = this;\n      removeEventListener(element, eventName, callback, options);\n    }\n\n  }\n\n  var adds = 0;\n  var removes = 0;\n\n  function removeEventListener(element, eventName, callback, options) {\n    removes++;\n\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.removeEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.removeEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.removeEventListener(eventName, callback);\n    }\n  }\n\n  function addEventListener(element, eventName, callback, options) {\n    adds++;\n\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.addEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.addEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.addEventListener(eventName, callback);\n    }\n  }\n  /**\n    The `{{on}}` modifier lets you easily add event listeners (it uses\n    [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n    internally).\n  \n    For example, if you'd like to run a function on your component when a `<button>`\n    in the components template is clicked you might do something like:\n  \n    ```app/components/like-post.hbs\n    <button {{on 'click' this.saveLike}}>Like this post!</button>\n    ```\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class LikePostComponent extends Component {\n      @action\n      saveLike() {\n        // someone likes your post!\n        // better send a request off to your server...\n      }\n    }\n    ```\n  \n    ### Arguments\n  \n    `{{on}}` accepts two positional arguments, and a few named arguments.\n  \n    The positional arguments are:\n  \n    - `event` -- the name to use when calling `addEventListener`\n    - `callback` -- the function to be passed to `addEventListener`\n  \n    The named arguments are:\n  \n    - capture -- a `true` value indicates that events of this type will be dispatched\n      to the registered listener before being dispatched to any EventTarget beneath it\n      in the DOM tree.\n    - once -- indicates that the listener should be invoked at most once after being\n      added. If true, the listener would be automatically removed when invoked.\n    - passive -- if `true`, indicates that the function specified by listener will never\n      call preventDefault(). If a passive listener does call preventDefault(), the user\n      agent will do nothing other than generate a console warning. See\n      [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n      to learn more.\n  \n    The callback function passed to `{{on}}` will receive any arguments that are passed\n    to the event handler. Most commonly this would be the `event` itself.\n  \n    If you would like to pass additional arguments to the function you should use\n    the `{{fn}}` helper.\n  \n    For example, in our example case above if you'd like to pass in the post that\n    was being liked when the button is clicked you could do something like:\n  \n    ```app/components/like-post.hbs\n    <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n    ```\n  \n    In this case, the `saveLike` function will receive two arguments: the click event\n    and the value of `@post`.\n  \n    ### Function Context\n  \n    In the example above, we used `@action` to ensure that `likePost` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n  \n    export default class LikePostComponent extends Component {\n      saveLike() {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when the button is clicked `saveLike` will be invoked,\n    it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via `@action` or other means) before passing into `on`!\n  \n    @method on\n    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n\n  class OnModifierManager {\n    constructor(isInteractive) {\n      this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n      this.isInteractive = isInteractive;\n    }\n\n    get counters() {\n      return {\n        adds,\n        removes\n      };\n    }\n\n    create(element, _state, args) {\n      if (!this.isInteractive) {\n        return null;\n      }\n\n      var capturedArgs = args.capture();\n      return new OnModifierState(element, capturedArgs);\n    }\n\n    getTag(state) {\n      if (state === null) {\n        return _reference.CONSTANT_TAG;\n      }\n\n      return state.tag;\n    }\n\n    install(state) {\n      if (state === null) {\n        return;\n      }\n\n      state.updateFromArgs();\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      addEventListener(element, eventName, callback, options);\n      state.shouldUpdate = false;\n    }\n\n    update(state) {\n      if (state === null) {\n        return;\n      } // stash prior state for el.removeEventListener\n\n\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      state.updateFromArgs();\n\n      if (!state.shouldUpdate) {\n        return;\n      } // use prior state values for removal\n\n\n      removeEventListener(element, eventName, callback, options); // read updated values from the state object\n\n      addEventListener(state.element, state.eventName, state.callback, state.options);\n      state.shouldUpdate = false;\n    }\n\n    getDestructor(state) {\n      return state;\n    }\n\n  }\n  /**\n  @module ember\n  */\n\n  /**\n      The `let` helper receives one or more positional arguments and yields\n      them out as block params.\n  \n      This allows the developer to introduce shorter names for certain computations\n      in the template.\n  \n      This is especially useful if you are passing properties to a component\n      that receives a lot of options and you want to clean up the invocation.\n  \n      For the following example, the template receives a `post` object with\n      `content` and `title` properties.\n  \n      We are going to call the `my-post` component, passing a title which is\n      the title of the post suffixed with the name of the blog, the content\n      of the post, and a series of options defined in-place.\n  \n      ```handlebars\n      {{#let\n          (concat post.title ' | The Ember.js Blog')\n          post.content\n          (hash\n            theme=\"high-contrast\"\n            enableComments=true\n          )\n          as |title content options|\n      }}\n        <MyPost @title={{title}} @content={{content}} @options={{options}} />\n      {{/let}}\n    ```\n   or\n    ```handlebars\n      {{#let\n          (concat post.title ' | The Ember.js Blog')\n          post.content\n          (hash\n            theme=\"high-contrast\"\n            enableComments=true\n          )\n          as |title content options|\n      }}\n        {{my-post title=title content=content options=options}}\n      {{/let}}\n    ```\n  \n    @method let\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function blockLetMacro(params, _hash, template, _inverse, builder) {\n    if (template !== null) {\n      if (params !== null) {\n        builder.compileParams(params);\n        builder.invokeStaticBlock(template, params.length);\n      } else {\n        builder.invokeStatic(template);\n      }\n    }\n\n    return true;\n  }\n\n  var CAPABILITIES$4 = {\n    dynamicLayout: true,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true\n  }; // TODO\n  // This \"disables\" the \"@model\" feature by making the arg untypable syntatically\n  // Delete this when EMBER_ROUTING_MODEL_ARG has shipped\n\n  var MODEL_ARG_NAME = 'model';\n\n  class MountManager extends AbstractManager {\n    getDynamicLayout(state, _) {\n      var templateFactory$$1 = state.engine.lookup('template:application');\n      var template = templateFactory$$1(state.engine);\n      var layout = template.asLayout();\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        state.environment.debugRenderTree.setTemplate(state.controller, template);\n      }\n\n      return {\n        handle: layout.compile(),\n        symbolTable: layout.symbolTable\n      };\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$4;\n    }\n\n    create(environment, {\n      name\n    }, args) {\n      // TODO\n      // mount is a runtime helper, this shouldn't use dynamic layout\n      // we should resolve the engine app template in the helper\n      // it also should use the owner that looked up the mount helper.\n      var engine = environment.owner.buildChildEngineInstance(name);\n      engine.boot();\n      var applicationFactory = engine.factoryFor(`controller:application`);\n      var controllerFactory = applicationFactory || (0, _routing.generateControllerFactory)(engine, 'application');\n      var controller;\n      var self;\n      var bucket;\n      var modelRef;\n\n      if (args.named.has(MODEL_ARG_NAME)) {\n        modelRef = args.named.get(MODEL_ARG_NAME);\n      }\n\n      if (modelRef === undefined) {\n        controller = controllerFactory.create();\n        self = new RootReference(controller, environment);\n        bucket = {\n          engine,\n          controller,\n          self,\n          environment\n        };\n      } else {\n        var model = modelRef.value();\n        controller = controllerFactory.create({\n          model\n        });\n        self = new RootReference(controller, environment);\n        bucket = {\n          engine,\n          controller,\n          self,\n          modelRef,\n          environment\n        };\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        environment.debugRenderTree.create(bucket, {\n          type: 'engine',\n          name,\n          args: args.capture(),\n          instance: engine,\n          template: undefined\n        });\n        environment.debugRenderTree.create(controller, {\n          type: 'route-template',\n          name: 'application',\n          args: args.capture(),\n          instance: controller,\n          // set in getDynamicLayout\n          template: undefined\n        });\n      }\n\n      return bucket;\n    }\n\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n\n    getTag(state) {\n      var tag = _reference.CONSTANT_TAG;\n\n      if (state.modelRef) {\n        tag = state.modelRef.tag;\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE && (0, _reference.isConstTag)(tag)) {\n        tag = (0, _reference.createTag)();\n      }\n\n      return tag;\n    }\n\n    getDestructor(bucket) {\n      var {\n        engine,\n        environment,\n        controller\n      } = bucket;\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        return {\n          destroy() {\n            environment.debugRenderTree.willDestroy(controller);\n            environment.debugRenderTree.willDestroy(bucket);\n            engine.destroy();\n          }\n\n        };\n      } else {\n        return engine;\n      }\n    }\n\n    didRenderLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket.controller, bounds);\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n    update(bucket) {\n      var {\n        controller,\n        environment,\n        modelRef\n      } = bucket;\n\n      if (modelRef !== undefined) {\n        controller.set('model', modelRef.value());\n      }\n\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        environment.debugRenderTree.update(bucket);\n        environment.debugRenderTree.update(bucket.controller);\n      }\n    }\n\n    didUpdateLayout(bucket, bounds) {\n      if (_environment2.ENV._DEBUG_RENDER_TREE) {\n        bucket.environment.debugRenderTree.didRender(bucket.controller, bounds);\n        bucket.environment.debugRenderTree.didRender(bucket, bounds);\n      }\n    }\n\n  }\n\n  var MOUNT_MANAGER = new MountManager();\n\n  class MountDefinition {\n    constructor(name) {\n      this.manager = MOUNT_MANAGER;\n      this.state = {\n        name\n      };\n    }\n\n  }\n\n  function mountHelper(vm, args) {\n    var env = vm.env;\n    var nameRef = args.positional.at(0);\n    var captured = null; // TODO: the functionailty to create a proper CapturedArgument should be\n    // exported by glimmer, or that it should provide an overload for `curry`\n    // that takes `PreparedArguments`\n\n    if (args.named.has('model')) {\n      (true && !(args.named.length === 1) && (0, _debug.assert)('[BUG] this should already be checked by the macro', args.named.length === 1));\n      var named = args.named.capture();\n      var {\n        tag\n      } = named; // TODO delete me after EMBER_ROUTING_MODEL_ARG has shipped\n\n      if (true\n      /* DEBUG */\n      && MODEL_ARG_NAME !== 'model') {\n        (true && !(named['_map'] === null) && (0, _debug.assert)('[BUG] named._map is not null', named['_map'] === null));\n        named.names = [MODEL_ARG_NAME];\n      }\n\n      captured = {\n        tag,\n        positional: _runtime2.EMPTY_ARGS.positional,\n        named,\n        length: 1,\n\n        value() {\n          return {\n            named: this.named.value(),\n            positional: this.positional.value()\n          };\n        }\n\n      };\n    }\n\n    return new DynamicEngineReference(nameRef, env, captured);\n  }\n  /**\n    The `{{mount}}` helper lets you embed a routeless engine in a template.\n    Mounting an engine will cause an instance to be booted and its `application`\n    template to be rendered.\n  \n    For example, the following template mounts the `ember-chat` engine:\n  \n    ```handlebars\n    {{! application.hbs }}\n    {{mount \"ember-chat\"}}\n    ```\n  \n    Additionally, you can also pass in a `model` argument that will be\n    set as the engines model. This can be an existing object:\n  \n    ```\n    <div>\n      {{mount 'admin' model=userSettings}}\n    </div>\n    ```\n  \n    Or an inline `hash`, and you can even pass components:\n  \n    ```\n    <div>\n      <h1>Application template!</h1>\n      {{mount 'admin' model=(hash\n          title='Secret Admin'\n          signInButton=(component 'sign-in-button')\n      )}}\n    </div>\n    ```\n  \n    @method mount\n    @param {String} name Name of the engine to mount.\n    @param {Object} [model] Object that will be set as\n                            the model of the engine.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function mountMacro(_name, params, hash, builder) {\n    (true && !(params.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1));\n\n    if (true\n    /* DEBUG */\n    && hash) {\n      var keys = hash[0];\n      var extra = keys.filter(k => k !== 'model');\n      (true && !(extra.length === 0) && (0, _debug.assert)('You can only pass a `model` argument to the {{mount}} helper, ' + 'e.g. {{mount \"profile-engine\" model=this.profile}}. ' + `You passed ${extra.join(',')}.`, extra.length === 0));\n    }\n\n    var expr = [_wireFormat.Ops.Helper, '-mount', params || [], hash];\n    builder.dynamicComponent(expr, null, [], null, false, null, null);\n    return true;\n  }\n\n  class DynamicEngineReference {\n    constructor(nameRef, env, args) {\n      this.nameRef = nameRef;\n      this.env = env;\n      this.args = args;\n      this._lastName = null;\n      this._lastDef = null;\n      this.tag = nameRef.tag;\n    }\n\n    value() {\n      var {\n        env,\n        nameRef,\n        args\n      } = this;\n      var name = nameRef.value();\n\n      if (typeof name === 'string') {\n        if (this._lastName === name) {\n          return this._lastDef;\n        }\n\n        (true && !(env.owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, env.owner.hasRegistration(`engine:${name}`)));\n\n        if (!env.owner.hasRegistration(`engine:${name}`)) {\n          return null;\n        }\n\n        this._lastName = name;\n        this._lastDef = (0, _runtime2.curry)(new MountDefinition(name), args);\n        return this._lastDef;\n      } else {\n        (true && !(name === null || name === undefined) && (0, _debug.assert)(`Invalid engine name '${name}' specified, engine name must be either a string, null or undefined.`, name === null || name === undefined));\n        this._lastDef = null;\n        this._lastName = null;\n        return null;\n      }\n    }\n\n    get() {\n      return _runtime2.UNDEFINED_REFERENCE;\n    }\n\n  }\n  /**\n   * Represents the root outlet.\n   */\n\n\n  class RootOutletReference {\n    constructor(outletState) {\n      this.outletState = outletState;\n      this.tag = (0, _reference.createTag)();\n    }\n\n    get(key) {\n      return new PathReference(this, key);\n    }\n\n    value() {\n      return this.outletState;\n    }\n\n    update(state) {\n      this.outletState.outlets.main = state;\n      (0, _reference.dirty)(this.tag);\n    }\n\n  }\n  /**\n   * Represents the connected outlet.\n   */\n\n\n  class OutletReference {\n    constructor(parentStateRef, outletNameRef) {\n      this.parentStateRef = parentStateRef;\n      this.outletNameRef = outletNameRef;\n      this.tag = (0, _reference.combine)([parentStateRef.tag, outletNameRef.tag]);\n    }\n\n    value() {\n      var outletState = this.parentStateRef.value();\n      var outlets = outletState === undefined ? undefined : outletState.outlets;\n      return outlets === undefined ? undefined : outlets[this.outletNameRef.value()];\n    }\n\n    get(key) {\n      return new PathReference(this, key);\n    }\n\n  }\n  /**\n   * Outlet state is dirtied from root.\n   * This just using the parent tag for dirtiness.\n   */\n\n\n  class PathReference {\n    constructor(parent, key) {\n      this.parent = parent;\n      this.key = key;\n      this.tag = parent.tag;\n    }\n\n    get(key) {\n      return new PathReference(this, key);\n    }\n\n    value() {\n      var parent = this.parent.value();\n      return parent && parent[this.key];\n    }\n\n  }\n  /**\n    The `{{outlet}}` helper lets you specify where a child route will render in\n    your template. An important use of the `{{outlet}}` helper is in your\n    application's `application.hbs` file:\n  \n    ```app/templates/application.hbs\n    <MyHeader />\n  \n    <div class=\"my-dynamic-content\">\n      <!-- this content will change based on the current route, which depends on the current URL -->\n      {{outlet}}\n    </div>\n  \n    <MyFooter />\n    ```\n  \n    You may also specify a name for the `{{outlet}}`, which is useful when using more than one\n    `{{outlet}}` in a template:\n  \n    ```app/templates/application.hbs\n    {{outlet \"menu\"}}\n    {{outlet \"sidebar\"}}\n    {{outlet \"main\"}}\n    ```\n  \n    Your routes can then render into a specific one of these `outlet`s by specifying the `outlet`\n    attribute in your `renderTemplate` function:\n  \n    ```app/routes/menu.js\n    import Route from '@ember/routing/route';\n  \n    export default class MenuRoute extends Route {\n      renderTemplate() {\n        this.render({ outlet: 'menu' });\n      }\n    }\n    ```\n  \n    See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n    information on how your `route` interacts with the `{{outlet}}` helper.\n    Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n  \n    @method outlet\n    @param {String} [name]\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function outletHelper(vm, args) {\n    var scope = vm.dynamicScope();\n    var nameRef;\n\n    if (args.positional.length === 0) {\n      nameRef = new _reference.ConstReference('main');\n    } else {\n      nameRef = args.positional.at(0);\n    }\n\n    return new OutletComponentReference(new OutletReference(scope.outletState, nameRef), vm.env);\n  }\n\n  function outletMacro(_name, params, hash, builder) {\n    var expr = [_wireFormat.Ops.Helper, '-outlet', params || [], hash];\n    builder.dynamicComponent(expr, null, [], null, false, null, null);\n    return true;\n  }\n\n  class OutletModelReference {\n    constructor(parent, env) {\n      this.parent = parent;\n      this.env = env;\n      this.tag = parent.tag;\n    }\n\n    value() {\n      var state = this.parent.value();\n\n      if (state === undefined) {\n        return undefined;\n      }\n\n      var {\n        render\n      } = state;\n\n      if (render === undefined) {\n        return undefined;\n      }\n\n      return render.model;\n    }\n\n    get(property) {\n      if (true\n      /* DEBUG */\n      ) {\n        // We capture the log stack now, as accessing `{{@model}}` directly can't\n        // cause issues (doesn't autotrack) but accessing subproperties can. We\n        // don't want to capture the log stack when `value` or `debug` are called,\n        // because the ref might have been passed downward, so we'd have the\n        // incorrect context.\n        //\n        // TODO: This feels messy, side-effect of the fact that this ref is\n        // created well before the component itself.\n        this.debugStackLog = this.env.debugRenderTree.logCurrentRenderStack(); // This guarentees that we preserve the `debug()` output below\n\n        return new NestedPropertyReference(this, property);\n      } else {\n        return PropertyReference.create(this, property);\n      }\n    }\n\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    OutletModelReference.prototype['debug'] = function debug(subPath) {\n      return `${this['debugStackLog']}@model.${subPath}`;\n    };\n  }\n\n  class OutletComponentReference {\n    constructor(outletRef, env) {\n      this.outletRef = outletRef;\n      this.args = null;\n      this.definition = null;\n      this.lastState = null; // The router always dirties the root state.\n\n      var tag = this.tag = outletRef.tag;\n      {\n        var modelRef = new OutletModelReference(outletRef, env);\n        var map$$1 = (0, _util.dict)();\n        map$$1.model = modelRef; // TODO: the functionailty to create a proper CapturedArgument should be\n        // exported by glimmer, or that it should provide an overload for `curry`\n        // that takes `PreparedArguments`\n\n        this.args = {\n          tag,\n          positional: _runtime2.EMPTY_ARGS.positional,\n          named: {\n            tag,\n            map: map$$1,\n            names: ['model'],\n            references: [modelRef],\n            length: 1,\n\n            has(key) {\n              return key === 'model';\n            },\n\n            get(key) {\n              return key === 'model' ? modelRef : _runtime2.UNDEFINED_REFERENCE;\n            },\n\n            value() {\n              var model = modelRef.value();\n              return {\n                model\n              };\n            }\n\n          },\n          length: 1,\n\n          value() {\n            return {\n              named: this.named.value(),\n              positional: this.positional.value()\n            };\n          }\n\n        };\n      }\n    }\n\n    value() {\n      var state = stateFor(this.outletRef);\n\n      if (validate$1(state, this.lastState)) {\n        return this.definition;\n      }\n\n      this.lastState = state;\n      var definition = null;\n\n      if (state !== null) {\n        definition = (0, _runtime2.curry)(new OutletComponentDefinition(state), this.args);\n      }\n\n      return this.definition = definition;\n    }\n\n    get(_key) {\n      return _runtime2.UNDEFINED_REFERENCE;\n    }\n\n  }\n\n  function stateFor(ref) {\n    var outlet = ref.value();\n    if (outlet === undefined) return null;\n    var render = outlet.render;\n    if (render === undefined) return null;\n    var template$$1 = render.template;\n    if (template$$1 === undefined) return null; // this guard can be removed once @ember/test-helpers@1.6.0 has \"aged out\"\n    // and is no longer considered supported\n\n    if (isTemplateFactory(template$$1)) {\n      template$$1 = template$$1(render.owner);\n    }\n\n    return {\n      ref,\n      name: render.name,\n      outlet: render.outlet,\n      template: template$$1,\n      controller: render.controller,\n      model: render.model\n    };\n  }\n\n  function validate$1(state, lastState) {\n    if (state === null) {\n      return lastState === null;\n    }\n\n    if (lastState === null) {\n      return false;\n    }\n\n    return state.template === lastState.template && state.controller === lastState.controller;\n  }\n\n  function hashToArgs(hash) {\n    if (hash === null) return null;\n    var names = hash[0].map(key => `@${key}`);\n    return [names, hash[1]];\n  }\n\n  function refineInlineSyntax(name, params, hash, builder) {\n    (true && !(!(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(`helper:${name}`))) && (0, _debug.assert)(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`, !(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(`helper:${name}`))));\n    var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n\n    if (handle !== null) {\n      builder.component.static(handle, [params === null ? [] : params, hashToArgs(hash), null, null]);\n      return true;\n    }\n\n    return false;\n  }\n\n  function refineBlockSyntax(name, params, hash, template, inverse, builder) {\n    var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n\n    if (handle !== null) {\n      wrapComponentClassAttribute(hash);\n      builder.component.static(handle, [params, hashToArgs(hash), template, inverse]);\n      return true;\n    }\n\n    (true && !(builder.referrer.owner.hasRegistration(`helper:${name}`)) && (0, _debug.assert)(`A component or helper named \"${name}\" could not be found`, builder.referrer.owner.hasRegistration(`helper:${name}`)));\n    (true && !(!(() => {\n      var resolver = builder.compiler['resolver']['resolver'];\n      var {\n        owner,\n        moduleName\n      } = builder.referrer;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      var options = {\n        source: `template:${moduleName}`\n      };\n      return owner.hasRegistration(`helper:${name}`, options) || owner.hasRegistration(`helper:${name}`);\n    })()) && (0, _debug.assert)(`Helpers may not be used in the block form, for example {{#${name}}}{{/${name}}}. Please use a component, or alternatively use the helper in combination with a built-in Ember helper, for example {{#if (${name})}}{{/if}}.`, !(() => {\n      var resolver = builder.compiler['resolver']['resolver'];\n      var {\n        owner,\n        moduleName\n      } = builder.referrer;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      var options = {\n        source: `template:${moduleName}`\n      };\n      return owner.hasRegistration(`helper:${name}`, options) || owner.hasRegistration(`helper:${name}`);\n    })()));\n    return false;\n  }\n\n  var experimentalMacros = []; // This is a private API to allow for experimental macros\n  // to be created in user space. Registering a macro should\n  // should be done in an initializer.\n\n  _exports._experimentalMacros = experimentalMacros;\n\n  function registerMacros(macro) {\n    experimentalMacros.push(macro);\n  }\n\n  function populateMacros(macros) {\n    var {\n      inlines,\n      blocks\n    } = macros;\n    inlines.add('outlet', outletMacro);\n    inlines.add('mount', mountMacro);\n    inlines.addMissing(refineInlineSyntax);\n    blocks.add('let', blockLetMacro);\n    blocks.addMissing(refineBlockSyntax);\n\n    for (var _i17 = 0; _i17 < experimentalMacros.length; _i17++) {\n      var macro = experimentalMacros[_i17];\n      macro(blocks, inlines);\n    }\n\n    return {\n      blocks,\n      inlines\n    };\n  }\n\n  var TEMPLATES$1 = new WeakMap();\n  var getPrototypeOf$1 = Object.getPrototypeOf;\n\n  function setComponentTemplate(factory, obj) {\n    (true && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function')) && (0, _debug.assert)(`Cannot call \\`setComponentTemplate\\` on \\`${(0, _utils.toString)(obj)}\\``, obj !== null && (typeof obj === 'object' || typeof obj === 'function')));\n    (true && !(!TEMPLATES$1.has(obj)) && (0, _debug.assert)(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${obj}\\`)`, !TEMPLATES$1.has(obj)));\n    TEMPLATES$1.set(obj, factory);\n    return obj;\n  }\n\n  function getComponentTemplate(obj) {\n    var pointer = obj;\n\n    while (pointer !== undefined && pointer !== null) {\n      var _template = TEMPLATES$1.get(pointer);\n\n      if (_template !== undefined) {\n        return _template;\n      }\n\n      pointer = getPrototypeOf$1(pointer);\n    }\n\n    return null;\n  }\n\n  function setModifierManager(factory, obj) {\n    return setManager({\n      factory,\n      internal: false,\n      type: 'modifier'\n    }, obj);\n  }\n\n  function getModifierManager(obj) {\n    var wrapper = getManager(obj);\n\n    if (wrapper && !wrapper.internal && wrapper.type === 'modifier') {\n      return wrapper.factory;\n    } else {\n      return undefined;\n    }\n  }\n\n  function instrumentationPayload$1(name) {\n    return {\n      object: `component:${name}`\n    };\n  }\n\n  function makeOptions(moduleName, namespace) {\n    return {\n      source: moduleName !== undefined ? `template:${moduleName}` : undefined,\n      namespace\n    };\n  }\n\n  function componentFor(name, owner, options) {\n    var fullName = `component:${name}`;\n    return owner.factoryFor(fullName, options) || null;\n  }\n\n  function layoutFor(name, owner, options) {\n    var templateFullName = `template:components/${name}`;\n    return owner.lookup(templateFullName, options) || null;\n  }\n\n  function lookupComponentPair(owner, name, options) {\n    var component = componentFor(name, owner, options);\n    {\n      if (component !== null && component.class !== undefined) {\n        var _layout2 = getComponentTemplate(component.class);\n\n        if (_layout2 !== null) {\n          return {\n            component,\n            layout: _layout2\n          };\n        }\n      }\n    }\n    var layout = layoutFor(name, owner, options);\n\n    if (component === null && layout === null) {\n      return null;\n    } else {\n      return {\n        component,\n        layout\n      };\n    }\n  }\n\n  function lookupComponent(owner, name, options) {\n    if (options.source || options.namespace) {\n      var pair = lookupComponentPair(owner, name, options);\n\n      if (pair !== null) {\n        return pair;\n      }\n    }\n\n    return lookupComponentPair(owner, name);\n  }\n\n  var lookupPartial;\n  var templateFor;\n  var parseUnderscoredName;\n\n  if (_deprecatedFeatures.PARTIALS) {\n    lookupPartial = function (templateName, owner) {\n      (true && !(false) && (0, _debug.deprecate)(`The use of \\`{{partial}}\\` is deprecated, please refactor the \"${templateName}\" partial to a component`, false, {\n        id: 'ember-views.partial',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-views-partial'\n      }));\n\n      if (templateName === null) {\n        return;\n      }\n\n      var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n      (true && !(Boolean(template)) && (0, _debug.assert)(`Unable to find partial with name \"${templateName}\"`, Boolean(template)));\n      return template;\n    };\n\n    templateFor = function (owner, underscored, name) {\n      if (_deprecatedFeatures.PARTIALS) {\n        if (!name) {\n          return;\n        }\n\n        (true && !(name.indexOf('.') === -1) && (0, _debug.assert)(`templateNames are not allowed to contain periods: ${name}`, name.indexOf('.') === -1));\n\n        if (!owner) {\n          throw new _error.default('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n        }\n\n        return owner.lookup(`template:${underscored}`) || owner.lookup(`template:${name}`);\n      }\n    };\n\n    parseUnderscoredName = function (templateName) {\n      var nameParts = templateName.split('/');\n      var lastPart = nameParts[nameParts.length - 1];\n      nameParts[nameParts.length - 1] = `_${lastPart}`;\n      return nameParts.join('/');\n    };\n  }\n\n  var BUILTINS_HELPERS = {\n    if: inlineIf,\n    action,\n    array,\n    concat: concat$1,\n    fn,\n    get: get$1,\n    hash,\n    log: log$1,\n    mut,\n    'query-params': queryParams$1,\n    readonly,\n    unbound,\n    unless: inlineUnless,\n    '-class': classHelper$1,\n    '-each-in': eachIn,\n    '-i': parseIntHelper,\n    '-input-type': inputTypeHelper$1,\n    '-normalize-class': normalizeClassHelper,\n    '-get-dynamic-var': _runtime2.getDynamicVar,\n    '-mount': mountHelper,\n    '-outlet': outletHelper,\n    '-assert-implicit-component-helper-argument': componentAssertionHelper\n  };\n\n  class RuntimeResolver {\n    constructor(isInteractive) {\n      this.handles = [undefined];\n      this.objToHandle = new WeakMap();\n      this.builtInHelpers = BUILTINS_HELPERS;\n      this.componentDefinitionCache = new Map();\n      this.componentDefinitionCount = 0;\n      this.helperDefinitionCount = 0;\n      var macros = new _opcodeCompiler.Macros();\n      populateMacros(macros);\n      this.compiler = new _opcodeCompiler.LazyCompiler(new CompileTimeLookup(this), this, macros);\n      this.isInteractive = isInteractive;\n      this.builtInModifiers = {\n        action: {\n          manager: new ActionModifierManager(),\n          state: null\n        },\n        on: {\n          manager: new OnModifierManager(isInteractive),\n          state: null\n        }\n      };\n    }\n    /***  IRuntimeResolver ***/\n\n    /**\n     * public componentDefHandleCount = 0;\n     * Called while executing Append Op.PushDynamicComponentManager if string\n     */\n\n\n    lookupComponentDefinition(name, meta) {\n      var handle = this.lookupComponentHandle(name, meta);\n\n      if (handle === null) {\n        (true && !(false) && (0, _debug.assert)(`Could not find component named \"${name}\" (no component or template with that name was found)`));\n        return null;\n      }\n\n      return this.resolve(handle);\n    }\n\n    lookupComponentHandle(name, meta) {\n      var nextHandle = this.handles.length;\n      var handle = this.handle(this._lookupComponentDefinition(name, meta));\n      (true && !(!(name === 'text-area' && handle === null)) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(name === 'text-area' && handle === null)));\n\n      if (nextHandle === handle) {\n        this.componentDefinitionCount++;\n      }\n\n      return handle;\n    }\n    /**\n     * Called by RuntimeConstants to lookup unresolved handles.\n     */\n\n\n    resolve(handle) {\n      return this.handles[handle];\n    } // End IRuntimeResolver\n\n    /**\n     * Called by CompileTimeLookup compiling Unknown or Helper OpCode\n     */\n\n\n    lookupHelper(name, meta) {\n      var nextHandle = this.handles.length;\n\n      var helper$$1 = this._lookupHelper(name, meta);\n\n      if (helper$$1 !== null) {\n        var handle = this.handle(helper$$1);\n\n        if (nextHandle === handle) {\n          this.helperDefinitionCount++;\n        }\n\n        return handle;\n      }\n\n      return null;\n    }\n    /**\n     * Called by CompileTimeLookup compiling the\n     */\n\n\n    lookupModifier(name, meta) {\n      return this.handle(this._lookupModifier(name, meta));\n    }\n    /**\n     * Called by CompileTimeLookup to lookup partial\n     */\n\n\n    lookupPartial(name, meta) {\n      if (_deprecatedFeatures.PARTIALS) {\n        var partial = this._lookupPartial(name, meta);\n\n        return this.handle(partial);\n      } else {\n        return null;\n      }\n    } // end CompileTimeLookup\n    // needed for lazy compile time lookup\n\n\n    handle(obj) {\n      if (obj === undefined || obj === null) {\n        return null;\n      }\n\n      var handle = this.objToHandle.get(obj);\n\n      if (handle === undefined) {\n        handle = this.handles.push(obj) - 1;\n        this.objToHandle.set(obj, handle);\n      }\n\n      return handle;\n    }\n\n    _lookupHelper(_name, meta) {\n      var helper$$1 = this.builtInHelpers[_name];\n\n      if (helper$$1 !== undefined) {\n        return helper$$1;\n      }\n\n      var {\n        owner,\n        moduleName\n      } = meta;\n      var name = _name;\n      var namespace = undefined;\n      var options = makeOptions(moduleName, namespace);\n      var factory = owner.factoryFor(`helper:${name}`, options) || owner.factoryFor(`helper:${name}`);\n\n      if (!isHelperFactory(factory)) {\n        return null;\n      }\n\n      return (vm, args) => {\n        var helper$$1 = factory.create();\n\n        if (isSimpleHelper(helper$$1)) {\n          return SimpleHelperReference.create(helper$$1.compute, args.capture());\n        }\n\n        vm.newDestroyable(helper$$1);\n        return ClassBasedHelperReference.create(helper$$1, args.capture());\n      };\n    }\n\n    _lookupPartial(name, meta) {\n      var templateFactory$$1 = lookupPartial(name, meta.owner);\n      var template = templateFactory$$1(meta.owner);\n      return new _opcodeCompiler.PartialDefinition(name, template);\n    }\n\n    _lookupModifier(name, meta) {\n      var builtin = this.builtInModifiers[name];\n\n      if (builtin === undefined) {\n        var {\n          owner\n        } = meta;\n        var modifier = owner.factoryFor(`modifier:${name}`);\n\n        if (modifier !== undefined) {\n          var managerFactory = getModifierManager(modifier.class);\n          var manager = managerFactory(owner);\n          return new CustomModifierDefinition(name, modifier, manager, this.isInteractive);\n        }\n      }\n\n      return builtin;\n    }\n\n    _parseNameForNamespace(_name) {\n      var name = _name;\n      var namespace = undefined;\n\n      var namespaceDelimiterOffset = _name.indexOf('::');\n\n      if (namespaceDelimiterOffset !== -1) {\n        name = _name.slice(namespaceDelimiterOffset + 2);\n        namespace = _name.slice(0, namespaceDelimiterOffset);\n      }\n\n      return {\n        name,\n        namespace\n      };\n    }\n\n    _lookupComponentDefinition(_name, {\n      moduleName,\n      owner\n    }) {\n      var name = _name;\n      var namespace = undefined;\n      var pair = lookupComponent(owner, name, makeOptions(moduleName, namespace));\n\n      if (pair === null) {\n        return null;\n      }\n\n      var layout = null;\n      var key;\n\n      if (pair.component === null) {\n        key = layout = pair.layout(owner);\n      } else {\n        key = pair.component;\n      }\n\n      var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n\n      if (cachedComponentDefinition !== undefined) {\n        return cachedComponentDefinition;\n      }\n\n      if (layout === null && pair.layout !== null) {\n        layout = pair.layout(owner);\n      }\n\n      var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n      var definition = null;\n\n      if (pair.component === null) {\n        if (_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n          definition = new TemplateOnlyComponentDefinition(name, layout);\n        }\n      } else if (true\n      /* EMBER_GLIMMER_SET_COMPONENT_TEMPLATE */\n      && (0, _templateOnly.isTemplateOnlyComponent)(pair.component.class)) {\n        definition = new TemplateOnlyComponentDefinition(name, layout);\n      }\n\n      if (pair.component !== null) {\n        (true && !(pair.component.class !== undefined) && (0, _debug.assert)(`missing component class ${name}`, pair.component.class !== undefined));\n        var ComponentClass = pair.component.class;\n        var wrapper = getManager(ComponentClass);\n\n        if (wrapper !== null && wrapper.type === 'component') {\n          var {\n            factory\n          } = wrapper;\n\n          if (wrapper.internal) {\n            (true && !(pair.layout !== null) && (0, _debug.assert)(`missing layout for internal component ${name}`, pair.layout !== null));\n            definition = new InternalComponentDefinition(factory(owner), ComponentClass, layout);\n          } else {\n            definition = new CustomManagerDefinition(name, pair.component, factory(owner), layout !== null ? layout : owner.lookup((0, _container.privatize)`template:components/-default`)(owner));\n          }\n        }\n      }\n\n      if (definition === null) {\n        definition = new CurlyComponentDefinition(name, pair.component || owner.factoryFor((0, _container.privatize)`component:-default`), null, layout);\n      }\n\n      finalizer();\n      this.componentDefinitionCache.set(key, definition);\n      return definition;\n    }\n\n  }\n\n  var TemplateCompiler = {\n    create({\n      environment\n    }) {\n      return new RuntimeResolver(environment.isInteractive).compiler;\n    }\n\n  };\n  var ComponentTemplate = template({\n    \"id\": \"chfQcH83\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/component.hbs\"\n    }\n  });\n  var InputTemplate = template({\n    \"id\": \"NWZzLSII\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Checkbox\\\",\\\"TextField\\\",\\\"@__ARGS__\\\",\\\"&attrs\\\"],\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[\\\"-checkbox\\\"],null],[28,\\\"component\\\",[\\\"-text-field\\\"],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"isCheckbox\\\"]]],null,{\\\"statements\\\":[[6,[23,1,[]],[[13,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[23,0,[\\\"caller\\\"]],[23,3,[]]]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[23,2,[]],[[13,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[23,0,[\\\"caller\\\"]],[23,3,[]]]]]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[1,2]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\"\n    }\n  });\n  var OutletTemplate = template({\n    \"id\": \"ffAL6HDl\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[22,\\\"outlet\\\"],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\"\n    }\n  });\n  var TOP_LEVEL_NAME = '-top-level';\n  var TOP_LEVEL_OUTLET = 'main';\n\n  class OutletView {\n    constructor(_environment, renderer, owner, template) {\n      this._environment = _environment;\n      this.renderer = renderer;\n      this.owner = owner;\n      this.template = template;\n      var ref = this.ref = new RootOutletReference({\n        outlets: {\n          main: undefined\n        },\n        render: {\n          owner: owner,\n          into: undefined,\n          outlet: TOP_LEVEL_OUTLET,\n          name: TOP_LEVEL_NAME,\n          controller: undefined,\n          model: undefined,\n          template\n        }\n      });\n      this.state = {\n        ref,\n        name: TOP_LEVEL_NAME,\n        outlet: TOP_LEVEL_OUTLET,\n        template,\n        controller: undefined,\n        model: undefined\n      };\n    }\n\n    static extend(injections) {\n      return class extends OutletView {\n        static create(options) {\n          if (options) {\n            return super.create((0, _polyfills.assign)({}, injections, options));\n          } else {\n            return super.create(injections);\n          }\n        }\n\n      };\n    }\n\n    static reopenClass(injections) {\n      (0, _polyfills.assign)(this, injections);\n    }\n\n    static create(options) {\n      var {\n        _environment,\n        renderer,\n        template: templateFactory$$1\n      } = options;\n      var owner = options[_owner.OWNER];\n      var template = templateFactory$$1(owner);\n      return new OutletView(_environment, renderer, owner, template);\n    }\n\n    appendTo(selector) {\n      var target;\n\n      if (this._environment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n\n      (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n    }\n\n    rerender() {\n      /**/\n    }\n\n    setOutletState(state) {\n      this.ref.update(state);\n    }\n\n    destroy() {\n      /**/\n    }\n\n  }\n\n  _exports.OutletView = OutletView;\n\n  function setupApplicationRegistry(registry) {\n    registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n    registry.injection('renderer', 'env', 'service:-glimmer-environment'); // because we are using injections we can't use instantiate false\n    // we need to use bind() to copy the function so factory for\n    // association won't leak\n\n    registry.register('service:-dom-builder', {\n      create({\n        bootOptions\n      }) {\n        var {\n          _renderMode\n        } = bootOptions;\n\n        switch (_renderMode) {\n          case 'serialize':\n            return _node.serializeBuilder.bind(null);\n\n          case 'rehydrate':\n            return _runtime2.rehydrationBuilder.bind(null);\n\n          default:\n            return _runtime2.clientBuilder.bind(null);\n        }\n      }\n\n    });\n    registry.injection('service:-dom-builder', 'bootOptions', '-environment:main');\n    registry.injection('renderer', 'builder', 'service:-dom-builder');\n    registry.register((0, _container.privatize)`template:-root`, RootTemplate);\n    registry.injection('renderer', 'rootTemplate', (0, _container.privatize)`template:-root`);\n    registry.register('renderer:-dom', InteractiveRenderer);\n    registry.register('renderer:-inert', InertRenderer);\n\n    if (_browserEnvironment.hasDOM) {\n      registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n    }\n\n    registry.register('service:-dom-changes', {\n      create({\n        document\n      }) {\n        return new _runtime2.DOMChanges(document);\n      }\n\n    });\n    registry.register('service:-dom-tree-construction', {\n      create({\n        document\n      }) {\n        var Implementation = _browserEnvironment.hasDOM ? _runtime2.DOMTreeConstruction : _node.NodeDOMTreeConstruction;\n        return new Implementation(document);\n      }\n\n    });\n  }\n\n  function setupEngineRegistry(registry) {\n    registry.optionsForType('template', {\n      instantiate: false\n    });\n    registry.register('view:-outlet', OutletView);\n    registry.register('template:-outlet', OutletTemplate);\n    registry.injection('view:-outlet', 'template', 'template:-outlet');\n    registry.injection('service:-dom-changes', 'document', 'service:-document');\n    registry.injection('service:-dom-tree-construction', 'document', 'service:-document');\n    registry.register((0, _container.privatize)`template:components/-default`, ComponentTemplate);\n    registry.register('service:-glimmer-environment', Environment$1);\n    registry.register((0, _container.privatize)`template-compiler:main`, TemplateCompiler);\n    registry.injection((0, _container.privatize)`template-compiler:main`, 'environment', '-environment:main');\n    registry.optionsForType('helper', {\n      instantiate: false\n    });\n    registry.register('helper:loc', loc$1);\n    registry.register('component:-text-field', TextField);\n    registry.register('component:-checkbox', Checkbox);\n    registry.register('component:link-to', LinkComponent);\n    registry.register('component:input', Input);\n    registry.register('template:components/input', InputTemplate);\n    registry.register('component:textarea', TextArea);\n\n    if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n      registry.register((0, _container.privatize)`component:-default`, Component);\n    }\n  }\n\n  function setComponentManager(stringOrFunction, obj) {\n    var factory;\n\n    if (_deprecatedFeatures.COMPONENT_MANAGER_STRING_LOOKUP && typeof stringOrFunction === 'string') {\n      (true && !(false) && (0, _debug.deprecate)('Passing the name of the component manager to \"setupComponentManager\" is deprecated. Please pass a function that produces an instance of the manager.', false, {\n        id: 'deprecate-string-based-component-manager',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x/#toc_component-manager-string-lookup'\n      }));\n\n      factory = function (owner) {\n        return owner.lookup(`component-manager:${stringOrFunction}`);\n      };\n    } else {\n      factory = stringOrFunction;\n    }\n\n    return setManager({\n      factory,\n      internal: false,\n      type: 'component'\n    }, obj);\n  }\n\n  function getComponentManager(obj) {\n    var wrapper = getManager(obj);\n\n    if (wrapper && !wrapper.internal && wrapper.type === 'component') {\n      return wrapper.factory;\n    } else {\n      return undefined;\n    }\n  }\n  /**\n    [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n  \n    ### Showing a property\n  \n    Templates manage the flow of an application's UI, and display state (through\n    the DOM) to a user. For example, given a component with the property \"name\",\n    that component's template can use the name in several ways:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      name: 'Jill'\n    });\n    ```\n  \n    ```app/templates/components/person-profile.hbs\n    {{name}}\n    <div>{{name}}</div>\n    <span data-name={{name}}></span>\n    ```\n  \n    Any time the \"name\" property on the component changes, the DOM will be\n    updated.\n  \n    Properties can be chained as well:\n  \n    ```handlebars\n    {{aUserModel.name}}\n    <div>{{listOfUsers.firstObject.name}}</div>\n    ```\n  \n    ### Using Ember helpers\n  \n    When content is passed in mustaches `{{}}`, Ember will first try to find a helper\n    or component with that name. For example, the `if` helper:\n  \n    ```handlebars\n    {{if name \"I have a name\" \"I have no name\"}}\n    <span data-has-name={{if name true}}></span>\n    ```\n  \n    The returned value is placed where the `{{}}` is called. The above style is\n    called \"inline\". A second style of helper usage is called \"block\". For example:\n  \n    ```handlebars\n    {{#if name}}\n    I have a name\n    {{else}}\n    I have no name\n    {{/if}}\n    ```\n  \n    The block form of helpers allows you to control how the UI is created based\n    on the values of properties.\n    A third form of helper is called \"nested\". For example here the concat\n    helper will add \" Doe\" to a displayed name if the person has no last name:\n  \n    ```handlebars\n    <span data-name={{concat firstName (\n    if lastName (concat \" \" lastName) \"Doe\"\n    )}}></span>\n    ```\n  \n    Ember's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\n    namespace. Documentation on creating custom helpers can be found under\n    [helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\n    under [Helper](/ember/release/classes/Helper) if a helper requires access to\n    dependency injection).\n  \n    ### Invoking a Component\n  \n    Ember components represent state to the UI of an application. Further\n    reading on components can be found under [Component](/ember/release/classes/Component).\n  \n    @module @ember/component\n    @main @ember/component\n    @public\n   */\n\n});","define(\"@ember/-internals/meta/index\", [\"exports\", \"@ember/-internals/meta/lib/meta\"], function (_exports, _meta) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"counters\", {\n    enumerable: true,\n    get: function () {\n      return _meta.counters;\n    }\n  });\n  Object.defineProperty(_exports, \"Meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.Meta;\n    }\n  });\n  Object.defineProperty(_exports, \"meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.meta;\n    }\n  });\n  Object.defineProperty(_exports, \"peekMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.peekMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"setMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.setMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"UNDEFINED\", {\n    enumerable: true,\n    get: function () {\n      return _meta.UNDEFINED;\n    }\n  });\n});","define(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/reference\"], function (_exports, _utils, _debug, _reference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setMeta = setMeta;\n  _exports.peekMeta = peekMeta;\n  _exports.counters = _exports.meta = _exports.Meta = _exports.UNDEFINED = void 0;\n  var objectPrototype = Object.prototype;\n  var counters;\n  _exports.counters = counters;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.counters = counters = {\n      peekCalls: 0,\n      peekPrototypeWalks: 0,\n      setCalls: 0,\n      deleteCalls: 0,\n      metaCalls: 0,\n      metaInstantiated: 0,\n      matchingListenersCalls: 0,\n      observerEventsCalls: 0,\n      addToListenersCalls: 0,\n      removeFromListenersCalls: 0,\n      removeAllListenersCalls: 0,\n      listenersInherited: 0,\n      listenersFlattened: 0,\n      parentListenersUsed: 0,\n      flattenedListenersCalls: 0,\n      reopensAfterFlatten: 0,\n      readableLazyChainsCalls: 0,\n      writableLazyChainsCalls: 0\n    };\n  }\n  /**\n  @module ember\n  */\n\n\n  var UNDEFINED = (0, _utils.symbol)('undefined');\n  _exports.UNDEFINED = UNDEFINED;\n  var currentListenerVersion = 1;\n\n  class Meta {\n    constructor(obj) {\n      this._listenersVersion = 1;\n      this._inheritedEnd = -1;\n      this._flattenedVersion = 0;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.metaInstantiated++;\n        this._values = undefined;\n      }\n\n      this._parent = undefined;\n      this._descriptors = undefined;\n      this._mixins = undefined;\n      this._tag = undefined;\n      this._tags = undefined; // initial value for all flags right now is false\n      // see FLAGS const for detailed list of flags used\n\n      this._flags = 0\n      /* NONE */\n      ; // used only internally\n\n      this.source = obj;\n      this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n      this._listeners = undefined;\n    }\n\n    get parent() {\n      var parent = this._parent;\n\n      if (parent === undefined) {\n        var proto = getPrototypeOf(this.source);\n        this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n      }\n\n      return parent;\n    }\n\n    setInitializing() {\n      this._flags |= 8\n      /* INITIALIZING */\n      ;\n    }\n\n    unsetInitializing() {\n      this._flags ^= 8\n      /* INITIALIZING */\n      ;\n    }\n\n    isInitializing() {\n      return this._hasFlag(8\n      /* INITIALIZING */\n      );\n    }\n\n    isPrototypeMeta(obj) {\n      return this.proto === this.source && this.source === obj;\n    }\n\n    destroy() {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.deleteCalls++;\n      }\n\n      if (this.isMetaDestroyed()) {\n        return;\n      }\n\n      this.setMetaDestroyed();\n    }\n\n    isSourceDestroying() {\n      return this._hasFlag(1\n      /* SOURCE_DESTROYING */\n      );\n    }\n\n    setSourceDestroying() {\n      this._flags |= 1\n      /* SOURCE_DESTROYING */\n      ;\n    }\n\n    isSourceDestroyed() {\n      return this._hasFlag(2\n      /* SOURCE_DESTROYED */\n      );\n    }\n\n    setSourceDestroyed() {\n      this._flags |= 2\n      /* SOURCE_DESTROYED */\n      ;\n    }\n\n    isMetaDestroyed() {\n      return this._hasFlag(4\n      /* META_DESTROYED */\n      );\n    }\n\n    setMetaDestroyed() {\n      this._flags |= 4\n      /* META_DESTROYED */\n      ;\n    }\n\n    _hasFlag(flag) {\n      return (this._flags & flag) === flag;\n    }\n\n    _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    }\n\n    _getOrCreateOwnSet(key) {\n      return this[key] || (this[key] = new Set());\n    }\n\n    _findInheritedMap(key, subkey) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          var value = map.get(subkey);\n\n          if (value !== undefined) {\n            return value;\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    }\n\n    _hasInInheritedSet(key, value) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var set = pointer[key];\n\n        if (set !== undefined && set.has(value)) {\n          return true;\n        }\n\n        pointer = pointer.parent;\n      }\n\n      return false;\n    }\n\n    writableTags() {\n      return this._getOrCreateOwnMap('_tags');\n    }\n\n    readableTags() {\n      return this._tags;\n    }\n\n    writableTag() {\n      (true && !(!this.isMetaDestroyed()) && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot create a new tag for \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed()));\n      var ret = this._tag;\n\n      if (ret === undefined) {\n        ret = this._tag = (0, _reference.createUpdatableTag)();\n      }\n\n      return ret;\n    }\n\n    readableTag() {\n      return this._tag;\n    }\n\n    writableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.writableLazyChainsCalls++;\n      }\n\n      var lazyChains = this._getOrCreateOwnMap('_lazyChains');\n\n      if (!(key in lazyChains)) {\n        lazyChains[key] = Object.create(null);\n      }\n\n      return lazyChains[key];\n    }\n\n    readableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.readableLazyChainsCalls++;\n      }\n\n      var lazyChains = this._lazyChains;\n\n      if (lazyChains !== undefined) {\n        return lazyChains[key];\n      }\n\n      return undefined;\n    }\n\n    addMixin(mixin) {\n      (true && !(!this.isMetaDestroyed()) && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot add mixins of \\`${(0, _utils.toString)(mixin)}\\` on \\`${(0, _utils.toString)(this.source)}\\` call addMixin after it has been destroyed.` : '', !this.isMetaDestroyed()));\n\n      var set = this._getOrCreateOwnSet('_mixins');\n\n      set.add(mixin);\n    }\n\n    hasMixin(mixin) {\n      return this._hasInInheritedSet('_mixins', mixin);\n    }\n\n    forEachMixins(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var set = pointer._mixins;\n\n        if (set !== undefined) {\n          seen = seen === undefined ? new Set() : seen; // TODO cleanup typing here\n\n          set.forEach(mixin => {\n            if (!seen.has(mixin)) {\n              seen.add(mixin);\n              fn(mixin);\n            }\n          });\n        }\n\n        pointer = pointer.parent;\n      }\n    }\n\n    writeDescriptors(subkey, value) {\n      (true && !(!this.isMetaDestroyed()) && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed()));\n      var map = this._descriptors || (this._descriptors = new Map());\n      map.set(subkey, value);\n    }\n\n    peekDescriptors(subkey) {\n      var possibleDesc = this._findInheritedMap('_descriptors', subkey);\n\n      return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n    }\n\n    removeDescriptors(subkey) {\n      this.writeDescriptors(subkey, UNDEFINED);\n    }\n\n    forEachDescriptors(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var map = pointer._descriptors;\n\n        if (map !== undefined) {\n          seen = seen === undefined ? new Set() : seen;\n          map.forEach((value, key) => {\n            if (!seen.has(key)) {\n              seen.add(key);\n\n              if (value !== UNDEFINED) {\n                fn(key, value);\n              }\n            }\n          });\n        }\n\n        pointer = pointer.parent;\n      }\n    }\n\n    addToListeners(eventName, target, method, once, sync) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.addToListenersCalls++;\n      }\n\n      this.pushListener(eventName, target, method, once ? 1\n      /* ONCE */\n      : 0\n      /* ADD */\n      , sync);\n    }\n\n    removeFromListeners(eventName, target, method) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.removeFromListenersCalls++;\n      }\n\n      this.pushListener(eventName, target, method, 2\n      /* REMOVE */\n      );\n    }\n\n    pushListener(event, target, method, kind, sync = false) {\n      var listeners = this.writableListeners();\n      var i = indexOfListener(listeners, event, target, method); // remove if found listener was inherited\n\n      if (i !== -1 && i < this._inheritedEnd) {\n        listeners.splice(i, 1);\n        this._inheritedEnd--;\n        i = -1;\n      } // if not found, push. Note that we must always push if a listener is not\n      // found, even in the case of a function listener remove, because we may be\n      // attempting to add or remove listeners _before_ flattening has occured.\n\n\n      if (i === -1) {\n        (true && !(!(this.isPrototypeMeta(this.source) && typeof method === 'function')) && (0, _debug.assert)('You cannot add function listeners to prototypes. Convert the listener to a string listener, or add it to the instance instead.', !(this.isPrototypeMeta(this.source) && typeof method === 'function')));\n        (true && !(!(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2\n        /* REMOVE */\n        )) && (0, _debug.assert)('You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.', !(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2)));\n        listeners.push({\n          event,\n          target,\n          method,\n          kind,\n          sync\n        });\n      } else {\n        var listener = listeners[i]; // If the listener is our own listener and we are trying to remove it, we\n        // want to splice it out entirely so we don't hold onto a reference.\n\n        if (kind === 2\n        /* REMOVE */\n        && listener.kind !== 2\n        /* REMOVE */\n        ) {\n          listeners.splice(i, 1);\n        } else {\n          (true && !(!(listener.kind === 0\n          /* ADD */\n          && kind === 0\n          /* ADD */\n          && listener.sync !== sync)) && (0, _debug.assert)(`You attempted to add an observer for the same method on '${event.split(':')[0]}' twice to ${target} as both sync and async. Observers must be either sync or async, they cannot be both. This is likely a mistake, you should either remove the code that added the observer a second time, or update it to always be sync or async. The method was ${method}.`, !(listener.kind === 0 && kind === 0 && listener.sync !== sync))); // update own listener\n\n          listener.kind = kind;\n          listener.sync = sync;\n        }\n      }\n    }\n\n    writableListeners() {\n      // Check if we need to invalidate and reflatten. We need to do this if we\n      // have already flattened (flattened version is the current version) and\n      // we are either writing to a prototype meta OR we have never inherited, and\n      // may have cached the parent's listeners.\n      if (this._flattenedVersion === currentListenerVersion && (this.source === this.proto || this._inheritedEnd === -1)) {\n        if (true\n        /* DEBUG */\n        ) {\n          counters.reopensAfterFlatten++;\n        }\n\n        currentListenerVersion++;\n      } // Inherited end has not been set, then we have never created our own\n      // listeners, but may have cached the parent's\n\n\n      if (this._inheritedEnd === -1) {\n        this._inheritedEnd = 0;\n        this._listeners = [];\n      }\n\n      return this._listeners;\n    }\n    /**\n      Flattening is based on a global revision counter. If the revision has\n      bumped it means that somewhere in a class inheritance chain something has\n      changed, so we need to reflatten everything. This can only happen if:\n         1. A meta has been flattened (listener has been called)\n      2. The meta is a prototype meta with children who have inherited its\n         listeners\n      3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n         This is a very rare occurence, so while the counter is global it shouldn't\n      be updated very often in practice.\n    */\n\n\n    flattenedListeners() {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.flattenedListenersCalls++;\n      }\n\n      if (this._flattenedVersion < currentListenerVersion) {\n        if (true\n        /* DEBUG */\n        ) {\n          counters.listenersFlattened++;\n        }\n\n        var parent = this.parent;\n\n        if (parent !== null) {\n          // compute\n          var parentListeners = parent.flattenedListeners();\n\n          if (parentListeners !== undefined) {\n            if (this._listeners === undefined) {\n              // If this instance doesn't have any of its own listeners (writableListeners\n              // has never been called) then we don't need to do any flattening, return\n              // the parent's listeners instead.\n              if (true\n              /* DEBUG */\n              ) {\n                counters.parentListenersUsed++;\n              }\n\n              this._listeners = parentListeners;\n            } else {\n              var listeners = this._listeners;\n\n              if (this._inheritedEnd > 0) {\n                listeners.splice(0, this._inheritedEnd);\n                this._inheritedEnd = 0;\n              }\n\n              for (var i = 0; i < parentListeners.length; i++) {\n                var listener = parentListeners[i];\n                var index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n\n                if (index === -1) {\n                  if (true\n                  /* DEBUG */\n                  ) {\n                    counters.listenersInherited++;\n                  }\n\n                  listeners.unshift(listener);\n                  this._inheritedEnd++;\n                }\n              }\n            }\n          }\n        }\n\n        this._flattenedVersion = currentListenerVersion;\n      }\n\n      return this._listeners;\n    }\n\n    matchingListeners(eventName) {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.matchingListenersCalls++;\n      }\n\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if (listener.event === eventName && (listener.kind === 0\n          /* ADD */\n          || listener.kind === 1\n          /* ONCE */\n          )) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n\n            result.push(listener.target, listener.method, listener.kind === 1\n            /* ONCE */\n            );\n          }\n        }\n      }\n\n      return result;\n    }\n\n    observerEvents() {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.observerEventsCalls++;\n      }\n\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if ((listener.kind === 0\n          /* ADD */\n          || listener.kind === 1\n          /* ONCE */\n          ) && listener.event.indexOf(':change') !== -1) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n\n            result.push(listener);\n          }\n        }\n      }\n\n      return result;\n    }\n\n  }\n\n  _exports.Meta = Meta;\n  var getPrototypeOf = Object.getPrototypeOf;\n  var metaStore = new WeakMap();\n\n  function setMeta(obj, meta) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`setMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n    if (true\n    /* DEBUG */\n    ) {\n      counters.setCalls++;\n    }\n\n    metaStore.set(obj, meta);\n  }\n\n  function peekMeta(obj) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`peekMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n    if (true\n    /* DEBUG */\n    ) {\n      counters.peekCalls++;\n    }\n\n    var meta = metaStore.get(obj);\n\n    if (meta !== undefined) {\n      return meta;\n    }\n\n    var pointer = getPrototypeOf(obj);\n\n    while (pointer !== null) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.peekPrototypeWalks++;\n      }\n\n      meta = metaStore.get(pointer);\n\n      if (meta !== undefined) {\n        if (meta.proto !== pointer) {\n          // The meta was a prototype meta which was not marked as initializing.\n          // This can happen when a prototype chain was created manually via\n          // Object.create() and the source object does not have a constructor.\n          meta.proto = pointer;\n        }\n\n        return meta;\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\n\n    return null;\n  }\n  /**\n    Retrieves the meta hash for an object. If `writable` is true ensures the\n    hash is writable for this object as well.\n  \n    The meta object contains information about computed property descriptors as\n    well as any watched properties and other information. You generally will\n    not access this information directly but instead work with higher level\n    methods that manipulate this hash indirectly.\n  \n    @method meta\n    @for Ember\n    @private\n  \n    @param {Object} obj The object to retrieve meta for\n    @param {Boolean} [writable=true] Pass `false` if you do not intend to modify\n      the meta hash, allowing the method to avoid making an unnecessary copy.\n    @return {Object} the meta hash for an object\n  */\n\n\n  var meta = function meta(obj) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`meta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n    if (true\n    /* DEBUG */\n    ) {\n      counters.metaCalls++;\n    }\n\n    var maybeMeta = peekMeta(obj); // remove this code, in-favor of explicit parent\n\n    if (maybeMeta !== null && maybeMeta.source === obj) {\n      return maybeMeta;\n    }\n\n    var newMeta = new Meta(obj);\n    setMeta(obj, newMeta);\n    return newMeta;\n  };\n\n  _exports.meta = meta;\n\n  if (true\n  /* DEBUG */\n  ) {\n    meta._counters = counters;\n  }\n\n  function indexOfListener(listeners, event, target, method) {\n    for (var i = listeners.length - 1; i >= 0; i--) {\n      var listener = listeners[i];\n\n      if (listener.event === event && listener.target === target && listener.method === method) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n});","define(\"@ember/-internals/metal/index\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/runloop\", \"@glimmer/reference\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/metal\", \"ember/version\", \"@ember/-internals/meta/lib/meta\", \"@ember/deprecated-features\", \"@ember/-internals/owner\"], function (_exports, _meta2, _utils, _debug, _environment, _runloop, _reference, _polyfills, _error, _metal, _version, _meta3, _deprecatedFeatures, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.computed = computed;\n  _exports.isComputed = isComputed;\n  _exports.getCacheFor = getCacheFor;\n  _exports.getCachedValueFor = getCachedValueFor;\n  _exports.peekCacheFor = peekCacheFor;\n  _exports.alias = alias;\n  _exports.deprecateProperty = deprecateProperty;\n  _exports._getPath = _getPath;\n  _exports.get = get;\n  _exports.getWithDefault = getWithDefault;\n  _exports.set = set;\n  _exports.trySet = trySet;\n  _exports.objectAt = objectAt;\n  _exports.replace = replace;\n  _exports.replaceInNativeArray = replaceInNativeArray;\n  _exports.addArrayObserver = addArrayObserver;\n  _exports.removeArrayObserver = removeArrayObserver;\n  _exports.arrayContentWillChange = arrayContentWillChange;\n  _exports.arrayContentDidChange = arrayContentDidChange;\n  _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n  _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n  _exports.addListener = addListener;\n  _exports.hasListeners = hasListeners;\n  _exports.on = on;\n  _exports.removeListener = removeListener;\n  _exports.sendEvent = sendEvent;\n  _exports.isNone = isNone;\n  _exports.isEmpty = isEmpty;\n  _exports.isBlank = isBlank;\n  _exports.isPresent = isPresent;\n  _exports.beginPropertyChanges = beginPropertyChanges;\n  _exports.changeProperties = changeProperties;\n  _exports.endPropertyChanges = endPropertyChanges;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  _exports.defineProperty = defineProperty;\n  _exports.isElementDescriptor = isElementDescriptor;\n  _exports.nativeDescDecorator = nativeDescDecorator;\n  _exports.descriptorForDecorator = descriptorForDecorator;\n  _exports.descriptorForProperty = descriptorForProperty;\n  _exports.isClassicDecorator = isClassicDecorator;\n  _exports.setClassicDecorator = setClassicDecorator;\n  _exports.getChainTagsForKey = getChainTagsForKey;\n  _exports.getProperties = getProperties;\n  _exports.setProperties = setProperties;\n  _exports.expandProperties = expandProperties;\n  _exports.destroy = destroy;\n  _exports.addObserver = addObserver$1;\n  _exports.activateObserver = activateObserver;\n  _exports.removeObserver = removeObserver;\n  _exports.flushAsyncObservers = flushAsyncObservers;\n  _exports.mixin = mixin;\n  _exports.observer = observer;\n  _exports.applyMixin = applyMixin;\n  _exports.inject = inject;\n  _exports.tagForProperty = tagForProperty;\n  _exports.createTagForProperty = createTagForProperty;\n  _exports.tagFor = tagFor;\n  _exports.markObjectAsDirty = markObjectAsDirty;\n  _exports.consume = consume;\n  _exports.tracked = tracked;\n  _exports.track = track;\n  _exports.untrack = untrack;\n  _exports.isTracking = isTracking;\n  _exports.addNamespace = addNamespace;\n  _exports.classToString = classToString;\n  _exports.findNamespace = findNamespace;\n  _exports.findNamespaces = findNamespaces;\n  _exports.processNamespace = processNamespace;\n  _exports.processAllNamespaces = processAllNamespaces;\n  _exports.removeNamespace = removeNamespace;\n  _exports.isNamespaceSearchDisabled = isSearchDisabled;\n  _exports.setNamespaceSearchDisabled = setSearchDisabled;\n  _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.deprecateMutationsInAutotrackingTransaction = _exports.runInAutotrackingTransaction = _exports.Tracker = _exports.CUSTOM_TAG_FOR = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.aliasMethod = _exports.Mixin = _exports.SYNC_OBSERVERS = _exports.ASYNC_OBSERVERS = _exports.Libraries = _exports.libraries = _exports.PROPERTY_DID_CHANGE = _exports.PROXY_CONTENT = _exports.ComputedProperty = _exports._globalsComputed = void 0;\n  var COMPUTED_PROPERTY_CACHED_VALUES = new WeakMap();\n  var COMPUTED_PROPERTY_LAST_REVISION = new WeakMap();\n\n  function getCacheFor(obj) {\n    var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n\n    if (cache === undefined) {\n      cache = new Map();\n      COMPUTED_PROPERTY_CACHED_VALUES.set(obj, cache);\n    }\n\n    return cache;\n  }\n  /**\n    Returns the cached value for a property, if one exists.\n    This can be useful for peeking at the value of a computed\n    property that is generated lazily, without accidentally causing\n    it to be created.\n  \n    @method cacheFor\n    @static\n    @for @ember/object/internals\n    @param {Object} obj the object whose property you want to check\n    @param {String} key the name of the property whose cached value you want\n      to return\n    @return {Object} the cached value\n    @public\n  */\n\n\n  function getCachedValueFor(obj, key) {\n    var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n\n    if (cache !== undefined) {\n      return cache.get(key);\n    }\n  }\n\n  function setLastRevisionFor(obj, key, revision) {\n    var cache = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n\n    if (cache === undefined) {\n      cache = new Map();\n      COMPUTED_PROPERTY_LAST_REVISION.set(obj, cache);\n    }\n\n    cache.set(key, revision);\n  }\n\n  function getLastRevisionFor(obj, key) {\n    var cache = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n\n    if (cache === undefined) {\n      return 0;\n    } else {\n      var revision = cache.get(key);\n      return revision === undefined ? 0 : revision;\n    }\n  }\n\n  function peekCacheFor(obj) {\n    return COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n  }\n  /**\n  @module @ember/object\n  */\n\n  /*\n    The event system uses a series of nested hashes to store listeners on an\n    object. When a listener is registered, or when an event arrives, these\n    hashes are consulted to determine which target and action pair to invoke.\n  \n    The hashes are stored in the object's meta hash, and look like this:\n  \n        // Object's meta hash\n        {\n          listeners: {       // variable name: `listenerSet`\n            \"foo:change\": [ // variable name: `actions`\n              target, method, once\n            ]\n          }\n        }\n  \n  */\n\n  /**\n    Add an event listener\n  \n    @method addListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @param {Boolean} once A flag whether a function should only be called once\n    @public\n  */\n\n\n  function addListener(obj, eventName, target, method, once, sync = true) {\n    (true && !(Boolean(obj) && Boolean(eventName)) && (0, _debug.assert)('You must pass at least an object and event name to addListener', Boolean(obj) && Boolean(eventName)));\n\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n\n    (0, _meta2.meta)(obj).addToListeners(eventName, target, method, once === true, sync);\n  }\n  /**\n    Remove an event listener\n  \n    Arguments should match those passed to `addListener`.\n  \n    @method removeListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @public\n  */\n\n\n  function removeListener(obj, eventName, targetOrFunction, functionOrName) {\n    (true && !(Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))) && (0, _debug.assert)('You must pass at least an object, event name, and method or target and method/method name to removeListener', Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))));\n    var target, method;\n\n    if (typeof targetOrFunction === 'object') {\n      target = targetOrFunction;\n      method = functionOrName;\n    } else {\n      target = null;\n      method = targetOrFunction;\n    }\n\n    var m = (0, _meta2.meta)(obj);\n    m.removeFromListeners(eventName, target, method);\n  }\n  /**\n    Send an event. The execution of suspended listeners\n    is skipped, and once listeners are removed. A listener without\n    a target is executed on the passed object. If an array of actions\n    is not passed, the actions stored on the passed object are invoked.\n  \n    @method sendEvent\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Array} params Optional parameters for each listener.\n    @return {Boolean} if the event was delivered to one or more actions\n    @public\n  */\n\n\n  function sendEvent(obj, eventName, params, actions, _meta) {\n    if (actions === undefined) {\n      var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n      actions = meta$$1 !== null ? meta$$1.matchingListeners(eventName) : undefined;\n    }\n\n    if (actions === undefined || actions.length === 0) {\n      return false;\n    }\n\n    for (var i = actions.length - 3; i >= 0; i -= 3) {\n      // looping in reverse for once listeners\n      var target = actions[i];\n      var method = actions[i + 1];\n      var once = actions[i + 2];\n\n      if (!method) {\n        continue;\n      }\n\n      if (once) {\n        removeListener(obj, eventName, target, method);\n      }\n\n      if (!target) {\n        target = obj;\n      }\n\n      if ('string' === typeof method) {\n        method = target[method];\n      }\n\n      method.apply(target, params);\n    }\n\n    return true;\n  }\n  /**\n    @private\n    @method hasListeners\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @return {Boolean} if `obj` has listeners for event `eventName`\n  */\n\n\n  function hasListeners(obj, eventName) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null) {\n      return false;\n    }\n\n    var matched = meta$$1.matchingListeners(eventName);\n    return matched !== undefined && matched.length > 0;\n  }\n  /**\n    Define a property as a function that should be executed when\n    a specified event or events are triggered.\n  \n    ``` javascript\n    import EmberObject from '@ember/object';\n    import { on } from '@ember/object/evented';\n    import { sendEvent } from '@ember/object/events';\n  \n    let Job = EmberObject.extend({\n      logCompleted: on('completed', function() {\n        console.log('Job completed!');\n      })\n    });\n  \n    let job = Job.create();\n  \n    sendEvent(job, 'completed'); // Logs 'Job completed!'\n   ```\n  \n    @method on\n    @static\n    @for @ember/object/evented\n    @param {String} eventNames*\n    @param {Function} func\n    @return {Function} the listener function, passed as last argument to on(...)\n    @public\n  */\n\n\n  function on(...args) {\n    var func = args.pop();\n    var events = args;\n    (true && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function'));\n    (true && !(events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)) && (0, _debug.assert)('on called without valid event names', events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)));\n    (0, _utils.setListeners)(func, events);\n    return func;\n  }\n\n  var AFTER_OBSERVERS = ':change';\n\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n\n  var SYNC_DEFAULT = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n  var SYNC_OBSERVERS = new Map();\n  _exports.SYNC_OBSERVERS = SYNC_OBSERVERS;\n  var ASYNC_OBSERVERS = new Map();\n  /**\n  @module @ember/object\n  */\n\n  /**\n    @method addObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  _exports.ASYNC_OBSERVERS = ASYNC_OBSERVERS;\n\n  function addObserver$1(obj, path, target, method, sync = SYNC_DEFAULT) {\n    var eventName = changeEvent(path);\n    addListener(obj, eventName, target, method, false, sync);\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n      activateObserver(obj, eventName, sync);\n    }\n  }\n  /**\n    @method removeObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n\n  function removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    var eventName = changeEvent(path);\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n      deactivateObserver(obj, eventName, sync);\n    }\n\n    removeListener(obj, eventName, target, method);\n  }\n\n  function getOrCreateActiveObserversFor(target, sync) {\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n\n    if (!observerMap.has(target)) {\n      observerMap.set(target, new Map());\n    }\n\n    return observerMap.get(target);\n  }\n\n  function activateObserver(target, eventName, sync = false) {\n    var activeObservers = getOrCreateActiveObserversFor(target, sync);\n\n    if (activeObservers.has(eventName)) {\n      activeObservers.get(eventName).count++;\n    } else {\n      var [path] = eventName.split(':');\n      var tag = (0, _reference.combine)(getChainTagsForKey(target, path));\n      activeObservers.set(eventName, {\n        count: 1,\n        path,\n        tag,\n        lastRevision: (0, _reference.value)(tag),\n        suspended: false\n      });\n    }\n  }\n\n  function deactivateObserver(target, eventName, sync = false) {\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    var activeObservers = observerMap.get(target);\n\n    if (activeObservers !== undefined) {\n      var _observer = activeObservers.get(eventName);\n\n      _observer.count--;\n\n      if (_observer.count === 0) {\n        activeObservers.delete(eventName);\n\n        if (activeObservers.size === 0) {\n          observerMap.delete(target);\n        }\n      }\n    }\n  }\n  /**\n   * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n   * being applied later. Revalidates all the observers, resetting their tags.\n   *\n   * @private\n   * @param target\n   */\n\n\n  function revalidateObservers(target) {\n    if (ASYNC_OBSERVERS.has(target)) {\n      ASYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = (0, _reference.combine)(getChainTagsForKey(target, observer.path));\n        observer.lastRevision = (0, _reference.value)(observer.tag);\n      });\n    }\n\n    if (SYNC_OBSERVERS.has(target)) {\n      SYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = (0, _reference.combine)(getChainTagsForKey(target, observer.path));\n        observer.lastRevision = (0, _reference.value)(observer.tag);\n      });\n    }\n  }\n\n  var lastKnownRevision = 0;\n\n  function flushAsyncObservers(shouldSchedule = true) {\n    var currentRevision = (0, _reference.value)(_reference.CURRENT_TAG);\n\n    if (lastKnownRevision === currentRevision) {\n      return;\n    }\n\n    lastKnownRevision = currentRevision;\n    ASYNC_OBSERVERS.forEach((activeObservers, target) => {\n      var meta$$1 = (0, _meta2.peekMeta)(target); // if observer target is destroyed remove observers\n\n      if (meta$$1 && (meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed())) {\n        ASYNC_OBSERVERS.delete(target);\n        return;\n      }\n\n      activeObservers.forEach((observer, eventName) => {\n        if (!(0, _reference.validate)(observer.tag, observer.lastRevision)) {\n          var sendObserver = () => {\n            try {\n              sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n            } finally {\n              observer.tag = (0, _reference.combine)(getChainTagsForKey(target, observer.path));\n              observer.lastRevision = (0, _reference.value)(observer.tag);\n            }\n          };\n\n          if (shouldSchedule) {\n            (0, _runloop.schedule)('actions', sendObserver);\n          } else {\n            sendObserver();\n          }\n        }\n      });\n    });\n  }\n\n  function flushSyncObservers() {\n    // When flushing synchronous observers, we know that something has changed (we\n    // only do this during a notifyPropertyChange), so there's no reason to check\n    // a global revision.\n    SYNC_OBSERVERS.forEach((activeObservers, target) => {\n      var meta$$1 = (0, _meta2.peekMeta)(target);\n\n      if (meta$$1 && (meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed())) {\n        SYNC_OBSERVERS.delete(target);\n        return;\n      }\n\n      activeObservers.forEach((observer, eventName) => {\n        if (!observer.suspended && !(0, _reference.validate)(observer.tag, observer.lastRevision)) {\n          try {\n            observer.suspended = true;\n            sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n          } finally {\n            observer.tag = (0, _reference.combine)(getChainTagsForKey(target, observer.path));\n            observer.lastRevision = (0, _reference.value)(observer.tag);\n            observer.suspended = false;\n          }\n        }\n      });\n    });\n  }\n\n  function setObserverSuspended(target, property, suspended) {\n    var activeObservers = SYNC_OBSERVERS.get(target);\n\n    if (!activeObservers) {\n      return;\n    }\n\n    var observer = activeObservers.get(changeEvent(property));\n\n    if (observer) {\n      observer.suspended = suspended;\n    }\n  }\n\n  function destroyObservers(target) {\n    if (SYNC_OBSERVERS.size > 0) SYNC_OBSERVERS.delete(target);\n    if (ASYNC_OBSERVERS.size > 0) ASYNC_OBSERVERS.delete(target);\n  }\n\n  var DECORATOR_DESCRIPTOR_MAP = new WeakMap();\n  /**\n    Returns the CP descriptor assocaited with `obj` and `keyName`, if any.\n  \n    @method descriptorForProperty\n    @param {Object} obj the object to check\n    @param {String} keyName the key to check\n    @return {Descriptor}\n    @private\n  */\n\n  function descriptorForProperty(obj, keyName, _meta) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorForProperty` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorForProperty` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`descriptorForProperty\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n    if (meta$$1 !== null) {\n      return meta$$1.peekDescriptors(keyName);\n    }\n  }\n\n  function descriptorForDecorator(dec) {\n    return DECORATOR_DESCRIPTOR_MAP.get(dec);\n  }\n  /**\n    Check whether a value is a decorator\n  \n    @method isClassicDecorator\n    @param {any} possibleDesc the value to check\n    @return {boolean}\n    @private\n  */\n\n\n  function isClassicDecorator(dec) {\n    return dec !== null && dec !== undefined && DECORATOR_DESCRIPTOR_MAP.has(dec);\n  }\n  /**\n    Set a value as a decorator\n  \n    @method setClassicDecorator\n    @param {function} decorator the value to mark as a decorator\n    @private\n  */\n\n\n  function setClassicDecorator(dec, value$$1 = true) {\n    DECORATOR_DESCRIPTOR_MAP.set(dec, value$$1);\n  }\n\n  function isElementDescriptor(args) {\n    var [maybeTarget, maybeKey, maybeDesc] = args;\n    return (// Ensure we have the right number of args\n      args.length === 3 && ( // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) && // Make sure the key is a string\n      typeof maybeKey === 'string' && ( // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc || // TS compatibility\n      maybeDesc === undefined)\n    );\n  }\n\n  function nativeDescDecorator(propertyDesc) {\n    var decorator = function () {\n      return propertyDesc;\n    };\n\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n  /**\n    Objects of this type can implement an interface to respond to requests to\n    get and set. The default implementation handles simple properties.\n  \n    @class Descriptor\n    @private\n  */\n\n\n  class ComputedDescriptor {\n    constructor() {\n      this.enumerable = true;\n      this.configurable = true;\n      this._dependentKeys = undefined;\n      this._meta = undefined;\n    }\n\n    setup(_obj, keyName, _propertyDesc, meta$$1) {\n      meta$$1.writeDescriptors(keyName, this);\n    }\n\n    teardown(_obj, keyName, meta$$1) {\n      meta$$1.removeDescriptors(keyName);\n    }\n\n  }\n\n  function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n    return function CPGETTER_FUNCTION() {\n      return descriptor.get(this, name);\n    };\n  }\n\n  function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n    var func = function CPSETTER_FUNCTION(value$$1) {\n      return descriptor.set(this, name, value$$1);\n    };\n\n    CP_SETTER_FUNCS.add(func);\n    return func;\n  }\n\n  var CP_SETTER_FUNCS = new _polyfills._WeakSet();\n\n  function makeComputedDecorator(desc, DecoratorClass) {\n    var decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator$$1) {\n      (true && !(isClassicDecorator$$1 || !propertyDesc || !propertyDesc.get || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1) && (0, _debug.assert)(`Only one computed property decorator can be applied to a class field or accessor, but '${key}' was decorated twice. You may have added the decorator to both a getter and setter, which is unecessary.`, isClassicDecorator$$1 || !propertyDesc || !propertyDesc.get || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1));\n      var meta$$1 = arguments.length === 3 ? (0, _meta2.meta)(target) : maybeMeta;\n      desc.setup(target, key, propertyDesc, meta$$1);\n      var computedDesc = {\n        enumerable: desc.enumerable,\n        configurable: desc.configurable,\n        get: DESCRIPTOR_GETTER_FUNCTION(key, desc),\n        set: DESCRIPTOR_SETTER_FUNCTION(key, desc)\n      };\n      return computedDesc;\n    };\n\n    setClassicDecorator(decorator, desc);\n    Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n    return decorator;\n  }\n\n  var DEPRECATE_IN_AUTOTRACKING_TRANSACTION = false;\n  var AUTOTRACKING_TRANSACTION = null;\n  var runInAutotrackingTransaction;\n  _exports.runInAutotrackingTransaction = runInAutotrackingTransaction;\n  var deprecateMutationsInAutotrackingTransaction;\n  _exports.deprecateMutationsInAutotrackingTransaction = deprecateMutationsInAutotrackingTransaction;\n  var debuggingContexts;\n  var assertTagNotConsumed;\n  var markTagAsConsumed;\n\n  if (true\n  /* DEBUG */\n  ) {\n    /**\n     * Creates a global autotracking transaction. This will prevent any backflow\n     * in any `track` calls within the transaction, even if they are not\n     * externally consumed.\n     *\n     * `runInAutotrackingTransaction` can be called within itself, and it will add\n     * onto the existing transaction if one exists.\n     *\n     * TODO: Only throw an error if the `track` is consumed.\n     */\n    _exports.runInAutotrackingTransaction = runInAutotrackingTransaction = fn => {\n      var previousDeprecateState = DEPRECATE_IN_AUTOTRACKING_TRANSACTION;\n      var previousTransactionState = AUTOTRACKING_TRANSACTION;\n      DEPRECATE_IN_AUTOTRACKING_TRANSACTION = false;\n\n      if (previousTransactionState === null) {\n        // if there was no transaction start it. Otherwise, the transaction already exists.\n        AUTOTRACKING_TRANSACTION = new WeakMap();\n      }\n\n      try {\n        fn();\n      } finally {\n        DEPRECATE_IN_AUTOTRACKING_TRANSACTION = previousDeprecateState;\n        AUTOTRACKING_TRANSACTION = previousTransactionState;\n      }\n    };\n    /**\n     * Switches to deprecating within an autotracking transaction, if one exists.\n     * If `runInAutotrackingTransaction` is called within the callback of this\n     * method, it switches back to throwing an error, allowing zebra-striping of\n     * the types of errors that are thrown.\n     *\n     * Does not start an autotracking transaction.\n     */\n\n\n    _exports.deprecateMutationsInAutotrackingTransaction = deprecateMutationsInAutotrackingTransaction = fn => {\n      var previousDeprecateState = DEPRECATE_IN_AUTOTRACKING_TRANSACTION;\n      DEPRECATE_IN_AUTOTRACKING_TRANSACTION = true;\n\n      try {\n        fn();\n      } finally {\n        DEPRECATE_IN_AUTOTRACKING_TRANSACTION = previousDeprecateState;\n      }\n    };\n\n    var nthIndex = (str, pattern, n, startingPos = -1) => {\n      var i = startingPos;\n\n      while (n-- > 0 && i++ < str.length) {\n        i = str.indexOf(pattern, i);\n        if (i < 0) break;\n      }\n\n      return i;\n    };\n\n    var makeAutotrackingErrorMessage = (sourceData, obj, keyName) => {\n      var dirtyString = keyName ? `\\`${keyName}\\` on \\`${(0, _utils.getDebugName)(obj)}\\`` : `\\`${(0, _utils.getDebugName)(obj)}\\``;\n      var message = [`You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`];\n\n      if (sourceData.context) {\n        message.push(`\\`${keyName}\\` was first used:\\n\\n${sourceData.context}`);\n      }\n\n      if (sourceData.error.stack) {\n        var sourceStack = sourceData.error.stack;\n        var thirdIndex = nthIndex(sourceStack, '\\n', 3);\n        sourceStack = sourceStack.substr(thirdIndex);\n        message.push(`Stack trace for the first usage: ${sourceStack}`);\n      }\n\n      message.push(`Stack trace for the update:`);\n      return message.join('\\n\\n');\n    };\n\n    debuggingContexts = [];\n\n    markTagAsConsumed = (_tag, sourceError) => {\n      if (!AUTOTRACKING_TRANSACTION || AUTOTRACKING_TRANSACTION.has(_tag)) return;\n      AUTOTRACKING_TRANSACTION.set(_tag, {\n        context: debuggingContexts.map(c => c.replace(/^/gm, '  ').replace(/^ /, '-')).join('\\n\\n'),\n        error: sourceError\n      }); // We need to mark the tag and all of its subtags as consumed, so we need to\n      // cast in and access its internals. In the future this shouldn't be necessary,\n      // this is only for computed properties.e\n\n      var tag = _tag;\n\n      if (tag.subtag) {\n        markTagAsConsumed(tag.subtag, sourceError);\n      }\n\n      if (tag.subtags) {\n        tag.subtags.forEach(tag => markTagAsConsumed(tag, sourceError));\n      }\n    };\n\n    assertTagNotConsumed = (tag, obj, keyName, forceHardError = false) => {\n      if (AUTOTRACKING_TRANSACTION === null) return;\n      var sourceData = AUTOTRACKING_TRANSACTION.get(tag);\n      if (!sourceData) return;\n\n      if (DEPRECATE_IN_AUTOTRACKING_TRANSACTION && !forceHardError) {\n        (true && !(false) && (0, _debug.deprecate)(makeAutotrackingErrorMessage(sourceData, obj, keyName), false, {\n          id: 'autotracking.mutation-after-consumption',\n          until: '4.0.0'\n        }));\n      } else {\n        // This hack makes the assertion message nicer, we can cut off the first\n        // few lines of the stack trace and let users know where the actual error\n        // occurred.\n        try {\n          (true && !(false) && (0, _debug.assert)(makeAutotrackingErrorMessage(sourceData, obj, keyName), false));\n        } catch (e) {\n          if (e.stack) {\n            var updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n\n            if (updateStackBegin !== -1) {\n              var start = nthIndex(e.stack, '\\n', 1, updateStackBegin);\n              var end = nthIndex(e.stack, '\\n', 4, updateStackBegin);\n              e.stack = e.stack.substr(0, start) + e.stack.substr(end);\n            }\n          }\n\n          throw e;\n        }\n      }\n    };\n  }\n  /**\n    An object that that tracks @tracked properties that were consumed.\n  \n    @private\n  */\n\n\n  class Tracker {\n    constructor() {\n      this.tags = new Set();\n      this.last = null;\n    }\n\n    add(tag) {\n      this.tags.add(tag);\n\n      if (true\n      /* DEBUG */\n      ) {\n        markTagAsConsumed(tag, new Error());\n      }\n\n      this.last = tag;\n    }\n\n    get size() {\n      return this.tags.size;\n    }\n\n    combine() {\n      if (this.tags.size === 0) {\n        return _reference.CONSTANT_TAG;\n      } else if (this.tags.size === 1) {\n        return this.last;\n      } else {\n        var tags = [];\n        this.tags.forEach(tag => tags.push(tag));\n        return (0, _reference.combine)(tags);\n      }\n    }\n\n  }\n\n  _exports.Tracker = Tracker;\n\n  function tracked(...args) {\n    (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.assert)(`@tracked can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: tracked()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)));\n\n    if (!isElementDescriptor(args)) {\n      var propertyDesc = args[0];\n      (true && !(args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null) && (0, _debug.assert)(`tracked() may only receive an options object containing 'value' or 'initializer', received ${propertyDesc}`, args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null));\n\n      if (true\n      /* DEBUG */\n      && propertyDesc) {\n        var keys = Object.keys(propertyDesc);\n        (true && !(keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')) && (0, _debug.assert)(`The options object passed to tracked() may only contain a 'value' or 'initializer' property, not both. Received: [${keys}]`, keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')));\n        (true && !(!('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function') && (0, _debug.assert)(`The initializer passed to tracked must be a function. Received ${propertyDesc.initializer}`, !('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function'));\n      }\n\n      var initializer = propertyDesc ? propertyDesc.initializer : undefined;\n      var value$$1 = propertyDesc ? propertyDesc.value : undefined;\n\n      var decorator = function (target, key, _desc, _meta, isClassicDecorator$$1) {\n        (true && !(isClassicDecorator$$1) && (0, _debug.assert)(`You attempted to set a default value for ${key} with the @tracked({ value: 'default' }) syntax. You can only use this syntax with classic classes. For native classes, you can use class initializers: @tracked field = 'default';`, isClassicDecorator$$1));\n        var fieldDesc = {\n          initializer: initializer || (() => value$$1)\n        };\n        return descriptorForField([target, key, fieldDesc]);\n      };\n\n      setClassicDecorator(decorator);\n      return decorator;\n    }\n\n    return descriptorForField(args);\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    // Normally this isn't a classic decorator, but we want to throw a helpful\n    // error in development so we need it to treat it like one\n    setClassicDecorator(tracked);\n  }\n\n  function descriptorForField([_target, key, desc]) {\n    (true && !(!desc || !desc.value && !desc.get && !desc.set) && (0, _debug.assert)(`You attempted to use @tracked on ${key}, but that element is not a class field. @tracked is only usable on class fields. Native getters and setters will autotrack add any tracked fields they encounter, so there is no need mark getters and setters with @tracked.`, !desc || !desc.value && !desc.get && !desc.set));\n    var initializer = desc ? desc.initializer : undefined;\n    var values = new WeakMap();\n    var hasInitializer = typeof initializer === 'function';\n    return {\n      enumerable: true,\n      configurable: true,\n\n      get() {\n        var propertyTag = tagForProperty(this, key);\n        consume(propertyTag);\n        var value$$1; // If the field has never been initialized, we should initialize it\n\n        if (hasInitializer && !values.has(this)) {\n          value$$1 = initializer.call(this);\n          values.set(this, value$$1);\n        } else {\n          value$$1 = values.get(this);\n        } // Add the tag of the returned value if it is an array, since arrays\n        // should always cause updates if they are consumed and then changed\n\n\n        if (Array.isArray(value$$1) || (0, _utils.isEmberArray)(value$$1)) {\n          (0, _reference.update)(propertyTag, tagForProperty(value$$1, '[]'));\n        }\n\n        return value$$1;\n      },\n\n      set(newValue) {\n        if (true\n        /* DEBUG */\n        ) {\n          // No matter what, attempting to update a tracked property in an\n          // autotracking context after it has been read is invalid, even if we\n          // are otherwise warning, so always assert.\n          assertTagNotConsumed(tagForProperty(this, key), this, key, true);\n        }\n\n        markObjectAsDirty(this, key);\n        values.set(this, newValue);\n\n        if (propertyDidChange !== null) {\n          propertyDidChange();\n        }\n      }\n\n    };\n  }\n  /**\n    @private\n  \n    Whenever a tracked computed property is entered, the current tracker is\n    saved off and a new tracker is replaced.\n  \n    Any tracked properties consumed are added to the current tracker.\n  \n    When a tracked computed property is exited, the tracker's tags are\n    combined and added to the parent tracker.\n  \n    The consequence is that each tracked computed property has a tag\n    that corresponds to the tracked properties consumed inside of\n    itself, including child tracked computed properties.\n  */\n\n\n  var CURRENT_TRACKER = null;\n\n  function track(callback, debuggingContext) {\n    // Note: debuggingContext is allowed to be false so `DEBUG && 'debug message'` works\n    var parent = CURRENT_TRACKER;\n    var current = new Tracker();\n    CURRENT_TRACKER = current;\n\n    try {\n      if (true\n      /* DEBUG */\n      ) {\n        if (debuggingContext) {\n          debuggingContexts.unshift(debuggingContext);\n        }\n\n        runInAutotrackingTransaction(callback);\n      } else {\n        callback();\n      }\n    } finally {\n      if (true\n      /* DEBUG */\n      && debuggingContext) {\n        debuggingContexts.shift();\n      }\n\n      CURRENT_TRACKER = parent;\n    }\n\n    return current.combine();\n  }\n\n  function consume(tag) {\n    if (CURRENT_TRACKER !== null) {\n      CURRENT_TRACKER.add(tag);\n    }\n  }\n\n  function isTracking() {\n    return CURRENT_TRACKER !== null;\n  }\n\n  function untrack(callback) {\n    var parent = CURRENT_TRACKER;\n    CURRENT_TRACKER = null;\n\n    try {\n      callback();\n    } finally {\n      CURRENT_TRACKER = parent;\n    }\n  }\n\n  var propertyDidChange = null;\n  var CUSTOM_TAG_FOR = (0, _utils.symbol)('CUSTOM_TAG_FOR');\n  _exports.CUSTOM_TAG_FOR = CUSTOM_TAG_FOR;\n\n  function tagForProperty(object, propertyKey, _meta) {\n    var objectType = typeof object;\n\n    if (objectType !== 'function' && (objectType !== 'object' || object === null)) {\n      return _reference.CONSTANT_TAG;\n    }\n\n    if (typeof object[CUSTOM_TAG_FOR] === 'function') {\n      return object[CUSTOM_TAG_FOR](propertyKey);\n    }\n\n    return createTagForProperty(object, propertyKey);\n  }\n\n  function createTagForProperty(object, propertyKey, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n    var tags = meta$$1.writableTags();\n    var tag = tags[propertyKey];\n\n    if (tag) {\n      return tag;\n    }\n\n    var newTag = (0, _reference.createUpdatableTag)();\n\n    if (true\n    /* DEBUG */\n    ) {\n      (0, _utils.setupMandatorySetter)(newTag, object, propertyKey);\n      newTag._propertyKey = propertyKey;\n    }\n\n    return tags[propertyKey] = newTag;\n  }\n\n  function tagFor(object, _meta) {\n    if (typeof object === 'object' && object !== null) {\n      var meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n\n      if (!meta$$1.isMetaDestroyed()) {\n        return meta$$1.writableTag();\n      }\n    }\n\n    return _reference.CONSTANT_TAG;\n  }\n\n  function markObjectAsDirty(obj, propertyKey, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n    var objectTag = meta$$1.readableTag();\n\n    if (objectTag !== undefined) {\n      if (true\n      /* DEBUG */\n      ) {\n        assertTagNotConsumed(objectTag, obj);\n      }\n\n      (0, _reference.dirty)(objectTag);\n    }\n\n    var tags = meta$$1.readableTags();\n    var propertyTag = tags !== undefined ? tags[propertyKey] : undefined;\n\n    if (propertyTag !== undefined) {\n      if (true\n      /* DEBUG */\n      ) {\n        assertTagNotConsumed(propertyTag, obj, propertyKey);\n      }\n\n      (0, _reference.dirty)(propertyTag);\n    }\n\n    if (objectTag !== undefined || propertyTag !== undefined) {\n      ensureRunloop();\n    }\n  }\n\n  function ensureRunloop() {\n    _runloop.backburner.ensureInstance();\n  }\n  /**\n   @module ember\n   @private\n   */\n\n\n  var PROPERTY_DID_CHANGE$1 = (0, _utils.symbol)('PROPERTY_DID_CHANGE');\n  _exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE$1;\n  var deferred = 0;\n  /**\n    This function is called just after an object property has changed.\n    It will notify any observers and clear caches among other things.\n  \n    Normally you will not need to call this method directly but if for some\n    reason you can't directly watch a property you can invoke this method\n    manually.\n  \n    @method notifyPropertyChange\n    @for @ember/object\n    @param {Object} obj The object with the property that will change\n    @param {String} keyName The property key (or path) that will change.\n    @param {Meta} [_meta] The objects meta.\n    @param {unknown} [value] The new value to set for the property\n    @return {void}\n    @since 3.1.0\n    @public\n  */\n\n  function notifyPropertyChange(obj, keyName, _meta, value$$1) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n    if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n      return;\n    }\n\n    if (meta$$1 !== null) {\n      markObjectAsDirty(obj, keyName, meta$$1);\n    }\n\n    if (deferred <= 0) {\n      flushSyncObservers();\n    }\n\n    if (PROPERTY_DID_CHANGE$1 in obj) {\n      // we need to check the arguments length here; there's a check in `PROPERTY_DID_CHANGE`\n      // that checks its arguments length, so we have to explicitly not call this with `value`\n      // if it is not passed to `notifyPropertyChange`\n      if (arguments.length === 4) {\n        obj[PROPERTY_DID_CHANGE$1](keyName, value$$1);\n      } else {\n        obj[PROPERTY_DID_CHANGE$1](keyName);\n      }\n    }\n  }\n  /**\n    @method beginPropertyChanges\n    @chainable\n    @private\n  */\n\n\n  function beginPropertyChanges() {\n    deferred++;\n  }\n  /**\n    @method endPropertyChanges\n    @private\n  */\n\n\n  function endPropertyChanges() {\n    deferred--;\n\n    if (deferred <= 0) {\n      flushSyncObservers();\n    }\n  }\n  /**\n    Make a series of property changes together in an\n    exception-safe way.\n  \n    ```javascript\n    Ember.changeProperties(function() {\n      obj1.set('foo', mayBlowUpWhenSet);\n      obj2.set('bar', baz);\n    });\n    ```\n  \n    @method changeProperties\n    @param {Function} callback\n    @private\n  */\n\n\n  function changeProperties(callback) {\n    beginPropertyChanges();\n\n    try {\n      callback();\n    } finally {\n      endPropertyChanges();\n    }\n  }\n\n  function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n    return array;\n  }\n\n  function arrayContentDidChange(array, startIdx, removeAmt, addAmt, notify = true) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    var meta$$1 = (0, _meta2.peekMeta)(array);\n\n    if (notify) {\n      if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n        notifyPropertyChange(array, 'length', meta$$1);\n      }\n\n      notifyPropertyChange(array, '[]', meta$$1);\n    }\n\n    sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n    var cache = peekCacheFor(array);\n\n    if (cache !== undefined) {\n      var length = array.length;\n      var addedAmount = addAmt === -1 ? 0 : addAmt;\n      var removedAmount = removeAmt === -1 ? 0 : removeAmt;\n      var delta = addedAmount - removedAmount;\n      var previousLength = length - delta;\n      var normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n\n      if (cache.has('firstObject') && normalStartIdx === 0) {\n        notifyPropertyChange(array, 'firstObject', meta$$1);\n      }\n\n      if (cache.has('lastObject')) {\n        var previousLastIndex = previousLength - 1;\n        var lastAffectedIndex = normalStartIdx + removedAmount;\n\n        if (previousLastIndex < lastAffectedIndex) {\n          notifyPropertyChange(array, 'lastObject', meta$$1);\n        }\n      }\n    }\n\n    return array;\n  }\n\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  function objectAt(array, index) {\n    if (Array.isArray(array)) {\n      return array[index];\n    } else {\n      return array.objectAt(index);\n    }\n  }\n\n  function replace(array, start, deleteCount, items = EMPTY_ARRAY) {\n    if (Array.isArray(array)) {\n      replaceInNativeArray(array, start, deleteCount, items);\n    } else {\n      array.replace(start, deleteCount, items);\n    }\n  }\n\n  var CHUNK_SIZE = 60000; // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n  // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n\n  function replaceInNativeArray(array, start, deleteCount, items) {\n    arrayContentWillChange(array, start, deleteCount, items.length);\n\n    if (items.length <= CHUNK_SIZE) {\n      array.splice(start, deleteCount, ...items);\n    } else {\n      array.splice(start, deleteCount);\n\n      for (var i = 0; i < items.length; i += CHUNK_SIZE) {\n        var chunk = items.slice(i, i + CHUNK_SIZE);\n        array.splice(start + i, 0, ...chunk);\n      }\n    }\n\n    arrayContentDidChange(array, start, deleteCount, items.length);\n  }\n\n  function arrayObserversHelper(obj, target, opts, operation, notify) {\n    var willChange = opts && opts.willChange || 'arrayWillChange';\n    var didChange = opts && opts.didChange || 'arrayDidChange';\n    var hasObservers = obj.hasArrayObservers;\n    operation(obj, '@array:before', target, willChange);\n    operation(obj, '@array:change', target, didChange);\n\n    if (hasObservers === notify) {\n      notifyPropertyChange(obj, 'hasArrayObservers');\n    }\n\n    return obj;\n  }\n\n  function addArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, addListener, false);\n  }\n\n  function removeArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, removeListener, true);\n  }\n\n  function finishLazyChains(obj, key, value$$1) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    var lazyTags = meta$$1 !== null ? meta$$1.readableLazyChainsFor(key) : undefined;\n\n    if (lazyTags === undefined) {\n      return;\n    }\n\n    if (value$$1 === null || typeof value$$1 !== 'object' && typeof value$$1 !== 'function') {\n      for (var path in lazyTags) {\n        delete lazyTags[path];\n      }\n\n      return;\n    }\n\n    for (var _path in lazyTags) {\n      var tag = lazyTags[_path];\n      (0, _reference.update)(tag, (0, _reference.combine)(getChainTagsForKey(value$$1, _path)));\n      delete lazyTags[_path];\n    }\n  }\n\n  function getChainTagsForKeys(obj, keys) {\n    var chainTags = [];\n\n    for (var i = 0; i < keys.length; i++) {\n      chainTags.push(...getChainTagsForKey(obj, keys[i]));\n    }\n\n    return chainTags;\n  }\n\n  function getChainTagsForKey(obj, path) {\n    var chainTags = [];\n    var current = obj;\n    var pathLength = path.length;\n    var segmentEnd = -1; // prevent closures\n\n    var segment, descriptor; // eslint-disable-next-line no-constant-condition\n\n    while (true) {\n      var currentType = typeof current;\n\n      if (current === null || currentType !== 'object' && currentType !== 'function') {\n        // we've hit the end of the chain for now, break out\n        break;\n      }\n\n      var lastSegmentEnd = segmentEnd + 1;\n      segmentEnd = path.indexOf('.', lastSegmentEnd);\n\n      if (segmentEnd === -1) {\n        segmentEnd = pathLength;\n      }\n\n      segment = path.slice(lastSegmentEnd, segmentEnd); // If the segment is an @each, we can process it and then break\n\n      if (segment === '@each' && segmentEnd !== pathLength) {\n        lastSegmentEnd = segmentEnd + 1;\n        segmentEnd = path.indexOf('.', lastSegmentEnd); // There should be exactly one segment after an `@each` (i.e. `@each.foo`, not `@each.foo.bar`)\n\n        (true && !(segmentEnd === -1) && (0, _debug.deprecate)(`When using @each in a dependent-key or an observer, ` + `you can only chain one property level deep after ` + `the @each. That is, \\`${path.slice(0, segmentEnd)}\\` ` + `is allowed but \\`${path}\\` (which is what you passed) ` + `is not.\\n\\n` + `This was never supported. Currently, the extra segments ` + `are silently ignored, i.e. \\`${path}\\` behaves exactly ` + `the same as \\`${path.slice(0, segmentEnd)}\\`. ` + `In the future, this will throw an error.\\n\\n` + `If the current behavior is acceptable for your use case, ` + `please remove the extraneous segments by changing your ` + `key to \\`${path.slice(0, segmentEnd)}\\`. ` + `Otherwise, please create an intermediary computed property ` + `or switch to using tracked properties.`, segmentEnd === -1, {\n          until: '3.17.0',\n          id: 'ember-metal.computed-deep-each'\n        }));\n        var arrLength = current.length;\n\n        if (typeof arrLength !== 'number' || // TODO: should the second test be `isEmberArray` instead?\n        !(Array.isArray(current) || 'objectAt' in current)) {\n          // If the current object isn't an array, there's nothing else to do,\n          // we don't watch individual properties. Break out of the loop.\n          break;\n        } else if (arrLength === 0) {\n          // Fast path for empty arrays\n          chainTags.push(tagForProperty(current, '[]'));\n          break;\n        }\n\n        if (segmentEnd === -1) {\n          segment = path.slice(lastSegmentEnd);\n        } else {\n          // Deprecated, remove once we turn the deprecation into an assertion\n          segment = path.slice(lastSegmentEnd, segmentEnd);\n        } // Push the tags for each item's property\n\n\n        for (var i = 0; i < arrLength; i++) {\n          var item = objectAt(current, i);\n\n          if (item) {\n            (true && !(typeof item === 'object') && (0, _debug.assert)(`When using @each to observe the array \\`${current.toString()}\\`, the items in the array must be objects`, typeof item === 'object'));\n            chainTags.push(tagForProperty(item, segment));\n          }\n        } // Push the tag for the array length itself\n\n\n        chainTags.push(tagForProperty(current, '[]'));\n        break;\n      } // TODO: Assert that current[segment] isn't an undecorated, non-MANDATORY_SETTER/dependentKeyCompat getter\n\n\n      var propertyTag = tagForProperty(current, segment);\n      descriptor = descriptorForProperty(current, segment);\n      chainTags.push(propertyTag); // If the key was an alias, we should always get the next value in order to\n      // bootstrap the alias. This is because aliases, unlike other CPs, should\n      // always be in sync with the aliased value.\n\n      if (descriptor !== undefined && typeof descriptor.altKey === 'string') {\n        current = current[segment]; // We still need to break if we're at the end of the path.\n\n        if (segmentEnd === pathLength) {\n          break;\n        } // Otherwise, continue to process the next segment\n\n\n        continue;\n      } // If we're at the end of the path, processing the last segment, and it's\n      // not an alias, we should _not_ get the last value, since we already have\n      // its tag. There's no reason to access it and do more work.\n\n\n      if (segmentEnd === pathLength) {\n        break;\n      }\n\n      if (descriptor === undefined) {\n        // If the descriptor is undefined, then its a normal property, so we should\n        // lookup the value to chain off of like normal.\n        if (!(segment in current) && typeof current.unknownProperty === 'function') {\n          current = current.unknownProperty(segment);\n        } else {\n          current = current[segment];\n        }\n      } else {\n        // If the descriptor is defined, then its a normal CP (not an alias, which\n        // would have been handled earlier). We get the last revision to check if\n        // the CP is still valid, and if so we use the cached value. If not, then\n        // we create a lazy chain lookup, and the next time the CP is caluculated,\n        // it will update that lazy chain.\n        var lastRevision = getLastRevisionFor(current, segment);\n\n        if ((0, _reference.validate)(propertyTag, lastRevision)) {\n          current = peekCacheFor(current).get(segment);\n        } else {\n          var lazyChains = (0, _meta2.meta)(current).writableLazyChainsFor(segment);\n          var rest = path.substr(segmentEnd + 1);\n          var placeholderTag = lazyChains[rest];\n\n          if (placeholderTag === undefined) {\n            placeholderTag = lazyChains[rest] = (0, _reference.createUpdatableTag)();\n          }\n\n          chainTags.push(placeholderTag);\n          break;\n        }\n      }\n    }\n\n    return chainTags;\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var END_WITH_EACH_REGEX = /\\.@each$/;\n  /**\n    Expands `pattern`, invoking `callback` for each expansion.\n  \n    The only pattern supported is brace-expansion, anything else will be passed\n    once to `callback` directly.\n  \n    Example\n  \n    ```js\n    import { expandProperties } from '@ember/object/computed';\n  \n    function echo(arg){ console.log(arg); }\n  \n    expandProperties('foo.bar', echo);              //=> 'foo.bar'\n    expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n    expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n    expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n    expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n    expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n    expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n    ```\n  \n    @method expandProperties\n    @static\n    @for @ember/object/computed\n    @public\n    @param {String} pattern The property pattern to expand.\n    @param {Function} callback The callback to invoke.  It is invoked once per\n    expansion, and is passed the expansion.\n  */\n\n  function expandProperties(pattern, callback) {\n    (true && !(typeof pattern === 'string') && (0, _debug.assert)(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`, typeof pattern === 'string'));\n    (true && !(pattern.indexOf(' ') === -1) && (0, _debug.assert)('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1)); // regex to look for double open, double close, or unclosed braces\n\n    (true && !(pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null) && (0, _debug.assert)(`Brace expanded properties have to be balanced and cannot be nested, pattern: ${pattern}`, pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null));\n    var start = pattern.indexOf('{');\n\n    if (start < 0) {\n      callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive('', pattern, start, callback);\n    }\n  }\n\n  function dive(prefix, pattern, start, callback) {\n    var end = pattern.indexOf('}'),\n        i = 0,\n        newStart,\n        arrayLength;\n    var tempArr = pattern.substring(start + 1, end).split(',');\n    var after = pattern.substring(end + 1);\n    prefix = prefix + pattern.substring(0, start);\n    arrayLength = tempArr.length;\n\n    while (i < arrayLength) {\n      newStart = after.indexOf('{');\n\n      if (newStart < 0) {\n        callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n      } else {\n        dive(prefix + tempArr[i++], after, newStart, callback);\n      }\n    }\n  }\n  /**\n  @module @ember/object\n  */\n\n  /**\n    NOTE: This is a low-level method used by other parts of the API. You almost\n    never want to call this method directly. Instead you should use\n    `mixin()` to define new properties.\n  \n    Defines a property on an object. This method works much like the ES5\n    `Object.defineProperty()` method except that it can also accept computed\n    properties and other special descriptors.\n  \n    Normally this method takes only three parameters. However if you pass an\n    instance of `Descriptor` as the third param then you can pass an\n    optional value as the fourth parameter. This is often more efficient than\n    creating new descriptor hashes for each property.\n  \n    ## Examples\n  \n    ```javascript\n    import { defineProperty, computed } from '@ember/object';\n  \n    // ES5 compatible mode\n    defineProperty(contact, 'firstName', {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: 'Charles'\n    });\n  \n    // define a simple property\n    defineProperty(contact, 'lastName', undefined, 'Jolley');\n  \n    // define a computed property\n    defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n      return this.firstName+' '+this.lastName;\n    }));\n    ```\n  \n    @public\n    @method defineProperty\n    @static\n    @for @ember/object\n    @param {Object} obj the object to define this property on. This may be a prototype.\n    @param {String} keyName the name of the property\n    @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n      computed property) or an ES5 descriptor.\n      You must provide this or `data` but not both.\n    @param {*} [data] something other than a descriptor, that will\n      become the explicit value of this property.\n  */\n\n\n  function defineProperty(obj, keyName, desc, data, meta$$1) {\n    if (meta$$1 === undefined) {\n      meta$$1 = (0, _meta2.meta)(obj);\n    }\n\n    var previousDesc = descriptorForProperty(obj, keyName, meta$$1);\n    var wasDescriptor = previousDesc !== undefined;\n\n    if (wasDescriptor) {\n      previousDesc.teardown(obj, keyName, meta$$1);\n    } // used to track if the the property being defined be enumerable\n\n\n    var enumerable = true; // Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n    // mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n    // issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n    //\n    // this is a hack, and we should stop mutating the array prototype by default 😫\n\n    if (obj === Array.prototype) {\n      enumerable = false;\n    }\n\n    var value$$1;\n\n    if (isClassicDecorator(desc)) {\n      var propertyDesc;\n\n      if (true\n      /* DEBUG */\n      ) {\n        propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n      } else {\n        propertyDesc = desc(obj, keyName, undefined, meta$$1);\n      }\n\n      Object.defineProperty(obj, keyName, propertyDesc); // pass the decorator function forward for backwards compat\n\n      value$$1 = desc;\n    } else if (desc === undefined || desc === null) {\n      value$$1 = data;\n\n      if (wasDescriptor || enumerable === false) {\n        Object.defineProperty(obj, keyName, {\n          configurable: true,\n          enumerable,\n          writable: true,\n          value: value$$1\n        });\n      } else {\n        if (true\n        /* DEBUG */\n        ) {\n          (0, _utils.setWithMandatorySetter)(obj, keyName, data);\n        } else {\n          obj[keyName] = data;\n        }\n      }\n    } else {\n      value$$1 = desc; // fallback to ES5\n\n      Object.defineProperty(obj, keyName, desc);\n    } // if key is being watched, override chains that\n    // were initialized with the prototype\n\n\n    if (!meta$$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    } // The `value` passed to the `didDefineProperty` hook is\n    // either the descriptor or data, whichever was passed.\n\n\n    if (typeof obj.didDefineProperty === 'function') {\n      obj.didDefineProperty(obj, keyName, value$$1);\n    }\n  }\n\n  var firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n\n  function isPath(path) {\n    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n  _exports.PROXY_CONTENT = PROXY_CONTENT;\n  var getPossibleMandatoryProxyValue;\n\n  if (true\n  /* DEBUG */\n  && _utils.HAS_NATIVE_PROXY) {\n    getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n      var content = obj[PROXY_CONTENT];\n\n      if (content === undefined) {\n        return obj[keyName];\n      } else {\n        /* global Reflect */\n        return Reflect.get(content, keyName, obj);\n      }\n    };\n  } // ..........................................................\n  // GET AND SET\n  //\n  // If we are on a platform that supports accessors we can use those.\n  // Otherwise simulate accessors by looking up the property directly on the\n  // object.\n\n  /**\n    Gets the value of a property on an object. If the property is computed,\n    the function will be invoked. If the property is not defined but the\n    object implements the `unknownProperty` method then that will be invoked.\n  \n    ```javascript\n    import { get } from '@ember/object';\n    get(obj, \"name\");\n    ```\n  \n    If you plan to run on IE8 and older browsers then you should use this\n    method anytime you want to retrieve a property on an object that you don't\n    know for sure is private. (Properties beginning with an underscore '_'\n    are considered private.)\n  \n    On all newer browsers, you only need to use this method to retrieve\n    properties if the property might not be defined on the object and you want\n    to respect the `unknownProperty` handler. Otherwise you can ignore this\n    method.\n  \n    Note that if the object itself is `undefined`, this method will throw\n    an error.\n  \n    @method get\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The property key to retrieve\n    @return {Object} the property value or `null`.\n    @public\n  */\n\n\n  function get(obj, keyName) {\n    (true && !(arguments.length === 2) && (0, _debug.assert)(`Get must be called with two arguments; an object and a property key`, arguments.length === 2));\n    (true && !(obj !== undefined && obj !== null) && (0, _debug.assert)(`Cannot call get with '${keyName}' on an undefined object.`, obj !== undefined && obj !== null));\n    (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to get must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n    (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0));\n    var type = typeof obj;\n    var isObject = type === 'object';\n    var isFunction = type === 'function';\n    var isObjectLike = isObject || isFunction;\n\n    if (isPath(keyName)) {\n      return isObjectLike ? _getPath(obj, keyName) : undefined;\n    }\n\n    var value$$1;\n\n    if (isObjectLike) {\n      if (true\n      /* DEBUG */\n      && _utils.HAS_NATIVE_PROXY) {\n        value$$1 = getPossibleMandatoryProxyValue(obj, keyName);\n      } else {\n        value$$1 = obj[keyName];\n      }\n    } else {\n      value$$1 = obj[keyName];\n    }\n\n    if (value$$1 === undefined) {\n      if (isObject && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n        if (true\n        /* DEBUG */\n        ) {\n          deprecateMutationsInAutotrackingTransaction(() => {\n            value$$1 = obj.unknownProperty(keyName);\n          });\n        } else {\n          value$$1 = obj.unknownProperty(keyName);\n        }\n      }\n    }\n\n    if (isObjectLike && isTracking()) {\n      consume(tagForProperty(obj, keyName)); // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n      if (Array.isArray(value$$1) || (0, _utils.isEmberArray)(value$$1)) {\n        consume(tagForProperty(value$$1, '[]'));\n      } // Add the value of the content if the value is a proxy. This is because\n      // content changes the truthiness/falsiness of the proxy.\n\n\n      if ((0, _utils.isProxy)(value$$1)) {\n        consume(tagForProperty(value$$1, 'content'));\n      }\n    }\n\n    return value$$1;\n  }\n\n  function _getPath(root, path) {\n    var obj = root;\n    var parts = typeof path === 'string' ? path.split('.') : path;\n\n    for (var i = 0; i < parts.length; i++) {\n      if (obj === undefined || obj === null || obj.isDestroyed) {\n        return undefined;\n      }\n\n      obj = get(obj, parts[i]);\n    }\n\n    return obj;\n  }\n  /**\n    Retrieves the value of a property from an Object, or a default value in the\n    case that the property returns `undefined`.\n  \n    ```javascript\n    import { getWithDefault } from '@ember/object';\n    getWithDefault(person, 'lastName', 'Doe');\n    ```\n  \n    @method getWithDefault\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The name of the property to retrieve\n    @param {Object} defaultValue The value to return if the property value is undefined\n    @return {Object} The property value or the defaultValue.\n    @public\n  */\n\n\n  function getWithDefault(root, key, defaultValue) {\n    var value$$1 = get(root, key);\n\n    if (value$$1 === undefined) {\n      return defaultValue;\n    }\n\n    return value$$1;\n  }\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Sets the value of a property on an object, respecting computed properties\n    and notifying observers and other listeners of the change.\n    If the specified property is not defined on the object and the object\n    implements the `setUnknownProperty` method, then instead of setting the\n    value of the property on the object, its `setUnknownProperty` handler\n    will be invoked with the two parameters `keyName` and `value`.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    set(obj, \"name\", value);\n    ```\n  \n    @method set\n    @static\n    @for @ember/object\n    @param {Object} obj The object to modify.\n    @param {String} keyName The property key to set\n    @param {Object} value The value to set\n    @return {Object} the passed value.\n    @public\n  */\n\n\n  function set(obj, keyName, value$$1, tolerant) {\n    (true && !(arguments.length === 3 || arguments.length === 4) && (0, _debug.assert)(`Set must be called with three or four arguments; an object, a property key, a value and tolerant true/false`, arguments.length === 3 || arguments.length === 4));\n    (true && !(obj && typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call set with '${keyName}' on an undefined object.`, obj && typeof obj === 'object' || typeof obj === 'function'));\n    (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to set must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n    (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0));\n\n    if (obj.isDestroyed) {\n      (true && !(tolerant) && (0, _debug.assert)(`calling set on destroyed object: ${(0, _utils.toString)(obj)}.${keyName} = ${(0, _utils.toString)(value$$1)}`, tolerant));\n      return;\n    }\n\n    if (isPath(keyName)) {\n      return setPath(obj, keyName, value$$1, tolerant);\n    }\n\n    var descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n    var setter = descriptor === null ? undefined : descriptor.set;\n\n    if (setter !== undefined && CP_SETTER_FUNCS.has(setter)) {\n      obj[keyName] = value$$1;\n      return value$$1;\n    }\n\n    var currentValue;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      currentValue = obj[keyName];\n    }\n\n    if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n      /* unknown property */\n      obj.setUnknownProperty(keyName, value$$1);\n    } else {\n      if (true\n      /* DEBUG */\n      ) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value$$1);\n      } else {\n        obj[keyName] = value$$1;\n      }\n\n      if (currentValue !== value$$1) {\n        notifyPropertyChange(obj, keyName);\n      }\n    }\n\n    return value$$1;\n  }\n\n  function setPath(root, path, value$$1, tolerant) {\n    var parts = path.split('.');\n    var keyName = parts.pop();\n    (true && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0));\n\n    var newRoot = _getPath(root, parts);\n\n    if (newRoot !== null && newRoot !== undefined) {\n      return set(newRoot, keyName, value$$1);\n    } else if (!tolerant) {\n      throw new _error.default(`Property set failed: object in path \"${parts.join('.')}\" could not be found.`);\n    }\n  }\n  /**\n    Error-tolerant form of `set`. Will not blow up if any part of the\n    chain is `undefined`, `null`, or destroyed.\n  \n    This is primarily used when syncing bindings, which may try to update after\n    an object has been destroyed.\n  \n    ```javascript\n    import { trySet } from '@ember/object';\n  \n    let obj = { name: \"Zoey\" };\n    trySet(obj, \"contacts.twitter\", \"@emberjs\");\n    ```\n  \n    @method trySet\n    @static\n    @for @ember/object\n    @param {Object} root The object to modify.\n    @param {String} path The property path to set\n    @param {Object} value The value to set\n    @public\n  */\n\n\n  function trySet(root, path, value$$1) {\n    return set(root, path, value$$1, true);\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n\n  function noop() {}\n  /**\n    `@computed` is a decorator that turns a JavaScript getter and setter into a\n    computed property, which is a _cached, trackable value_. By default the getter\n    will only be called once and the result will be cached. You can specify\n    various properties that your computed property depends on. This will force the\n    cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n  \n    In the following example we decorate a getter - `fullName` -  by calling\n    `computed` with the property dependencies (`firstName` and `lastName`) as\n    arguments. The `fullName` getter will be called once (regardless of how many\n    times it is accessed) as long as its dependencies do not change. Once\n    `firstName` or `lastName` are updated any future calls to `fullName` will\n    incorporate the new values, and any watchers of the value such as templates\n    will be updated:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let tom = new Person('Tom', 'Dale');\n  \n    tom.fullName; // 'Tom Dale'\n    ```\n  \n    You can also provide a setter, which will be used when updating the computed\n    property. Ember's `set` function must be used to update the property\n    since it will also notify observers of the property:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n  \n      set fullName(value) {\n        let [firstName, lastName] = value.split(' ');\n  \n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    You can also pass a getter function or object with `get` and `set` functions\n    as the last argument to the computed decorator. This allows you to define\n    computed property _macros_:\n  \n    ```js\n    import { computed } from '@ember/object';\n  \n    function join(...keys) {\n      return computed(...keys, function() {\n        return keys.map(key => this[key]).join(' ');\n      });\n    }\n  \n    class Person {\n      @join('firstName', 'lastName')\n      fullName;\n    }\n    ```\n  \n    Note that when defined this way, getters and setters receive the _key_ of the\n    property they are decorating as the first argument. Setters receive the value\n    they are setting to as the second argument instead. Additionally, setters must\n    _return_ the value that should be cached:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    function fullNameMacro(firstNameKey, lastNameKey) {\n      return computed(firstNameKey, lastNameKey, {\n        get() {\n          return `${this[firstNameKey]} ${this[lastNameKey]}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, firstNameKey, firstName);\n          set(this, lastNameKey, lastName);\n  \n          return value;\n        }\n      });\n    }\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @fullNameMacro fullName;\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    Computed properties can also be used in classic classes. To do this, we\n    provide the getter and setter as the last argument like we would for a macro,\n    and we assign it to a property on the class definition. This is an _anonymous_\n    computed macro:\n  \n    ```javascript\n    import EmberObject, { computed, set } from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: computed('firstName', 'lastName', {\n        get() {\n          return `${this.firstName} ${this.lastName}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, 'firstName', firstName);\n          set(this, 'lastName', lastName);\n  \n          return value;\n        }\n      })\n    });\n  \n    let tom = Person.create({\n      firstName: 'Tom',\n      lastName: 'Dale'\n    });\n  \n    tom.get('fullName') // 'Tom Dale'\n    ```\n  \n    You can overwrite computed property without setters with a normal property (no\n    longer computed) that won't change if dependencies change. You can also mark\n    computed property as `.readOnly()` and block all attempts to set it.\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName').readOnly()\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let person = new Person();\n    person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n    ```\n  \n    Additional resources:\n    - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n    - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n    - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n  \n    @class ComputedProperty\n    @public\n  */\n\n\n  class ComputedProperty extends ComputedDescriptor {\n    constructor(args) {\n      super();\n      this._volatile = false;\n      this._readOnly = false;\n      this._hasConfig = false;\n      this._getter = undefined;\n      this._setter = undefined;\n      var maybeConfig = args[args.length - 1];\n\n      if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n        this._hasConfig = true;\n        var config = args.pop();\n\n        if (typeof config === 'function') {\n          (true && !(!isClassicDecorator(config)) && (0, _debug.assert)(`You attempted to pass a computed property instance to computed(). Computed property instances are decorator functions, and cannot be passed to computed() because they cannot be turned into decorators twice`, !isClassicDecorator(config)));\n          this._getter = config;\n        } else {\n          var objectConfig = config;\n          (true && !(typeof objectConfig === 'object' && !Array.isArray(objectConfig)) && (0, _debug.assert)('computed expects a function or an object as last argument.', typeof objectConfig === 'object' && !Array.isArray(objectConfig)));\n          (true && !(Object.keys(objectConfig).every(key => key === 'get' || key === 'set')) && (0, _debug.assert)('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(key => key === 'get' || key === 'set')));\n          (true && !(Boolean(objectConfig.get) || Boolean(objectConfig.set)) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', Boolean(objectConfig.get) || Boolean(objectConfig.set)));\n          this._getter = objectConfig.get || noop;\n          this._setter = objectConfig.set;\n        }\n      }\n\n      if (args.length > 0) {\n        this._property(...args);\n      }\n    }\n\n    setup(obj, keyName, propertyDesc, meta$$1) {\n      super.setup(obj, keyName, propertyDesc, meta$$1);\n      (true && !(!(propertyDesc && typeof propertyDesc.value === 'function')) && (0, _debug.assert)(`@computed can only be used on accessors or fields, attempted to use it with ${keyName} but that was a method. Try converting it to a getter (e.g. \\`get ${keyName}() {}\\`)`, !(propertyDesc && typeof propertyDesc.value === 'function')));\n      (true && !(!propertyDesc || !propertyDesc.initializer) && (0, _debug.assert)(`@computed can only be used on empty fields. ${keyName} has an initial value (e.g. \\`${keyName} = someValue\\`)`, !propertyDesc || !propertyDesc.initializer));\n      (true && !(!(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'))) && (0, _debug.assert)(`Attempted to apply a computed property that already has a getter/setter to a ${keyName}, but it is a method or an accessor. If you passed @computed a function or getter/setter (e.g. \\`@computed({ get() { ... } })\\`), then it must be applied to a field`, !(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'))));\n\n      if (this._hasConfig === false) {\n        (true && !(propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')) && (0, _debug.assert)(`Attempted to use @computed on ${keyName}, but it did not have a getter or a setter. You must either pass a get a function or getter/setter to @computed directly (e.g. \\`@computed({ get() { ... } })\\`) or apply @computed directly to a getter/setter`, propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')));\n        var {\n          get: _get,\n          set: set$$1\n        } = propertyDesc;\n\n        if (_get !== undefined) {\n          this._getter = _get;\n        }\n\n        if (set$$1 !== undefined) {\n          this._setter = function setterWrapper(_key, value$$1) {\n            var ret = set$$1.call(this, value$$1);\n\n            if (_get !== undefined) {\n              return typeof ret === 'undefined' ? _get.call(this) : ret;\n            }\n\n            return ret;\n          };\n        }\n      }\n    }\n    /**\n      Call on a computed property to set it into non-cached mode. When in this\n      mode the computed property will not automatically cache the return value.\n      It also does not automatically fire any change events. You must manually notify\n      any changes if you want to observe this property.\n         Dependency keys have no effect on volatile properties as they are for cache\n      invalidation and notification when cached value is invalidated.\n         Example:\n         ```javascript\n      import { computed } from '@ember/object';\n         class CallCounter {\n        _calledCount = 0;\n           @computed().volatile()\n        get calledCount() {\n          return this._calledCount++;\n        }\n      }\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let CallCounter = EmberObject.extend({\n        _calledCount: 0,\n           value: computed(function() {\n          return this._calledCount++;\n        }).volatile()\n      });\n      ```\n      @method volatile\n      @deprecated\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n\n\n    volatile() {\n      (true && !(false) && (0, _debug.deprecate)('Setting a computed property as volatile has been deprecated. Instead, consider using a native getter with native class syntax.', false, {\n        id: 'computed-property.volatile',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-volatile'\n      }));\n      this._volatile = true;\n    }\n    /**\n      Call on a computed property to set it into read-only mode. When in this\n      mode the computed property will throw an error when set.\n         Example:\n         ```javascript\n      import { computed, set } from '@ember/object';\n         class Person {\n        @computed().readOnly()\n        get guid() {\n          return 'guid-guid-guid';\n        }\n      }\n         let person = new Person();\n      set(person, 'guid', 'new-guid'); // will throw an exception\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let Person = EmberObject.extend({\n        guid: computed(function() {\n          return 'guid-guid-guid';\n        }).readOnly()\n      });\n         let person = Person.create();\n      person.set('guid', 'new-guid'); // will throw an exception\n      ```\n         @method readOnly\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n\n\n    readOnly() {\n      this._readOnly = true;\n      (true && !(!(this._readOnly && this._setter && this._setter !== this._getter)) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(this._readOnly && this._setter && this._setter !== this._getter)));\n    }\n    /**\n      Sets the dependent keys on this computed property. Pass any number of\n      arguments containing key paths that this computed property depends on.\n         Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         class President {\n        constructor(firstName, lastName) {\n          set(this, 'firstName', firstName);\n          set(this, 'lastName', lastName);\n        }\n           // Tell Ember that this computed property depends on firstName\n        // and lastName\n        @computed().property('firstName', 'lastName')\n        get fullName() {\n          return `${this.firstName} ${this.lastName}`;\n        }\n      }\n         let president = new President('Barack', 'Obama');\n         president.fullName; // 'Barack Obama'\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let President = EmberObject.extend({\n        fullName: computed(function() {\n          return this.get('firstName') + ' ' + this.get('lastName');\n             // Tell Ember that this computed property depends on firstName\n          // and lastName\n        }).property('firstName', 'lastName')\n      });\n         let president = President.create({\n        firstName: 'Barack',\n        lastName: 'Obama'\n      });\n         president.get('fullName'); // 'Barack Obama'\n      ```\n         @method property\n      @deprecated\n      @param {String} path* zero or more property paths\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n\n\n    property(...passedArgs) {\n      (true && !(false) && (0, _debug.deprecate)('Setting dependency keys using the `.property()` modifier has been deprecated. Pass the dependency keys directly to computed as arguments instead. If you are using `.property()` on a computed property macro, consider refactoring your macro to receive additional dependent keys in its initial declaration.', false, {\n        id: 'computed-property.property',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-property'\n      }));\n\n      this._property(...passedArgs);\n    }\n\n    _property(...passedArgs) {\n      var args = [];\n\n      function addArg(property) {\n        (true && (0, _debug.warn)(`Dependent keys containing @each only work one level deep. ` + `You used the key \"${property}\" which is invalid. ` + `Please create an intermediary computed property.`, DEEP_EACH_REGEX.test(property) === false, {\n          id: 'ember-metal.computed-deep-each'\n        }));\n        args.push(property);\n      }\n\n      for (var i = 0; i < passedArgs.length; i++) {\n        expandProperties(passedArgs[i], addArg);\n      }\n\n      this._dependentKeys = args;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For example,\n      computed property functions may close over variables that are then no longer\n      available for introspection. You can pass a hash of these values to a\n      computed property.\n         Example:\n         ```javascript\n      import { computed } from '@ember/object';\n      import Person from 'my-app/utils/person';\n         class Store {\n        @computed().meta({ type: Person })\n        get person() {\n          let personId = this.personId;\n          return Person.create({ id: personId });\n        }\n      }\n      ```\n         Classic Class Example:\n         ```javascript\n      import { computed } from '@ember/object';\n      import Person from 'my-app/utils/person';\n         const Store = EmberObject.extend({\n        person: computed(function() {\n          let personId = this.get('personId');\n          return Person.create({ id: personId });\n        }).meta({ type: Person })\n      });\n      ```\n         The hash that you pass to the `meta()` function will be saved on the\n      computed property descriptor under the `_meta` key. Ember runtime\n      exposes a public API for retrieving these values from classes,\n      via the `metaForProperty()` function.\n         @method meta\n      @param {Object} meta\n      @chainable\n      @public\n    */\n\n\n    get(obj, keyName) {\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\n\n      var cache = getCacheFor(obj);\n      var propertyTag = tagForProperty(obj, keyName);\n      var ret;\n\n      if (cache.has(keyName) && (0, _reference.validate)(propertyTag, getLastRevisionFor(obj, keyName))) {\n        ret = cache.get(keyName);\n      } else {\n        // For backwards compatibility, we only throw if the CP has any dependencies. CPs without dependencies\n        // should be allowed, even after the object has been destroyed, which is why we check _dependentKeys.\n        (true && !(this._dependentKeys === undefined || !(0, _meta2.meta)(obj).isMetaDestroyed()) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !(0, _meta2.meta)(obj).isMetaDestroyed()));\n        var upstreamTag = undefined;\n\n        if (this._auto === true) {\n          upstreamTag = track(() => {\n            ret = this._getter.call(obj, keyName);\n          });\n        } else {\n          // Create a tracker that absorbs any trackable actions inside the CP\n          untrack(() => {\n            ret = this._getter.call(obj, keyName);\n          });\n        }\n\n        if (this._dependentKeys !== undefined) {\n          var tag = (0, _reference.combine)(getChainTagsForKeys(obj, this._dependentKeys));\n          upstreamTag = upstreamTag === undefined ? tag : (0, _reference.combine)([upstreamTag, tag]);\n        }\n\n        if (upstreamTag !== undefined) {\n          (0, _reference.update)(propertyTag, upstreamTag);\n        }\n\n        setLastRevisionFor(obj, keyName, (0, _reference.value)(propertyTag));\n        cache.set(keyName, ret);\n        finishLazyChains(obj, keyName, ret);\n      }\n\n      consume(propertyTag); // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n      if (Array.isArray(ret) || (0, _utils.isEmberArray)(ret)) {\n        consume(tagForProperty(ret, '[]'));\n      }\n\n      return ret;\n    }\n\n    set(obj, keyName, value$$1) {\n      if (this._readOnly) {\n        this._throwReadOnlyError(obj, keyName);\n      }\n\n      if (!this._setter) {\n        return this.clobberSet(obj, keyName, value$$1);\n      }\n\n      if (this._volatile) {\n        return this.volatileSet(obj, keyName, value$$1);\n      } // ensure two way binding works when the component has defined a computed\n      // property with both a setter and dependent keys, in that scenario without\n      // the sync observer added below the caller's value will never be updated\n      //\n      // See GH#18147 / GH#19028 for details.\n\n\n      if (this._dependentKeys !== undefined && this._dependentKeys.length > 0 && // These two properties are set on Ember.Component\n      typeof obj[_metal.PROPERTY_DID_CHANGE] === 'function' && obj.isComponent && // ensure that we only run this once, while the component is being instantiated\n      (0, _meta2.meta)(obj).isInitializing()) {\n        (0, _metal.addObserver)(obj, keyName, () => {\n          obj[_metal.PROPERTY_DID_CHANGE](keyName);\n        }, undefined, true);\n      }\n\n      var ret;\n\n      try {\n        beginPropertyChanges();\n        ret = this._set(obj, keyName, value$$1);\n        finishLazyChains(obj, keyName, ret);\n        var propertyTag = tagForProperty(obj, keyName);\n\n        if (this._dependentKeys !== undefined) {\n          (0, _reference.update)(propertyTag, (0, _reference.combine)(getChainTagsForKeys(obj, this._dependentKeys)));\n        }\n\n        setLastRevisionFor(obj, keyName, (0, _reference.value)(propertyTag));\n      } finally {\n        endPropertyChanges();\n      }\n\n      return ret;\n    }\n\n    _throwReadOnlyError(obj, keyName) {\n      throw new _error.default(`Cannot set read-only property \"${keyName}\" on object: ${(0, _utils.inspect)(obj)}`);\n    }\n\n    clobberSet(obj, keyName, value$$1) {\n      (true && !(false) && (0, _debug.deprecate)(`The ${(0, _utils.toString)(obj)}#${keyName} computed property was just overriden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually.`, false, {\n        id: 'computed-property.override',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-override'\n      }));\n      var cachedValue = getCachedValueFor(obj, keyName);\n      defineProperty(obj, keyName, null, cachedValue);\n      set(obj, keyName, value$$1);\n      return value$$1;\n    }\n\n    volatileSet(obj, keyName, value$$1) {\n      return this._setter.call(obj, keyName, value$$1);\n    }\n\n    _set(obj, keyName, value$$1) {\n      var cache = getCacheFor(obj);\n      var hadCachedValue = cache.has(keyName);\n      var cachedValue = cache.get(keyName);\n      var ret;\n      setObserverSuspended(obj, keyName, true);\n\n      try {\n        ret = this._setter.call(obj, keyName, value$$1, cachedValue);\n      } finally {\n        setObserverSuspended(obj, keyName, false);\n      } // allows setter to return the same value that is cached already\n\n\n      if (hadCachedValue && cachedValue === ret) {\n        return ret;\n      }\n\n      var meta$$1 = (0, _meta2.meta)(obj);\n      cache.set(keyName, ret);\n      notifyPropertyChange(obj, keyName, meta$$1, value$$1);\n      return ret;\n    }\n    /* called before property is overridden */\n\n\n    teardown(obj, keyName, meta$$1) {\n      if (!this._volatile) {\n        var cache = peekCacheFor(obj);\n\n        if (cache !== undefined) {\n          cache.delete(keyName);\n        }\n      }\n\n      super.teardown(obj, keyName, meta$$1);\n    }\n\n    auto() {\n      this._auto = true;\n    }\n\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n  _exports.ComputedProperty = ComputedProperty;\n\n  class ComputedDecoratorImpl extends Function {\n    readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    }\n\n    volatile() {\n      descriptorForDecorator(this).volatile();\n      return this;\n    }\n\n    property(...keys) {\n      descriptorForDecorator(this).property(...keys);\n      return this;\n    }\n\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n        return this;\n      }\n    } // TODO: Remove this when we can provide alternatives in the ecosystem to\n    // addons such as ember-macro-helpers that use it.\n\n\n    get _getter() {\n      return descriptorForDecorator(this)._getter;\n    } // TODO: Refactor this, this is an internal API only\n\n\n    set enumerable(value$$1) {\n      descriptorForDecorator(this).enumerable = value$$1;\n    }\n\n  }\n\n  function computed(...args) {\n    (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.assert)(`@computed can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: computed()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)));\n\n    if (isElementDescriptor(args)) {\n      var decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n      return decorator(args[0], args[1], args[2]);\n    }\n\n    return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n  }\n  /**\n    Allows checking if a given property on an object is a computed property. For the most part,\n    this doesn't matter (you would normally just access the property directly and use its value),\n    but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n    differentiate if a property is a computed property or a \"normal\" property.\n  \n    This will work on either a class's prototype or an instance itself.\n  \n    @static\n    @method isComputed\n    @for @ember/debug\n    @private\n   */\n\n\n  function isComputed(obj, key) {\n    return Boolean(descriptorForProperty(obj, key));\n  }\n\n  var _globalsComputed = computed.bind(null);\n\n  _exports._globalsComputed = _globalsComputed;\n\n  function alias(altKey) {\n    (true && !(!isElementDescriptor(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments))));\n    return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n  class AliasDecoratorImpl extends Function {\n    readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    }\n\n    oneWay() {\n      descriptorForDecorator(this).oneWay();\n      return this;\n    }\n\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n      }\n    }\n\n  }\n\n  class AliasedProperty extends ComputedDescriptor {\n    constructor(altKey) {\n      super();\n      this.altKey = altKey;\n    }\n\n    setup(obj, keyName, propertyDesc, meta$$1) {\n      (true && !(this.altKey !== keyName) && (0, _debug.assert)(`Setting alias '${keyName}' on self`, this.altKey !== keyName));\n      super.setup(obj, keyName, propertyDesc, meta$$1);\n    }\n\n    teardown(obj, keyName, meta$$1) {\n      super.teardown(obj, keyName, meta$$1);\n    }\n\n    get(obj, keyName) {\n      var ret;\n      var propertyTag = tagForProperty(obj, keyName); // We don't use the tag since CPs are not automatic, we just want to avoid\n      // anything tracking while we get the altKey\n\n      untrack(() => {\n        ret = get(obj, this.altKey);\n      });\n      var lastRevision = getLastRevisionFor(obj, keyName);\n\n      if (!(0, _reference.validate)(propertyTag, lastRevision)) {\n        (0, _reference.update)(propertyTag, (0, _reference.combine)(getChainTagsForKey(obj, this.altKey)));\n        setLastRevisionFor(obj, keyName, (0, _reference.value)(propertyTag));\n        finishLazyChains(obj, keyName, ret);\n      }\n\n      consume(propertyTag);\n      return ret;\n    }\n\n    set(obj, _keyName, value$$1) {\n      return set(obj, this.altKey, value$$1);\n    }\n\n    readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n    }\n\n    oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n    }\n\n  }\n\n  function AliasedProperty_readOnlySet(obj, keyName) {\n    // eslint-disable-line no-unused-vars\n    throw new _error.default(`Cannot set read-only property '${keyName}' on object: ${(0, _utils.inspect)(obj)}`);\n  }\n\n  function AliasedProperty_oneWaySet(obj, keyName, value$$1) {\n    defineProperty(obj, keyName, null);\n    return set(obj, keyName, value$$1);\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    Used internally to allow changing properties in a backwards compatible way, and print a helpful\n    deprecation warning.\n  \n    @method deprecateProperty\n    @param {Object} object The object to add the deprecated property to.\n    @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n    @param {String} newKey The property that will be aliased.\n    @private\n    @since 1.7.0\n  */\n\n\n  function deprecateProperty(object, deprecatedKey, newKey, options) {\n    function _deprecate() {\n      (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options));\n    }\n\n    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n\n      set(value$$1) {\n        _deprecate();\n\n        set(this, newKey, value$$1);\n      },\n\n      get() {\n        _deprecate();\n\n        return get(this, newKey);\n      }\n\n    });\n  }\n\n  var EACH_PROXIES = new WeakMap();\n\n  function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns true if the passed value is null or undefined. This avoids errors\n    from JSLint complaining about use of ==, which can be technically\n    confusing.\n  \n    ```javascript\n    isNone();              // true\n    isNone(null);          // true\n    isNone(undefined);     // true\n    isNone('');            // false\n    isNone([]);            // false\n    isNone(function() {}); // false\n    ```\n  \n    @method isNone\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Verifies that a value is `null` or `undefined`, an empty string, or an empty\n    array.\n  \n    Constrains the rules on `isNone` by returning true for empty strings and\n    empty arrays.\n  \n    If the value is an object with a `size` property of type number, it is used\n    to check emptiness.\n  \n    ```javascript\n    isEmpty();                 // true\n    isEmpty(null);             // true\n    isEmpty(undefined);        // true\n    isEmpty('');               // true\n    isEmpty([]);               // true\n    isEmpty({ size: 0});       // true\n    isEmpty({});               // false\n    isEmpty('Adam Hawkins');   // false\n    isEmpty([0,1,2]);          // false\n    isEmpty('\\n\\t');           // false\n    isEmpty('  ');             // false\n    isEmpty({ size: 1 })       // false\n    isEmpty({ size: () => 0 }) // false\n    ```\n  \n    @method isEmpty\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n\n  function isEmpty(obj) {\n    var none = obj === null || obj === undefined;\n\n    if (none) {\n      return none;\n    }\n\n    if (typeof obj.size === 'number') {\n      return !obj.size;\n    }\n\n    var objectType = typeof obj;\n\n    if (objectType === 'object') {\n      var size = get(obj, 'size');\n\n      if (typeof size === 'number') {\n        return !size;\n      }\n    }\n\n    if (typeof obj.length === 'number' && objectType !== 'function') {\n      return !obj.length;\n    }\n\n    if (objectType === 'object') {\n      var length = get(obj, 'length');\n\n      if (typeof length === 'number') {\n        return !length;\n      }\n    }\n\n    return false;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is blank if it is empty or a whitespace string.\n  \n    ```javascript\n    import { isBlank } from '@ember/utils';\n  \n    isBlank();                // true\n    isBlank(null);            // true\n    isBlank(undefined);       // true\n    isBlank('');              // true\n    isBlank([]);              // true\n    isBlank('\\n\\t');          // true\n    isBlank('  ');            // true\n    isBlank({});              // false\n    isBlank('\\n\\t Hello');    // false\n    isBlank('Hello world');   // false\n    isBlank([1,2,3]);         // false\n    ```\n  \n    @method isBlank\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.5.0\n    @public\n  */\n\n\n  function isBlank(obj) {\n    return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is present if it not `isBlank`.\n  \n    ```javascript\n    isPresent();                // false\n    isPresent(null);            // false\n    isPresent(undefined);       // false\n    isPresent('');              // false\n    isPresent('  ');            // false\n    isPresent('\\n\\t');          // false\n    isPresent([]);              // false\n    isPresent({ length: 0 });   // false\n    isPresent(false);           // true\n    isPresent(true);            // true\n    isPresent('string');        // true\n    isPresent(0);               // true\n    isPresent(function() {});   // true\n    isPresent({});              // true\n    isPresent('\\n\\t Hello');    // true\n    isPresent([1, 2, 3]);       // true\n    ```\n  \n    @method isPresent\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.8.0\n    @public\n  */\n\n\n  function isPresent(obj) {\n    return !isBlank(obj);\n  }\n  /**\n   @module ember\n  */\n\n  /**\n    Helper class that allows you to register your library with Ember.\n  \n    Singleton created at `Ember.libraries`.\n  \n    @class Libraries\n    @constructor\n    @private\n  */\n\n\n  class Libraries {\n    constructor() {\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n\n    _getLibraryByName(name) {\n      var libs = this._registry;\n      var count = libs.length;\n\n      for (var i = 0; i < count; i++) {\n        if (libs[i].name === name) {\n          return libs[i];\n        }\n      }\n\n      return undefined;\n    }\n\n    register(name, version, isCoreLibrary) {\n      var index = this._registry.length;\n\n      if (!this._getLibraryByName(name)) {\n        if (isCoreLibrary) {\n          index = this._coreLibIndex++;\n        }\n\n        this._registry.splice(index, 0, {\n          name,\n          version\n        });\n      } else {\n        (true && (0, _debug.warn)(`Library \"${name}\" is already registered with Ember.`, false, {\n          id: 'ember-metal.libraries-register'\n        }));\n      }\n    }\n\n    registerCoreLibrary(name, version) {\n      this.register(name, version, true);\n    }\n\n    deRegister(name) {\n      var lib = this._getLibraryByName(name);\n\n      var index;\n\n      if (lib) {\n        index = this._registry.indexOf(lib);\n\n        this._registry.splice(index, 1);\n      }\n    }\n\n  }\n\n  _exports.Libraries = Libraries;\n\n  if (true\n  /* DEBUG */\n  ) {\n    Libraries.prototype.logVersions = function () {\n      var libs = this._registry;\n      var nameLengths = libs.map(item => get(item, 'name.length'));\n      var maxNameLength = Math.max.apply(null, nameLengths);\n      (0, _debug.debug)('-------------------------------');\n\n      for (var i = 0; i < libs.length; i++) {\n        var lib = libs[i];\n        var spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n        (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n      }\n\n      (0, _debug.debug)('-------------------------------');\n    };\n  }\n\n  var LIBRARIES = new Libraries();\n  _exports.libraries = LIBRARIES;\n  LIBRARIES.registerCoreLibrary('Ember', _version.default);\n  /**\n   @module @ember/object\n  */\n\n  /**\n    To get multiple properties at once, call `getProperties`\n    with an object followed by a list of strings or an array:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, 'firstName', 'lastName', 'zipCode');\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    is equivalent to:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, ['firstName', 'lastName', 'zipCode']);\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    @method getProperties\n    @static\n    @for @ember/object\n    @param {Object} obj\n    @param {String...|Array} list of keys to get\n    @return {Object}\n    @public\n  */\n\n  function getProperties(obj, keys) {\n    var ret = {};\n    var propertyNames = arguments;\n    var i = 1;\n\n    if (arguments.length === 2 && Array.isArray(keys)) {\n      i = 0;\n      propertyNames = arguments[1];\n    }\n\n    for (; i < propertyNames.length; i++) {\n      ret[propertyNames[i]] = get(obj, propertyNames[i]);\n    }\n\n    return ret;\n  }\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Set a list of properties on an object. These properties are set inside\n    a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n    observers will be buffered.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    let anObject = EmberObject.create();\n  \n    anObject.setProperties({\n      firstName: 'Stanley',\n      lastName: 'Stuart',\n      age: 21\n    });\n    ```\n  \n    @method setProperties\n    @static\n    @for @ember/object\n    @param obj\n    @param {Object} properties\n    @return properties\n    @public\n  */\n\n\n  function setProperties(obj, properties) {\n    if (properties === null || typeof properties !== 'object') {\n      return properties;\n    }\n\n    changeProperties(() => {\n      var props = Object.keys(properties);\n      var propertyName;\n\n      for (var i = 0; i < props.length; i++) {\n        propertyName = props[i];\n        set(obj, propertyName, properties[propertyName]);\n      }\n    });\n    return properties;\n  }\n  /**\n    Enqueues finalization on an object so that it can be garbage collected.\n    Multiple calls will have no effect.\n  \n    @method destroy\n    @for Ember\n    @param {Object} obj the object to destroy\n    @return {boolean} true if the object went from not destroying to destroying.\n    @private\n  */\n\n\n  function destroy(obj) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `destroy` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `destroy` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`destroy\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    var m = (0, _meta3.peekMeta)(obj);\n\n    if (m === null || m.isSourceDestroying()) {\n      return false;\n    }\n\n    m.setSourceDestroying();\n    destroyObservers(obj);\n    (0, _runloop.schedule)('destroy', m, finalize);\n    return true;\n  }\n\n  function finalize() {\n    this.setSourceDestroyed();\n    this.destroy();\n  } // move into its own package\n  // it is needed by Mixin for classToString\n  // maybe move it into environment\n\n\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var searchDisabled = false;\n  var flags = {\n    _set: 0,\n    _unprocessedNamespaces: false,\n\n    get unprocessedNamespaces() {\n      return this._unprocessedNamespaces;\n    },\n\n    set unprocessedNamespaces(v) {\n      this._set++;\n      this._unprocessedNamespaces = v;\n    }\n\n  };\n  var unprocessedMixins = false;\n  var NAMESPACES = [];\n  _exports.NAMESPACES = NAMESPACES;\n  var NAMESPACES_BY_ID = Object.create(null);\n  _exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n\n  function addNamespace(namespace) {\n    flags.unprocessedNamespaces = true;\n    NAMESPACES.push(namespace);\n  }\n\n  function removeNamespace(namespace) {\n    var name = (0, _utils.getName)(namespace);\n    delete NAMESPACES_BY_ID[name];\n    NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n\n    if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n      _environment.context.lookup[name] = undefined;\n    }\n  }\n\n  function findNamespaces() {\n    if (!flags.unprocessedNamespaces) {\n      return;\n    }\n\n    var lookup = _environment.context.lookup;\n    var keys = Object.keys(lookup);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]; // Only process entities that start with uppercase A-Z\n\n      if (!isUppercase(key.charCodeAt(0))) {\n        continue;\n      }\n\n      var obj = tryIsNamespace(lookup, key);\n\n      if (obj) {\n        (0, _utils.setName)(obj, key);\n      }\n    }\n  }\n\n  function findNamespace(name) {\n    if (!searchDisabled) {\n      processAllNamespaces();\n    }\n\n    return NAMESPACES_BY_ID[name];\n  }\n\n  function processNamespace(namespace) {\n    _processNamespace([namespace.toString()], namespace, new Set());\n  }\n\n  function processAllNamespaces() {\n    var unprocessedNamespaces = flags.unprocessedNamespaces;\n\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      flags.unprocessedNamespaces = false;\n    }\n\n    if (unprocessedNamespaces || unprocessedMixins) {\n      var namespaces = NAMESPACES;\n\n      for (var i = 0; i < namespaces.length; i++) {\n        processNamespace(namespaces[i]);\n      }\n\n      unprocessedMixins = false;\n    }\n  }\n\n  function classToString() {\n    var name = (0, _utils.getName)(this);\n\n    if (name !== void 0) {\n      return name;\n    }\n\n    name = calculateToString(this);\n    (0, _utils.setName)(this, name);\n    return name;\n  }\n\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n\n  function setSearchDisabled(flag) {\n    searchDisabled = Boolean(flag);\n  }\n\n  function setUnprocessedMixins() {\n    unprocessedMixins = true;\n  }\n\n  function _processNamespace(paths, root, seen) {\n    var idx = paths.length;\n    var id = paths.join('.');\n    NAMESPACES_BY_ID[id] = root;\n    (0, _utils.setName)(root, id); // Loop over all of the keys in the namespace, looking for classes\n\n    for (var key in root) {\n      if (!hasOwnProperty.call(root, key)) {\n        continue;\n      }\n\n      var obj = root[key]; // If we are processing the `Ember` namespace, for example, the\n      // `paths` will start with `[\"Ember\"]`. Every iteration through\n      // the loop will update the **second** element of this list with\n      // the key, so processing `Ember.View` will make the Array\n      // `['Ember', 'View']`.\n\n      paths[idx] = key; // If we have found an unprocessed class\n\n      if (obj && obj.toString === classToString && (0, _utils.getName)(obj) === void 0) {\n        // Replace the class' `toString` with the dot-separated path\n        (0, _utils.setName)(obj, paths.join('.')); // Support nested namespaces\n      } else if (obj && obj.isNamespace) {\n        // Skip aliased namespaces\n        if (seen.has(obj)) {\n          continue;\n        }\n\n        seen.add(obj); // Process the child namespace\n\n        _processNamespace(paths, obj, seen);\n      }\n    }\n\n    paths.length = idx; // cut out last item\n  }\n\n  function isUppercase(code) {\n    return code >= 65 && code <= 90 // A\n    ; // Z\n  }\n\n  function tryIsNamespace(lookup, prop) {\n    try {\n      var obj = lookup[prop];\n      return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n    } catch (e) {// continue\n    }\n  }\n\n  function calculateToString(target) {\n    var str;\n\n    if (!searchDisabled) {\n      processAllNamespaces();\n      str = (0, _utils.getName)(target);\n\n      if (str !== void 0) {\n        return str;\n      }\n\n      var superclass = target;\n\n      do {\n        superclass = Object.getPrototypeOf(superclass);\n\n        if (superclass === Function.prototype || superclass === Object.prototype) {\n          break;\n        }\n\n        str = (0, _utils.getName)(target);\n\n        if (str !== void 0) {\n          str = `(subclass of ${str})`;\n          break;\n        }\n      } while (str === void 0);\n    }\n\n    return str || '(unknown)';\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var a_concat = Array.prototype.concat;\n  var {\n    isArray\n  } = Array;\n\n  function isMethod(obj) {\n    return 'function' === typeof obj && obj.isMethod !== false && obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;\n  }\n\n  function isAccessor(desc) {\n    return typeof desc.get === 'function' || typeof desc.set === 'function';\n  }\n\n  function extractAccessors(properties) {\n    if (properties !== undefined) {\n      var descriptors = (0, _utils.getOwnPropertyDescriptors)(properties);\n      var keys = Object.keys(descriptors);\n      var hasAccessors = keys.some(key => isAccessor(descriptors[key]));\n\n      if (hasAccessors) {\n        var extracted = {};\n        keys.forEach(key => {\n          var descriptor = descriptors[key];\n\n          if (isAccessor(descriptor)) {\n            extracted[key] = nativeDescDecorator(descriptor);\n          } else {\n            extracted[key] = properties[key];\n          }\n        });\n        return extracted;\n      }\n    }\n\n    return properties;\n  }\n\n  var CONTINUE = {};\n\n  function mixinProperties(mixinsMeta, mixin) {\n    if (mixin instanceof Mixin) {\n      if (mixinsMeta.hasMixin(mixin)) {\n        return CONTINUE;\n      }\n\n      mixinsMeta.addMixin(mixin);\n      return mixin.properties;\n    } else {\n      return mixin; // apply anonymous mixin properties\n    }\n  }\n\n  function concatenatedMixinProperties(concatProp, props, values, base) {\n    // reset before adding each new mixin to pickup concats from previous\n    var concats = values[concatProp] || base[concatProp];\n\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n\n    return concats;\n  }\n\n  function giveDecoratorSuper(meta$$1, key, decorator, values, descs, base) {\n    var property = descriptorForDecorator(decorator);\n    var superProperty;\n\n    if (!(property instanceof ComputedProperty) || property._getter === undefined) {\n      return decorator;\n    } // Computed properties override methods, and do not call super to them\n\n\n    if (values[key] === undefined) {\n      // Find the original descriptor in a parent mixin\n      superProperty = descriptorForDecorator(descs[key]);\n    } // If we didn't find the original descriptor in a parent mixin, find\n    // it on the original object.\n\n\n    if (!superProperty) {\n      superProperty = descriptorForProperty(base, key, meta$$1);\n    }\n\n    if (superProperty === undefined || !(superProperty instanceof ComputedProperty)) {\n      return decorator;\n    }\n\n    var get = (0, _utils.wrap)(property._getter, superProperty._getter);\n    var set;\n\n    if (superProperty._setter) {\n      if (property._setter) {\n        set = (0, _utils.wrap)(property._setter, superProperty._setter);\n      } else {\n        // If the super property has a setter, we default to using it no matter what.\n        // This is clearly very broken and weird, but it's what was here so we have\n        // to keep it until the next major at least.\n        //\n        // TODO: Add a deprecation here.\n        set = superProperty._setter;\n      }\n    } else {\n      set = property._setter;\n    } // only create a new CP if we must\n\n\n    if (get !== property._getter || set !== property._setter) {\n      // Since multiple mixins may inherit from the same parent, we need\n      // to clone the computed property so that other mixins do not receive\n      // the wrapped version.\n      var newProperty = Object.create(property);\n      newProperty._getter = get;\n      newProperty._setter = set;\n      return makeComputedDecorator(newProperty, ComputedProperty);\n    }\n\n    return decorator;\n  }\n\n  function giveMethodSuper(obj, key, method, values, descs) {\n    // Methods overwrite computed properties, and do not call super to them.\n    if (descs[key] !== undefined) {\n      return method;\n    } // Find the original method in a parent mixin\n\n\n    var superMethod = values[key]; // If we didn't find the original value in a parent mixin, find it in\n    // the original object\n\n    if (superMethod === undefined && descriptorForProperty(obj, key) === undefined) {\n      superMethod = obj[key];\n    } // Only wrap the new method if the original method was a function\n\n\n    if (typeof superMethod === 'function') {\n      return (0, _utils.wrap)(method, superMethod);\n    }\n\n    return method;\n  }\n\n  function applyConcatenatedProperties(obj, key, value$$1, values) {\n    var baseValue = values[key] || obj[key];\n    var ret = (0, _utils.makeArray)(baseValue).concat((0, _utils.makeArray)(value$$1));\n\n    if (true\n    /* DEBUG */\n    ) {\n      // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n      // only freeze objects...\n      if (typeof ret === 'object' && ret !== null) {\n        // prevent mutating `concatenatedProperties` array after it is applied\n        Object.freeze(ret);\n      }\n    }\n\n    return ret;\n  }\n\n  function applyMergedProperties(obj, key, value$$1, values) {\n    var baseValue = values[key] || obj[key];\n    (true && !(!isArray(value$$1)) && (0, _debug.assert)(`You passed in \\`${JSON.stringify(value$$1)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`, !isArray(value$$1)));\n\n    if (!baseValue) {\n      return value$$1;\n    }\n\n    var newBase = (0, _polyfills.assign)({}, baseValue);\n    var hasFunction = false;\n\n    for (var prop in value$$1) {\n      if (!value$$1.hasOwnProperty(prop)) {\n        continue;\n      }\n\n      var propValue = value$$1[prop];\n\n      if (isMethod(propValue)) {\n        // TODO: support for Computed Properties, etc?\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(obj, prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n\n    if (hasFunction) {\n      newBase._super = _utils.ROOT;\n    }\n\n    return newBase;\n  }\n\n  function addNormalizedProperty(base, key, value$$1, meta$$1, descs, values, concats, mergings) {\n    if (isClassicDecorator(value$$1)) {\n      // Wrap descriptor function to implement _super() if needed\n      descs[key] = giveDecoratorSuper(meta$$1, key, value$$1, values, descs, base);\n      values[key] = undefined;\n    } else {\n      if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n        value$$1 = applyConcatenatedProperties(base, key, value$$1, values);\n      } else if (mergings && mergings.indexOf(key) > -1) {\n        value$$1 = applyMergedProperties(base, key, value$$1, values);\n      } else if (isMethod(value$$1)) {\n        value$$1 = giveMethodSuper(base, key, value$$1, values, descs);\n      }\n\n      descs[key] = undefined;\n      values[key] = value$$1;\n    }\n  }\n\n  function mergeMixins(mixins, meta$$1, descs, values, base, keys) {\n    var currentMixin, props, key, concats, mergings;\n\n    function removeKeys(keyName) {\n      delete descs[keyName];\n      delete values[keyName];\n    }\n\n    for (var i = 0; i < mixins.length; i++) {\n      currentMixin = mixins[i];\n      (true && !(typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]') && (0, _debug.assert)(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(currentMixin)}`, typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]'));\n      props = mixinProperties(meta$$1, currentMixin);\n\n      if (props === CONTINUE) {\n        continue;\n      }\n\n      if (props) {\n        // remove willMergeMixin after 3.4 as it was used for _actions\n        if (base.willMergeMixin) {\n          base.willMergeMixin(props);\n        }\n\n        concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n        mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n\n        for (key in props) {\n          if (!props.hasOwnProperty(key)) {\n            continue;\n          }\n\n          keys.push(key);\n          addNormalizedProperty(base, key, props[key], meta$$1, descs, values, concats, mergings);\n        } // manually copy toString() because some JS engines do not enumerate it\n\n\n        if (props.hasOwnProperty('toString')) {\n          base.toString = props.toString;\n        }\n      } else if (currentMixin.mixins) {\n        mergeMixins(currentMixin.mixins, meta$$1, descs, values, base, keys);\n\n        if (currentMixin._without) {\n          currentMixin._without.forEach(removeKeys);\n        }\n      }\n    }\n  }\n\n  var followMethodAlias;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    followMethodAlias = function (obj, alias, descs, values) {\n      var altKey = alias.methodName;\n      var possibleDesc;\n      var desc = descs[altKey];\n      var value$$1 = values[altKey];\n\n      if (desc !== undefined || value$$1 !== undefined) {// do nothing\n      } else if ((possibleDesc = descriptorForProperty(obj, altKey)) !== undefined) {\n        desc = possibleDesc;\n        value$$1 = undefined;\n      } else {\n        desc = undefined;\n        value$$1 = obj[altKey];\n      }\n\n      return {\n        desc,\n        value: value$$1\n      };\n    };\n  }\n\n  function updateObserversAndListeners(obj, key, fn, add) {\n    var observers = (0, _utils.getObservers)(fn);\n    var listeners = (0, _utils.getListeners)(fn);\n\n    if (observers !== undefined) {\n      var updateObserver = add ? addObserver$1 : removeObserver;\n\n      for (var i = 0; i < observers.paths.length; i++) {\n        updateObserver(obj, observers.paths[i], null, key, observers.sync);\n      }\n    }\n\n    if (listeners !== undefined) {\n      var updateListener = add ? addListener : removeListener;\n\n      for (var _i = 0; _i < listeners.length; _i++) {\n        updateListener(obj, listeners[_i], null, key);\n      }\n    }\n  }\n\n  function replaceObserversAndListeners(obj, key, prev, next) {\n    if (typeof prev === 'function') {\n      updateObserversAndListeners(obj, key, prev, false);\n    }\n\n    if (typeof next === 'function') {\n      updateObserversAndListeners(obj, key, next, true);\n    }\n  }\n\n  function applyMixin(obj, mixins) {\n    var descs = {};\n    var values = {};\n    var meta$$1 = (0, _meta2.meta)(obj);\n    var keys = [];\n    var key, value$$1, desc;\n    obj._super = _utils.ROOT; // Go through all mixins and hashes passed in, and:\n    //\n    // * Handle concatenated properties\n    // * Handle merged properties\n    // * Set up _super wrapping if necessary\n    // * Set up computed property descriptors\n    // * Copying `toString` in broken browsers\n\n    mergeMixins(mixins, meta$$1, descs, values, obj, keys);\n\n    for (var i = 0; i < keys.length; i++) {\n      key = keys[i];\n\n      if (key === 'constructor' || !values.hasOwnProperty(key)) {\n        continue;\n      }\n\n      desc = descs[key];\n      value$$1 = values[key];\n\n      if (_deprecatedFeatures.ALIAS_METHOD) {\n        while (value$$1 && value$$1 instanceof AliasImpl) {\n          var followed = followMethodAlias(obj, value$$1, descs, values);\n          desc = followed.desc;\n          value$$1 = followed.value;\n        }\n      }\n\n      if (desc === undefined && value$$1 === undefined) {\n        continue;\n      }\n\n      if (descriptorForProperty(obj, key) !== undefined) {\n        replaceObserversAndListeners(obj, key, null, value$$1);\n      } else {\n        replaceObserversAndListeners(obj, key, obj[key], value$$1);\n      }\n\n      defineProperty(obj, key, desc, value$$1, meta$$1);\n    }\n\n    return obj;\n  }\n  /**\n    @method mixin\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n\n\n  function mixin(obj, ...args) {\n    applyMixin(obj, args);\n    return obj;\n  }\n  /**\n    The `Mixin` class allows you to create mixins, whose properties can be\n    added to other classes. For instance,\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n  \n    const EditableMixin = Mixin.create({\n      edit() {\n        console.log('starting to edit');\n        this.set('isEditing', true);\n      },\n      isEditing: false\n    });\n    ```\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import EditableMixin from '../mixins/editable';\n  \n    // Mix mixins into classes by passing them as the first arguments to\n    // `.extend.`\n    const Comment = EmberObject.extend(EditableMixin, {\n      post: null\n    });\n  \n    let comment = Comment.create({\n      post: somePost\n    });\n  \n    comment.edit(); // outputs 'starting to edit'\n    ```\n  \n    Note that Mixins are created with `Mixin.create`, not\n    `Mixin.extend`.\n  \n    Note that mixins extend a constructor's prototype so arrays and object literals\n    defined as properties will be shared amongst objects that implement the mixin.\n    If you want to define a property in a mixin that is not shared, you can define\n    it either as a computed property or have it be created on initialization of the object.\n  \n    ```javascript\n    // filters array will be shared amongst any object implementing mixin\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    const FilterableMixin = Mixin.create({\n      filters: A()\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n    import { computed } from '@ember/object';\n  \n    // filters will be a separate array for every object implementing the mixin\n    const FilterableMixin = Mixin.create({\n      filters: computed(function() {\n        return A();\n      })\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    // filters will be created as a separate array during the object's initialization\n    const Filterable = Mixin.create({\n      filters: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set(\"filters\", A());\n      }\n    });\n    ```\n  \n    @class Mixin\n    @public\n  */\n\n\n  class Mixin {\n    constructor(mixins, properties) {\n      this.properties = extractAccessors(properties);\n      this.mixins = buildMixinsArray(mixins);\n      this.ownerConstructor = undefined;\n      this._without = undefined;\n\n      if (true\n      /* DEBUG */\n      ) {\n        /*\n          In debug builds, we seal mixins to help avoid performance pitfalls.\n                 In IE11 there is a quirk that prevents sealed objects from being added\n          to a WeakMap. Unfortunately, the mixin system currently relies on\n          weak maps in `guidFor`, so we need to prime the guid cache weak map.\n        */\n        (0, _utils.guidFor)(this);\n        Object.seal(this);\n      }\n    }\n    /**\n      @method create\n      @for @ember/object/mixin\n      @static\n      @param arguments*\n      @public\n    */\n\n\n    static create(...args) {\n      // ES6TODO: this relies on a global state?\n      setUnprocessedMixins();\n      var M = this;\n      return new M(args, undefined);\n    } // returns the mixins currently applied to the specified object\n    // TODO: Make `mixin`\n\n\n    static mixins(obj) {\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n      var ret = [];\n\n      if (meta$$1 === null) {\n        return ret;\n      }\n\n      meta$$1.forEachMixins(currentMixin => {\n        // skip primitive mixins since these are always anonymous\n        if (!currentMixin.properties) {\n          ret.push(currentMixin);\n        }\n      });\n      return ret;\n    }\n    /**\n      @method reopen\n      @param arguments*\n      @private\n    */\n\n\n    reopen(...args) {\n      if (args.length === 0) {\n        return;\n      }\n\n      if (this.properties) {\n        var currentMixin = new Mixin(undefined, this.properties);\n        this.properties = undefined;\n        this.mixins = [currentMixin];\n      } else if (!this.mixins) {\n        this.mixins = [];\n      }\n\n      this.mixins = this.mixins.concat(buildMixinsArray(args));\n      return this;\n    }\n    /**\n      @method apply\n      @param obj\n      @return applied object\n      @private\n    */\n\n\n    apply(obj) {\n      return applyMixin(obj, [this]);\n    }\n\n    applyPartial(obj) {\n      return applyMixin(obj, [this]);\n    }\n    /**\n      @method detect\n      @param obj\n      @return {Boolean}\n      @private\n    */\n\n\n    detect(obj) {\n      if (typeof obj !== 'object' || obj === null) {\n        return false;\n      }\n\n      if (obj instanceof Mixin) {\n        return _detect(obj, this);\n      }\n\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n      if (meta$$1 === null) {\n        return false;\n      }\n\n      return meta$$1.hasMixin(this);\n    }\n\n    without(...args) {\n      var ret = new Mixin([this]);\n      ret._without = args;\n      return ret;\n    }\n\n    keys() {\n      return _keys(this);\n    }\n\n    toString() {\n      return '(unknown mixin)';\n    }\n\n  }\n\n  _exports.Mixin = Mixin;\n\n  function buildMixinsArray(mixins) {\n    var length = mixins && mixins.length || 0;\n    var m = undefined;\n\n    if (length > 0) {\n      m = new Array(length);\n\n      for (var i = 0; i < length; i++) {\n        var x = mixins[i];\n        (true && !(typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]') && (0, _debug.assert)(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(x)}`, typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]'));\n\n        if (x instanceof Mixin) {\n          m[i] = x;\n        } else {\n          m[i] = new Mixin(undefined, x);\n        }\n      }\n    }\n\n    return m;\n  }\n\n  Mixin.prototype.toString = classToString;\n\n  if (true\n  /* DEBUG */\n  ) {\n    Object.seal(Mixin.prototype);\n  }\n\n  function _detect(curMixin, targetMixin, seen = new Set()) {\n    if (seen.has(curMixin)) {\n      return false;\n    }\n\n    seen.add(curMixin);\n\n    if (curMixin === targetMixin) {\n      return true;\n    }\n\n    var mixins = curMixin.mixins;\n\n    if (mixins) {\n      return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n    }\n\n    return false;\n  }\n\n  function _keys(mixin, ret = new Set(), seen = new Set()) {\n    if (seen.has(mixin)) {\n      return;\n    }\n\n    seen.add(mixin);\n\n    if (mixin.properties) {\n      var props = Object.keys(mixin.properties);\n\n      for (var i = 0; i < props.length; i++) {\n        ret.add(props[i]);\n      }\n    } else if (mixin.mixins) {\n      mixin.mixins.forEach(x => _keys(x, ret, seen));\n    }\n\n    return ret;\n  }\n\n  var AliasImpl;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    AliasImpl = class AliasImpl {\n      constructor(methodName) {\n        this.methodName = methodName;\n      }\n\n    };\n  }\n  /**\n    Makes a method available via an additional name.\n  \n    ```app/utils/person.js\n    import EmberObject, {\n      aliasMethod\n    } from '@ember/object';\n  \n    export default EmberObject.extend({\n      name() {\n        return 'Tomhuda Katzdale';\n      },\n      moniker: aliasMethod('name')\n    });\n    ```\n  \n    ```javascript\n    let goodGuy = Person.create();\n  \n    goodGuy.name();    // 'Tomhuda Katzdale'\n    goodGuy.moniker(); // 'Tomhuda Katzdale'\n    ```\n  \n    @method aliasMethod\n    @static\n    @deprecated Use a shared utility method instead\n    @for @ember/object\n    @param {String} methodName name of the method to alias\n    @public\n  */\n\n\n  var aliasMethod;\n  _exports.aliasMethod = aliasMethod;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    _exports.aliasMethod = aliasMethod = function aliasMethod(methodName) {\n      (true && !(false) && (0, _debug.deprecate)(`You attempted to alias '${methodName}, but aliasMethod has been deprecated. Consider extracting the method into a shared utility function.`, false, {\n        id: 'object.alias-method',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_object-alias-method'\n      }));\n      return new AliasImpl(methodName);\n    };\n  }\n\n  function observer(...args) {\n    var funcOrDef = args.pop();\n    (true && !(typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null) && (0, _debug.assert)('observer must be provided a function or an observer definition', typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null));\n    var func, dependentKeys, sync;\n\n    if (typeof funcOrDef === 'function') {\n      func = funcOrDef;\n      dependentKeys = args;\n      sync = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n    } else {\n      func = funcOrDef.fn;\n      dependentKeys = funcOrDef.dependentKeys;\n      sync = funcOrDef.sync;\n    }\n\n    (true && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function'));\n    (true && !(Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))) && (0, _debug.assert)('observer called without valid path', Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))));\n    (true && !(typeof sync === 'boolean') && (0, _debug.assert)('observer called without sync', typeof sync === 'boolean'));\n    var paths = [];\n\n    var addWatchedProperty = path => paths.push(path);\n\n    for (var i = 0; i < dependentKeys.length; ++i) {\n      expandProperties(dependentKeys[i], addWatchedProperty);\n    }\n\n    (0, _utils.setObservers)(func, {\n      paths,\n      sync\n    });\n    return func;\n  }\n\n  var DEBUG_INJECTION_FUNCTIONS;\n  _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n  }\n\n  function inject(type, ...args) {\n    (true && !(typeof type === 'string') && (0, _debug.assert)('a string type must be provided to inject', typeof type === 'string'));\n    var calledAsDecorator = isElementDescriptor(args);\n    var source, namespace;\n    var name = calledAsDecorator ? undefined : args[0];\n    var options = calledAsDecorator ? undefined : args[1];\n\n    var getInjection = function (propertyName) {\n      var owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n\n      (true && !(Boolean(owner)) && (0, _debug.assert)(`Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.`, Boolean(owner)));\n      return owner.lookup(`${type}:${name || propertyName}`, {\n        source,\n        namespace\n      });\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n      DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n        namespace,\n        source,\n        type,\n        name\n      });\n    }\n\n    var decorator = computed({\n      get: getInjection,\n\n      set(keyName, value$$1) {\n        defineProperty(this, keyName, null, value$$1);\n      }\n\n    });\n\n    if (calledAsDecorator) {\n      return decorator(args[0], args[1], args[2]);\n    } else {\n      return decorator;\n    }\n  }\n});","define(\"@ember/-internals/owner/index\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  _exports.OWNER = void 0;\n\n  /**\n  @module @ember/application\n  */\n  var OWNER = (0, _utils.symbol)('OWNER');\n  /**\n    Framework objects in an Ember application (components, services, routes, etc.)\n    are created via a factory and dependency injection system. Each of these\n    objects is the responsibility of an \"owner\", which handled its\n    instantiation and manages its lifetime.\n  \n    `getOwner` fetches the owner object responsible for an instance. This can\n    be used to lookup or resolve other class instances, or register new factories\n    into the owner.\n  \n    For example, this component dynamically looks up a service based on the\n    `audioType` passed as an argument:\n  \n    ```app/components/play-audio.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n    import { getOwner } from '@ember/application';\n  \n    // Usage:\n    //\n    //   <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n    //\n    export default class extends Component {\n      get audioService() {\n        let owner = getOwner(this);\n        return owner.lookup(`service:${this.args.audioType}`);\n      }\n  \n      @action\n      onPlay() {\n        let player = this.audioService;\n        player.play(this.args.audioFile);\n      }\n    }\n    ```\n  \n    @method getOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object with an owner.\n    @return {Object} An owner object.\n    @since 2.3.0\n    @public\n  */\n\n  _exports.OWNER = OWNER;\n\n  function getOwner(object) {\n    return object[OWNER];\n  }\n  /**\n    `setOwner` forces a new owner on a given object instance. This is primarily\n    useful in some testing cases.\n  \n    @method setOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object instance.\n    @param {Object} object The new owner object of the object instance.\n    @since 2.3.0\n    @public\n  */\n\n\n  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n});","define(\"@ember/-internals/routing/index\", [\"exports\", \"@ember/-internals/routing/lib/ext/controller\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/location/none_location\", \"@ember/-internals/routing/lib/location/hash_location\", \"@ember/-internals/routing/lib/location/history_location\", \"@ember/-internals/routing/lib/location/auto_location\", \"@ember/-internals/routing/lib/system/generate_controller\", \"@ember/-internals/routing/lib/system/controller_for\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/router\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/query_params\", \"@ember/-internals/routing/lib/services/routing\", \"@ember/-internals/routing/lib/services/router\", \"@ember/-internals/routing/lib/system/cache\"], function (_exports, _controller, _api, _none_location, _hash_location, _history_location, _auto_location, _generate_controller, _controller_for, _dsl, _router, _route, _query_params, _routing, _router2, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Location\", {\n    enumerable: true,\n    get: function () {\n      return _api.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NoneLocation\", {\n    enumerable: true,\n    get: function () {\n      return _none_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HashLocation\", {\n    enumerable: true,\n    get: function () {\n      return _hash_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HistoryLocation\", {\n    enumerable: true,\n    get: function () {\n      return _history_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"AutoLocation\", {\n    enumerable: true,\n    get: function () {\n      return _auto_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateController\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateControllerFactory\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.generateControllerFactory;\n    }\n  });\n  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _controller_for.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterDSL\", {\n    enumerable: true,\n    get: function () {\n      return _dsl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Router\", {\n    enumerable: true,\n    get: function () {\n      return _router.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Route\", {\n    enumerable: true,\n    get: function () {\n      return _route.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QueryParams\", {\n    enumerable: true,\n    get: function () {\n      return _query_params.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RoutingService\", {\n    enumerable: true,\n    get: function () {\n      return _routing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterService\", {\n    enumerable: true,\n    get: function () {\n      return _router2.default;\n    }\n  });\n  Object.defineProperty(_exports, \"BucketCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n});","define(\"@ember/-internals/routing/lib/ext/controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _metal, _controller_mixin, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  _controller_mixin.default.reopen({\n    concatenatedProperties: ['queryParams'],\n\n    /**\n      Defines which query parameters the controller accepts.\n      If you give the names `['category','page']` it will bind\n      the values of these query parameters to the variables\n      `this.category` and `this.page`.\n      By default, Ember coerces query parameter values using `toggleProperty`.\n      This behavior may lead to unexpected results.\n      Available queryParam types: `boolean`, `number`, `array`.\n      If query param type not specified, it will be `string`.\n      To explicitly configure a query parameter property so it coerces as expected, you must define a type property:\n         ```javascript\n        queryParams: [{\n          category: {\n            type: 'boolean'\n          }\n        }]\n      ```\n         @for Ember.ControllerMixin\n      @property queryParams\n      @public\n    */\n    queryParams: null,\n\n    /**\n     This property is updated to various different callback functions depending on\n     the current \"state\" of the backing route. It is used by\n     `Controller.prototype._qpChanged`.\n        The methods backing each state can be found in the `Route.prototype._qp` computed\n     property return value (the `.states` property). The current values are listed here for\n     the sanity of future travelers:\n        * `inactive` - This state is used when this controller instance is not part of the active\n       route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n       `Route.prototype.actions.finalizeQueryParamChange`.\n     * `active` - This state is used when this controller instance is part of the active\n       route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n     * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n         @method _qpDelegate\n      @private\n    */\n    _qpDelegate: null,\n\n    /**\n     During `Route#setup` observers are created to invoke this method\n     when any of the query params declared in `Controller#queryParams` property\n     are changed.\n        When invoked this method uses the currently active query param update delegate\n     (see `Controller.prototype._qpDelegate` for details) and invokes it with\n     the QP key/value being changed.\n         @method _qpChanged\n      @private\n    */\n    _qpChanged(controller, _prop) {\n      var dotIndex = _prop.indexOf('.[]');\n\n      var prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n      var delegate = controller._qpDelegate;\n      var value = (0, _metal.get)(controller, prop);\n      delegate(prop, value);\n    },\n\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      aController.transitionToRoute('blogPosts');\n      aController.transitionToRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.transitionToRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.transitionToRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```javascript\n      aController.transitionToRoute('blogComment', aPost, aComment);\n      aController.transitionToRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.transitionToRoute('/');\n      aController.transitionToRoute('/blog/post/1/comment/13');\n      aController.transitionToRoute('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      aController.transitionToRoute('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      aController.transitionToRoute({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceRoute](/ember/release/classes/Ember.ControllerMixin/methods/replaceRoute?anchor=replaceRoute).\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n        while transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @for Ember.ControllerMixin\n      @method transitionToRoute\n      @public\n    */\n    transitionToRoute(...args) {\n      // target may be either another controller or a router\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.transitionToRoute || target.transitionTo;\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    },\n\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionToRoute` in all other respects.\n         ```javascript\n      aController.replaceRoute('blogPosts');\n      aController.replaceRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.replaceRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.replaceRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```\n      aController.replaceRoute('blogComment', aPost, aComment);\n      aController.replaceRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.replaceRoute('/');\n      aController.replaceRoute('/blog/post/1/comment/13');\n      ```\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n      while transitioning to the route.\n      @for Ember.ControllerMixin\n      @method replaceRoute\n      @public\n    */\n    replaceRoute(...args) {\n      // target may be either another controller or a router\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.replaceRoute || target.replaceWith;\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    }\n\n  });\n\n  var _default = _controller_mixin.default;\n  _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/location/api\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    Location returns an instance of the correct implementation of\n    the `location` API.\n  \n    ## Implementations\n  \n    You can pass an implementation name (`hash`, `history`, `none`, `auto`) to force a\n    particular implementation to be used in your application.\n  \n    See [HashLocation](/ember/release/classes/HashLocation).\n    See [HistoryLocation](/ember/release/classes/HistoryLocation).\n    See [NoneLocation](/ember/release/classes/NoneLocation).\n    See [AutoLocation](/ember/release/classes/AutoLocation).\n  \n    ## Location API\n  \n    Each location implementation must provide the following methods:\n  \n    * implementation: returns the string name used to reference the implementation.\n    * getURL: returns the current URL.\n    * setURL(path): sets the current URL.\n    * replaceURL(path): replace the current URL (optional).\n    * onUpdateURL(callback): triggers the callback when the URL changes.\n    * formatURL(url): formats `url` to be placed into `href` attribute.\n    * detect() (optional): instructs the location to do any feature detection\n        necessary. If the location needs to redirect to a different URL, it\n        can cancel routing by setting the `cancelRouterSetup` property on itself\n        to `false`.\n  \n    Calling setURL or replaceURL will not trigger onUpdateURL callbacks.\n  \n    ## Custom implementation\n  \n    Ember scans `app/locations/*` for extending the Location API.\n  \n    Example:\n  \n    ```javascript\n    import HistoryLocation from '@ember/routing/history-location';\n  \n    export default class MyHistory {\n      implementation: 'my-custom-history',\n      constructor() {\n        this._history = HistoryLocation.create(...arguments);\n      }\n      create() {\n        return new this(...arguments);\n      }\n      pushState(path) {\n         this._history.pushState(path);\n      }\n    }\n    ```\n  \n    @class Location\n    @private\n  */\n  var _default = {\n    /**\n     This is deprecated in favor of using the container to lookup the location\n     implementation as desired.\n        For example:\n        ```javascript\n     // Given a location registered as follows:\n     container.register('location:history-test', HistoryTestLocation);\n        // You could create a new instance via:\n     container.lookup('location:history-test');\n     ```\n         @method create\n      @param {Object} options\n      @return {Object} an instance of an implementation of the `location` API\n      @deprecated Use the container to lookup the location implementation that you\n      need.\n      @private\n    */\n    create(options) {\n      var implementation = options && options.implementation;\n      (true && !(Boolean(implementation)) && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", Boolean(implementation)));\n      var implementationClass = this.implementations[implementation];\n      (true && !(Boolean(implementationClass)) && (0, _debug.assert)(`Location.create: ${implementation} is not a valid implementation`, Boolean(implementationClass)));\n      return implementationClass.create(...arguments);\n    },\n\n    implementations: {}\n  };\n  _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/location/auto_location\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _browserEnvironment, _metal, _owner, _runtime, _utils, _debug, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getHistoryPath = getHistoryPath;\n  _exports.getHashPath = getHashPath;\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    AutoLocation will select the best location option based off browser\n    support with the priority order: history, hash, none.\n  \n    Clean pushState paths accessed by hashchange-only browsers will be redirected\n    to the hash-equivalent and vice versa so future transitions are consistent.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    Browsers that support the `history` API will use `HistoryLocation`, those that\n    do not, but still support the `hashchange` event will use `HashLocation`, and\n    in the rare case neither is supported will use `NoneLocation`.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'auto'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new` for modern browsers that\n    support the `history` api or `/#/posts/new` for older ones, like Internet\n    Explorer 9 and below.\n  \n    When a user visits a link to your application, they will be automatically\n    upgraded or downgraded to the appropriate `Location` class, with the URL\n    transformed accordingly, if needed.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    @class AutoLocation\n    @static\n    @protected\n  */\n  class AutoLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'auto';\n    }\n    /**\n     Called by the router to instruct the location to do any feature detection\n     necessary. In the case of AutoLocation, we detect whether to use history\n     or hash concrete implementations.\n        @private\n    */\n\n\n    detect() {\n      var rootURL = this.rootURL;\n      (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/'));\n      var implementation = detectImplementation({\n        location: this.location,\n        history: this.history,\n        userAgent: this.userAgent,\n        rootURL,\n        documentMode: this.documentMode,\n        global: this.global\n      });\n\n      if (implementation === false) {\n        (0, _metal.set)(this, 'cancelRouterSetup', true);\n        implementation = 'none';\n      }\n\n      var concrete = (0, _owner.getOwner)(this).lookup(`location:${implementation}`);\n      (true && !(concrete !== undefined) && (0, _debug.assert)(`Could not find location '${implementation}'.`, concrete !== undefined));\n      (0, _metal.set)(concrete, 'rootURL', rootURL);\n      (0, _metal.set)(this, 'concreteImplementation', concrete);\n    }\n\n    willDestroy() {\n      var {\n        concreteImplementation\n      } = this;\n\n      if (concreteImplementation) {\n        concreteImplementation.destroy();\n      }\n    }\n\n  }\n\n  _exports.default = AutoLocation;\n  AutoLocation.reopen({\n    /**\n      @private\n         Will be pre-pended to path upon state change.\n         @since 1.5.1\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/',\n    initState: delegateToConcreteImplementation('initState'),\n    getURL: delegateToConcreteImplementation('getURL'),\n    setURL: delegateToConcreteImplementation('setURL'),\n    replaceURL: delegateToConcreteImplementation('replaceURL'),\n    onUpdateURL: delegateToConcreteImplementation('onUpdateURL'),\n    formatURL: delegateToConcreteImplementation('formatURL'),\n\n    /**\n      @private\n         The browser's `location` object. This is typically equivalent to\n      `window.location`, but may be overridden for testing.\n         @property location\n      @default environment.location\n    */\n    location: _browserEnvironment.location,\n\n    /**\n      @private\n         The browser's `history` object. This is typically equivalent to\n      `window.history`, but may be overridden for testing.\n         @since 1.5.1\n      @property history\n      @default environment.history\n    */\n    history: _browserEnvironment.history,\n\n    /**\n     @private\n        The user agent's global variable. In browsers, this will be `window`.\n        @since 1.11\n     @property global\n     @default window\n    */\n    global: _browserEnvironment.window,\n\n    /**\n      @private\n         The browser's `userAgent`. This is typically equivalent to\n      `navigator.userAgent`, but may be overridden for testing.\n         @since 1.5.1\n      @property userAgent\n      @default environment.history\n    */\n    userAgent: _browserEnvironment.userAgent,\n\n    /**\n      @private\n         This property is used by the router to know whether to cancel the routing\n      setup process, which is needed while we redirect the browser.\n         @since 1.5.1\n      @property cancelRouterSetup\n      @default false\n    */\n    cancelRouterSetup: false\n  });\n\n  function delegateToConcreteImplementation(methodName) {\n    return function (...args) {\n      var {\n        concreteImplementation\n      } = this;\n      (true && !(Boolean(concreteImplementation)) && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", Boolean(concreteImplementation)));\n      return (0, _utils.tryInvoke)(concreteImplementation, methodName, args);\n    };\n  }\n\n  function detectImplementation(options) {\n    var {\n      location,\n      userAgent,\n      history,\n      documentMode,\n      global,\n      rootURL\n    } = options;\n    var implementation = 'none';\n    var cancelRouterSetup = false;\n    var currentPath = (0, _util.getFullPath)(location);\n\n    if ((0, _util.supportsHistory)(userAgent, history)) {\n      var historyPath = getHistoryPath(rootURL, location); // If the browser supports history and we have a history path, we can use\n      // the history location with no redirects.\n\n      if (currentPath === historyPath) {\n        implementation = 'history';\n      } else if (currentPath.substr(0, 2) === '/#') {\n        history.replaceState({\n          path: historyPath\n        }, '', historyPath);\n        implementation = 'history';\n      } else {\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, historyPath);\n      }\n    } else if ((0, _util.supportsHashChange)(documentMode, global)) {\n      var hashPath = getHashPath(rootURL, location); // Be sure we're using a hashed path, otherwise let's switch over it to so\n      // we start off clean and consistent. We'll count an index path with no\n      // hash as \"good enough\" as well.\n\n      if (currentPath === hashPath || currentPath === '/' && hashPath === '/#/') {\n        implementation = 'hash';\n      } else {\n        // Our URL isn't in the expected hash-supported format, so we want to\n        // cancel the router setup and replace the URL to start off clean\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, hashPath);\n      }\n    }\n\n    if (cancelRouterSetup) {\n      return false;\n    }\n\n    return implementation;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HistoryLocation supported\n    browsers. This may very well differ from the real current path (e.g. if it\n    starts off as a hashed URL)\n  */\n\n\n  function getHistoryPath(rootURL, location) {\n    var path = (0, _util.getPath)(location);\n    var hash = (0, _util.getHash)(location);\n    var query = (0, _util.getQuery)(location);\n    var rootURLIndex = path.indexOf(rootURL);\n    var routeHash, hashParts;\n    (true && !(rootURLIndex === 0) && (0, _debug.assert)(`Path ${path} does not start with the provided rootURL ${rootURL}`, rootURLIndex === 0)); // By convention, Ember.js routes using HashLocation are required to start\n    // with `#/`. Anything else should NOT be considered a route and should\n    // be passed straight through, without transformation.\n\n    if (hash.substr(0, 2) === '#/') {\n      // There could be extra hash segments after the route\n      hashParts = hash.substr(1).split('#'); // The first one is always the route url\n\n      routeHash = hashParts.shift(); // If the path already has a trailing slash, remove the one\n      // from the hashed route so we don't double up.\n\n      if (path.charAt(path.length - 1) === '/') {\n        routeHash = routeHash.substr(1);\n      } // This is the \"expected\" final order\n\n\n      path += routeHash + query;\n\n      if (hashParts.length) {\n        path += `#${hashParts.join('#')}`;\n      }\n    } else {\n      path += query + hash;\n    }\n\n    return path;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HashLocation supported\n    browsers. This may very well differ from the real current path.\n  \n    @method _getHashPath\n  */\n\n\n  function getHashPath(rootURL, location) {\n    var path = rootURL;\n    var historyPath = getHistoryPath(rootURL, location);\n    var routePath = historyPath.substr(rootURL.length);\n\n    if (routePath !== '') {\n      if (routePath[0] !== '/') {\n        routePath = `/${routePath}`;\n      }\n\n      path += `#${routePath}`;\n    }\n\n    return path;\n  }\n});","define(\"@ember/-internals/routing/lib/location/hash_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _runloop, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    `HashLocation` implements the location API using the browser's\n    hash. At present, it relies on a `hashchange` event existing in the\n    browser.\n  \n    Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n    server side URL portion of the URL from the portion that is used by Ember.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'hash'\n    });\n    ```\n  \n    This will result in a posts.new url of `/#/posts/new`.\n  \n    @class HashLocation\n    @extends EmberObject\n    @protected\n  */\n  class HashLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'hash';\n    }\n\n    init() {\n      (0, _metal.set)(this, 'location', this._location || window.location);\n      this._hashchangeHandler = undefined;\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @since 1.5.1\n      @method getHash\n    */\n\n\n    getHash() {\n      return (0, _util.getHash)(this.location);\n    }\n    /**\n      Returns the normalized URL, constructed from `location.hash`.\n         e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n         By convention, hashed paths must begin with a forward slash, otherwise they\n      are not treated as a path so we can distinguish intent.\n         @private\n      @method getURL\n    */\n\n\n    getURL() {\n      var originalPath = this.getHash().substr(1);\n      var outPath = originalPath;\n\n      if (outPath[0] !== '/') {\n        outPath = '/'; // Only add the # if the path isn't empty.\n        // We do NOT want `/#` since the ampersand\n        // is only included (conventionally) when\n        // the location.hash has a value\n\n        if (originalPath) {\n          outPath += `#${originalPath}`;\n        }\n      }\n\n      return outPath;\n    }\n    /**\n      Set the `location.hash` and remembers what was set. This prevents\n      `onUpdateURL` callbacks from triggering when the hash was set by\n      `HashLocation`.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n\n    setURL(path) {\n      this.location.hash = path;\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Uses location.replace to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n\n\n    replaceURL(path) {\n      this.location.replace(`#${path}`);\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Register a callback to be invoked when the hash changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n\n    onUpdateURL(callback) {\n      this._removeEventListener();\n\n      this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n        var path = this.getURL();\n\n        if (this.lastSetURL === path) {\n          return;\n        }\n\n        (0, _metal.set)(this, 'lastSetURL', null);\n        callback(path);\n      });\n      window.addEventListener('hashchange', this._hashchangeHandler);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n    */\n\n\n    formatURL(url) {\n      return `#${url}`;\n    }\n    /**\n      Cleans up the HashLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n\n    _removeEventListener() {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    }\n\n  }\n\n  _exports.default = HashLocation;\n});","define(\"@ember/-internals/routing/lib/location/history_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n  var popstateFired = false;\n\n  function _uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      var r, v;\n      r = Math.random() * 16 | 0;\n      v = c === 'x' ? r : r & 3 | 8;\n      return v.toString(16);\n    });\n  }\n  /**\n    HistoryLocation implements the location API using the browser's\n    history.pushState API.\n  \n    Using `HistoryLocation` results in URLs that are indistinguishable from a\n    standard URL. This relies upon the browser's `history` API.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'history'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new`.\n  \n    Keep in mind that your server must serve the Ember app at all the routes you\n    define.\n  \n    @class HistoryLocation\n    @extends EmberObject\n    @protected\n  */\n\n\n  class HistoryLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'history';\n      /**\n        Will be pre-pended to path upon state change\n               @property rootURL\n        @default '/'\n        @private\n      */\n\n      this.rootURL = '/';\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @method getHash\n    */\n\n\n    getHash() {\n      return (0, _util.getHash)(this.location);\n    }\n\n    init() {\n      this._super(...arguments);\n\n      var base = document.querySelector('base');\n      var baseURL = '';\n\n      if (base !== null && base.hasAttribute('href')) {\n        baseURL = base.getAttribute('href');\n      }\n\n      (0, _metal.set)(this, 'baseURL', baseURL);\n      (0, _metal.set)(this, 'location', this.location || window.location);\n      this._popstateHandler = undefined;\n    }\n    /**\n      Used to set state on first call to setURL\n         @private\n      @method initState\n    */\n\n\n    initState() {\n      var history = this.history || window.history;\n      (0, _metal.set)(this, 'history', history);\n      var {\n        state\n      } = history;\n      var path = this.formatURL(this.getURL());\n\n      if (state && state.path === path) {\n        // preserve existing state\n        // used for webkit workaround, since there will be no initial popstate event\n        this._previousURL = this.getURL();\n      } else {\n        this.replaceState(path);\n      }\n    }\n    /**\n      Returns the current `location.pathname` without `rootURL` or `baseURL`\n         @private\n      @method getURL\n      @return url {String}\n    */\n\n\n    getURL() {\n      var {\n        location,\n        rootURL,\n        baseURL\n      } = this;\n      var path = location.pathname; // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, '');\n      baseURL = baseURL.replace(/\\/$/, ''); // remove baseURL and rootURL from start of path\n\n      var url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\//g, '/'); // remove extra slashes\n\n      var search = location.search || '';\n      url += search + this.getHash();\n      return url;\n    }\n    /**\n      Uses `history.pushState` to update the url without a page reload.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n\n    setURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n\n      if (!state || state.path !== path) {\n        this.pushState(path);\n      }\n    }\n    /**\n      Uses `history.replaceState` to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n\n\n    replaceURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n\n      if (!state || state.path !== path) {\n        this.replaceState(path);\n      }\n    }\n    /**\n     Pushes a new state.\n        @private\n     @method pushState\n     @param path {String}\n    */\n\n\n    pushState(path) {\n      var state = {\n        path,\n        uuid: _uuid()\n      };\n      this.history.pushState(state, null, path); // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n     Replaces the current state.\n        @private\n     @method replaceState\n     @param path {String}\n    */\n\n\n    replaceState(path) {\n      var state = {\n        path,\n        uuid: _uuid()\n      };\n      this.history.replaceState(state, null, path); // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n      Register a callback to be invoked whenever the browser\n      history changes, including using forward and back buttons.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n\n    onUpdateURL(callback) {\n      this._removeEventListener();\n\n      this._popstateHandler = () => {\n        // Ignore initial page load popstate event in Chrome\n        if (!popstateFired) {\n          popstateFired = true;\n\n          if (this.getURL() === this._previousURL) {\n            return;\n          }\n        }\n\n        callback(this.getURL());\n      };\n\n      window.addEventListener('popstate', this._popstateHandler);\n    }\n    /**\n      Used when using `{{action}}` helper.  The url is always appended to the rootURL.\n         @private\n      @method formatURL\n      @param url {String}\n      @return formatted url {String}\n    */\n\n\n    formatURL(url) {\n      var {\n        rootURL,\n        baseURL\n      } = this;\n\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n        baseURL = baseURL.replace(/\\/$/, '');\n      } else if (baseURL[0] === '/' && rootURL[0] === '/') {\n        // if baseURL and rootURL both start with a slash\n        // ... remove trailing slash from baseURL if it exists\n        baseURL = baseURL.replace(/\\/$/, '');\n      }\n\n      return baseURL + rootURL + url;\n    }\n    /**\n      Cleans up the HistoryLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n\n    _removeEventListener() {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    }\n\n  }\n\n  _exports.default = HistoryLocation;\n});","define(\"@ember/-internals/routing/lib/location/none_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _metal, _runtime, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    NoneLocation does not interact with the browser. It is useful for\n    testing, or when you need to manage state with your Router, but temporarily\n    don't want it to muck with the URL (for example when you embed your\n    application in a larger page).\n  \n    Using `NoneLocation` causes Ember to not store the applications URL state\n    in the actual URL. This is generally used for testing purposes, and is one\n    of the changes made when calling `App.setupForTesting()`.\n  \n    @class NoneLocation\n    @extends EmberObject\n    @protected\n  */\n  class NoneLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'none';\n    }\n\n    detect() {\n      var {\n        rootURL\n      } = this;\n      (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/'));\n    }\n    /**\n      Returns the current path without `rootURL`.\n         @private\n      @method getURL\n      @return {String} path\n    */\n\n\n    getURL() {\n      var {\n        path,\n        rootURL\n      } = this; // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, ''); // remove rootURL from url\n\n      return path.replace(new RegExp(`^${rootURL}(?=/|$)`), '');\n    }\n    /**\n      Set the path and remembers what was set. Using this method\n      to change the path will not invoke the `updateURL` callback.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n\n    setURL(path) {\n      (0, _metal.set)(this, 'path', path);\n    }\n    /**\n      Register a callback to be invoked when the path changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n\n    onUpdateURL(callback) {\n      this.updateCallback = callback;\n    }\n    /**\n      Sets the path and calls the `updateURL` callback.\n         @private\n      @method handleURL\n      @param url {String}\n    */\n\n\n    handleURL(url) {\n      (0, _metal.set)(this, 'path', url);\n      this.updateCallback(url);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n      @return {String} url\n    */\n\n\n    formatURL(url) {\n      var {\n        rootURL\n      } = this;\n\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n      }\n\n      return rootURL + url;\n    }\n\n  }\n\n  _exports.default = NoneLocation;\n  NoneLocation.reopen({\n    path: '',\n\n    /**\n      Will be pre-pended to path.\n         @private\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/'\n  });\n});","define(\"@ember/-internals/routing/lib/location/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getPath = getPath;\n  _exports.getQuery = getQuery;\n  _exports.getHash = getHash;\n  _exports.getFullPath = getFullPath;\n  _exports.getOrigin = getOrigin;\n  _exports.supportsHashChange = supportsHashChange;\n  _exports.supportsHistory = supportsHistory;\n  _exports.replacePath = replacePath;\n\n  /**\n    @private\n  \n    Returns the current `location.pathname`, normalized for IE inconsistencies.\n  */\n  function getPath(location) {\n    var pathname = location.pathname; // Various versions of IE/Opera don't always return a leading slash\n\n    if (pathname[0] !== '/') {\n      pathname = `/${pathname}`;\n    }\n\n    return pathname;\n  }\n  /**\n    @private\n  \n    Returns the current `location.search`.\n  */\n\n\n  function getQuery(location) {\n    return location.search;\n  }\n  /**\n    @private\n  \n    Returns the hash or empty string\n  */\n\n\n  function getHash(location) {\n    if (location.hash !== undefined) {\n      return location.hash.substr(0);\n    }\n\n    return '';\n  }\n\n  function getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\n  }\n\n  function getOrigin(location) {\n    var origin = location.origin; // Older browsers, especially IE, don't have origin\n\n    if (!origin) {\n      origin = `${location.protocol}//${location.hostname}`;\n\n      if (location.port) {\n        origin += `:${location.port}`;\n      }\n    }\n\n    return origin;\n  }\n  /*\n    `documentMode` only exist in Internet Explorer, and it's tested because IE8 running in\n    IE7 compatibility mode claims to support `onhashchange` but actually does not.\n  \n    `global` is an object that may have an `onhashchange` property.\n  \n    @private\n    @function supportsHashChange\n  */\n\n\n  function supportsHashChange(documentMode, global) {\n    return global && 'onhashchange' in global && (documentMode === undefined || documentMode > 7);\n  }\n  /*\n    `userAgent` is a user agent string. We use user agent testing here, because\n    the stock Android browser is known to have buggy versions of the History API,\n    in some Android versions.\n  \n    @private\n    @function supportsHistory\n  */\n\n\n  function supportsHistory(userAgent, history) {\n    // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n    // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\n    // Unfortunately support is really buggy and there is no clean way to detect\n    // these bugs, so we fall back to a user agent sniff :(\n    // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\n    // itself as 'Mobile Safari' as well, nor Windows Phone.\n    if ((userAgent.indexOf('Android 2.') !== -1 || userAgent.indexOf('Android 4.0') !== -1) && userAgent.indexOf('Mobile Safari') !== -1 && userAgent.indexOf('Chrome') === -1 && userAgent.indexOf('Windows Phone') === -1) {\n      return false;\n    }\n\n    return Boolean(history && 'pushState' in history);\n  }\n  /**\n    Replaces the current location, making sure we explicitly include the origin\n    to prevent redirecting to a different origin.\n  \n    @private\n  */\n\n\n  function replacePath(location, path) {\n    location.replace(getOrigin(location) + path);\n  }\n});","define(\"@ember/-internals/routing/lib/services/router\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/service\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _runtime, _debug, _computed, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var freezeRouteInfo;\n\n  if (true\n  /* DEBUG */\n  ) {\n    freezeRouteInfo = transition => {\n      if (transition.from !== null && !Object.isFrozen(transition.from)) {\n        Object.freeze(transition.from);\n      }\n\n      if (transition.to !== null && !Object.isFrozen(transition.to)) {\n        Object.freeze(transition.to);\n      }\n    };\n  }\n\n  function cleanURL(url, rootURL) {\n    if (rootURL === '/') {\n      return url;\n    }\n\n    return url.substr(rootURL.length, url.length);\n  }\n  /**\n     The Router service is the public API that provides access to the router.\n  \n     The immediate benefit of the Router service is that you can inject it into components,\n     giving them a friendly way to initiate transitions and ask questions about the current\n     global router state.\n  \n     In this example, the Router service is injected into a component to initiate a transition\n     to a dedicated route:\n  \n     ```app/components/example.js\n     import Component from '@glimmer/component';\n     import { action } from '@ember/object';\n     import { inject as service } from '@ember/service';\n  \n     export default class ExampleComponent extends Component {\n       @service router;\n  \n       @action\n       next() {\n         this.router.transitionTo('other.route');\n       }\n     }\n     ```\n  \n     Like any service, it can also be injected into helpers, routes, etc.\n  \n     @public\n     @extends Service\n     @class RouterService\n   */\n\n\n  class RouterService extends _service.default {\n    init() {\n      super.init(...arguments);\n\n      this._router.on('routeWillChange', transition => {\n        if (true\n        /* DEBUG */\n        ) {\n          freezeRouteInfo(transition);\n        }\n\n        this.trigger('routeWillChange', transition);\n      });\n\n      this._router.on('routeDidChange', transition => {\n        if (true\n        /* DEBUG */\n        ) {\n          freezeRouteInfo(transition);\n        }\n\n        this.trigger('routeDidChange', transition);\n      });\n    }\n    /**\n       Transition the application into another route. The route may\n       be either a single route or route path:\n          See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n          Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          In the following example we use the Router service to navigate to a route with a\n       specific model from a Component.\n          ```javascript\n       import Component from '@glimmer/component';\n       import { action } from '@ember/object';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            @action\n         goToComments(post) {\n           this.router.transitionTo('comments', post);\n         }\n       }\n       ```\n          @method transitionTo\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n\n\n    transitionTo(...args) {\n      if ((0, _utils.resemblesURL)(args[0])) {\n        return this._router._doURLTransition('transitionTo', args[0]);\n      }\n\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n\n      var transition = this._router._doTransition(routeName, models, queryParams, true);\n\n      transition['_keepDefaultQueryParamValues'] = true;\n      return transition;\n    }\n    /**\n       Transition into another route while replacing the current URL, if possible.\n       The route may be either a single route or route path:\n          See [replaceWith](/ember/release/classes/Route/methods/replaceWith?anchor=replaceWith) for more info.\n          Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `replaceWith` on a route.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          Usage example:\n          ```app/routes/application.js\n       import Route from '@ember/routing/route';\n          export default class extends Route {\n         beforeModel() {\n           if (!authorized()){\n             this.replaceWith('unauthorized');\n           }\n         }\n       });\n       ```\n          @method replaceWith\n       @param {String} routeNameOrUrl the name of the route or a URL\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n\n\n    replaceWith()\n    /* routeNameOrUrl, ...models, options */\n    {\n      return this.transitionTo(...arguments).method('replace');\n    }\n    /**\n      Generate a URL based on the supplied route name and optionally a model. The\n      URL is returned as a string that can be used for any purpose.\n         In this example, the URL for the `author.books` route for a given author\n      is copied to the clipboard.\n         ```app/templates/application.hbs\n      <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n      ```\n         ```app/components/copy-link.js\n      import Component from '@glimmer/component';\n      import { inject as service } from '@ember/service';\n      import { action } from '@ember/object';\n         export default class CopyLinkComponent extends Component {\n        @service router;\n        @service clipboard;\n           @action\n        copyBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.args.author);\n            this.clipboard.set(url);\n            // Clipboard now has /author/tomster/books\n          }\n        }\n      }\n      ```\n         Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle\n      query parameters.\n         ```app/templates/application.hbs\n      <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n      ```\n         ```app/components/copy-link.js\n      import Component from '@glimmer/component';\n      import { inject as service } from '@ember/service';\n      import { action } from '@ember/object';\n         export default class CopyLinkComponent extends Component {\n        @service router;\n        @service clipboard;\n           @action\n        copyOnlyEmberBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.author, {\n              queryParams: { filter: 'emberjs' }\n            });\n            this.clipboard.set(url);\n            // Clipboard now has /author/tomster/books?filter=emberjs\n          }\n        }\n      }\n      ```\n          @method urlFor\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {String} the string representing the generated URL\n       @public\n     */\n\n\n    urlFor(routeName, ...args) {\n      return this._router.generate(routeName, ...args);\n    }\n    /**\n       Determines whether a route is active.\n          @method isActive\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {boolean} true if the provided routeName/models/queryParams are active\n       @public\n     */\n\n\n    isActive(...args) {\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n      var routerMicrolib = this._router._routerMicrolib;\n\n      if (!routerMicrolib.isActiveIntent(routeName, models)) {\n        return false;\n      }\n\n      var hasQueryParams = Object.keys(queryParams).length > 0;\n\n      if (hasQueryParams) {\n        this._router._prepareQueryParams(routeName, models, queryParams, true\n        /* fromRouterService */\n        );\n\n        return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n      }\n\n      return true;\n    }\n    /**\n       Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n       by the URL. Returns `null` if the URL is not recognized. This method expects to\n       receive the actual URL as seen by the browser including the app's `rootURL`.\n          See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n          In the following example `recognize` is used to verify if a path belongs to our\n       application before transitioning to it.\n          ```\n       import Component from '@ember/component';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n         path = '/';\n            click() {\n           if (this.router.recognize(this.path)) {\n             this.router.transitionTo(this.path);\n           }\n         }\n       }\n       ```\n           @method recognize\n        @param {String} url\n        @public\n      */\n\n\n    recognize(url) {\n      (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognize(internalURL);\n    }\n    /**\n      Takes a string URL and returns a promise that resolves to a\n      `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n      The promise rejects if the URL is not recognized or an unhandled exception\n      is encountered. This method expects to receive the actual URL as seen by\n      the browser including the app's `rootURL`.\n           @method recognizeAndLoad\n        @param {String} url\n        @public\n     */\n\n\n    recognizeAndLoad(url) {\n      (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n    }\n\n  }\n\n  _exports.default = RouterService;\n  RouterService.reopen(_runtime.Evented, {\n    /**\n       Name of the current route.\n          This property represents the logical name of the route,\n       which is comma separated.\n       For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `index` when you visit `/`\n       * `about` when you visit `/about`\n       * `blog.index` when you visit `/blog`\n       * `blog.post` when you visit `/blog/some-post-id`\n          @property currentRouteName\n       @type String\n       @public\n     */\n    currentRouteName: (0, _computed.readOnly)('_router.currentRouteName'),\n\n    /**\n       Current URL for the application.\n         This property represents the URL path for this route.\n      For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `/` when you visit `/`\n       * `/about` when you visit `/about`\n       * `/blog` when you visit `/blog`\n       * `/blog/some-post-id` when you visit `/blog/some-post-id`\n          @property currentURL\n       @type String\n       @public\n     */\n    currentURL: (0, _computed.readOnly)('_router.currentURL'),\n\n    /**\n      The `location` property returns what implementation of the `location` API\n      your application is using, which determines what type of URL is being used.\n         See [Location](/ember/release/classes/Location) for more information.\n         To force a particular `location` API implementation to be used in your\n      application you can set a location type on your `config/environment`.\n      For example, to set the `history` type:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/',\n          locationType: 'history',\n          ...\n        }\n      }\n      ```\n         The following location types are available by default:\n      `auto`, `hash`, `history`, `none`.\n         See [HashLocation](/ember/release/classes/HashLocation).\n      See [HistoryLocation](/ember/release/classes/HistoryLocation).\n      See [NoneLocation](/ember/release/classes/NoneLocation).\n      See [AutoLocation](/ember/release/classes/AutoLocation).\n         @property location\n      @default 'hash'\n      @see {Location}\n      @public\n    */\n    location: (0, _computed.readOnly)('_router.location'),\n\n    /**\n      The `rootURL` property represents the URL of the root of\n      the application, '/' by default.\n      This prefix is assumed on all routes defined on this app.\n         If you change the `rootURL` in your environment configuration\n      like so:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/my-root',\n        …\n        }\n      ]\n      ```\n         This property will return `/my-root`.\n         @property rootURL\n      @default '/'\n      @public\n    */\n    rootURL: (0, _computed.readOnly)('_router.rootURL'),\n\n    /**\n      The `currentRoute` property contains metadata about the current leaf route.\n      It returns a `RouteInfo` object that has information like the route name,\n      params, query params and more.\n         See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n         This property is guaranteed to change whenever a route transition\n      happens (even when that transition only changes parameters\n      and doesn't change the active route).\n         Usage example:\n      ```app/components/header.js\n        import Component from '@glimmer/component';\n        import { inject as service } from '@ember/service';\n        import { notEmpty } from '@ember/object/computed';\n           export default class extends Component {\n          @service router;\n             @notEmpty('router.currentRoute.child') isChildRoute;\n        });\n      ```\n          @property currentRoute\n       @type RouteInfo\n       @public\n     */\n    currentRoute: (0, _computed.readOnly)('_router.currentRoute')\n  });\n});","define(\"@ember/-internals/routing/lib/services/routing\", [\"exports\", \"@ember/object/computed\", \"@ember/polyfills\", \"@ember/service\"], function (_exports, _computed, _polyfills, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    The Routing service is used by LinkComponent, and provides facilities for\n    the component/view layer to interact with the router.\n  \n    This is a private service for internal usage only. For public usage,\n    refer to the `Router` service.\n  \n    @private\n    @class RoutingService\n  */\n  class RoutingService extends _service.default {\n    hasRoute(routeName) {\n      return this.router.hasRoute(routeName);\n    }\n\n    transitionTo(routeName, models, queryParams, shouldReplace) {\n      var transition = this.router._doTransition(routeName, models, queryParams);\n\n      if (shouldReplace) {\n        transition.method('replace');\n      }\n\n      return transition;\n    }\n\n    normalizeQueryParams(routeName, models, queryParams) {\n      this.router._prepareQueryParams(routeName, models, queryParams);\n    }\n\n    generateURL(routeName, models, queryParams) {\n      var router = this.router; // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n\n      if (!router._routerMicrolib) {\n        return;\n      }\n\n      var visibleQueryParams = {};\n\n      if (queryParams) {\n        (0, _polyfills.assign)(visibleQueryParams, queryParams);\n        this.normalizeQueryParams(routeName, models, visibleQueryParams);\n      }\n\n      return router.generate(routeName, ...models, {\n        queryParams: visibleQueryParams\n      });\n    }\n\n    isActiveForRoute(contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n      var handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n\n      var leafName = handlers[handlers.length - 1].handler;\n      var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers); // NOTE: any ugliness in the calculation of activeness is largely\n      // due to the fact that we support automatic normalizing of\n      // `resource` -> `resource.index`, even though there might be\n      // dynamic segments / query params defined on `resource.index`\n      // which complicates (and makes somewhat ambiguous) the calculation\n      // of activeness for links that link to `resource` instead of\n      // directly to `resource.index`.\n      // if we don't have enough contexts revert back to full route name\n      // this is because the leaf route will use one of the contexts\n\n      if (contexts.length > maximumContexts) {\n        routeName = leafName;\n      }\n\n      return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\n    }\n\n  }\n\n  _exports.default = RoutingService;\n  RoutingService.reopen({\n    targetState: (0, _computed.readOnly)('router.targetState'),\n    currentState: (0, _computed.readOnly)('router.currentState'),\n    currentRouteName: (0, _computed.readOnly)('router.currentRouteName'),\n    currentPath: (0, _computed.readOnly)('router.currentPath')\n  });\n\n  function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n    var req = 0;\n\n    for (var i = 0; i < handlerInfos.length; i++) {\n      req += handlerInfos[i].names.length;\n\n      if (handlerInfos[i].handler === handlerName) {\n        break;\n      }\n    }\n\n    return req;\n  }\n});","define(\"@ember/-internals/routing/lib/system/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    A two-tiered cache with support for fallback values when doing lookups.\n    Uses \"buckets\" and then \"keys\" to cache values.\n  \n    @private\n    @class BucketCache\n  */\n  class BucketCache {\n    constructor() {\n      this.cache = new Map();\n    }\n\n    has(bucketKey) {\n      return this.cache.has(bucketKey);\n    }\n\n    stash(bucketKey, key, value) {\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket === undefined) {\n        bucket = new Map();\n        this.cache.set(bucketKey, bucket);\n      }\n\n      bucket.set(key, value);\n    }\n\n    lookup(bucketKey, prop, defaultValue) {\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket.has(prop)) {\n        return bucket.get(prop);\n      } else {\n        return defaultValue;\n      }\n    }\n\n  }\n\n  _exports.default = BucketCache;\n});","define(\"@ember/-internals/routing/lib/system/controller_for\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = controllerFor;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Finds a controller instance.\n  \n    @for Ember\n    @method controllerFor\n    @private\n  */\n  function controllerFor(container, controllerName, lookupOptions) {\n    return container.lookup(`controller:${controllerName}`, lookupOptions);\n  }\n});","define(\"@ember/-internals/routing/lib/system/dsl\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _debug, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var uuid = 0;\n\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function isOptions(value) {\n    return value !== null && typeof value === 'object';\n  }\n\n  class DSLImpl {\n    constructor(name = null, options) {\n      this.explicitIndex = false;\n      this.parent = name;\n      this.enableLoadingSubstates = Boolean(options && options.enableLoadingSubstates);\n      this.matches = [];\n      this.options = options;\n    }\n\n    route(name, _options, _callback) {\n      var options;\n      var callback = null;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\n      if (isCallback(_options)) {\n        (true && !(arguments.length === 2) && (0, _debug.assert)('Unexpected arguments', arguments.length === 2));\n        options = {};\n        callback = _options;\n      } else if (isCallback(_callback)) {\n        (true && !(arguments.length === 3) && (0, _debug.assert)('Unexpected arguments', arguments.length === 3));\n        (true && !(isOptions(_options)) && (0, _debug.assert)('Unexpected arguments', isOptions(_options)));\n        options = _options;\n        callback = _callback;\n      } else {\n        options = _options || {};\n      }\n\n      (true && !((() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n\n        return ['basic', 'application'].indexOf(name) === -1;\n      })()) && (0, _debug.assert)(`'${name}' cannot be used as a route name.`, (() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n\n        return ['basic', 'application'].indexOf(name) === -1;\n      })()));\n      (true && !(name.indexOf(':') === -1) && (0, _debug.assert)(`'${name}' is not a valid route name. It cannot contain a ':'. You may want to use the 'path' option instead.`, name.indexOf(':') === -1));\n\n      if (this.enableLoadingSubstates) {\n        createRoute(this, `${name}_loading`, {\n          resetNamespace: options.resetNamespace\n        });\n        createRoute(this, `${name}_error`, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n      }\n\n      if (callback) {\n        var fullName = getFullName(this, name, options.resetNamespace);\n        var dsl = new DSLImpl(fullName, this.options);\n        createRoute(dsl, 'loading');\n        createRoute(dsl, 'error', {\n          path: dummyErrorRoute\n        });\n        callback.call(dsl);\n        createRoute(this, name, options, dsl.generate());\n      } else {\n        createRoute(this, name, options);\n      }\n    }\n    /* eslint-enable no-dupe-class-members */\n\n\n    push(url, name, callback, serialize) {\n      var parts = name.split('.');\n\n      if (this.options.engineInfo) {\n        var localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n        var routeInfo = (0, _polyfills.assign)({\n          localFullName\n        }, this.options.engineInfo);\n\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\n        }\n\n        this.options.addRouteForEngine(name, routeInfo);\n      } else if (serialize) {\n        throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);\n      }\n\n      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n\n      this.matches.push(url, name, callback);\n    }\n\n    generate() {\n      var dslMatches = this.matches;\n\n      if (!this.explicitIndex) {\n        this.route('index', {\n          path: '/'\n        });\n      }\n\n      return match => {\n        for (var i = 0; i < dslMatches.length; i += 3) {\n          match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n        }\n      };\n    }\n\n    mount(_name, options = {}) {\n      var engineRouteMap = this.options.resolveRouteMap(_name);\n      var name = _name;\n\n      if (options.as) {\n        name = options.as;\n      }\n\n      var fullName = getFullName(this, name, options.resetNamespace);\n      var engineInfo = {\n        name: _name,\n        instanceId: uuid++,\n        mountPoint: fullName,\n        fullName\n      };\n      var path = options.path;\n\n      if (typeof path !== 'string') {\n        path = `/${name}`;\n      }\n\n      var callback;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\n      if (engineRouteMap) {\n        var shouldResetEngineInfo = false;\n        var oldEngineInfo = this.options.engineInfo;\n\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\n\n        var optionsForChild = (0, _polyfills.assign)({\n          engineInfo\n        }, this.options);\n        var childDSL = new DSLImpl(fullName, optionsForChild);\n        createRoute(childDSL, 'loading');\n        createRoute(childDSL, 'error', {\n          path: dummyErrorRoute\n        });\n        engineRouteMap.class.call(childDSL);\n        callback = childDSL.generate();\n\n        if (shouldResetEngineInfo) {\n          this.options.engineInfo = oldEngineInfo;\n        }\n      }\n\n      var localFullName = 'application';\n      var routeInfo = (0, _polyfills.assign)({\n        localFullName\n      }, engineInfo);\n\n      if (this.enableLoadingSubstates) {\n        // These values are important to register the loading routes under their\n        // proper names for the Router and within the Engine's registry.\n        var substateName = `${name}_loading`;\n        var _localFullName = `application_loading`;\n\n        var _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n        substateName = `${name}_error`;\n        _localFullName = `application_error`;\n        _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n      }\n\n      this.options.addRouteForEngine(fullName, routeInfo);\n      this.push(path, fullName, callback);\n    }\n\n  }\n\n  _exports.default = DSLImpl;\n\n  function canNest(dsl) {\n    return dsl.parent !== 'application';\n  }\n\n  function getFullName(dsl, name, resetNamespace) {\n    if (canNest(dsl) && resetNamespace !== true) {\n      return `${dsl.parent}.${name}`;\n    } else {\n      return name;\n    }\n  }\n\n  function createRoute(dsl, name, options = {}, callback) {\n    var fullName = getFullName(dsl, name, options.resetNamespace);\n\n    if (typeof options.path !== 'string') {\n      options.path = `/${name}`;\n    }\n\n    dsl.push(options.path, fullName, callback, options.serialize);\n  }\n});","define(\"@ember/-internals/routing/lib/system/engines\", [], function () {\n  \"use strict\";\n});","define(\"@ember/-internals/routing/lib/system/generate_controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.generateControllerFactory = generateControllerFactory;\n  _exports.default = generateController;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\n  */\n  function generateControllerFactory(owner, controllerName) {\n    var Factory = owner.factoryFor('controller:basic').class;\n    Factory = Factory.extend({\n      toString() {\n        return `(generated ${controllerName} controller)`;\n      }\n\n    });\n    var fullName = `controller:${controllerName}`;\n    owner.register(fullName, Factory);\n    return owner.factoryFor(fullName);\n  }\n  /**\n    Generates and instantiates a controller extending from `controller:basic`\n    if present, or `Controller` if not.\n  \n    @for Ember\n    @method generateController\n    @private\n    @since 1.3.0\n  */\n\n\n  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n    var fullName = `controller:${controllerName}`;\n    var instance = owner.lookup(fullName);\n\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n        (0, _debug.info)(`generated -> ${fullName}`, {\n          fullName\n        });\n      }\n    }\n\n    return instance;\n  }\n});","define(\"@ember/-internals/routing/lib/system/query_params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class QueryParams {\n    constructor(values = null) {\n      this.isQueryParams = true;\n      this.values = values;\n    }\n\n  }\n\n  _exports.default = QueryParams;\n});","define(\"@ember/-internals/routing/lib/system/route-info\", [], function () {\n  \"use strict\";\n  /**\n    A `RouteInfoWithAttributes` is an object that contains\n    metadata, including the resolved value from the routes\n    `model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\n    represents a specific route within a Transition.\n    It is read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfoWithAttributes\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's model hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as `Object.keys(params)`, but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    This is the resolved return value from the\n    route's model hook.\n    @property {Object|Array|String} attributes\n    @public\n  */\n\n  /**\n    Will contain the result `Route#buildRouteInfoMetadata`\n    for the corresponding Route.\n    @property {Any} metadata\n    @public\n  */\n\n  /**\n    A reference to the parent route's RouteInfo.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's RouteInfo.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n\n  /**\n    A RouteInfo is an object that contains metadata\n    about a specific route within a Transition. It is\n    read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfo\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's `model` hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as Object.keys(params), but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    A reference to the parent route's `RouteInfo`.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's `RouteInfo`.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n});","define(\"@ember/-internals/routing/lib/system/route\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/object/compat\", \"@ember/runloop\", \"@ember/string\", \"router_js\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/generate_controller\"], function (_exports, _polyfills, _metal, _owner, _runtime, _utils, _debug, _deprecatedFeatures, _compat, _runloop, _string, _router_js, _utils2, _generate_controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.defaultSerialize = defaultSerialize;\n  _exports.hasDefaultSerialize = hasDefaultSerialize;\n  _exports.default = _exports.ROUTER_EVENT_DEPRECATIONS = _exports.ROUTE_CONNECTIONS = void 0;\n  var ROUTE_CONNECTIONS = new WeakMap();\n  _exports.ROUTE_CONNECTIONS = ROUTE_CONNECTIONS;\n\n  function defaultSerialize(model, params) {\n    if (params.length < 1 || !model) {\n      return;\n    }\n\n    var object = {};\n\n    if (params.length === 1) {\n      var [name] = params;\n\n      if (name in model) {\n        object[name] = (0, _metal.get)(model, name);\n      } else if (/_id$/.test(name)) {\n        object[name] = (0, _metal.get)(model, 'id');\n      }\n    } else {\n      object = (0, _metal.getProperties)(model, params);\n    }\n\n    return object;\n  }\n\n  function hasDefaultSerialize(route) {\n    return route.serialize === defaultSerialize;\n  }\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    The `Route` class is used to define individual routes. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class Route\n    @extends EmberObject\n    @uses ActionHandler\n    @uses Evented\n    @since 1.0.0\n    @public\n  */\n\n\n  class Route extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.context = {};\n    }\n    /**\n      The name of the route, dot-delimited.\n         For example, a route found at `app/routes/posts/post.js` will have\n      a `routeName` of `posts.post`.\n         @property routeName\n      @for Route\n      @type String\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The name of the route, dot-delimited, including the engine prefix\n      if applicable.\n         For example, a route found at `addon/routes/posts/post.js` within an\n      engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n         @property fullRouteName\n      @for Route\n      @type String\n      @since 2.10.0\n      @public\n    */\n\n    /**\n      Sets the name for this route, including a fully resolved name for routes\n      inside engines.\n         @private\n      @method _setRouteName\n      @param {String} name\n    */\n\n\n    _setRouteName(name) {\n      this.routeName = name;\n      this.fullRouteName = getEngineRouteName((0, _owner.getOwner)(this), name);\n    }\n    /**\n      @private\n         @method _stashNames\n    */\n\n\n    _stashNames(routeInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n\n      var names = this._names = routeInfo['_names'];\n\n      if (!names.length) {\n        routeInfo = dynamicParent;\n        names = routeInfo && routeInfo['_names'] || [];\n      }\n\n      var qps = (0, _metal.get)(this, '_qp.qps');\n      var namePaths = new Array(names.length);\n\n      for (var a = 0; a < names.length; ++a) {\n        namePaths[a] = `${routeInfo.name}.${names[a]}`;\n      }\n\n      for (var i = 0; i < qps.length; ++i) {\n        var qp = qps[i];\n\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    }\n    /**\n      @private\n         @property _activeQPChanged\n    */\n\n\n    _activeQPChanged(qp, value) {\n      this._router._activeQPChanged(qp.scopedPropertyName, value);\n    }\n    /**\n      @private\n      @method _updatingQPChanged\n    */\n\n\n    _updatingQPChanged(qp) {\n      this._router._updatingQPChanged(qp.urlKey);\n    }\n    /**\n      Returns a hash containing the parameters of an ancestor route.\n         You may notice that `this.paramsFor` sometimes works when referring to a\n      child route, but this behavior should not be relied upon as only ancestor\n      routes are certain to be loaded in time.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('member', { path: ':name' }, function() {\n          this.route('interest', { path: ':interest' });\n        });\n      });\n      ```\n         ```app/routes/member.js\n      import Route from '@ember/routing/route';\n         export default class MemberRoute extends Route {\n        queryParams = {\n          memberQp: { refreshModel: true }\n        }\n      }\n      ```\n         ```app/routes/member/interest.js\n      import Route from '@ember/routing/route';\n         export default class MemberInterestRoute Route {\n        queryParams = {\n          interestQp: { refreshModel: true }\n        }\n           model() {\n          return this.paramsFor('member');\n        }\n      }\n      ```\n         If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n      the `member.interest` route is a hash with:\n         * `name`: `turing`\n      * `memberQp`: `member`\n         @method paramsFor\n      @param {String} name\n      @return {Object} hash containing the parameters of the route `name`\n      @since 1.4.0\n      @public\n    */\n\n\n    paramsFor(name) {\n      var route = (0, _owner.getOwner)(this).lookup(`route:${name}`);\n\n      if (route === undefined) {\n        return {};\n      }\n\n      var transition = this._router._routerMicrolib.activeTransition;\n      var state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n      var fullName = route.fullRouteName;\n      var params = (0, _polyfills.assign)({}, state.params[fullName]);\n      var queryParams = getQueryParamsFor(route, state);\n      return Object.keys(queryParams).reduce((params, key) => {\n        (true && !(!params[key]) && (0, _debug.assert)(`The route '${this.routeName}' has both a dynamic segment and query param with name '${key}'. Please rename one to avoid collisions.`, !params[key]));\n        params[key] = queryParams[key];\n        return params;\n      }, params);\n    }\n    /**\n      Serializes the query parameter key\n         @method serializeQueryParamKey\n      @param {String} controllerPropertyName\n      @private\n    */\n\n\n    serializeQueryParamKey(controllerPropertyName) {\n      return controllerPropertyName;\n    }\n    /**\n      Serializes value of the query parameter based on defaultValueType\n         @method serializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n\n\n    serializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide serialization specific\n      // to a certain query param.\n      return this._router._serializeQueryParam(value, defaultValueType);\n    }\n    /**\n      Deserializes value of the query parameter based on defaultValueType\n         @method deserializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n\n\n    deserializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide deserialization specific\n      // to a certain query param.\n      return this._router._deserializeQueryParam(value, defaultValueType);\n    }\n    /**\n      @private\n         @property _optionsForQueryParam\n    */\n\n\n    _optionsForQueryParam(qp) {\n      return (0, _metal.get)(this, `queryParams.${qp.urlKey}`) || (0, _metal.get)(this, `queryParams.${qp.prop}`) || {};\n    }\n    /**\n      A hook you can use to reset controller values either when the model\n      changes or the route is exiting.\n         ```app/routes/articles.js\n      import Route from '@ember/routing/route';\n         export default class ArticlesRoute extends Route {\n        resetController(controller, isExiting, transition) {\n          if (isExiting && transition.targetName !== 'error') {\n            controller.set('page', 1);\n          }\n        }\n      }\n      ```\n         @method resetController\n      @param {Controller} controller instance\n      @param {Boolean} isExiting\n      @param {Object} transition\n      @since 1.7.0\n      @public\n    */\n\n\n    resetController(_controller, _isExiting, _transition) {\n      return this;\n    }\n    /**\n      @private\n         @method exit\n    */\n\n\n    exit() {\n      this.deactivate();\n      this.trigger('deactivate');\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method _internalReset\n      @since 3.6.0\n    */\n\n\n    _internalReset(isExiting, transition) {\n      var controller = this.controller;\n      controller._qpDelegate = (0, _metal.get)(this, '_qp.states.inactive');\n      this.resetController(controller, isExiting, transition);\n    }\n    /**\n      @private\n         @method enter\n    */\n\n\n    enter() {\n      ROUTE_CONNECTIONS.set(this, []);\n      this.activate();\n      this.trigger('activate');\n    }\n    /**\n      The `willTransition` action is fired at the beginning of any\n      attempted transition with a `Transition` object as the sole\n      argument. This action can be used for aborting, redirecting,\n      or decorating the transition from the currently active routes.\n         A good example is preventing navigation when a form is\n      half-filled out:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ContactFormRoute extends Route {\n        @action\n        willTransition(transition) {\n          if (this.controller.get('userHasEnteredData')) {\n            this.controller.displayNavigationConfirm();\n            transition.abort();\n          }\n        }\n      }\n      ```\n         You can also redirect elsewhere by calling\n      `this.transitionTo('elsewhere')` from within `willTransition`.\n      Note that `willTransition` will not be fired for the\n      redirecting `transitionTo`, since `willTransition` doesn't\n      fire when there is already a transition underway. If you want\n      subsequent `willTransition` actions to fire for the redirecting\n      transition, you must first explicitly call\n      `transition.abort()`.\n         To allow the `willTransition` event to continue bubbling to the parent\n      route, use `return true;`. When the `willTransition` method has a\n      return value of `true` then the parent route's `willTransition` method\n      will be fired, enabling \"bubbling\" behavior for the event.\n         @event willTransition\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The `didTransition` action is fired after a transition has\n      successfully been completed. This occurs after the normal model\n      hooks (`beforeModel`, `model`, `afterModel`, `setupController`)\n      have resolved. The `didTransition` action has no arguments,\n      however, it can be useful for tracking page views or resetting\n      state on the controller.\n         ```app/routes/login.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class LoginRoute extends Route {\n        @action\n        didTransition() {\n          this.controller.get('errors.base').clear();\n          return true; // Bubble the didTransition event\n        }\n      }\n      ```\n         @event didTransition\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      The `loading` action is fired on the route when a route's `model`\n      hook returns a promise that is not already resolved. The current\n      `Transition` object is the first parameter and the route that\n      triggered the loading event is the second parameter.\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        loading(transition, route) {\n          let controller = this.controllerFor('foo');\n          controller.set('currentlyLoading', true);\n             transition.finally(function() {\n            controller.set('currentlyLoading', false);\n          });\n        }\n      }\n      ```\n         @event loading\n      @param {Transition} transition\n      @param {Route} route The route that triggered the loading event\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      When attempting to transition into a route, any of the hooks\n      may return a promise that rejects, at which point an `error`\n      action will be fired on the partially-entered routes, allowing\n      for per-route error handling logic, or shared error handling\n      logic defined on a parent route.\n         Here is an example of an error handler that will be invoked\n      for rejected promises from the various hooks on the route,\n      as well as any unhandled errors from child routes:\n         ```app/routes/admin.js\n      import { reject } from 'rsvp';\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class AdminRoute extends Route {\n        beforeModel() {\n          return reject('bad things!');\n        }\n           @action\n        error(error, transition) {\n          // Assuming we got here due to the error in `beforeModel`,\n          // we can expect that error === \"bad things!\",\n          // but a promise model rejecting would also\n          // call this hook, as would any errors encountered\n          // in `afterModel`.\n             // The `error` hook is also provided the failed\n          // `transition`, which can be stored and later\n          // `.retry()`d if desired.\n             this.transitionTo('login');\n        }\n      }\n      ```\n         `error` actions that bubble up all the way to `ApplicationRoute`\n      will fire a default error handler that logs the error. You can\n      specify your own global default error handler by overriding the\n      `error` handler on `ApplicationRoute`:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        error(error, transition) {\n          this.controllerFor('banner').displayError(error.message);\n        }\n      }\n      ```\n      @event error\n      @param {Error} error\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router enters the route. It is\n      not executed when the model for the route changes.\n         ```app/routes/application.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        collectAnalytics: on('activate', function(){\n          collectAnalytics();\n        })\n      });\n      ```\n         @event activate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router completely exits this\n      route. It is not executed when the model for the route changes.\n         ```app/routes/index.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        trackPageLeaveAnalytics: on('deactivate', function(){\n          trackPageLeaveAnalytics();\n        })\n      });\n      ```\n         @event deactivate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This hook is executed when the router completely exits this route. It is\n      not executed when the model for the route changes.\n         @method deactivate\n      @since 1.0.0\n      @public\n    */\n\n\n    deactivate() {}\n    /**\n      This hook is executed when the router enters the route. It is not executed\n      when the model for the route changes.\n         @method activate\n      @since 1.0.0\n      @public\n    */\n\n\n    activate() {}\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      this.transitionTo('blogPosts');\n      this.transitionTo('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      this.transitionTo('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      this.transitionTo('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('blogPost', { path:':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId' });\n        });\n      });\n         export default Router;\n      ```\n         ```javascript\n      this.transitionTo('blogComment', aPost, aComment);\n      this.transitionTo('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      this.transitionTo('/');\n      this.transitionTo('/blog/post/1/comment/13');\n      this.transitionTo('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      this.transitionTo('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      this.transitionTo({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceWith](#method_replaceWith).\n         Simple Transition Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n        this.route('fourOhFour', { path: '*:' });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        moveToSecret(context) {\n          if (authorized()) {\n            this.transitionTo('secret', context);\n          } else {\n            this.transitionTo('fourOhFour');\n          }\n        }\n      }\n      ```\n         Transition to a nested route\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('articles', { path: '/articles' }, function() {\n          this.route('new');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        transitionToNewArticle() {\n          this.transitionTo('articles.new');\n        }\n      }\n      ```\n         Multiple Models Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n           this.route('breakfast', { path: ':breakfastId' }, function() {\n          this.route('cereal', { path: ':cerealId' });\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        moveToChocolateCereal() {\n          let cereal = { cerealId: 'ChocolateYumminess' };\n          let breakfast = { breakfastId: 'CerealAndMilk' };\n             this.transitionTo('breakfast.cereal', breakfast, cereal);\n        }\n      }\n      ```\n         Nested Route with Query String Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('fruits', function() {\n          this.route('apples');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default class IndexRoute extends Route {\n        @action\n        transitionToApples() {\n          this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n        }\n      }\n      ```\n         @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n\n\n    transitionTo(...args) {\n      // eslint-disable-line no-unused-vars\n      return this._router.transitionTo(...(0, _utils2.prefixRouteNameArg)(this, args));\n    }\n    /**\n      Perform a synchronous transition into another route without attempting\n      to resolve promises, update the URL, or abort any currently active\n      asynchronous transitions (i.e. regular transitions caused by\n      `transitionTo` or URL changes).\n         This method is handy for performing intermediate transitions on the\n      way to a final destination route, and is called internally by the\n      default implementations of the `error` and `loading` handlers.\n         @method intermediateTransitionTo\n      @param {String} name the name of the route\n      @param {...Object} models the model(s) to be used while transitioning\n      to the route.\n      @since 1.2.0\n      @public\n     */\n\n\n    intermediateTransitionTo(...args) {\n      var [name, ...preparedArgs] = (0, _utils2.prefixRouteNameArg)(this, args);\n\n      this._router.intermediateTransitionTo(name, ...preparedArgs);\n    }\n    /**\n      Refresh the model on this route and any child routes, firing the\n      `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n      to how routes are entered when transitioning in from other route.\n      The current route params (e.g. `article_id`) will be passed in\n      to the respective model hooks, and if a different model is returned,\n      `setupController` and associated route hooks will re-fire as well.\n         An example usage of this method is re-querying the server for the\n      latest information using the same parameters as when the route\n      was first entered.\n         Note that this will cause `model` hooks to fire even on routes\n      that were provided a model object when the route was initially\n      entered.\n         @method refresh\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.4.0\n      @public\n     */\n\n\n    refresh() {\n      return this._router._routerMicrolib.refresh(this);\n    }\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionTo` in all other respects. See\n      'transitionTo' for additional information regarding multiple models.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n      });\n         export default Router;\n      ```\n         ```app/routes/secret.js\n      import Route from '@ember/routing/route';\n         export default class SecretRoute Route {\n        afterModel() {\n          if (!authorized()){\n            this.replaceWith('index');\n          }\n        }\n      }\n      ```\n         @method replaceWith\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n\n\n    replaceWith(...args) {\n      return this._router.replaceWith(...(0, _utils2.prefixRouteNameArg)(this, args));\n    }\n    /**\n      This hook is the entry point for router.js\n         @private\n      @method setup\n    */\n\n\n    setup(context, transition) {\n      var controllerName = this.controllerName || this.routeName;\n      var definedController = this.controllerFor(controllerName, true);\n      var controller;\n\n      if (definedController) {\n        controller = definedController;\n      } else {\n        controller = this.generateController(controllerName);\n      } // Assign the route's controller so that it can more easily be\n      // referenced in action handlers. Side effects. Side effects everywhere.\n\n\n      if (!this.controller) {\n        var qp = (0, _metal.get)(this, '_qp');\n        var propNames = qp !== undefined ? (0, _metal.get)(qp, 'propertyNames') : [];\n        addQueryParamsObservers(controller, propNames);\n        this.controller = controller;\n      }\n\n      var queryParams = (0, _metal.get)(this, '_qp');\n      var states = queryParams.states;\n      controller._qpDelegate = states.allowOverrides;\n\n      if (transition) {\n        // Update the model dep values used to calculate cache keys.\n        (0, _utils2.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n        var cache = this._bucketCache;\n        var params = transition[_router_js.PARAMS_SYMBOL];\n        var allParams = queryParams.propertyNames;\n        allParams.forEach(prop => {\n          var aQp = queryParams.map[prop];\n          aQp.values = params;\n          var cacheKey = (0, _utils2.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n          var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n          (0, _metal.set)(controller, prop, value);\n        });\n        var qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n        (0, _metal.setProperties)(controller, qpValues);\n      }\n\n      this.setupController(controller, context, transition);\n\n      if (this._environment.options.shouldRender) {\n        this.renderTemplate(controller, context);\n      } // Setup can cause changes to QPs which need to be propogated immediately in\n      // some situations. Eventually, we should work on making these async somehow.\n\n\n      (0, _metal.flushAsyncObservers)(false);\n    }\n    /*\n      Called when a query parameter for this route changes, regardless of whether the route\n      is currently part of the active route hierarchy. This will update the query parameter's\n      value in the cache so if this route becomes active, the cache value has been updated.\n    */\n\n\n    _qpChanged(prop, value, qp) {\n      if (!qp) {\n        return;\n      } // Update model-dep cache\n\n\n      var cache = this._bucketCache;\n      var cacheKey = (0, _utils2.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n      cache.stash(cacheKey, prop, value);\n    }\n    /**\n      This hook is the first of the route entry validation hooks\n      called when an attempt is made to transition into a route\n      or one of its children. It is called before `model` and\n      `afterModel`, and is appropriate for cases when:\n         1) A decision can be made to redirect elsewhere without\n         needing to resolve the model first.\n      2) Any async operations need to occur first before the\n         model is attempted to be resolved.\n         This hook is provided the current `transition` attempt\n      as a parameter, which can be used to `.abort()` the transition,\n      save it for a later `.retry()`, or retrieve values set\n      on it from a previous hook. You can also just call\n      `this.transitionTo` to another route to implicitly\n      abort the `transition`.\n         You can return a promise from this hook to pause the\n      transition until the promise resolves (or rejects). This could\n      be useful, for instance, for retrieving async code from\n      the server that is required to enter a route.\n         @method beforeModel\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n    */\n\n\n    beforeModel() {}\n    /**\n      This hook is called after this route's model has resolved.\n      It follows identical async/promise semantics to `beforeModel`\n      but is provided the route's resolved model in addition to\n      the `transition`, and is therefore suited to performing\n      logic that can only take place after the model has already\n      resolved.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        afterModel(posts, transition) {\n          if (posts.get('length') === 1) {\n            this.transitionTo('post.show', posts.get('firstObject'));\n          }\n        }\n      }\n      ```\n         Refer to documentation for `beforeModel` for a description\n      of transition-pausing semantics when a promise is returned\n      from this hook.\n         @method afterModel\n      @param {Object} resolvedModel the value returned from `model`,\n        or its resolved value if it was a promise\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n     */\n\n\n    afterModel() {}\n    /**\n      A hook you can implement to optionally redirect to another route.\n         If you call `this.transitionTo` from inside of this hook, this route\n      will not be entered in favor of the other hook.\n         `redirect` and `afterModel` behave very similarly and are\n      called almost at the same time, but they have an important\n      distinction in the case that, from one of these hooks, a\n      redirect into a child route of this route occurs: redirects\n      from `afterModel` essentially invalidate the current attempt\n      to enter this route, and will result in this route's `beforeModel`,\n      `model`, and `afterModel` hooks being fired again within\n      the new, redirecting transition. Redirects that occur within\n      the `redirect` hook, on the other hand, will _not_ cause\n      these hooks to be fired again the second time around; in\n      other words, by the time the `redirect` hook has been called,\n      both the resolved model and attempted entry into this route\n      are considered to be fully validated.\n         @method redirect\n      @param {Object} model the model for this route\n      @param {Transition} transition the transition object associated with the current transition\n      @since 1.0.0\n      @public\n    */\n\n\n    redirect() {}\n    /**\n      Called when the context is changed by router.js.\n         @private\n      @method contextDidChange\n    */\n\n\n    contextDidChange() {\n      this.currentModel = this.context;\n    }\n    /**\n      A hook you can implement to convert the URL into the model for\n      this route.\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         The model for the `post` route is `store.findRecord('post', params.post_id)`.\n         By default, if your route has a dynamic segment ending in `_id`:\n         * The model class is determined from the segment (`post_id`'s\n        class is `App.Post`)\n      * The find method is called on the model class with the value of\n        the dynamic segment.\n         Note that for routes with dynamic segments, this hook is not always\n      executed. If the route is entered through a transition (e.g. when\n      using the `link-to` Handlebars helper or the `transitionTo` method\n      of routes), and a model context is already provided this hook\n      is not called.\n         A model context does not include a primitive string or number,\n      which does cause the model hook to be called.\n         Routes without dynamic segments will always execute the model hook.\n         ```javascript\n      // no dynamic segment, model hook always called\n      this.transitionTo('posts');\n         // model passed in, so model hook not called\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost);\n         // integer passed in, model hook is called\n      this.transitionTo('post', 1);\n         // model id passed in, model hook is called\n      // useful for forcing the hook to execute\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost.id);\n      ```\n         This hook follows the asynchronous/promise semantics\n      described in the documentation for `beforeModel`. In particular,\n      if a promise returned from `model` fails, the error will be\n      handled by the `error` hook on `Route`.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id);\n        }\n      }\n      ```\n         @method model\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route. If\n        a promise is returned, the transition will pause until\n        the promise resolves, and the resolved value of the promise\n        will be used as the model for this route.\n      @since 1.0.0\n      @public\n    */\n\n\n    model(params, transition) {\n      var name, sawParams, value;\n      var queryParams = (0, _metal.get)(this, '_qp.map');\n\n      for (var prop in params) {\n        if (prop === 'queryParams' || queryParams && prop in queryParams) {\n          continue;\n        }\n\n        var match = prop.match(/^(.*)_id$/);\n\n        if (match !== null) {\n          name = match[1];\n          value = params[prop];\n        }\n\n        sawParams = true;\n      }\n\n      if (!name) {\n        if (sawParams) {\n          return (0, _polyfills.assign)({}, params);\n        } else {\n          if (transition.resolveIndex < 1) {\n            return;\n          }\n\n          return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n        }\n      }\n\n      return this.findModel(name, value);\n    }\n    /**\n      @private\n      @method deserialize\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route.\n         Router.js hook.\n     */\n\n\n    deserialize(_params, transition) {\n      return this.model(this._paramsFor(this.routeName, _params), transition);\n    }\n    /**\n         @method findModel\n      @param {String} type the model type\n      @param {Object} value the value passed to find\n      @private\n    */\n\n\n    findModel(...args) {\n      return (0, _metal.get)(this, 'store').find(...args);\n    }\n    /**\n      A hook you can use to setup the controller for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook.\n         By default, the `setupController` hook sets the `model` property of\n      the controller to the specified `model` when it is not `undefined`.\n         If you implement the `setupController` hook in your Route, it will\n      prevent this default behavior. If you want to preserve that behavior\n      when implementing your `setupController` function, make sure to call\n      `super`:\n         ```app/routes/photos.js\n      import Route from '@ember/routing/route';\n         export default class PhotosRoute extendes Route {\n        model() {\n          return this.store.findAll('photo');\n        }\n           setupController(controller, model) {\n          super.setupController(controller, model);\n             this.controllerFor('application').set('showingPhotos', true);\n        }\n      }\n      ```\n         The provided controller will be one resolved based on the name\n      of this route.\n         If no explicit controller is defined, Ember will automatically create one.\n         As an example, consider the router:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         If you have defined a file for the post controller,\n      the framework will use it.\n      If it is not defined, a basic `Controller` instance would be used.\n         @example Behavior of a basic Controller\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        setupController(controller, model) {\n          controller.set('model', model);\n        }\n      });\n      ```\n         @method setupController\n      @param {Controller} controller instance\n      @param {Object} model\n      @since 1.0.0\n      @public\n    */\n\n\n    setupController(controller, context, _transition) {\n      // eslint-disable-line no-unused-vars\n      if (controller && context !== undefined) {\n        (0, _metal.set)(controller, 'model', context);\n      }\n    }\n    /**\n      Returns the controller of the current route, or a parent (or any ancestor)\n      route in a route hierarchy.\n         The controller instance must already have been created, either through entering the\n      associated route or using `generateController`.\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        setupController(controller, post) {\n          super.setupController(controller, post);\n             this.controllerFor('posts').set('currentPost', post);\n        }\n      }\n      ```\n         @method controllerFor\n      @param {String} name the name of the route or controller\n      @return {Controller}\n      @since 1.0.0\n      @public\n    */\n\n\n    controllerFor(name, _skipAssert) {\n      var owner = (0, _owner.getOwner)(this);\n      var route = owner.lookup(`route:${name}`);\n\n      if (route && route.controllerName) {\n        name = route.controllerName;\n      }\n\n      var controller = owner.lookup(`controller:${name}`); // NOTE: We're specifically checking that skipAssert is true, because according\n      //   to the old API the second parameter was model. We do not want people who\n      //   passed a model to skip the assertion.\n\n      (true && !(controller !== undefined || _skipAssert === true) && (0, _debug.assert)(`The controller named '${name}' could not be found. Make sure that this route exists and has already been entered at least once. If you are accessing a controller not associated with a route, make sure the controller class is explicitly defined.`, controller !== undefined || _skipAssert === true));\n      return controller;\n    }\n    /**\n      Generates a controller for a route.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class Post extends Route {\n        setupController(controller, post) {\n          super.setupController(controller, post);\n             this.generateController('posts');\n        }\n      }\n      ```\n         @method generateController\n      @param {String} name the name of the controller\n      @private\n    */\n\n\n    generateController(name) {\n      var owner = (0, _owner.getOwner)(this);\n      return (0, _generate_controller.default)(owner, name);\n    }\n    /**\n      Returns the resolved model of a parent (or any ancestor) route\n      in a route hierarchy.  During a transition, all routes\n      must resolve a model object, and if a route\n      needs access to a parent route's model in order to\n      resolve a model (or just reuse the model from a parent),\n      it can call `this.modelFor(theNameOfParentRoute)` to\n      retrieve it. If the ancestor route's model was a promise,\n      its resolved result is returned.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' }, function() {\n          this.route('comments');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/post/comments.js\n      import Route from '@ember/routing/route';\n         export default class PostCommentsRoute extends Route {\n        model() {\n          let post = this.modelFor('post');\n             return post.comments;\n        }\n      }\n      ```\n         @method modelFor\n      @param {String} name the name of the route\n      @return {Object} the model object\n      @since 1.0.0\n      @public\n    */\n\n\n    modelFor(_name) {\n      var name;\n      var owner = (0, _owner.getOwner)(this);\n      var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined; // Only change the route name when there is an active transition.\n      // Otherwise, use the passed in route name.\n\n      if (owner.routable && transition !== undefined) {\n        name = getEngineRouteName(owner, _name);\n      } else {\n        name = _name;\n      }\n\n      var route = owner.lookup(`route:${name}`); // If we are mid-transition, we want to try and look up\n      // resolved parent contexts on the current transitionEvent.\n\n      if (transition !== undefined && transition !== null) {\n        var modelLookupName = route && route.routeName || name;\n\n        if (transition.resolvedModels.hasOwnProperty(modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n\n      return route && route.currentModel;\n    }\n    /**\n      A hook you can use to render the template for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook. By default, it renders the route's\n      template, configured with the controller for the route.\n         This method can be overridden to set up and render additional or\n      alternative templates.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        renderTemplate(controller, model) {\n          let favController = this.controllerFor('favoritePost');\n             // Render the `favoritePost` template into\n          // the outlet `posts`, and display the `favoritePost`\n          // controller.\n          this.render('favoritePost', {\n            outlet: 'posts',\n            controller: favController\n          });\n        }\n      }\n      ```\n         @method renderTemplate\n      @param {Object} controller the route's controller\n      @param {Object} model the route's model\n      @since 1.0.0\n      @public\n    */\n\n\n    renderTemplate(_controller, _model) {\n      // eslint-disable-line no-unused-vars\n      this.render();\n    }\n    /**\n      `render` is used to render a template into a region of another template\n      (indicated by an `{{outlet}}`). `render` is used both during the entry\n      phase of routing (via the `renderTemplate` hook) and later in response to\n      user interaction.\n         For example, given the following minimal router and templates:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('photos');\n      });\n         export default Router;\n      ```\n         ```handlebars\n      <!-- application.hbs -->\n      <div class='something-in-the-app-hbs'>\n        {{outlet \"anOutletName\"}}\n      </div>\n      ```\n         ```handlebars\n      <!-- photos.hbs -->\n      <h1>Photos</h1>\n      ```\n         You can render `photos.hbs` into the `\"anOutletName\"` outlet of\n      `application.hbs` by calling `render`:\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        renderTemplate() {\n          this.render('photos', {\n            into: 'application',\n            outlet: 'anOutletName'\n          })\n        }\n      }\n      ```\n         `render` additionally allows you to supply which `controller` and\n      `model` objects should be loaded and associated with the rendered template.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        renderTemplate(controller, model){\n          this.render('posts', {    // the template to render, referenced by name\n            into: 'application',    // the template to render into, referenced by name\n            outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n            controller: 'someControllerName', // the controller to use for this template, referenced by name\n            model: model            // the model to set on `options.controller`.\n          })\n        }\n      }\n      ```\n         The string values provided for the template name, and controller\n      will eventually pass through to the resolver for lookup. See\n      Resolver for how these are mapped to JavaScript objects in your\n      application. The template to render into needs to be related to  either the\n      current route or one of its ancestors.\n         Not all options need to be passed to `render`. Default values will be used\n      based on the name of the route specified in the router or the Route's\n      `controllerName` and `templateName` properties.\n         For example:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        renderTemplate() {\n          this.render(); // all defaults apply\n        }\n      }\n      ```\n         The name of the route, defined by the router, is `post`.\n         The following equivalent default options will be applied when\n      the Route calls `render`:\n         ```javascript\n      this.render('post', {  // the template name associated with 'post' Route\n        into: 'application', // the parent route to 'post' Route\n        outlet: 'main',      // {{outlet}} and {{outlet 'main'}} are synonymous,\n        controller: 'post',  // the controller associated with the 'post' Route\n      })\n      ```\n         By default the controller's `model` will be the route's model, so it does not\n      need to be passed unless you wish to change which model is being used.\n         @method render\n      @param {String} name the name of the template to render\n      @param {Object} [options] the options\n      @param {String} [options.into] the template to render into,\n                      referenced by name. Defaults to the parent template\n      @param {String} [options.outlet] the outlet inside `options.into` to render into.\n                      Defaults to 'main'\n      @param {String|Object} [options.controller] the controller to use for this template,\n                      referenced by name or as a controller instance. Defaults to the Route's paired controller\n      @param {Object} [options.model] the model object to set on `options.controller`.\n                      Defaults to the return value of the Route's model hook\n      @since 1.0.0\n      @public\n    */\n\n\n    render(_name, options) {\n      var name;\n      var isDefaultRender = arguments.length === 0;\n\n      if (!isDefaultRender) {\n        if (typeof _name === 'object' && !options) {\n          name = this.templateName || this.routeName;\n          options = _name;\n        } else {\n          (true && !(!(0, _metal.isEmpty)(_name)) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _metal.isEmpty)(_name)));\n          name = _name;\n        }\n      }\n\n      var renderOptions = buildRenderOptions(this, isDefaultRender, name, options);\n      ROUTE_CONNECTIONS.get(this).push(renderOptions);\n      (0, _runloop.once)(this._router, '_setOutlets');\n    }\n    /**\n      Disconnects a view that has been rendered into an outlet.\n         You may pass any or all of the following options to `disconnectOutlet`:\n         * `outlet`: the name of the outlet to clear (default: 'main')\n      * `parentView`: the name of the view containing the outlet to clear\n         (default: the view rendered by the parent route)\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        showModal(evt) {\n          this.render(evt.modalName, {\n            outlet: 'modal',\n            into: 'application'\n          });\n        }\n           @action\n        hideModal() {\n          this.disconnectOutlet({\n            outlet: 'modal',\n            parentView: 'application'\n          });\n        }\n      }\n      ```\n         Alternatively, you can pass the `outlet` name directly as a string.\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        showModal(evt) {\n          // ...\n        }\n           @action\n        hideModal(evt) {\n          this.disconnectOutlet('modal');\n        }\n      }\n      ```\n         @method disconnectOutlet\n      @param {Object|String} options the options hash or outlet name\n      @since 1.0.0\n      @public\n    */\n\n\n    disconnectOutlet(options) {\n      var outletName;\n      var parentView;\n\n      if (options) {\n        if (typeof options === 'string') {\n          outletName = options;\n        } else {\n          outletName = options.outlet;\n          parentView = options.parentView ? options.parentView.replace(/\\//g, '.') : undefined;\n          (true && !(!('outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', !('outlet' in options && options.outlet === undefined)));\n        }\n      }\n\n      outletName = outletName || 'main';\n\n      this._disconnectOutlet(outletName, parentView);\n\n      var routeInfos = this._router._routerMicrolib.currentRouteInfos;\n\n      for (var i = 0; i < routeInfos.length; i++) {\n        // This non-local state munging is sadly necessary to maintain\n        // backward compatibility with our existing semantics, which allow\n        // any route to disconnectOutlet things originally rendered by any\n        // other route. This should all get cut in 2.0.\n        routeInfos[i].route._disconnectOutlet(outletName, parentView);\n      }\n    }\n\n    _disconnectOutlet(outletName, parentView) {\n      var parent = parentRoute(this);\n\n      if (parent && parentView === parent.routeName) {\n        parentView = undefined;\n      }\n\n      var connections = ROUTE_CONNECTIONS.get(this);\n\n      for (var i = 0; i < connections.length; i++) {\n        var connection = connections[i];\n\n        if (connection.outlet === outletName && connection.into === parentView) {\n          // This neuters the disconnected outlet such that it doesn't\n          // render anything, but it leaves an entry in the outlet\n          // hierarchy so that any existing other renders that target it\n          // don't suddenly blow up. They will still stick themselves\n          // into its outlets, which won't render anywhere. All of this\n          // statefulness should get the machete in 2.0.\n          connections[i] = {\n            owner: connection.owner,\n            into: connection.into,\n            outlet: connection.outlet,\n            name: connection.name,\n            controller: undefined,\n            template: undefined,\n            model: undefined\n          };\n          (0, _runloop.once)(this._router, '_setOutlets');\n        }\n      }\n\n      ROUTE_CONNECTIONS.set(this, connections);\n    }\n\n    willDestroy() {\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method teardownViews\n    */\n\n\n    teardownViews() {\n      var connections = ROUTE_CONNECTIONS.get(this);\n\n      if (connections !== undefined && connections.length > 0) {\n        ROUTE_CONNECTIONS.set(this, []);\n        (0, _runloop.once)(this._router, '_setOutlets');\n      }\n    }\n    /**\n      Allows you to produce custom metadata for the route.\n      The return value of this method will be attatched to\n      its corresponding RouteInfoWithAttributes obejct.\n         Example\n         ```app/routes/posts/index.js\n      import Route from '@ember/routing/route';\n         export default class PostsIndexRoute extends Route {\n        buildRouteInfoMetadata() {\n          return { title: 'Posts Page' }\n        }\n      }\n      ```\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { inject as service } from '@ember/service';\n         export default class ApplicationRoute extends Route {\n        @service router\n           constructor() {\n          super(...arguments);\n             this.router.on('routeDidChange', transition => {\n            document.title = transition.to.metadata.title;\n            // would update document's title to \"Posts Page\"\n          });\n        }\n      }\n      ```\n         @return any\n     */\n\n\n    buildRouteInfoMetadata() {}\n\n  }\n\n  Route.reopenClass({\n    isRouteFactory: true\n  });\n\n  function parentRoute(route) {\n    var routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n    return routeInfo && routeInfo.route;\n  }\n\n  function routeInfoFor(route, routeInfos, offset = 0) {\n    if (!routeInfos) {\n      return;\n    }\n\n    var current;\n\n    for (var i = 0; i < routeInfos.length; i++) {\n      current = routeInfos[i].route;\n\n      if (current === route) {\n        return routeInfos[i + offset];\n      }\n    }\n\n    return;\n  }\n\n  function buildRenderOptions(route, isDefaultRender, _name, options) {\n    (true && !(isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)));\n    var owner = (0, _owner.getOwner)(route);\n    var name, templateName, into, outlet, model;\n    var controller = undefined;\n\n    if (options) {\n      into = options.into && options.into.replace(/\\//g, '.');\n      outlet = options.outlet;\n      controller = options.controller;\n      model = options.model;\n    }\n\n    outlet = outlet || 'main';\n\n    if (isDefaultRender) {\n      name = route.routeName;\n      templateName = route.templateName || name;\n    } else {\n      name = _name.replace(/\\//g, '.');\n      templateName = name;\n    }\n\n    if (controller === undefined) {\n      if (isDefaultRender) {\n        controller = route.controllerName || owner.lookup(`controller:${name}`);\n      } else {\n        controller = owner.lookup(`controller:${name}`) || route.controllerName || route.routeName;\n      }\n    }\n\n    if (typeof controller === 'string') {\n      var controllerName = controller;\n      controller = owner.lookup(`controller:${controllerName}`);\n      (true && !(isDefaultRender || controller !== undefined) && (0, _debug.assert)(`You passed \\`controller: '${controllerName}'\\` into the \\`render\\` method, but no such controller could be found.`, isDefaultRender || controller !== undefined));\n    }\n\n    if (model === undefined) {\n      model = route.currentModel;\n    } else {\n      controller.set('model', model);\n    }\n\n    var template = owner.lookup(`template:${templateName}`);\n    (true && !(isDefaultRender || template !== undefined) && (0, _debug.assert)(`Could not find \"${templateName}\" template, view, or component.`, isDefaultRender || template !== undefined));\n    var parent;\n\n    if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n      into = undefined;\n    }\n\n    var renderOptions = {\n      owner,\n      into,\n      outlet,\n      name,\n      controller,\n      model,\n      template: template !== undefined ? template(owner) : route._topLevelViewTemplate(owner)\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n      var LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n\n      if (LOG_VIEW_LOOKUPS && !template) {\n        (0, _debug.info)(`Could not find \"${name}\" template. Nothing will be rendered`, {\n          fullName: `template:${name}`\n        });\n      }\n    }\n\n    return renderOptions;\n  }\n\n  function getFullQueryParams(router, state) {\n    if (state['fullQueryParams']) {\n      return state['fullQueryParams'];\n    }\n\n    state['fullQueryParams'] = {};\n    (0, _polyfills.assign)(state['fullQueryParams'], state.queryParams);\n\n    router._deserializeQueryParams(state.routeInfos, state['fullQueryParams']);\n\n    return state['fullQueryParams'];\n  }\n\n  function getQueryParamsFor(route, state) {\n    state['queryParamsFor'] = state['queryParamsFor'] || {};\n    var name = route.fullRouteName;\n\n    if (state['queryParamsFor'][name]) {\n      return state['queryParamsFor'][name];\n    }\n\n    var fullQueryParams = getFullQueryParams(route._router, state);\n    var params = state['queryParamsFor'][name] = {}; // Copy over all the query params for this route/controller into params hash.\n\n    var qps = (0, _metal.get)(route, '_qp.qps');\n\n    for (var i = 0; i < qps.length; ++i) {\n      // Put deserialized qp on params hash.\n      var qp = qps[i];\n      var qpValueWasPassedIn = (qp.prop in fullQueryParams);\n      params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n    }\n\n    return params;\n  }\n\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      return (0, _runtime.A)(value.slice());\n    }\n\n    return value;\n  }\n  /*\n    Merges all query parameters from a controller with those from\n    a route, returning a new object and avoiding any mutations to\n    the existing objects.\n  */\n\n\n  function mergeEachQueryParams(controllerQP, routeQP) {\n    var qps = {};\n    var keysAlreadyMergedOrSkippable = {\n      defaultValue: true,\n      type: true,\n      scope: true,\n      as: true\n    }; // first loop over all controller qps, merging them with any matching route qps\n    // into a new empty object to avoid mutating.\n\n    for (var cqpName in controllerQP) {\n      if (!controllerQP.hasOwnProperty(cqpName)) {\n        continue;\n      }\n\n      var newControllerParameterConfiguration = {};\n      (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n      qps[cqpName] = newControllerParameterConfiguration; // allows us to skip this QP when we check route QPs.\n\n      keysAlreadyMergedOrSkippable[cqpName] = true;\n    } // loop over all route qps, skipping those that were merged in the first pass\n    // because they also appear in controller qps\n\n\n    for (var rqpName in routeQP) {\n      if (!routeQP.hasOwnProperty(rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n        continue;\n      }\n\n      var newRouteParameterConfiguration = {};\n      (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n      qps[rqpName] = newRouteParameterConfiguration;\n    }\n\n    return qps;\n  }\n\n  function addQueryParamsObservers(controller, propNames) {\n    propNames.forEach(prop => {\n      if ((0, _metal.descriptorForProperty)(controller, prop) === undefined) {\n        var desc = (0, _utils.lookupDescriptor)(controller, prop);\n\n        if (desc !== null && (typeof desc.get === 'function' || typeof desc.set === 'function')) {\n          (0, _metal.defineProperty)(controller, prop, (0, _compat.dependentKeyCompat)({\n            get: desc.get,\n            set: desc.set\n          }));\n        }\n      }\n\n      (0, _metal.addObserver)(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n    });\n  }\n\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      var prefix = engine.mountPoint;\n\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return `${prefix}.${routeName}`;\n      }\n    }\n\n    return routeName;\n  }\n  /**\n      A hook you can implement to convert the route's model into parameters\n      for the URL.\n  \n      ```app/router.js\n      // ...\n  \n      Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n  \n      ```\n  \n      ```app/routes/post.js\n      import Route from '@ember/routing/route';\n  \n      export default class PostRoute extends Route {\n        model({ post_id }) {\n          // the server returns `{ id: 12 }`\n          return fetch(`/posts/${post_id}`;\n        }\n  \n        serialize(model) {\n          // this will make the URL `/posts/12`\n          return { post_id: model.id };\n        }\n      }\n      ```\n  \n      The default `serialize` method will insert the model's `id` into the\n      route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n      If the route has multiple dynamic segments or does not contain '_id', `serialize`\n      will return `getProperties(model, params)`\n  \n      This method is called when `transitionTo` is called with a context\n      in order to populate the URL.\n  \n      @method serialize\n      @param {Object} model the routes model\n      @param {Array} params an Array of parameter names for the current\n        route (in the example, `['post_id']`.\n      @return {Object} the serialized parameters\n      @since 1.0.0\n      @public\n    */\n\n\n  Route.prototype.serialize = defaultSerialize;\n  Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n    mergedProperties: ['queryParams'],\n\n    /**\n      Configuration hash for this route's queryParams. The possible\n      configuration options and their defaults are as follows\n      (assuming a query param whose controller property is `page`):\n         ```javascript\n      queryParams: {\n        page: {\n          // By default, controller query param properties don't\n          // cause a full transition when they are changed, but\n          // rather only cause the URL to update. Setting\n          // `refreshModel` to true will cause an \"in-place\"\n          // transition to occur, whereby the model hooks for\n          // this route (and any child routes) will re-fire, allowing\n          // you to reload models (e.g., from the server) using the\n          // updated query param values.\n          refreshModel: false,\n             // By default, changes to controller query param properties\n          // cause the URL to update via `pushState`, which means an\n          // item will be added to the browser's history, allowing\n          // you to use the back button to restore the app to the\n          // previous state before the query param property was changed.\n          // Setting `replace` to true will use `replaceState` (or its\n          // hash location equivalent), which causes no browser history\n          // item to be added. This options name and default value are\n          // the same as the `link-to` helper's `replace` option.\n          replace: false,\n             // By default, the query param URL key is the same name as\n          // the controller property name. Use `as` to specify a\n          // different URL key.\n          as: 'page'\n        }\n      }\n      ```\n         @property queryParams\n      @for Route\n      @type Object\n      @since 1.6.0\n      @public\n    */\n    queryParams: {},\n\n    /**\n      The name of the template to use by default when rendering this routes\n      template.\n         ```app/routes/posts/list.js\n      import Route from '@ember/routing/route';\n         export default class extends Route {\n        templateName = 'posts/list'\n      });\n      ```\n         ```app/routes/posts/index.js\n      import PostsList from '../posts/list';\n         export default class extends PostsList {};\n      ```\n         ```app/routes/posts/archived.js\n      import PostsList from '../posts/list';\n         export default class extends PostsList {};\n      ```\n         @property templateName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    templateName: null,\n\n    /**\n      @private\n         @property _names\n    */\n    _names: null,\n\n    /**\n      The name of the controller to associate with this route.\n         By default, Ember will lookup a route's controller that matches the name\n      of the route (i.e. `posts.new`). However,\n      if you would like to define a specific controller to use, you can do so\n      using this property.\n         This is useful in many ways, as the controller specified will be:\n         * passed to the `setupController` method.\n      * used as the controller for the template being rendered by the route.\n      * returned from a call to `controllerFor` for the route.\n         @property controllerName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    controllerName: null,\n\n    /**\n      Store property provides a hook for data persistence libraries to inject themselves.\n         By default, this store property provides the exact same functionality previously\n      in the model hook.\n         Currently, the required interface is:\n         `store.find(modelName, findArguments)`\n         @property store\n      @type {Object}\n      @private\n    */\n    store: (0, _metal.computed)({\n      get() {\n        var owner = (0, _owner.getOwner)(this);\n        var routeName = this.routeName;\n        var namespace = (0, _metal.get)(this, '_router.namespace');\n        return {\n          find(name, value) {\n            var modelClass = owner.factoryFor(`model:${name}`);\n            (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment ${name}_id in your route ${routeName}, but ${namespace}.${(0, _string.classify)(name)} did not exist and you did not override your route's \\`model\\` hook.`, Boolean(modelClass)));\n\n            if (!modelClass) {\n              return;\n            }\n\n            modelClass = modelClass.class;\n            (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`${(0, _string.classify)(name)} has no method \\`find\\`.`, typeof modelClass.find === 'function'));\n            return modelClass.find(value);\n          }\n\n        };\n      },\n\n      set(key, value) {\n        (0, _metal.defineProperty)(this, key, null, value);\n      }\n\n    }),\n\n    /**\n        @private\n           @property _qp\n      */\n    _qp: (0, _metal.computed)(function () {\n      var combinedQueryParameterConfiguration;\n      var controllerName = this.controllerName || this.routeName;\n      var owner = (0, _owner.getOwner)(this);\n      var controller = owner.lookup(`controller:${controllerName}`);\n      var queryParameterConfiguraton = (0, _metal.get)(this, 'queryParams');\n      var hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n\n      if (controller) {\n        // the developer has authored a controller class in their application for\n        // this route find its query params and normalize their object shape them\n        // merge in the query params for the route. As a mergedProperty,\n        // Route#queryParams is always at least `{}`\n        var controllerDefinedQueryParameterConfiguration = (0, _metal.get)(controller, 'queryParams') || {};\n        var normalizedControllerQueryParameterConfiguration = (0, _utils2.normalizeControllerQueryParams)(controllerDefinedQueryParameterConfiguration);\n        combinedQueryParameterConfiguration = mergeEachQueryParams(normalizedControllerQueryParameterConfiguration, queryParameterConfiguraton);\n      } else if (hasRouterDefinedQueryParams) {\n        // the developer has not defined a controller but *has* supplied route query params.\n        // Generate a class for them so we can later insert default values\n        controller = (0, _generate_controller.default)(owner, controllerName);\n        combinedQueryParameterConfiguration = queryParameterConfiguraton;\n      }\n\n      var qps = [];\n      var map = {};\n      var propertyNames = [];\n\n      for (var propName in combinedQueryParameterConfiguration) {\n        if (!combinedQueryParameterConfiguration.hasOwnProperty(propName)) {\n          continue;\n        } // to support the dubious feature of using unknownProperty\n        // on queryParams configuration\n\n\n        if (propName === 'unknownProperty' || propName === '_super') {\n          // possible todo: issue deprecation warning?\n          continue;\n        }\n\n        var desc = combinedQueryParameterConfiguration[propName];\n        var scope = desc.scope || 'model';\n        var parts = void 0;\n\n        if (scope === 'controller') {\n          parts = [];\n        }\n\n        var urlKey = desc.as || this.serializeQueryParamKey(propName);\n        var defaultValue = (0, _metal.get)(controller, propName);\n        defaultValue = copyDefaultValue(defaultValue);\n        var type = desc.type || (0, _runtime.typeOf)(defaultValue);\n        var defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n        var scopedPropertyName = `${controllerName}:${propName}`;\n        var qp = {\n          undecoratedDefaultValue: (0, _metal.get)(controller, propName),\n          defaultValue,\n          serializedDefaultValue: defaultValueSerialized,\n          serializedValue: defaultValueSerialized,\n          type,\n          urlKey,\n          prop: propName,\n          scopedPropertyName,\n          controllerName,\n          route: this,\n          parts,\n          values: null,\n          scope\n        };\n        map[propName] = map[urlKey] = map[scopedPropertyName] = qp;\n        qps.push(qp);\n        propertyNames.push(propName);\n      }\n\n      return {\n        qps,\n        map,\n        propertyNames,\n        states: {\n          /*\n            Called when a query parameter changes in the URL, this route cares\n            about that query parameter, but the route is not currently\n            in the active route hierarchy.\n          */\n          inactive: (prop, value) => {\n            var qp = map[prop];\n\n            this._qpChanged(prop, value, qp);\n          },\n\n          /*\n            Called when a query parameter changes in the URL, this route cares\n            about that query parameter, and the route is currently\n            in the active route hierarchy.\n          */\n          active: (prop, value) => {\n            var qp = map[prop];\n\n            this._qpChanged(prop, value, qp);\n\n            return this._activeQPChanged(qp, value);\n          },\n\n          /*\n            Called when a value of a query parameter this route handles changes in a controller\n            and the route is currently in the active route hierarchy.\n          */\n          allowOverrides: (prop, value) => {\n            var qp = map[prop];\n\n            this._qpChanged(prop, value, qp);\n\n            return this._updatingQPChanged(qp);\n          }\n        }\n      };\n    }),\n\n    /**\n      Sends an action to the router, which will delegate it to the currently\n      active route hierarchy per the bubbling rules explained under `actions`.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n      });\n         export default Router;\n      ```\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        track(arg) {\n          console.log(arg, 'was clicked');\n        }\n      }\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@glimmer/tracking';\n         export default class IndexRoute extends Route {\n        @action\n        trackIfDebug(arg) {\n          if (debug) {\n            this.send('track', arg);\n          }\n        }\n      }\n      ```\n         @method send\n      @param {String} name the name of the action to trigger\n      @param {...*} args\n      @since 1.0.0\n      @public\n    */\n    send(...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${args[0]}' on the destroyed route '${this.routeName}'.`, !this.isDestroying && !this.isDestroyed));\n\n      if (this._router && this._router._routerMicrolib || !(0, _debug.isTesting)()) {\n        this._router.send(...args);\n      } else {\n        var name = args.shift();\n        var action = this.actions[name];\n\n        if (action) {\n          return action.apply(this, args);\n        }\n      }\n    },\n\n    /**\n      The controller associated with this route.\n         Example\n         ```app/routes/form.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class FormRoute extends Route {\n        @action\n        willTransition(transition) {\n          if (this.controller.get('userHasEnteredData') &&\n              !confirm('Are you sure you want to abandon progress?')) {\n            transition.abort();\n          } else {\n            // Bubble the `willTransition` action so that\n            // parent routes can decide whether or not to abort.\n            return true;\n          }\n        }\n      }\n      ```\n         @property controller\n      @type Controller\n      @since 1.6.0\n      @public\n    */\n    actions: {\n      /**\n      This action is called when one or more query params have changed. Bubbles.\n           @method queryParamsDidChange\n      @param changed {Object} Keys are names of query params that have changed.\n      @param totalPresent {Object} Keys are names of query params that are currently set.\n      @param removed {Object} Keys are names of query params that have been removed.\n      @returns {boolean}\n      @private\n      */\n      queryParamsDidChange(changed, _totalPresent, removed) {\n        var qpMap = (0, _metal.get)(this, '_qp').map;\n        var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n\n        for (var i = 0; i < totalChanged.length; ++i) {\n          var qp = qpMap[totalChanged[i]];\n\n          if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n\n        return true;\n      },\n\n      finalizeQueryParamChange(params, finalParams, transition) {\n        if (this.fullRouteName !== 'application') {\n          return true;\n        } // Transition object is absent for intermediate transitions.\n\n\n        if (!transition) {\n          return;\n        }\n\n        var routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n        var router = this._router;\n\n        var qpMeta = router._queryParamsFor(routeInfos);\n\n        var changes = router._qpUpdates;\n        var qpUpdated = false;\n        var replaceUrl;\n        (0, _utils2.stashParamNames)(router, routeInfos);\n\n        for (var i = 0; i < qpMeta.qps.length; ++i) {\n          var qp = qpMeta.qps[i];\n          var route = qp.route;\n          var controller = route.controller;\n          var presentKey = qp.urlKey in params && qp.urlKey; // Do a reverse lookup to see if the changed query\n          // param URL key corresponds to a QP property on\n          // this controller.\n\n          var value = void 0,\n              svalue = void 0;\n\n          if (changes.has(qp.urlKey)) {\n            // Value updated in/before setupController\n            value = (0, _metal.get)(controller, qp.prop);\n            svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n          } else {\n            if (presentKey) {\n              svalue = params[presentKey];\n\n              if (svalue !== undefined) {\n                value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);\n              }\n            } else {\n              // No QP provided; use default value.\n              svalue = qp.serializedDefaultValue;\n              value = copyDefaultValue(qp.defaultValue);\n            }\n          }\n\n          controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n          var thisQueryParamChanged = svalue !== qp.serializedValue;\n\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              var options = route._optionsForQueryParam(qp);\n\n              var replaceConfigValue = (0, _metal.get)(options, 'replace');\n\n              if (replaceConfigValue) {\n                replaceUrl = true;\n              } else if (replaceConfigValue === false) {\n                // Explicit pushState wins over any other replaceStates.\n                replaceUrl = false;\n              }\n            }\n\n            (0, _metal.set)(controller, qp.prop, value);\n            qpUpdated = true;\n          } // Stash current serialized value of controller.\n\n\n          qp.serializedValue = svalue;\n          var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n\n          if (!thisQueryParamHasDefaultValue || transition._keepDefaultQueryParamValues) {\n            finalParams.push({\n              value: svalue,\n              visible: true,\n              key: presentKey || qp.urlKey\n            });\n          }\n        } // Some QPs have been updated, and those changes need to be propogated\n        // immediately. Eventually, we should work on making this async somehow.\n\n\n        if (qpUpdated === true) {\n          (0, _metal.flushAsyncObservers)(false);\n        }\n\n        if (replaceUrl) {\n          transition.method('replace');\n        }\n\n        qpMeta.qps.forEach(qp => {\n          var routeQpMeta = (0, _metal.get)(qp.route, '_qp');\n          var finalizedController = qp.route.controller;\n          finalizedController._qpDelegate = (0, _metal.get)(routeQpMeta, 'states.active');\n        });\n\n        router._qpUpdates.clear();\n\n        return;\n      }\n\n    }\n  });\n  var ROUTER_EVENT_DEPRECATIONS;\n  _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS;\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n      on(name) {\n        this._super(...arguments);\n\n        var hasDidTransition = name === 'didTransition';\n        var hasWillTransition = name === 'willTransition';\n\n        if (hasDidTransition) {\n          (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"didTransition\" event which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n          }));\n        }\n\n        if (hasWillTransition) {\n          (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"willTransition\" event which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n          }));\n        }\n      }\n\n    };\n    Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n      _paramsFor(routeName, params) {\n        var transition = this._router._routerMicrolib.activeTransition;\n\n        if (transition !== undefined) {\n          return this.paramsFor(routeName);\n        }\n\n        return params;\n      }\n\n    });\n  }\n\n  (0, _runtime.setFrameworkClass)(Route);\n  var _default = Route;\n  _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/system/router\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/error\", \"@ember/polyfills\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/router_state\", \"router_js\"], function (_exports, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _error2, _polyfills, _runloop, _api, _utils, _dsl, _route, _router_state, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.triggerEvent = triggerEvent;\n  _exports.default = void 0;\n\n  function defaultDidTransition(infos) {\n    updatePaths(this);\n\n    this._cancelSlowTransitionTimer();\n\n    this.notifyPropertyChange('url');\n    this.set('currentState', this.targetState); // Put this in the runloop so url will be accurate. Seems\n    // less surprising than didTransition being out of sync.\n\n    (0, _runloop.once)(this, this.trigger, 'didTransition');\n\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n      }\n    }\n  }\n\n  function defaultWillTransition(oldInfos, newInfos, transition) {\n    (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Preparing to transition from '${EmberRouter._routePath(oldInfos)}' to '${EmberRouter._routePath(newInfos)}'`);\n      }\n    }\n  }\n\n  function K() {\n    return this;\n  }\n\n  var {\n    slice\n  } = Array.prototype;\n  /**\n    The `EmberRouter` class manages the application state and URLs. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class EmberRouter\n    @extends EmberObject\n    @uses Evented\n    @public\n  */\n\n  class EmberRouter extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.currentURL = null;\n      this.currentRouteName = null;\n      this.currentPath = null;\n      this.currentRoute = null;\n      this._qpCache = Object.create(null);\n      this._qpUpdates = new Set();\n      this._handledErrors = new Set();\n      this._engineInstances = Object.create(null);\n      this._engineInfoByRoute = Object.create(null);\n      this.currentState = null;\n      this.targetState = null;\n\n      this._resetQueuedQueryParameterChanges();\n    }\n\n    _initRouterJs() {\n      var location = (0, _metal.get)(this, 'location');\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var seen = Object.create(null);\n\n      class PrivateRouter extends _router_js.default {\n        getRoute(name) {\n          var routeName = name;\n          var routeOwner = owner;\n          var engineInfo = router._engineInfoByRoute[routeName];\n\n          if (engineInfo) {\n            var engineInstance = router._getEngineInstance(engineInfo);\n\n            routeOwner = engineInstance;\n            routeName = engineInfo.localFullName;\n          }\n\n          var fullRouteName = `route:${routeName}`;\n          var route = routeOwner.lookup(fullRouteName);\n\n          if (seen[name]) {\n            return route;\n          }\n\n          seen[name] = true;\n\n          if (!route) {\n            var DefaultRoute = routeOwner.factoryFor('route:basic').class;\n            routeOwner.register(fullRouteName, DefaultRoute.extend());\n            route = routeOwner.lookup(fullRouteName);\n\n            if (true\n            /* DEBUG */\n            ) {\n              if ((0, _metal.get)(router, 'namespace.LOG_ACTIVE_GENERATION')) {\n                (0, _debug.info)(`generated -> ${fullRouteName}`, {\n                  fullName: fullRouteName\n                });\n              }\n            }\n          }\n\n          route._setRouteName(routeName);\n\n          if (engineInfo && !(0, _route.hasDefaultSerialize)(route)) {\n            throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n          }\n\n          return route;\n        }\n\n        getSerializer(name) {\n          var engineInfo = router._engineInfoByRoute[name]; // If this is not an Engine route, we fall back to the handler for serialization\n\n          if (!engineInfo) {\n            return;\n          }\n\n          return engineInfo.serializeMethod || _route.defaultSerialize;\n        }\n\n        updateURL(path) {\n          (0, _runloop.once)(() => {\n            location.setURL(path);\n            (0, _metal.set)(router, 'currentURL', path);\n          });\n        }\n\n        didTransition(infos) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.didTransition !== defaultDidTransition) {\n              (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"didTransition\" method which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n              }));\n            }\n          }\n\n          router.didTransition(infos);\n        }\n\n        willTransition(oldInfos, newInfos, transition) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.willTransition !== defaultWillTransition) {\n              (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"willTransition\" method which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n              }));\n            }\n          }\n\n          router.willTransition(oldInfos, newInfos, transition);\n        }\n\n        triggerEvent(routeInfos, ignoreFailure, name, args) {\n          return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n        }\n\n        routeWillChange(transition) {\n          router.trigger('routeWillChange', transition);\n        }\n\n        routeDidChange(transition) {\n          router.set('currentRoute', transition.to);\n          (0, _runloop.once)(() => {\n            router.trigger('routeDidChange', transition);\n          });\n        }\n\n        transitionDidError(error, transition) {\n          if (error.wasAborted || transition.isAborted) {\n            // If the error was a transition erorr or the transition aborted\n            // log the abort.\n            return (0, _router_js.logAbort)(transition);\n          } else {\n            // Otherwise trigger the \"error\" event to attempt an intermediate\n            // transition into an error substate\n            transition.trigger(false, 'error', error.error, transition, error.route);\n\n            if (router._isErrorHandled(error.error)) {\n              // If we handled the error with a substate just roll the state back on\n              // the transition and send the \"routeDidChange\" event for landing on\n              // the error substate and return the error.\n              transition.rollback();\n              this.routeDidChange(transition);\n              return error.error;\n            } else {\n              // If it was not handled, abort the transition completely and return\n              // the error.\n              transition.abort();\n              return error.error;\n            }\n          }\n        }\n\n        _triggerWillChangeContext() {\n          return router;\n        }\n\n        _triggerWillLeave() {\n          return router;\n        }\n\n        replaceURL(url) {\n          if (location.replaceURL) {\n            var doReplaceURL = () => {\n              location.replaceURL(url);\n              (0, _metal.set)(router, 'currentURL', url);\n            };\n\n            (0, _runloop.once)(doReplaceURL);\n          } else {\n            this.updateURL(url);\n          }\n        }\n\n      }\n\n      var routerMicrolib = this._routerMicrolib = new PrivateRouter();\n      var dslCallbacks = this.constructor.dslCallbacks || [K];\n\n      var dsl = this._buildDSL();\n\n      dsl.route('application', {\n        path: '/',\n        resetNamespace: true,\n        overrideNameAssertion: true\n      }, function () {\n        for (var i = 0; i < dslCallbacks.length; i++) {\n          dslCallbacks[i].call(this);\n        }\n      });\n\n      if (true\n      /* DEBUG */\n      ) {\n        if ((0, _metal.get)(this, 'namespace.LOG_TRANSITIONS_INTERNAL')) {\n          routerMicrolib.log = console.log.bind(console); // eslint-disable-line no-console\n        }\n      }\n\n      routerMicrolib.map(dsl.generate());\n    }\n\n    _buildDSL() {\n      var enableLoadingSubstates = this._hasModuleBasedResolver();\n\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var options = {\n        enableLoadingSubstates,\n\n        resolveRouteMap(name) {\n          return owner.factoryFor(`route-map:${name}`);\n        },\n\n        addRouteForEngine(name, engineInfo) {\n          if (!router._engineInfoByRoute[name]) {\n            router._engineInfoByRoute[name] = engineInfo;\n          }\n        }\n\n      };\n      return new _dsl.default(null, options);\n    }\n    /*\n      Resets all pending query parameter changes.\n      Called after transitioning to a new route\n      based on query parameter changes.\n    */\n\n\n    _resetQueuedQueryParameterChanges() {\n      this._queuedQPChanges = {};\n    }\n\n    _hasModuleBasedResolver() {\n      var owner = (0, _owner.getOwner)(this);\n\n      if (!owner) {\n        return false;\n      }\n\n      var resolver = (0, _metal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n      return Boolean(resolver);\n    }\n    /**\n      Initializes the current router instance and sets up the change handling\n      event listeners used by the instances `location` implementation.\n         A property named `initialURL` will be used to determine the initial URL.\n      If no value is found `/` will be used.\n         @method startRouting\n      @private\n    */\n\n\n    startRouting() {\n      var initialURL = (0, _metal.get)(this, 'initialURL');\n\n      if (this.setupRouter()) {\n        if (initialURL === undefined) {\n          initialURL = (0, _metal.get)(this, 'location').getURL();\n        }\n\n        var initialTransition = this.handleURL(initialURL);\n\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    }\n\n    setupRouter() {\n      this._setupLocation();\n\n      var location = (0, _metal.get)(this, 'location'); // Allow the Location class to cancel the router setup while it refreshes\n      // the page\n\n      if ((0, _metal.get)(location, 'cancelRouterSetup')) {\n        return false;\n      }\n\n      this._initRouterJs();\n\n      location.onUpdateURL(url => {\n        this.handleURL(url);\n      });\n      return true;\n    }\n\n    _setOutlets() {\n      // This is triggered async during Route#willDestroy.\n      // If the router is also being destroyed we do not want to\n      // to create another this._toplevelView (and leak the renderer)\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n\n      var routeInfos = this._routerMicrolib.currentRouteInfos;\n      var route;\n      var defaultParentState;\n      var liveRoutes = null;\n\n      if (!routeInfos) {\n        return;\n      }\n\n      for (var i = 0; i < routeInfos.length; i++) {\n        route = routeInfos[i].route;\n\n        var connections = _route.ROUTE_CONNECTIONS.get(route);\n\n        var ownState = void 0;\n\n        for (var j = 0; j < connections.length; j++) {\n          var appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n          liveRoutes = appended.liveRoutes;\n\n          if (appended.ownState.render.name === route.routeName || appended.ownState.render.outlet === 'main') {\n            ownState = appended.ownState;\n          }\n        }\n\n        if (connections.length === 0) {\n          ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n        }\n\n        defaultParentState = ownState;\n      } // when a transitionTo happens after the validation phase\n      // during the initial transition _setOutlets is called\n      // when no routes are active. However, it will get called\n      // again with the correct values during the next turn of\n      // the runloop\n\n\n      if (!liveRoutes) {\n        return;\n      }\n\n      if (!this._toplevelView) {\n        var owner = (0, _owner.getOwner)(this);\n        var OutletView = owner.factoryFor('view:-outlet');\n        this._toplevelView = OutletView.create();\n\n        this._toplevelView.setOutletState(liveRoutes);\n\n        var instance = owner.lookup('-application-instance:main');\n        instance.didCreateRootView(this._toplevelView);\n      } else {\n        this._toplevelView.setOutletState(liveRoutes);\n      }\n    }\n\n    handleURL(url) {\n      // Until we have an ember-idiomatic way of accessing #hashes, we need to\n      // remove it because router.js doesn't know how to handle it.\n      var _url = url.split(/#(.+)?/)[0];\n      return this._doURLTransition('handleURL', _url);\n    }\n\n    _doURLTransition(routerJsMethod, url) {\n      var transition = this._routerMicrolib[routerJsMethod](url || '/');\n\n      didBeginTransition(transition, this);\n      return transition;\n    }\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n         @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @public\n    */\n\n\n    transitionTo(...args) {\n      if ((0, _utils.resemblesURL)(args[0])) {\n        (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`A transition was attempted from '${this.currentRouteName}' to '${args[0]}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed));\n        return this._doURLTransition('transitionTo', args[0]);\n      }\n\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`A transition was attempted from '${this.currentRouteName}' to '${routeName}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed));\n      return this._doTransition(routeName, models, queryParams);\n    }\n\n    intermediateTransitionTo(name, ...args) {\n      this._routerMicrolib.intermediateTransitionTo(name, ...args);\n\n      updatePaths(this);\n\n      if (true\n      /* DEBUG */\n      ) {\n        var infos = this._routerMicrolib.currentRouteInfos;\n\n        if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n          // eslint-disable-next-line no-console\n          console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n        }\n      }\n    }\n\n    replaceWith(...args) {\n      return this.transitionTo(...args).method('replace');\n    }\n\n    generate(name, ...args) {\n      var url = this._routerMicrolib.generate(name, ...args);\n\n      return this.location.formatURL(url);\n    }\n    /**\n      Determines if the supplied route is currently active.\n         @method isActive\n      @param routeName\n      @return {Boolean}\n      @private\n    */\n\n\n    isActive(routeName) {\n      return this._routerMicrolib.isActive(routeName);\n    }\n    /**\n      An alternative form of `isActive` that doesn't require\n      manual concatenation of the arguments into a single\n      array.\n         @method isActiveIntent\n      @param routeName\n      @param models\n      @param queryParams\n      @return {Boolean}\n      @private\n      @since 1.7.0\n    */\n\n\n    isActiveIntent(routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\n    }\n\n    send(name, ...args) {\n      /*name, context*/\n      this._routerMicrolib.trigger(name, ...args);\n    }\n    /**\n      Does this router instance have the given route.\n         @method hasRoute\n      @return {Boolean}\n      @private\n    */\n\n\n    hasRoute(route) {\n      return this._routerMicrolib.hasRoute(route);\n    }\n    /**\n      Resets the state of the router by clearing the current route\n      handlers and deactivating them.\n         @private\n      @method reset\n     */\n\n\n    reset() {\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\n    }\n\n    willDestroy() {\n      if (this._toplevelView) {\n        this._toplevelView.destroy();\n\n        this._toplevelView = null;\n      }\n\n      this._super(...arguments);\n\n      this.reset();\n      var instances = this._engineInstances;\n\n      for (var name in instances) {\n        for (var id in instances[name]) {\n          (0, _runloop.run)(instances[name][id], 'destroy');\n        }\n      }\n    }\n    /*\n      Called when an active route's query parameter has changed.\n      These changes are batched into a runloop run and trigger\n      a single transition.\n    */\n\n\n    _activeQPChanged(queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      (0, _runloop.once)(this, this._fireQueryParamTransition);\n    }\n\n    _updatingQPChanged(queryParameterName) {\n      this._qpUpdates.add(queryParameterName);\n    }\n    /*\n      Triggers a transition to a route based on query parameter changes.\n      This is called once per runloop, to batch changes.\n         e.g.\n         if these methods are called in succession:\n      this._activeQPChanged('foo', '10');\n        // results in _queuedQPChanges = { foo: '10' }\n      this._activeQPChanged('bar', false);\n        // results in _queuedQPChanges = { foo: '10', bar: false }\n         _queuedQPChanges will represent both of these changes\n      and the transition using `transitionTo` will be triggered\n      once.\n    */\n\n\n    _fireQueryParamTransition() {\n      this.transitionTo({\n        queryParams: this._queuedQPChanges\n      });\n\n      this._resetQueuedQueryParameterChanges();\n    }\n\n    _setupLocation() {\n      var location = this.location;\n      var rootURL = this.rootURL;\n      var owner = (0, _owner.getOwner)(this);\n\n      if ('string' === typeof location && owner) {\n        var resolvedLocation = owner.lookup(`location:${location}`);\n\n        if (resolvedLocation !== undefined) {\n          location = (0, _metal.set)(this, 'location', resolvedLocation);\n        } else {\n          // Allow for deprecated registration of custom location API's\n          var options = {\n            implementation: location\n          };\n          location = (0, _metal.set)(this, 'location', _api.default.create(options));\n        }\n      }\n\n      if (location !== null && typeof location === 'object') {\n        if (rootURL) {\n          (0, _metal.set)(location, 'rootURL', rootURL);\n        } // Allow the location to do any feature detection, such as AutoLocation\n        // detecting history support. This gives it a chance to set its\n        // `cancelRouterSetup` property which aborts routing.\n\n\n        if (typeof location.detect === 'function') {\n          location.detect();\n        } // ensure that initState is called AFTER the rootURL is set on\n        // the location instance\n\n\n        if (typeof location.initState === 'function') {\n          location.initState();\n        }\n      }\n    }\n    /**\n      Serializes the given query params according to their QP meta information.\n         @private\n      @method _serializeQueryParams\n      @param {Arrray<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n\n    _serializeQueryParams(routeInfos, queryParams) {\n      forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n        if (qp) {\n          delete queryParams[key];\n          queryParams[qp.urlKey] = qp.route.serializeQueryParam(value, qp.urlKey, qp.type);\n        } else if (value === undefined) {\n          return; // We don't serialize undefined values\n        } else {\n          queryParams[key] = this._serializeQueryParam(value, (0, _runtime.typeOf)(value));\n        }\n      });\n    }\n    /**\n      Serializes the value of a query parameter based on a type\n         @private\n      @method _serializeQueryParam\n      @param {Object} value\n      @param {String} type\n    */\n\n\n    _serializeQueryParam(value, type) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (type === 'array') {\n        return JSON.stringify(value);\n      }\n\n      return `${value}`;\n    }\n    /**\n      Deserializes the given query params according to their QP meta information.\n         @private\n      @method _deserializeQueryParams\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n\n    _deserializeQueryParams(routeInfos, queryParams) {\n      forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n        // If we don't have QP meta info for a given key, then we do nothing\n        // because all values will be treated as strings\n        if (qp) {\n          delete queryParams[key];\n          queryParams[qp.prop] = qp.route.deserializeQueryParam(value, qp.urlKey, qp.type);\n        }\n      });\n    }\n    /**\n      Deserializes the value of a query parameter based on a default type\n         @private\n      @method _deserializeQueryParam\n      @param {Object} value\n      @param {String} defaultType\n    */\n\n\n    _deserializeQueryParam(value, defaultType) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (defaultType === 'boolean') {\n        return value === 'true';\n      } else if (defaultType === 'number') {\n        return Number(value).valueOf();\n      } else if (defaultType === 'array') {\n        return (0, _runtime.A)(JSON.parse(value));\n      }\n\n      return value;\n    }\n    /**\n      Removes (prunes) any query params with default values from the given QP\n      object. Default values are determined from the QP meta information per key.\n         @private\n      @method _pruneDefaultQueryParamValues\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n\n    _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n      var qps = this._queryParamsFor(routeInfos);\n\n      for (var key in queryParams) {\n        var qp = qps.map[key];\n\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    }\n\n    _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n      var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n\n      (true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)));\n      var queryParams = {};\n\n      this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n      (0, _polyfills.assign)(queryParams, _queryParams);\n\n      this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_keepDefaultQueryParamValues));\n\n      var transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n        queryParams\n      });\n\n      didBeginTransition(transition, this);\n      return transition;\n    }\n\n    _processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams) {\n      // merge in any queryParams from the active transition which could include\n      // queryParams from the url on initial load.\n      if (!this._routerMicrolib.activeTransition) {\n        return;\n      }\n\n      var unchangedQPs = {};\n      var qpUpdates = this._qpUpdates;\n      var params = this._routerMicrolib.activeTransition[_router_js.QUERY_PARAMS_SYMBOL];\n\n      for (var key in params) {\n        if (!qpUpdates.has(key)) {\n          unchangedQPs[key] = params[key];\n        }\n      } // We need to fully scope queryParams so that we can create one object\n      // that represents both passed-in queryParams and ones that aren't changed\n      // from the active transition.\n\n\n      this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n\n      this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n\n      (0, _polyfills.assign)(queryParams, unchangedQPs);\n    }\n    /**\n      Prepares the query params for a URL or Transition. Restores any undefined QP\n      keys/values, serializes all values, and then prunes any default values.\n         @private\n      @method _prepareQueryParams\n      @param {String} targetRouteName\n      @param {Array<Object>} models\n      @param {Object} queryParams\n      @param {boolean} keepDefaultQueryParamValues\n      @return {Void}\n    */\n\n\n    _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n      var state = calculatePostTransitionState(this, targetRouteName, models);\n\n      this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n\n      this._serializeQueryParams(state.routeInfos, queryParams);\n\n      if (!_fromRouterService) {\n        this._pruneDefaultQueryParamValues(state.routeInfos, queryParams);\n      }\n    }\n    /**\n      Returns the meta information for the query params of a given route. This\n      will be overridden to allow support for lazy routes.\n         @private\n      @method _getQPMeta\n      @param {RouteInfo} routeInfo\n      @return {Object}\n    */\n\n\n    _getQPMeta(routeInfo) {\n      var route = routeInfo.route;\n      return route && (0, _metal.get)(route, '_qp');\n    }\n    /**\n      Returns a merged query params meta object for a given set of routeInfos.\n      Useful for knowing what query params are available for a given route hierarchy.\n         @private\n      @method _queryParamsFor\n      @param {Array<RouteInfo>} routeInfos\n      @return {Object}\n     */\n\n\n    _queryParamsFor(routeInfos) {\n      var routeInfoLength = routeInfos.length;\n      var leafRouteName = routeInfos[routeInfoLength - 1].name;\n      var cached = this._qpCache[leafRouteName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n\n      var shouldCache = true;\n      var map = {};\n      var qps = [];\n      var qpsByUrlKey = true\n      /* DEBUG */\n      ? {} : null;\n      var qpMeta;\n      var qp;\n      var urlKey;\n      var qpOther;\n\n      for (var i = 0; i < routeInfoLength; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          shouldCache = false;\n          continue;\n        } // Loop over each QP to make sure we don't have any collisions by urlKey\n\n\n        for (var _i = 0; _i < qpMeta.qps.length; _i++) {\n          qp = qpMeta.qps[_i];\n\n          if (true\n          /* DEBUG */\n          ) {\n            urlKey = qp.urlKey;\n            qpOther = qpsByUrlKey[urlKey];\n\n            if (qpOther && qpOther.controllerName !== qp.controllerName) {\n              (true && !(false) && (0, _debug.assert)(`You're not allowed to have more than one controller property map to the same query param key, but both \\`${qpOther.scopedPropertyName}\\` and \\`${qp.scopedPropertyName}\\` map to \\`${urlKey}\\`. You can fix this by mapping one of the controller properties to a different query param key via the \\`as\\` config option, e.g. \\`${qpOther.prop}: { as: \\'other-${qpOther.prop}\\' }\\``, false));\n            }\n\n            qpsByUrlKey[urlKey] = qp;\n          }\n\n          qps.push(qp);\n        }\n\n        (0, _polyfills.assign)(map, qpMeta.map);\n      }\n\n      var finalQPMeta = {\n        qps,\n        map\n      };\n\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\n      }\n\n      return finalQPMeta;\n    }\n    /**\n      Maps all query param keys to their fully scoped property name of the form\n      `controllerName:propName`.\n         @private\n      @method _fullyScopeQueryParams\n      @param {String} leafRouteName\n      @param {Array<Object>} contexts\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n\n    _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n      var state = calculatePostTransitionState(this, leafRouteName, contexts);\n      var routeInfos = state.routeInfos;\n      var qpMeta;\n\n      for (var i = 0, len = routeInfos.length; i < len; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        var qp = void 0;\n        var presentProp = void 0;\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          }\n        }\n      }\n    }\n    /**\n      Hydrates (adds/restores) any query params that have pre-existing values into\n      the given queryParams hash. This is what allows query params to be \"sticky\"\n      and restore their last known values for their scope.\n         @private\n      @method _hydrateUnsuppliedQueryParams\n      @param {TransitionState} state\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n\n    _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n      var routeInfos = state.routeInfos;\n      var appCache = this._bucketCache;\n      var qpMeta;\n      var qp;\n      var presentProp;\n\n      for (var i = 0; i < routeInfos.length; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n          (true && !(function () {\n            if (qp.urlKey === presentProp) {\n              return true;\n            }\n\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              // assumptions (mainly from current transitionTo_test):\n              // - this is only supposed to be run when there is an alias to a query param and the alias is used to set the param\n              // - when there is no alias: qp.urlKey == qp.prop\n              return false;\n            }\n\n            return true;\n          }()) && (0, _debug.assert)(`You passed the \\`${presentProp}\\` query parameter during a transition into ${qp.route.routeName}, please update to ${qp.urlKey}`, function () {\n            if (qp.urlKey === presentProp) {\n              return true;\n            }\n\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              return false;\n            }\n\n            return true;\n          }()));\n\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          } else {\n            var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    }\n\n    _scheduleLoadingEvent(transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n\n      this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n    }\n\n    _handleSlowTransition(transition, originRoute) {\n      if (!this._routerMicrolib.activeTransition) {\n        // Don't fire an event if we've since moved on from\n        // the transition that put us in a loading state.\n        return;\n      }\n\n      var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      this.set('targetState', targetState);\n      transition.trigger(true, 'loading', transition, originRoute);\n    }\n\n    _cancelSlowTransitionTimer() {\n      if (this._slowTransitionTimer) {\n        (0, _runloop.cancel)(this._slowTransitionTimer);\n      }\n\n      this._slowTransitionTimer = null;\n    } // These three helper functions are used to ensure errors aren't\n    // re-raised if they're handled in a route's error action.\n\n\n    _markErrorAsHandled(error) {\n      this._handledErrors.add(error);\n    }\n\n    _isErrorHandled(error) {\n      return this._handledErrors.has(error);\n    }\n\n    _clearHandledError(error) {\n      this._handledErrors.delete(error);\n    }\n\n    _getEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      var engineInstances = this._engineInstances;\n\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n\n      var engineInstance = engineInstances[name][instanceId];\n\n      if (!engineInstance) {\n        var owner = (0, _owner.getOwner)(this);\n        (true && !(owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You attempted to mount the engine '${name}' in your router map, but the engine can not be found.`, owner.hasRegistration(`engine:${name}`)));\n        engineInstance = owner.buildChildEngineInstance(name, {\n          routable: true,\n          mountPoint\n        });\n        engineInstance.boot();\n        engineInstances[name][instanceId] = engineInstance;\n      }\n\n      return engineInstance;\n    }\n\n  }\n  /*\n    Helper function for iterating over routes in a set of routeInfos that are\n    at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n    and the routeInfos given were for 'foo.bar.baz', then the given callback\n    will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n    individually.\n  \n    If the callback returns anything other than `true`, then iteration will stop.\n  \n    @private\n    @param {Route} originRoute\n    @param {Array<RouteInfo>} routeInfos\n    @param {Function} callback\n    @return {Void}\n   */\n\n\n  function forEachRouteAbove(routeInfos, callback) {\n    for (var i = routeInfos.length - 1; i >= 0; --i) {\n      var routeInfo = routeInfos[i];\n      var route = routeInfo.route; // routeInfo.handler being `undefined` generally means either:\n      //\n      // 1. an error occurred during creation of the route in question\n      // 2. the route is across an async boundary (e.g. within an engine)\n      //\n      // In both of these cases, we cannot invoke the callback on that specific\n      // route, because it just doesn't exist...\n\n      if (route === undefined) {\n        continue;\n      }\n\n      if (callback(route, routeInfo) !== true) {\n        return;\n      }\n    }\n  } // These get invoked when an action bubbles above ApplicationRoute\n  // and are not meant to be overridable.\n\n\n  var defaultActionHandlers = {\n    willResolveModel(_routeInfos, transition, originRoute) {\n      this._scheduleLoadingEvent(transition, originRoute);\n    },\n\n    // Attempt to find an appropriate error route or substate to enter.\n    error(routeInfos, error, transition) {\n      var router = this;\n      var routeInfoWithError = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, (route, routeInfo) => {\n        // We don't check the leaf most routeInfo since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithError) {\n          // Check for the existence of an 'error' route.\n          var errorRouteName = findRouteStateName(route, 'error');\n\n          if (errorRouteName) {\n            router._markErrorAsHandled(error);\n\n            router.intermediateTransitionTo(errorRouteName, error);\n            return false;\n          }\n        } // Check for an 'error' substate route\n\n\n        var errorSubstateName = findRouteSubstateName(route, 'error');\n\n        if (errorSubstateName) {\n          router._markErrorAsHandled(error);\n\n          router.intermediateTransitionTo(errorSubstateName, error);\n          return false;\n        }\n\n        return true;\n      });\n      logError(error, `Error while processing route: ${transition.targetName}`);\n    },\n\n    // Attempt to find an appropriate loading route or substate to enter.\n    loading(routeInfos, transition) {\n      var router = this;\n      var routeInfoWithSlowLoading = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, (route, routeInfo) => {\n        // We don't check the leaf most routeInfos since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithSlowLoading) {\n          // Check for the existence of a 'loading' route.\n          var loadingRouteName = findRouteStateName(route, 'loading');\n\n          if (loadingRouteName) {\n            router.intermediateTransitionTo(loadingRouteName);\n            return false;\n          }\n        } // Check for loading substate\n\n\n        var loadingSubstateName = findRouteSubstateName(route, 'loading');\n\n        if (loadingSubstateName) {\n          router.intermediateTransitionTo(loadingSubstateName);\n          return false;\n        } // Don't bubble above pivot route.\n\n\n        return transition.pivotHandler !== route;\n      });\n    }\n\n  };\n\n  function logError(_error, initialMessage) {\n    var errorArgs = [];\n    var error;\n\n    if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n      error = _error.errorThrown;\n    } else {\n      error = _error;\n    }\n\n    if (initialMessage) {\n      errorArgs.push(initialMessage);\n    }\n\n    if (error) {\n      if (error.message) {\n        errorArgs.push(error.message);\n      }\n\n      if (error.stack) {\n        errorArgs.push(error.stack);\n      }\n\n      if (typeof error === 'string') {\n        errorArgs.push(error);\n      }\n    }\n\n    console.error(...errorArgs); //eslint-disable-line no-console\n  }\n  /**\n    Finds the name of the substate route if it exists for the given route. A\n    substate route is of the form `route_state`, such as `foo_loading`.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n\n  function findRouteSubstateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    var substateName = `${routeName}_${state}`;\n    var substateNameFull = `${fullRouteName}_${state}`;\n    return routeHasBeenDefined(owner, router, substateName, substateNameFull) ? substateNameFull : '';\n  }\n  /**\n    Finds the name of the state route if it exists for the given route. A state\n    route is of the form `route.state`, such as `foo.loading`. Properly Handles\n    `application` named routes.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n\n  function findRouteStateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    var stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n    var stateNameFull = fullRouteName === 'application' ? state : `${fullRouteName}.${state}`;\n    return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n  }\n  /**\n    Determines whether or not a route has been defined by checking that the route\n    is in the Router's map and the owner has a registration for that route.\n  \n    @private\n    @param {Owner} owner\n    @param {Router} router\n    @param {String} localName\n    @param {String} fullName\n    @return {Boolean}\n  */\n\n\n  function routeHasBeenDefined(owner, router, localName, fullName) {\n    var routerHasRoute = router.hasRoute(fullName);\n    var ownerHasRoute = owner.hasRegistration(`template:${localName}`) || owner.hasRegistration(`route:${localName}`);\n    return routerHasRoute && ownerHasRoute;\n  }\n\n  function triggerEvent(routeInfos, ignoreFailure, name, args) {\n    if (!routeInfos) {\n      if (ignoreFailure) {\n        return;\n      }\n\n      throw new _error2.default(`Can't trigger action '${name}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \\`.send()\\` on the \\`Transition\\` object passed to the \\`model/beforeModel/afterModel\\` hooks.`);\n    }\n\n    var eventWasHandled = false;\n    var routeInfo, handler, actionHandler;\n\n    for (var i = routeInfos.length - 1; i >= 0; i--) {\n      routeInfo = routeInfos[i];\n      handler = routeInfo.route;\n      actionHandler = handler && handler.actions && handler.actions[name];\n\n      if (actionHandler) {\n        if (actionHandler.apply(handler, args) === true) {\n          eventWasHandled = true;\n        } else {\n          // Should only hit here if a non-bubbling error action is triggered on a route.\n          if (name === 'error') {\n            handler._router._markErrorAsHandled(args[0]);\n          }\n\n          return;\n        }\n      }\n    }\n\n    var defaultHandler = defaultActionHandlers[name];\n\n    if (defaultHandler) {\n      defaultHandler.apply(this, [routeInfos, ...args]);\n      return;\n    }\n\n    if (!eventWasHandled && !ignoreFailure) {\n      throw new _error2.default(`Nothing handled the action '${name}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`);\n    }\n  }\n\n  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    var state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n\n    var {\n      routeInfos,\n      params\n    } = state;\n\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i]; // If the routeInfo is not resolved, we serialize the context into params\n\n      if (!routeInfo.isResolved) {\n        params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n      } else {\n        params[routeInfo.name] = routeInfo.params;\n      }\n    }\n\n    return state;\n  }\n\n  function updatePaths(router) {\n    var infos = router._routerMicrolib.currentRouteInfos;\n\n    if (infos.length === 0) {\n      return;\n    }\n\n    var path = EmberRouter._routePath(infos);\n\n    var currentRouteName = infos[infos.length - 1].name;\n    var currentURL = router.get('location').getURL();\n    (0, _metal.set)(router, 'currentPath', path);\n    (0, _metal.set)(router, 'currentRouteName', currentRouteName);\n    (0, _metal.set)(router, 'currentURL', currentURL);\n    var appController = (0, _owner.getOwner)(router).lookup('controller:application');\n\n    if (!appController) {\n      // appController might not exist when top-level loading/error\n      // substates have been entered since ApplicationRoute hasn't\n      // actually been entered at that point.\n      return;\n    }\n\n    if (_deprecatedFeatures.APP_CTRL_ROUTER_PROPS) {\n      if (!('currentPath' in appController)) {\n        Object.defineProperty(appController, 'currentPath', {\n          get() {\n            (true && !(false) && (0, _debug.deprecate)('Accessing `currentPath` on `controller:application` is deprecated, use the `currentPath` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n            }));\n            return (0, _metal.get)(router, 'currentPath');\n          }\n\n        });\n      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentPath');\n\n      if (!('currentRouteName' in appController)) {\n        Object.defineProperty(appController, 'currentRouteName', {\n          get() {\n            (true && !(false) && (0, _debug.deprecate)('Accessing `currentRouteName` on `controller:application` is deprecated, use the `currentRouteName` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n            }));\n            return (0, _metal.get)(router, 'currentRouteName');\n          }\n\n        });\n      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentRouteName');\n    }\n  }\n\n  EmberRouter.reopenClass({\n    /**\n      The `Router.map` function allows you to define mappings from URLs to routes\n      in your application. These mappings are defined within the\n      supplied callback function using `this.route`.\n         The first parameter is the name of the route which is used by default as the\n      path name as well.\n         The second parameter is the optional options hash. Available options are:\n           * `path`: allows you to provide your own path as well as mark dynamic\n          segments.\n        * `resetNamespace`: false by default; when nesting routes, ember will\n          combine the route names to form the fully-qualified route name, which is\n          used with `{{link-to}}` or manually transitioning to routes. Setting\n          `resetNamespace: true` will cause the route not to inherit from its\n          parent route's names. This is handy for preventing extremely long route names.\n          Keep in mind that the actual URL path behavior is still retained.\n         The third parameter is a function, which can be used to nest routes.\n      Nested routes, by default, will have the parent route tree's route name and\n      path prepended to it's own.\n         ```app/router.js\n      Router.map(function(){\n        this.route('post', { path: '/post/:post_id' }, function() {\n          this.route('edit');\n          this.route('comments', { resetNamespace: true }, function() {\n            this.route('new');\n          });\n        });\n      });\n      ```\n         @method map\n      @param callback\n      @public\n    */\n    map(callback) {\n      if (!this.dslCallbacks) {\n        this.dslCallbacks = [];\n        this.reopenClass({\n          dslCallbacks: this.dslCallbacks\n        });\n      }\n\n      this.dslCallbacks.push(callback);\n      return this;\n    },\n\n    _routePath(routeInfos) {\n      var path = []; // We have to handle coalescing resource names that\n      // are prefixed with their parent's names, e.g.\n      // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n\n      function intersectionMatches(a1, a2) {\n        for (var i = 0; i < a1.length; ++i) {\n          if (a1[i] !== a2[i]) {\n            return false;\n          }\n        }\n\n        return true;\n      }\n\n      var name, nameParts, oldNameParts;\n\n      for (var i = 1; i < routeInfos.length; i++) {\n        name = routeInfos[i].name;\n        nameParts = name.split('.');\n        oldNameParts = slice.call(path);\n\n        while (oldNameParts.length) {\n          if (intersectionMatches(oldNameParts, nameParts)) {\n            break;\n          }\n\n          oldNameParts.shift();\n        }\n\n        path.push(...nameParts.slice(oldNameParts.length));\n      }\n\n      return path.join('.');\n    }\n\n  });\n\n  function didBeginTransition(transition, router) {\n    var routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n\n    if (!router.currentState) {\n      router.set('currentState', routerState);\n    }\n\n    router.set('targetState', routerState);\n    transition.promise = transition.catch(error => {\n      if (router._isErrorHandled(error)) {\n        router._clearHandledError(error);\n      } else {\n        throw error;\n      }\n    }, 'Transition Error');\n  }\n\n  function forEachQueryParam(router, routeInfos, queryParams, callback) {\n    var qpCache = router._queryParamsFor(routeInfos);\n\n    for (var key in queryParams) {\n      if (!queryParams.hasOwnProperty(key)) {\n        continue;\n      }\n\n      var value = queryParams[key];\n      var qp = qpCache.map[key];\n      callback(key, value, qp);\n    }\n  }\n\n  function findLiveRoute(liveRoutes, name) {\n    if (!liveRoutes) {\n      return;\n    }\n\n    var stack = [liveRoutes];\n\n    while (stack.length > 0) {\n      var test = stack.shift();\n\n      if (test.render.name === name) {\n        return test;\n      }\n\n      var outlets = test.outlets;\n\n      for (var outletName in outlets) {\n        stack.push(outlets[outletName]);\n      }\n    }\n\n    return;\n  }\n\n  function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n    var target;\n    var myState = {\n      render: renderOptions,\n      outlets: Object.create(null),\n      wasUsed: false\n    };\n\n    if (renderOptions.into) {\n      target = findLiveRoute(liveRoutes, renderOptions.into);\n    } else {\n      target = defaultParentState;\n    }\n\n    if (target) {\n      (0, _metal.set)(target.outlets, renderOptions.outlet, myState);\n    } else {\n      liveRoutes = myState;\n    }\n\n    return {\n      liveRoutes,\n      ownState: myState\n    };\n  }\n\n  function representEmptyRoute(liveRoutes, defaultParentState, route) {\n    // the route didn't render anything\n    var alreadyAppended = findLiveRoute(liveRoutes, route.routeName);\n\n    if (alreadyAppended) {\n      // But some other route has already rendered our default\n      // template, so that becomes the default target for any\n      // children we may have.\n      return alreadyAppended;\n    } else {\n      // Create an entry to represent our default template name,\n      // just so other routes can target it and inherit its place\n      // in the outlet hierarchy.\n      defaultParentState.outlets.main = {\n        render: {\n          name: route.routeName,\n          outlet: 'main'\n        },\n        outlets: {}\n      };\n      return defaultParentState;\n    }\n  }\n\n  EmberRouter.reopen(_runtime.Evented, {\n    /**\n      Handles updating the paths and notifying any listeners of the URL\n      change.\n         Triggers the router level `didTransition` hook.\n         For example, to notify google analytics when the route changes,\n      you could use this hook.  (Note: requires also including GA scripts, etc.)\n         ```javascript\n      import config from './config/environment';\n      import EmberRouter from '@ember/routing/router';\n      import { inject as service } from '@ember/service';\n         let Router = EmberRouter.extend({\n        location: config.locationType,\n           router: service(),\n           didTransition: function() {\n          this._super(...arguments);\n             ga('send', 'pageview', {\n            page: this.router.currentURL,\n            title: this.router.currentRouteName,\n          });\n        }\n      });\n      ```\n         @method didTransition\n      @public\n      @since 1.2.0\n    */\n    didTransition: defaultDidTransition,\n\n    /**\n      Handles notifying any listeners of an impending URL\n      change.\n         Triggers the router level `willTransition` hook.\n         @method willTransition\n      @public\n      @since 1.11.0\n    */\n    willTransition: defaultWillTransition,\n\n    /**\n     Represents the URL of the root of the application, often '/'. This prefix is\n     assumed on all routes defined on this router.\n        @property rootURL\n     @default '/'\n     @public\n    */\n    rootURL: '/',\n\n    /**\n     The `location` property determines the type of URL's that your\n     application will use.\n        The following location types are currently available:\n        * `history` - use the browser's history API to make the URLs look just like any standard URL\n     * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n     * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n     * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n        This value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`\n        @property location\n     @default 'hash'\n     @see {Location}\n     @public\n    */\n    location: 'hash',\n\n    /**\n     Represents the current URL.\n        @property url\n     @type {String}\n     @private\n    */\n    url: (0, _metal.computed)(function () {\n      var location = (0, _metal.get)(this, 'location');\n\n      if (typeof location === 'string') {\n        return undefined;\n      }\n\n      return location.getURL();\n    })\n  });\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n  }\n\n  var _default = EmberRouter;\n  _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/system/router_state\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _polyfills, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class RouterState {\n    constructor(emberRouter, router, routerJsState) {\n      this.emberRouter = emberRouter;\n      this.router = router;\n      this.routerJsState = routerJsState;\n    }\n\n    isActiveIntent(routeName, models, queryParams, queryParamsMustMatch) {\n      var state = this.routerJsState;\n\n      if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n        return false;\n      }\n\n      if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n        var visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n\n        return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n      }\n\n      return true;\n    }\n\n  }\n\n  _exports.default = RouterState;\n});","define(\"@ember/-internals/routing/lib/system/transition\", [], function () {\n  \"use strict\";\n  /**\n    A Transition is a thennable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @public\n  */\n\n  /**\n    The Transition's internal promise. Calling `.then` on this property\n    is that same as calling `.then` on the Transition object itself, but\n    this property is exposed for when you want to pass around a\n    Transition's promise, but not the Transition object itself, since\n    Transition object can be externally `abort`ed, while the promise\n    cannot.\n  \n    @property promise\n    @type {Object}\n    @public\n    */\n\n  /**\n    Custom state can be stored on a Transition's `data` object.\n    This can be useful for decorating a Transition within an earlier\n    hook and shared with a later hook. Properties set on `data` will\n    be copied to new transitions generated by calling `retry` on this\n    transition.\n  \n    @property data\n    @type {Object}\n    @public\n  */\n\n  /**\n    A standard promise hook that resolves if the transition\n    succeeds and rejects if it fails/redirects/aborts.\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method then\n    @param {Function} onFulfilled\n    @param {Function} onRejected\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method catch\n    @param {Function} onRejection\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method finally\n    @param {Function} callback\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n    Aborts the Transition. Note you can also implicitly abort a transition\n    by initiating another transition while a previous one is underway.\n  \n    @method abort\n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Retries a previously-aborted transition (making sure to abort the\n    transition if it's still active). Returns a new transition that\n    represents the new attempt to transition.\n  \n    @method retry\n    @return {Transition} new transition\n    @public\n    */\n\n  /**\n  \n    Sets the URL-changing method to be employed at the end of a\n    successful transition. By default, a new Transition will just\n    use `updateURL`, but passing 'replace' to this method will\n    cause the URL to update using 'replaceWith' instead. Omitting\n    a parameter will disable the URL change, allowing for transitions\n    that don't update the URL at completion (this is also used for\n    handleURL, since the URL has already changed before the\n    transition took place).\n  \n    @method method\n    @param {String} method the type of URL-changing method to use\n      at the end of a transition. Accepted values are 'replace',\n      falsy values, or any other non-falsy value (which is\n      interpreted as an updateURL transition).\n  \n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Fires an event on the current list of resolved/resolving\n    handlers within this transition. Useful for firing events\n    on route hierarchies that haven't fully been entered yet.\n  \n    Note: This method is also aliased as `send`\n  \n    @method trigger\n    @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n    @param {String} name the name of the event to fire\n    @public\n  */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where the router is transitioning to. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the leafmost route.\n   * @property {null|RouteInfo|RouteInfoWithAttributes} to\n   * @public\n   */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where transition originated from. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the head node of the list.\n   * In the case of an initial render, `from` will be set to\n   * `null`.\n   * @property {null|RouteInfoWithAttributes} from\n   * @public\n   */\n\n  /**\n    Transitions are aborted and their promises rejected\n    when redirects occur; this method returns a promise\n    that will follow any redirects that occur and fulfill\n    with the value fulfilled by any redirecting transitions\n    that occur.\n  \n    @method followRedirects\n    @return {Promise} a promise that fulfills with the same\n      value that the final redirecting transition fulfills with\n    @public\n  */\n});","define(\"@ember/-internals/routing/lib/utils\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/error\", \"@ember/polyfills\", \"router_js\"], function (_exports, _metal, _owner, _error, _polyfills, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.extractRouteArgs = extractRouteArgs;\n  _exports.getActiveTargetName = getActiveTargetName;\n  _exports.stashParamNames = stashParamNames;\n  _exports.calculateCacheKey = calculateCacheKey;\n  _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  _exports.resemblesURL = resemblesURL;\n  _exports.prefixRouteNameArg = prefixRouteNameArg;\n  _exports.shallowEqual = shallowEqual;\n  var ALL_PERIODS_REGEX = /\\./g;\n\n  function extractRouteArgs(args) {\n    args = args.slice();\n    var possibleQueryParams = args[args.length - 1];\n    var queryParams;\n\n    if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n      queryParams = args.pop().queryParams;\n    } else {\n      queryParams = {};\n    }\n\n    var routeName = args.shift();\n    return {\n      routeName,\n      models: args,\n      queryParams\n    };\n  }\n\n  function getActiveTargetName(router) {\n    var routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n    return routeInfos[routeInfos.length - 1].name;\n  }\n\n  function stashParamNames(router, routeInfos) {\n    if (routeInfos['_namesStashed']) {\n      return;\n    } // This helper exists because router.js/route-recognizer.js awkwardly\n    // keeps separate a routeInfo's list of parameter names depending\n    // on whether a URL transition or named transition is happening.\n    // Hopefully we can remove this in the future.\n\n\n    var targetRouteName = routeInfos[routeInfos.length - 1].name;\n\n    var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n\n    var dynamicParent;\n\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i];\n      var names = recogHandlers[i].names;\n\n      if (names.length) {\n        dynamicParent = routeInfo;\n      }\n\n      routeInfo['_names'] = names;\n      var route = routeInfo.route;\n\n      route._stashNames(routeInfo, dynamicParent);\n    }\n\n    routeInfos['_namesStashed'] = true;\n  }\n\n  function _calculateCacheValuePrefix(prefix, part) {\n    // calculates the dot separated sections from prefix that are also\n    // at the start of part - which gives us the route name\n    // given : prefix = site.article.comments, part = site.article.id\n    //      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n    // given : prefix = site.article, part = site.article.id\n    //      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\n    var prefixParts = prefix.split('.');\n    var currPrefix = '';\n\n    for (var i = 0; i < prefixParts.length; i++) {\n      var currPart = prefixParts.slice(0, i + 1).join('.');\n\n      if (part.indexOf(currPart) !== 0) {\n        break;\n      }\n\n      currPrefix = currPart;\n    }\n\n    return currPrefix;\n  }\n  /*\n    Stolen from Controller\n  */\n\n\n  function calculateCacheKey(prefix, parts = [], values) {\n    var suffixes = '';\n\n    for (var i = 0; i < parts.length; ++i) {\n      var part = parts[i];\n\n      var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n\n      var value = void 0;\n\n      if (values) {\n        if (cacheValuePrefix && cacheValuePrefix in values) {\n          var partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n          value = (0, _metal.get)(values[cacheValuePrefix], partRemovedPrefix);\n        } else {\n          value = (0, _metal.get)(values, part);\n        }\n      }\n\n      suffixes += `::${part}:${value}`;\n    }\n\n    return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n  }\n  /*\n    Controller-defined query parameters can come in three shapes:\n  \n    Array\n      queryParams: ['foo', 'bar']\n    Array of simple objects where value is an alias\n      queryParams: [\n        {\n          'foo': 'rename_foo_to_this'\n        },\n        {\n          'bar': 'call_bar_this_instead'\n        }\n      ]\n    Array of fully defined objects\n      queryParams: [\n        {\n          'foo': {\n            as: 'rename_foo_to_this'\n          },\n        }\n        {\n          'bar': {\n            as: 'call_bar_this_instead',\n            scope: 'controller'\n          }\n        }\n      ]\n  \n    This helper normalizes all three possible styles into the\n    'Array of fully defined objects' style.\n  */\n\n\n  function normalizeControllerQueryParams(queryParams) {\n    var qpMap = {};\n\n    for (var i = 0; i < queryParams.length; ++i) {\n      accumulateQueryParamDescriptors(queryParams[i], qpMap);\n    }\n\n    return qpMap;\n  }\n\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    var desc = _desc;\n    var tmp;\n\n    if (typeof desc === 'string') {\n      tmp = {};\n      tmp[desc] = {\n        as: null\n      };\n      desc = tmp;\n    }\n\n    for (var key in desc) {\n      if (!desc.hasOwnProperty(key)) {\n        return;\n      }\n\n      var singleDesc = desc[key];\n\n      if (typeof singleDesc === 'string') {\n        singleDesc = {\n          as: singleDesc\n        };\n      }\n\n      tmp = accum[key] || {\n        as: null,\n        scope: 'model'\n      };\n      (0, _polyfills.assign)(tmp, singleDesc);\n      accum[key] = tmp;\n    }\n  }\n  /*\n    Check if a routeName resembles a url instead\n  \n    @private\n  */\n\n\n  function resemblesURL(str) {\n    return typeof str === 'string' && (str === '' || str[0] === '/');\n  }\n  /*\n    Returns an arguments array where the route name arg is prefixed based on the mount point\n  \n    @private\n  */\n\n\n  function prefixRouteNameArg(route, args) {\n    var routeName = args[0];\n    var owner = (0, _owner.getOwner)(route);\n    var prefix = owner.mountPoint; // only alter the routeName if it's actually referencing a route.\n\n    if (owner.routable && typeof routeName === 'string') {\n      if (resemblesURL(routeName)) {\n        throw new _error.default('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');\n      } else {\n        routeName = `${prefix}.${routeName}`;\n        args[0] = routeName;\n      }\n    }\n\n    return args;\n  }\n\n  function shallowEqual(a, b) {\n    var k;\n    var aCount = 0;\n    var bCount = 0;\n\n    for (k in a) {\n      if (a.hasOwnProperty(k)) {\n        if (a[k] !== b[k]) {\n          return false;\n        }\n\n        aCount++;\n      }\n    }\n\n    for (k in b) {\n      if (b.hasOwnProperty(k)) {\n        bCount++;\n      }\n    }\n\n    return aCount === bCount;\n  }\n});","define(\"@ember/-internals/runtime/index\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/registry_proxy\", \"@ember/-internals/runtime/lib/mixins/container_proxy\", \"@ember/-internals/runtime/lib/copy\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/runtime/lib/is-equal\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/-internals/runtime/lib/mixins/comparable\", \"@ember/-internals/runtime/lib/system/namespace\", \"@ember/-internals/runtime/lib/system/array_proxy\", \"@ember/-internals/runtime/lib/system/object_proxy\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/-internals/runtime/lib/mixins/copyable\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/mixins/-proxy\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/mixins/target_action_support\", \"@ember/-internals/runtime/lib/mixins/evented\", \"@ember/-internals/runtime/lib/mixins/promise_proxy\", \"@ember/-internals/runtime/lib/ext/rsvp\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/ext/function\"], function (_exports, _object, _registry_proxy, _container_proxy, _copy, _compare, _isEqual, _array, _comparable, _namespace, _array_proxy, _object_proxy, _core_object, _action_handler, _copyable, _enumerable, _proxy, _observable, _mutable_enumerable, _target_action_support, _evented, _promise_proxy, _rsvp, _typeOf, _function) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Object\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FrameworkObject\", {\n    enumerable: true,\n    get: function () {\n      return _object.FrameworkObject;\n    }\n  });\n  Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _registry_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _container_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _compare.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Array\", {\n    enumerable: true,\n    get: function () {\n      return _array.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NativeArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.NativeArray;\n    }\n  });\n  Object.defineProperty(_exports, \"A\", {\n    enumerable: true,\n    get: function () {\n      return _array.A;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.MutableArray;\n    }\n  });\n  Object.defineProperty(_exports, \"removeAt\", {\n    enumerable: true,\n    get: function () {\n      return _array.removeAt;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _array.uniqBy;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.isArray;\n    }\n  });\n  Object.defineProperty(_exports, \"Comparable\", {\n    enumerable: true,\n    get: function () {\n      return _comparable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Namespace\", {\n    enumerable: true,\n    get: function () {\n      return _namespace.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ArrayProxy\", {\n    enumerable: true,\n    get: function () {\n      return _array_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ObjectProxy\", {\n    enumerable: true,\n    get: function () {\n      return _object_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreObject\", {\n    enumerable: true,\n    get: function () {\n      return _core_object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setFrameworkClass\", {\n    enumerable: true,\n    get: function () {\n      return _core_object.setFrameworkClass;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionHandler\", {\n    enumerable: true,\n    get: function () {\n      return _action_handler.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Copyable\", {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Enumerable\", {\n    enumerable: true,\n    get: function () {\n      return _enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_ProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_contentFor\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.contentFor;\n    }\n  });\n  Object.defineProperty(_exports, \"Observable\", {\n    enumerable: true,\n    get: function () {\n      return _observable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableEnumerable\", {\n    enumerable: true,\n    get: function () {\n      return _mutable_enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TargetActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _target_action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Evented\", {\n    enumerable: true,\n    get: function () {\n      return _evented.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _promise_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RSVP\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.default;\n    }\n  });\n  Object.defineProperty(_exports, \"onerrorDefault\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.onerrorDefault;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _typeOf.typeOf;\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/compare\", [\"exports\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/mixins/comparable\"], function (_exports, _typeOf, _comparable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = compare;\n  var TYPE_ORDER = {\n    undefined: 0,\n    null: 1,\n    boolean: 2,\n    number: 3,\n    string: 4,\n    array: 5,\n    object: 6,\n    instance: 7,\n    function: 8,\n    class: 9,\n    date: 10\n  }; //\n  // the spaceship operator\n  //\n  //                      `. ___\n  //                     __,' __`.                _..----....____\n  //         __...--.'``;.   ,.   ;``--..__     .'    ,-._    _.-'\n  //   _..-''-------'   `'   `'   `'     O ``-''._   (,;') _,'\n  // ,'________________                          \\`-._`-','\n  //  `._              ```````````------...___   '-.._'-:\n  //     ```--.._      ,.                     ````--...__\\-.\n  //             `.--. `-` \"INFINITY IS LESS     ____    |  |`\n  //               `. `.   THAN BEYOND\"        ,'`````.  ;  ;`\n  //                 `._`.        __________   `.      \\'__/`\n  //                    `-:._____/______/___/____`.     \\  `\n  //                                |       `._    `.    \\\n  //                                `._________`-.   `.   `.___\n  //                                              SSt  `------'`\n\n  function spaceship(a, b) {\n    var diff = a - b;\n    return (diff > 0) - (diff < 0);\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n   Compares two javascript values and returns:\n  \n    - -1 if the first is smaller than the second,\n    - 0 if both are equal,\n    - 1 if the first is greater than the second.\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 'hello');  // 0\n    compare('abc', 'dfg');      // -1\n    compare(2, 1);              // 1\n    ```\n  \n   If the types of the two objects are different precedence occurs in the\n   following order, with types earlier in the list considered `<` types\n   later in the list:\n  \n    - undefined\n    - null\n    - boolean\n    - number\n    - string\n    - array\n    - object\n    - instance\n    - function\n    - class\n    - date\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 50);       // 1\n    compare(50, 'hello');       // -1\n    ```\n  \n   @method compare\n   @for @ember/utils\n   @static\n   @param {Object} v First value to compare\n   @param {Object} w Second value to compare\n   @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n   @public\n  */\n\n\n  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n\n    var type1 = (0, _typeOf.typeOf)(v);\n    var type2 = (0, _typeOf.typeOf)(w);\n\n    if (type1 === 'instance' && _comparable.default.detect(v) && v.constructor.compare) {\n      return v.constructor.compare(v, w);\n    }\n\n    if (type2 === 'instance' && _comparable.default.detect(w) && w.constructor.compare) {\n      return w.constructor.compare(w, v) * -1;\n    }\n\n    var res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n\n    if (res !== 0) {\n      return res;\n    } // types are equal - so we have to check values now\n\n\n    switch (type1) {\n      case 'boolean':\n      case 'number':\n        return spaceship(v, w);\n\n      case 'string':\n        return spaceship(v.localeCompare(w), 0);\n\n      case 'array':\n        {\n          var vLen = v.length;\n          var wLen = w.length;\n          var len = Math.min(vLen, wLen);\n\n          for (var i = 0; i < len; i++) {\n            var r = compare(v[i], w[i]);\n\n            if (r !== 0) {\n              return r;\n            }\n          } // all elements are equal now\n          // shorter array should be ordered first\n\n\n          return spaceship(vLen, wLen);\n        }\n\n      case 'instance':\n        if (_comparable.default.detect(v)) {\n          return v.compare(v, w);\n        }\n\n        return 0;\n\n      case 'date':\n        return spaceship(v.getTime(), w.getTime());\n\n      default:\n        return 0;\n    }\n  }\n});","define(\"@ember/-internals/runtime/lib/copy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/copyable\"], function (_exports, _debug, _object, _copyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = copy;\n\n  /**\n   @module @ember/object\n  */\n  function _copy(obj, deep, seen, copies) {\n    // primitive data types are immutable, just return them.\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n\n    var ret, loc; // avoid cyclical loops\n\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n\n    if (deep) {\n      seen.push(obj);\n    } // IMPORTANT: this specific test will detect a native array only. Any other\n    // object will need to implement Copyable.\n\n\n    if (Array.isArray(obj)) {\n      ret = obj.slice();\n\n      if (deep) {\n        copies.push(ret);\n        loc = ret.length;\n\n        while (--loc >= 0) {\n          ret[loc] = _copy(ret[loc], deep, seen, copies);\n        }\n      }\n    } else if (_copyable.default.detect(obj)) {\n      ret = obj.copy(deep, seen, copies);\n\n      if (deep) {\n        copies.push(ret);\n      }\n    } else if (obj instanceof Date) {\n      ret = new Date(obj.getTime());\n\n      if (deep) {\n        copies.push(ret);\n      }\n    } else {\n      (true && !(!(obj instanceof _object.default) || _copyable.default.detect(obj)) && (0, _debug.assert)('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof _object.default) || _copyable.default.detect(obj)));\n      ret = {};\n\n      if (deep) {\n        copies.push(ret);\n      }\n\n      var key;\n\n      for (key in obj) {\n        // support Null prototype\n        if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n          continue;\n        } // Prevents browsers that don't respect non-enumerability from\n        // copying internal Ember properties\n\n\n        if (key.substring(0, 2) === '__') {\n          continue;\n        }\n\n        ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n      }\n    }\n\n    return ret;\n  }\n  /**\n    Creates a shallow copy of the passed object. A deep copy of the object is\n    returned if the optional `deep` argument is `true`.\n  \n    If the passed object implements the `Copyable` interface, then this\n    function will delegate to the object's `copy()` method and return the\n    result. See `Copyable` for further details.\n  \n    For primitive values (which are immutable in JavaScript), the passed object\n    is simply returned.\n  \n    @method copy\n    @deprecated Use 'ember-copy' addon instead\n    @static\n    @for @ember/object/internals\n    @param {Object} obj The object to clone\n    @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n    @return {Object} The copied object\n    @public\n  */\n\n\n  function copy(obj, deep) {\n    (true && !(false) && (0, _debug.deprecate)('Use ember-copy addon instead of copy method and Copyable mixin.', false, {\n      id: 'ember-runtime.deprecate-copy-copyable',\n      until: '4.0.0',\n      url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable'\n    })); // fast paths\n\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n\n    if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\n\n    return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n  }\n});","define(\"@ember/-internals/runtime/lib/ext/function\", [\"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_environment, _metal, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  /**\n  @module ember\n  */\n  if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS && _environment.ENV.EXTEND_PROTOTYPES.Function) {\n    Object.defineProperties(Function.prototype, {\n      /**\n        The `property` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        `true`, which is the default.\n         Computed properties allow you to treat a function like a property:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n          }.property() // Call this flag to mark the function as a property\n        });\n        ```\n         ```javascript\n        let president = President.create({\n          firstName: 'Barack',\n          lastName: 'Obama'\n        });\n         president.get('fullName'); // 'Barack Obama'\n        ```\n         Treating a function like a property is useful because they can work with\n        bindings, just like any other property.\n         Many computed properties have dependencies on other properties. For\n        example, in the above example, the `fullName` property depends on\n        `firstName` and `lastName` to determine its value. You can tell Ember\n        about these dependencies like this:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n             // Tell Ember.js that this computed property depends on firstName\n            // and lastName\n          }.property('firstName', 'lastName')\n        });\n        ```\n         Make sure you list these dependencies so Ember knows when to update\n        bindings that connect to a computed property. Changing a dependency\n        will not immediately trigger an update of the computed property, but\n        will instead clear the cache so that it is updated when the next `get`\n        is called on the property.\n         See [ComputedProperty](/ember/release/classes/ComputedProperty), [@ember/object/computed](/ember/release/classes/@ember%2Fobject%2Fcomputed).\n         @method property\n        @for Function\n        @public\n      */\n      property: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.property('bar') to computed('bar', function() {}).`, false, {\n            id: 'function-prototype-extensions.property',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property'\n          }));\n          return (0, _metal.computed)(...arguments, this);\n        }\n      },\n\n      /**\n        The `observes` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can observe property changes simply by adding the `observes`\n        call to the end of your method declarations in classes that you write.\n        For example:\n         ```javascript\n        import EmberObject from '@ember/object';\n         EmberObject.extend({\n          valueObserver: function() {\n            // Executes whenever the \"value\" property changes\n          }.observes('value')\n        });\n        ```\n         In the future this method may become asynchronous.\n         See `observer`.\n         @method observes\n        @for Function\n        @public\n      */\n      observes: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}).`, false, {\n            id: 'function-prototype-extensions.observes',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-observes'\n          }));\n          return (0, _metal.observer)(...arguments, this);\n        }\n      },\n\n      /**\n        The `on` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can listen for events simply by adding the `on` call to the end of\n        your method declarations in classes or mixins that you write. For example:\n         ```javascript\n        import Mixin from '@ember/mixin';\n         Mixin.create({\n          doSomethingWithElement: function() {\n            // Executes whenever the \"didInsertElement\" event fires\n          }.on('didInsertElement')\n        });\n        ```\n         See `@ember/object/evented/on`.\n         @method on\n        @for Function\n        @public\n      */\n      on: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}).`, false, {\n            id: 'function-prototype-extensions.on',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-on'\n          }));\n          return (0, _metal.on)(...arguments, this);\n        }\n      }\n    });\n  }\n});","define(\"@ember/-internals/runtime/lib/ext/rsvp\", [\"exports\", \"rsvp\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/debug\"], function (_exports, RSVP, _runloop, _errorHandling, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.onerrorDefault = onerrorDefault;\n  _exports.default = void 0;\n  RSVP.configure('async', (callback, promise) => {\n    _runloop.backburner.schedule('actions', null, callback, promise);\n  });\n  RSVP.configure('after', cb => {\n    _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n  });\n  RSVP.on('error', onerrorDefault);\n\n  function onerrorDefault(reason) {\n    var error = errorFor(reason);\n\n    if (error) {\n      var overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n\n      if (overrideDispatch) {\n        overrideDispatch(error);\n      } else {\n        throw error;\n      }\n    }\n  }\n\n  function errorFor(reason) {\n    if (!reason) return;\n\n    if (reason.errorThrown) {\n      return unwrapErrorThrown(reason);\n    }\n\n    if (reason.name === 'UnrecognizedURLError') {\n      (true && !(false) && (0, _debug.assert)(`The URL '${reason.message}' did not match any routes in your application`, false));\n      return;\n    }\n\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n\n    return reason;\n  }\n\n  function unwrapErrorThrown(reason) {\n    var error = reason.errorThrown;\n\n    if (typeof error === 'string') {\n      error = new Error(error);\n    }\n\n    Object.defineProperty(error, '__reason_with_error_thrown__', {\n      value: reason,\n      enumerable: false\n    });\n    return error;\n  }\n\n  var _default = RSVP;\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEqual;\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Compares two objects, returning true if they are equal.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual('hello', 'hello');                   // true\n    isEqual(1, 2);                               // false\n    ```\n  \n    `isEqual` is a more specific comparison than a triple equal comparison.\n    It will call the `isEqual` instance method on the objects being\n    compared, allowing finer control over when objects should be considered\n    equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      isEqual(other) { return this.ssn == other.ssn; }\n    });\n  \n    let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n    let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n  \n    isEqual(personA, personB); // true\n    ```\n  \n    Due to the expense of array comparisons, collections will never be equal to\n    each other even if each of their items are equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual([4, 2], [4, 2]);                     // false\n    ```\n  \n    @method isEqual\n    @for @ember/utils\n    @static\n    @param {Object} a first object to compare\n    @param {Object} b second object to compare\n    @return {Boolean}\n    @public\n  */\n  function isEqual(a, b) {\n    if (a && typeof a.isEqual === 'function') {\n      return a.isEqual(b);\n    }\n\n    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\n\n    return a === b;\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/-proxy\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/reference\"], function (_exports, _meta, _metal, _utils, _debug, _reference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contentFor = contentFor;\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  function contentFor(proxy, m) {\n    var content = (0, _metal.get)(proxy, 'content');\n    var tag = (m === undefined ? (0, _meta.meta)(proxy) : m).readableTag();\n\n    if (tag !== undefined) {\n      (0, _reference.update)(tag, (0, _metal.tagFor)(content));\n    }\n\n    return content;\n  }\n  /**\n    `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.  See ObjectProxy for more details.\n  \n    @class ProxyMixin\n    @namespace Ember\n    @private\n  */\n\n\n  var _default = _metal.Mixin.create({\n    /**\n      The object whose properties will be forwarded.\n       @property content\n      @type {unknown}\n      @default null\n      @public\n    */\n    content: null,\n\n    init() {\n      this._super(...arguments);\n\n      (0, _utils.setProxy)(this);\n      var m = (0, _meta.meta)(this);\n      m.writableTag();\n    },\n\n    willDestroy() {\n      this.set('content', null);\n\n      this._super(...arguments);\n    },\n\n    isTruthy: (0, _metal.computed)('content', function () {\n      return Boolean((0, _metal.get)(this, 'content'));\n    }),\n\n    [_metal.CUSTOM_TAG_FOR](key) {\n      var tag = (0, _metal.createTagForProperty)(this, key);\n\n      if (key in this) {\n        return tag;\n      } else {\n        return (0, _reference.combine)([tag, ...(0, _metal.getChainTagsForKey)(this, `content.${key}`)]);\n      }\n    },\n\n    unknownProperty(key) {\n      var content = contentFor(this);\n\n      if (content) {\n        return (0, _metal.get)(content, key);\n      }\n    },\n\n    setUnknownProperty(key, value) {\n      var m = (0, _meta.meta)(this);\n\n      if (m.isInitializing() || m.isPrototypeMeta(this)) {\n        // if marked as prototype or object is initializing then just\n        // defineProperty rather than delegate\n        (0, _metal.defineProperty)(this, key, null, value);\n        return value;\n      }\n\n      var content = contentFor(this, m);\n      (true && !(content) && (0, _debug.assert)(`Cannot delegate set('${key}', ${value}) to the \\'content\\' property of object proxy ${this}: its 'content' is undefined.`, content));\n      return (0, _metal.set)(content, key, value);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/action_handler\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    `Ember.ActionHandler` is available on some familiar classes including\n    `Route`, `Component`, and `Controller`.\n    (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n    and `Route` and available to the above classes through\n    inheritance.)\n  \n    @class ActionHandler\n    @namespace Ember\n    @private\n  */\n  var ActionHandler = _metal.Mixin.create({\n    mergedProperties: ['actions'],\n\n    /**\n      The collection of functions, keyed by name, available on this\n      `ActionHandler` as action targets.\n       These functions will be invoked when a matching `{{action}}` is triggered\n      from within a template and the application's current route is this route.\n       Actions can also be invoked from other parts of your application\n      via `ActionHandler#send`.\n       The `actions` hash will inherit action handlers from\n      the `actions` hash defined on extended parent classes\n      or mixins rather than just replace the entire hash, e.g.:\n       ```app/mixins/can-display-banner.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          displayBanner(msg) {\n            // ...\n          }\n        }\n      });\n      ```\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n      import CanDisplayBanner from '../mixins/can-display-banner';\n       export default Route.extend(CanDisplayBanner, {\n        actions: {\n          playMusic() {\n            // ...\n          }\n        }\n      });\n       // `WelcomeRoute`, when active, will be able to respond\n      // to both actions, since the actions hash is merged rather\n      // then replaced when extending mixins / parent classes.\n      this.send('displayBanner');\n      this.send('playMusic');\n      ```\n       Within a Controller, Route or Component's action handler,\n      the value of the `this` context is the Controller, Route or\n      Component object:\n       ```app/routes/song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          myAction() {\n            this.controllerFor(\"song\");\n            this.transitionTo(\"other.route\");\n            ...\n          }\n        }\n      });\n      ```\n       It is also possible to call `this._super(...arguments)` from within an\n      action handler if it overrides a handler defined on a parent\n      class or mixin:\n       Take for example the following routes:\n       ```app/mixins/debug-route.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          debugRouteInformation() {\n            console.debug(\"It's a-me, console.debug!\");\n          }\n        }\n      });\n      ```\n       ```app/routes/annoying-debug.js\n      import Route from '@ember/routing/route';\n      import DebugRoute from '../mixins/debug-route';\n       export default Route.extend(DebugRoute, {\n        actions: {\n          debugRouteInformation() {\n            // also call the debugRouteInformation of mixed in DebugRoute\n            this._super(...arguments);\n             // show additional annoyance\n            window.alert(...);\n          }\n        }\n      });\n      ```\n       ## Bubbling\n       By default, an action will stop bubbling once a handler defined\n      on the `actions` hash handles it. To continue bubbling the action,\n      you must return `true` from the handler:\n       ```app/router.js\n      Router.map(function() {\n        this.route(\"album\", function() {\n          this.route(\"song\");\n        });\n      });\n      ```\n       ```app/routes/album.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying: function() {\n          }\n        }\n      });\n      ```\n       ```app/routes/album-song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying() {\n            // ...\n             if (actionShouldAlsoBeTriggeredOnParentRoute) {\n              return true;\n            }\n          }\n        }\n      });\n      ```\n       @property actions\n      @type Object\n      @default null\n      @public\n    */\n\n    /**\n      Triggers a named action on the `ActionHandler`. Any parameters\n      supplied after the `actionName` string will be passed as arguments\n      to the action target function.\n       If the `ActionHandler` has its `target` property set, actions may\n      bubble to the `target`. Bubbling happens when an `actionName` can\n      not be found in the `ActionHandler`'s `actions` hash or if the\n      action target function returns `true`.\n       Example\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          playTheme() {\n            this.send('playMusic', 'theme.mp3');\n          },\n          playMusic(track) {\n            // ...\n          }\n        }\n      });\n      ```\n       @method send\n      @param {String} actionName The action to trigger\n      @param {*} context a context to send with the action\n      @public\n    */\n    send(actionName, ...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n\n      if (this.actions && this.actions[actionName]) {\n        var shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\n      if (target) {\n        (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n        target.send(...arguments);\n      }\n    }\n\n  });\n\n  var _default = ActionHandler;\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/array\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/environment\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/type-of\"], function (_exports, _metal, _utils, _debug, _enumerable, _compare, _environment, _observable, _mutable_enumerable, _typeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.uniqBy = uniqBy;\n  _exports.removeAt = removeAt;\n  _exports.isArray = isArray;\n  _exports.default = _exports.MutableArray = _exports.NativeArray = _exports.A = void 0;\n\n  /**\n  @module @ember/array\n  */\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  var identityFunction = item => item;\n\n  function uniqBy(array, key = identityFunction) {\n    (true && !(isArray(array)) && (0, _debug.assert)(`first argument passed to \\`uniqBy\\` should be array`, isArray(array)));\n    var ret = A();\n    var seen = new Set();\n    var getter = typeof key === 'function' ? key : item => (0, _metal.get)(item, key);\n    array.forEach(item => {\n      var val = getter(item);\n\n      if (!seen.has(val)) {\n        seen.add(val);\n        ret.push(item);\n      }\n    });\n    return ret;\n  }\n\n  function iter(key, value) {\n    var valueProvided = arguments.length === 2;\n    return valueProvided ? item => value === (0, _metal.get)(item, key) : item => Boolean((0, _metal.get)(item, key));\n  }\n\n  function findIndex(array, predicate, startAt) {\n    var len = array.length;\n\n    for (var index = startAt; index < len; index++) {\n      var item = (0, _metal.objectAt)(array, index);\n\n      if (predicate(item, index, array)) {\n        return index;\n      }\n    }\n\n    return -1;\n  }\n\n  function find(array, callback, target) {\n    var predicate = callback.bind(target);\n    var index = findIndex(array, predicate, 0);\n    return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n  }\n\n  function any(array, callback, target) {\n    var predicate = callback.bind(target);\n    return findIndex(array, predicate, 0) !== -1;\n  }\n\n  function every(array, callback, target) {\n    var cb = callback.bind(target);\n\n    var predicate = (item, index, array) => !cb(item, index, array);\n\n    return findIndex(array, predicate, 0) === -1;\n  }\n\n  function indexOf(array, val, startAt = 0, withNaNCheck) {\n    var len = array.length;\n\n    if (startAt < 0) {\n      startAt += len;\n    } // SameValueZero comparison (NaN !== NaN)\n\n\n    var predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n    return findIndex(array, predicate, startAt);\n  }\n\n  function removeAt(array, index, len = 1) {\n    (true && !(index > -1 && index < array.length) && (0, _debug.assert)(`\\`removeAt\\` index provided is out of range`, index > -1 && index < array.length));\n    (0, _metal.replace)(array, index, len, EMPTY_ARRAY);\n    return array;\n  }\n\n  function insertAt(array, index, item) {\n    (true && !(index > -1 && index <= array.length) && (0, _debug.assert)(`\\`insertAt\\` index provided is out of range`, index > -1 && index <= array.length));\n    (0, _metal.replace)(array, index, 0, [item]);\n    return item;\n  }\n  /**\n    Returns true if the passed object is an array or Array-like.\n  \n    Objects are considered Array-like if any of the following are true:\n  \n      - the object is a native Array\n      - the object has an objectAt property\n      - the object is an Object, and has a length property\n  \n    Unlike `typeOf` this method returns true even if the passed object is\n    not formally an array but appears to be array-like (i.e. implements `Array`)\n  \n    ```javascript\n    import { isArray } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    isArray();                                      // false\n    isArray([]);                                    // true\n    isArray(ArrayProxy.create({ content: [] }));    // true\n    ```\n  \n    @method isArray\n    @static\n    @for @ember/array\n    @param {Object} obj The object to test\n    @return {Boolean} true if the passed object is an array or Array-like\n    @public\n  */\n\n\n  function isArray(_obj) {\n    var obj = _obj;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n      var possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n\n      if (possibleProxyContent !== undefined) {\n        obj = possibleProxyContent;\n      }\n    }\n\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n\n    if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n      return true;\n    }\n\n    var type = (0, _typeOf.typeOf)(obj);\n\n    if ('array' === type) {\n      return true;\n    }\n\n    var length = obj.length;\n\n    if (typeof length === 'number' && length === length && 'object' === type) {\n      return true;\n    }\n\n    return false;\n  }\n  /*\n    This allows us to define computed properties that are not enumerable.\n    The primary reason this is important is that when `NativeArray` is\n    applied to `Array.prototype` we need to ensure that we do not add _any_\n    new enumerable properties.\n  */\n\n\n  function nonEnumerableComputed() {\n    var property = (0, _metal.computed)(...arguments);\n    property.enumerable = false;\n    return property;\n  }\n\n  function mapBy(key) {\n    return this.map(next => (0, _metal.get)(next, key));\n  } // ..........................................................\n  // ARRAY\n  //\n\n  /**\n    This mixin implements Observer-friendly Array-like behavior. It is not a\n    concrete implementation, but it can be used up by other classes that want\n    to appear like arrays.\n  \n    For example, ArrayProxy is a concrete class that can be instantiated to\n    implement array-like behavior. This class uses the Array Mixin by way of\n    the MutableArray mixin, which allows observable changes to be made to the\n    underlying array.\n  \n    This mixin defines methods specifically for collections that provide\n    index-ordered access to their contents. When you are designing code that\n    needs to accept any kind of Array-like object, you should use these methods\n    instead of Array primitives because these will properly notify observers of\n    changes to the array.\n  \n    Although these methods are efficient, they do add a layer of indirection to\n    your application so it is a good idea to use them only when you need the\n    flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n    as controllers and collections.\n  \n    You can use the methods defined in this module to access and modify array\n    contents in an observable-friendly way. You can also be notified whenever\n    the membership of an array changes by using `.observes('myArray.[]')`.\n  \n    To support `EmberArray` in your own class, you must override two\n    primitives to use it: `length()` and `objectAt()`.\n  \n    @class EmberArray\n    @uses Enumerable\n    @since Ember 0.9.0\n    @public\n  */\n\n\n  var ArrayMixin = _metal.Mixin.create(_enumerable.default, {\n    [_utils.EMBER_ARRAY]: true,\n\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Your array must support the `length` property. Your replace methods should\n      set this property whenever it changes.\n       @property {Number} length\n      @public\n    */\n\n    /**\n      Returns the object at the given `index`. If the given `index` is negative\n      or is greater or equal than the array length, returns `undefined`.\n       This is one of the primitives you must implement to support `EmberArray`.\n      If your object supports retrieving the value of an array item using `get()`\n      (i.e. `myArray.get(0)`), then you do not need to implement this method\n      yourself.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd'];\n       arr.objectAt(0);   // 'a'\n      arr.objectAt(3);   // 'd'\n      arr.objectAt(-1);  // undefined\n      arr.objectAt(4);   // undefined\n      arr.objectAt(5);   // undefined\n      ```\n       @method objectAt\n      @param {Number} idx The index of the item to return.\n      @return {*} item at index or undefined\n      @public\n    */\n\n    /**\n      This returns the objects at the specified indexes, using `objectAt`.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd'];\n       arr.objectsAt([0, 1, 2]);  // ['a', 'b', 'c']\n      arr.objectsAt([2, 3, 4]);  // ['c', 'd', undefined]\n      ```\n       @method objectsAt\n      @param {Array} indexes An array of indexes of items to return.\n      @return {Array}\n      @public\n     */\n    objectsAt(indexes) {\n      return indexes.map(idx => (0, _metal.objectAt)(this, idx));\n    },\n\n    /**\n      This is the handler for the special array content property. If you get\n      this property, it will return this. If you set this property to a new\n      array, it will replace the current content.\n       ```javascript\n      let peopleToMoon = ['Armstrong', 'Aldrin'];\n       peopleToMoon.get('[]'); // ['Armstrong', 'Aldrin']\n       peopleToMoon.set('[]', ['Collins']); // ['Collins']\n      peopleToMoon.get('[]'); // ['Collins']\n      ```\n       @property []\n      @return this\n      @public\n    */\n    '[]': nonEnumerableComputed({\n      get() {\n        return this;\n      },\n\n      set(key, value) {\n        this.replace(0, this.length, value);\n        return this;\n      }\n\n    }),\n\n    /**\n      The first object in the array, or `undefined` if the array is empty.\n       ```javascript\n      let vowels = ['a', 'e', 'i', 'o', 'u'];\n      vowels.firstObject; // 'a'\n       vowels.shiftObject();\n      vowels.firstObject; // 'e'\n       vowels.reverseObjects();\n      vowels.firstObject; // 'u'\n       vowels.clear();\n      vowels.firstObject; // undefined\n      ```\n       @property firstObject\n      @return {Object | undefined} The first object in the array\n      @public\n    */\n    firstObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, 0);\n    }).readOnly(),\n\n    /**\n      The last object in the array, or `undefined` if the array is empty.\n       @property lastObject\n      @return {Object | undefined} The last object in the array\n      @public\n    */\n    lastObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, this.length - 1);\n    }).readOnly(),\n\n    // Add any extra methods to EmberArray that are native to the built-in Array.\n\n    /**\n      Returns a new array that is a slice of the receiver. This implementation\n      uses the observable array methods to retrieve the objects for the new\n      slice.\n       ```javascript\n      let arr = ['red', 'green', 'blue'];\n       arr.slice(0);       // ['red', 'green', 'blue']\n      arr.slice(0, 2);    // ['red', 'green']\n      arr.slice(1, 100);  // ['green', 'blue']\n      ```\n       @method slice\n      @param {Number} beginIndex (Optional) index to begin slicing from.\n      @param {Number} endIndex (Optional) index to end the slice at (but not included).\n      @return {Array} New array with specified slice\n      @public\n    */\n    slice(beginIndex = 0, endIndex) {\n      var ret = A();\n      var length = this.length;\n\n      if (beginIndex < 0) {\n        beginIndex = length + beginIndex;\n      }\n\n      if (endIndex === undefined || endIndex > length) {\n        endIndex = length;\n      } else if (endIndex < 0) {\n        endIndex = length + endIndex;\n      }\n\n      while (beginIndex < endIndex) {\n        ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n      }\n\n      return ret;\n    },\n\n    /**\n      Used to determine the passed object's first occurence in the array.\n      Returns the index if found, -1 if no match is found.\n       The optional `startAt` argument can be used to pass a starting\n      index to search from, effectively slicing the searchable portion\n      of the array. If it's negative it will add the array length to\n      the startAt value passed in as the index to search from. If less\n      than or equal to `-1 * array.length` the entire array is searched.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd', 'a'];\n       arr.indexOf('a');       //  0\n      arr.indexOf('z');       // -1\n      arr.indexOf('a', 2);    //  4\n      arr.indexOf('a', -1);   //  4, equivalent to indexOf('a', 4)\n      arr.indexOf('a', -100); //  0, searches entire array\n      arr.indexOf('b', 3);    // -1\n      arr.indexOf('a', 100);  // -1\n       let people = [{ name: 'Zoey' }, { name: 'Bob' }]\n      let newPerson = { name: 'Tom' };\n      people = [newPerson, ...people, newPerson];\n       people.indexOf(newPerson);     //  0\n      people.indexOf(newPerson, 1);  //  3\n      people.indexOf(newPerson, -4); //  0\n      people.indexOf(newPerson, 10); // -1\n      ```\n       @method indexOf\n      @param {Object} object the item to search for\n      @param {Number} startAt optional starting location to search, default 0\n      @return {Number} index or -1 if not found\n      @public\n    */\n    indexOf(object, startAt) {\n      return indexOf(this, object, startAt, false);\n    },\n\n    /**\n      Returns the index of the given `object`'s last occurrence.\n       - If no `startAt` argument is given, the search starts from\n      the last position.\n      - If it's greater than or equal to the length of the array,\n      the search starts from the last position.\n      - If it's negative, it is taken as the offset from the end\n      of the array i.e. `startAt + array.length`.\n      - If it's any other positive number, will search backwards\n      from that index of the array.\n       Returns -1 if no match is found.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd', 'a'];\n       arr.lastIndexOf('a');       //  4\n      arr.lastIndexOf('z');       // -1\n      arr.lastIndexOf('a', 2);    //  0\n      arr.lastIndexOf('a', -1);   //  4\n      arr.lastIndexOf('a', -3);   //  0\n      arr.lastIndexOf('b', 3);    //  1\n      arr.lastIndexOf('a', 100);  //  4\n      ```\n       @method lastIndexOf\n      @param {Object} object the item to search for\n      @param {Number} startAt optional starting location to search from\n      backwards, defaults to `(array.length - 1)`\n      @return {Number} The last index of the `object` in the array or -1\n      if not found\n      @public\n    */\n    lastIndexOf(object, startAt) {\n      var len = this.length;\n\n      if (startAt === undefined || startAt >= len) {\n        startAt = len - 1;\n      }\n\n      if (startAt < 0) {\n        startAt += len;\n      }\n\n      for (var idx = startAt; idx >= 0; idx--) {\n        if ((0, _metal.objectAt)(this, idx) === object) {\n          return idx;\n        }\n      }\n\n      return -1;\n    },\n\n    // ..........................................................\n    // ARRAY OBSERVERS\n    //\n\n    /**\n      Adds an array observer to the receiving array. The array observer object\n      normally must implement two methods:\n       * `willChange(observedObj, start, removeCount, addCount)` - This method will be\n        called just before the array is modified.\n      * `didChange(observedObj, start, removeCount, addCount)` - This method will be\n        called just after the array is modified.\n       Both callbacks will be passed the observed object, starting index of the\n      change as well as a count of the items to be removed and added. You can use\n      these callbacks to optionally inspect the array during the change, clear\n      caches, or do any other bookkeeping necessary.\n       In addition to passing a target, you can also include an options hash\n      which you can use to override the method names that will be invoked on the\n      target.\n       @method addArrayObserver\n      @param {Object} target The observer object.\n      @param {Object} opts Optional hash of configuration options including\n        `willChange` and `didChange` option.\n      @return {EmberArray} receiver\n      @public\n      @example\n          import Service from '@ember/service';\n           export default Service.extend({\n            data: Ember.A(),\n             init() {\n              this._super(...arguments);\n               this.data.addArrayObserver(this, {\n                willChange: 'dataWillChange',\n                didChange: 'dataDidChange'\n              });\n            },\n             dataWillChange(array, start, removeCount, addCount) {\n              console.log('array will change', array, start, removeCount, addCount);\n            },\n             dataDidChange(array, start, removeCount, addCount) {\n              console.log('array did change', array, start, removeCount, addCount);\n            }\n          });\n    */\n    addArrayObserver(target, opts) {\n      return (0, _metal.addArrayObserver)(this, target, opts);\n    },\n\n    /**\n      Removes an array observer from the object if the observer is current\n      registered. Calling this method multiple times with the same object will\n      have no effect.\n       @method removeArrayObserver\n      @param {Object} target The object observing the array.\n      @param {Object} opts Optional hash of configuration options including\n        `willChange` and `didChange` option.\n      @return {EmberArray} receiver\n      @public\n    */\n    removeArrayObserver(target, opts) {\n      return (0, _metal.removeArrayObserver)(this, target, opts);\n    },\n\n    /**\n      Becomes true whenever the array currently has observers watching changes\n      on the array.\n       ```javascript\n      let arr = [1, 2, 3, 4, 5];\n      arr.hasArrayObservers; // false\n       arr.addArrayObserver(this, {\n        willChange() {\n          console.log('willChange');\n        }\n      });\n      arr.hasArrayObservers; // true\n      ```\n       @property {Boolean} hasArrayObservers\n      @public\n    */\n    hasArrayObservers: (0, _metal.nativeDescDecorator)({\n      configurable: true,\n      enumerable: false,\n\n      get() {\n        return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\n      }\n\n    }),\n\n    /**\n      If you are implementing an object that supports `EmberArray`, call this\n      method just before the array content changes to notify any observers and\n      invalidate any related properties. Pass the starting index of the change\n      as well as a delta of the amounts to change.\n       ```app/components/show-post.js\n      import Component from '@ember/component';\n      import EmberObject from '@ember/object';\n       const Post = EmberObject.extend({\n        body: '',\n        save() {}\n      })\n       export default Component.extend({\n        attemptsToModify: 0,\n        successfulModifications: 0,\n        posts: null,\n         init() {\n          this._super(...arguments);\n           this.posts = [1, 2, 3].map(i => Post.create({ body: i }));\n          this.posts.addArrayObserver(this, {\n            willChange() {\n              this.incrementProperty('attemptsToModify');\n            },\n            didChange() {\n              this.incrementProperty('successfulModifications');\n            }\n          });\n        },\n         actions: {\n          editPost(post, newContent) {\n            let oldContent = post.body,\n                postIndex = this.posts.indexOf(post);\n             this.posts.arrayContentWillChange(postIndex, 0, 0); // attemptsToModify = 1\n            post.set('body', newContent);\n             post.save()\n              .then(response => {\n                this.posts.arrayContentDidChange(postIndex, 0, 0); // successfulModifications = 1\n              })\n              .catch(error => {\n                post.set('body', oldContent);\n              })\n          }\n        }\n      });\n      ```\n       @method arrayContentWillChange\n      @param {Number} startIdx The starting index in the array that will change.\n      @param {Number} removeAmt The number of items that will be removed. If you\n        pass `null` assumes 0\n      @param {Number} addAmt The number of items that will be added. If you\n        pass `null` assumes 0.\n      @return {EmberArray} receiver\n      @public\n    */\n    arrayContentWillChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n    },\n\n    /**\n      If you are implementing an object that supports `EmberArray`, call this\n      method just after the array content changes to notify any observers and\n      invalidate any related properties. Pass the starting index of the change\n      as well as a delta of the amounts to change.\n       ```javascript\n      let arr = [1, 2, 3, 4, 5];\n       arr.copyWithin(-2); // [1, 2, 3, 1, 2]\n      // arr.lastObject = 5\n      arr.arrayContentDidChange(3, 2, 2);\n      // arr.lastObject = 2\n      ```\n       @method arrayContentDidChange\n      @param {Number} startIdx The starting index in the array that did change.\n      @param {Number} removeAmt The number of items that were removed. If you\n        pass `null` assumes 0\n      @param {Number} addAmt The number of items that were added. If you\n        pass `null` assumes 0.\n      @return {EmberArray} receiver\n      @public\n    */\n    arrayContentDidChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n    },\n\n    /**\n      Iterates through the array, calling the passed function on each\n      item. This method corresponds to the `forEach()` method defined in\n      JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      let foods = [\n        { name: 'apple', eaten: false },\n        { name: 'banana', eaten: false },\n        { name: 'carrot', eaten: false }\n      ];\n       foods.forEach((food) => food.eaten = true);\n       let output = '';\n      foods.forEach((item, index, array) =>\n        output += `${index + 1}/${array.length} ${item.name}\\n`;\n      );\n      console.log(output);\n      // 1/3 apple\n      // 2/3 banana\n      // 3/3 carrot\n      ```\n       @method forEach\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} receiver\n      @public\n    */\n    forEach(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function'));\n      var length = this.length;\n\n      for (var index = 0; index < length; index++) {\n        var item = this.objectAt(index);\n        callback.call(target, item, index, this);\n      }\n\n      return this;\n    },\n\n    /**\n      Alias for `mapBy`.\n       Returns the value of the named\n      property on all items in the enumeration.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.getEach('name');\n      // ['Joe', 'Matt'];\n       people.getEach('nonexistentProperty');\n      // [undefined, undefined];\n      ```\n       @method getEach\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    getEach: mapBy,\n\n    /**\n      Sets the value on the named property for each member. This is more\n      ergonomic than using other methods defined on this helper. If the object\n      implements Observable, the value will be changed to `set(),` otherwise\n      it will be set directly. `null` objects are skipped.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.setEach('zipCode', '10011);\n      // [{name: 'Joe', zipCode: '10011'}, {name: 'Matt', zipCode: '10011'}];\n      ```\n       @method setEach\n      @param {String} key The key to set\n      @param {Object} value The object to set\n      @return {Object} receiver\n      @public\n    */\n    setEach(key, value) {\n      return this.forEach(item => (0, _metal.set)(item, key, value));\n    },\n\n    /**\n      Maps all of the items in the enumeration to another value, returning\n      a new array. This method corresponds to `map()` defined in JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      let arr = [1, 2, 3, 4, 5, 6];\n       arr.map(element => element * element);\n      // [1, 4, 9, 16, 25, 36];\n       arr.map((element, index) => element + index);\n      // [1, 3, 5, 7, 9, 11];\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       It should return the mapped value.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method map\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} The mapped array.\n      @public\n    */\n    map(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function'));\n      var ret = A();\n      this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n      return ret;\n    },\n\n    /**\n      Similar to map, this specialized function returns the value of the named\n      property on all items in the enumeration.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.mapBy('name');\n      // ['Joe', 'Matt'];\n       people.mapBy('unknownProperty');\n      // [undefined, undefined];\n      ```\n       @method mapBy\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    mapBy,\n\n    /**\n      Returns a new array with all of the items in the enumeration that the provided\n      callback function returns true for. This method corresponds to [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).\n       The callback method should have the following signature:\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       All parameters are optional. The function should return `true` to include the item\n      in the results, and `false` otherwise.\n       Example:\n       ```javascript\n      function isAdult(person) {\n        return person.age > 18;\n      };\n       let people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n       people.filter(isAdult); // returns [{ name: 'Joan', age: 45 }];\n      ```\n       Note that in addition to a callback, you can pass an optional target object\n      that will be set as `this` on the context. This is a good way to give your\n      iterator function access to the current object.\n       @method filter\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A filtered array.\n      @public\n    */\n    filter(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function'));\n      var ret = A();\n      this.forEach((x, idx, i) => {\n        if (callback.call(target, x, idx, i)) {\n          ret.push(x);\n        }\n      });\n      return ret;\n    },\n\n    /**\n      Returns an array with all of the items in the enumeration where the passed\n      function returns false. This method is the inverse of filter().\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - *item* is the current item in the iteration.\n      - *index* is the current index in the iteration\n      - *array* is the array itself.\n       It should return a falsey value to include the item in the results.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as \"this\" on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      const food = [\n        { food: 'apple', isFruit: true },\n        { food: 'bread', isFruit: false },\n        { food: 'banana', isFruit: true }\n      ];\n      const nonFruits = food.reject(function(thing) {\n        return thing.isFruit;\n      }); // [{food: 'bread', isFruit: false}]\n      ```\n       @method reject\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A rejected array.\n      @public\n    */\n    reject(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function'));\n      return this.filter(function () {\n        return !callback.apply(target, arguments);\n      });\n    },\n\n    /**\n      Filters the array by the property and an optional value. If a value is given, it returns\n      the items that have said value for the property. If not, it returns all the items that\n      have a truthy value for the property.\n       Example Usage:\n       ```javascript\n      let things = Ember.A([{ food: 'apple', isFruit: true }, { food: 'beans', isFruit: false }]);\n       things.filterBy('food', 'beans'); // [{ food: 'beans' }]\n      things.filterBy('isFruit'); // [{ food: 'apple' }]\n      ```\n       @method filterBy\n      @param {String} key the property to test\n      @param {*} [value] optional value to test against.\n      @return {Array} filtered array\n      @public\n    */\n    filterBy() {\n      return this.filter(iter(...arguments));\n    },\n\n    /**\n      Returns an array with the items that do not have truthy values for the provided key.\n      You can pass an optional second argument with a target value to reject for the key.\n      Otherwise this will reject objects where the provided property evaluates to false.\n       Example Usage:\n       ```javascript\n        let food = [\n          { name: \"apple\", isFruit: true },\n          { name: \"carrot\", isFruit: false },\n          { name: \"bread\", isFruit: false },\n        ];\n        food.rejectBy('isFruit'); // [{ name: \"carrot\", isFruit: false }, { name: \"bread\", isFruit: false }]\n        food.rejectBy('name', 'carrot'); // [{ name: \"apple\", isFruit: true }}, { name: \"bread\", isFruit: false }]\n      ```\n       @method rejectBy\n      @param {String} key the property to test\n      @param {*} [value] optional value to test against.\n      @return {Array} rejected array\n      @public\n    */\n    rejectBy() {\n      return this.reject(iter(...arguments));\n    },\n\n    /**\n      Returns the first item in the array for which the callback returns true.\n      This method is similar to the `find()` method defined in ECMAScript 2015.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       It should return the `true` to include the item in the results, `false`\n      otherwise.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      let users = [\n        { id: 1, name: 'Yehuda' },\n        { id: 2, name: 'Tom' },\n        { id: 3, name: 'Melanie' },\n        { id: 4, name: 'Leah' }\n      ];\n       users.find((user) => user.name == 'Tom'); // [{ id: 2, name: 'Tom' }]\n      users.find(({ id }) => id == 3); // [{ id: 3, name: 'Melanie' }]\n      ```\n       @method find\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} Found item or `undefined`.\n      @public\n    */\n    find(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function'));\n      return find(this, callback, target);\n    },\n\n    /**\n      Returns the first item with a property matching the passed value. You\n      can pass an optional second argument with the target value. Otherwise\n      this will match any property that evaluates to `true`.\n       This method works much like the more generic `find()` method.\n       Usage Example:\n       ```javascript\n      let users = [\n        { id: 1, name: 'Yehuda', isTom: false },\n        { id: 2, name: 'Tom', isTom: true },\n        { id: 3, name: 'Melanie', isTom: false },\n        { id: 4, name: 'Leah', isTom: false }\n      ];\n       users.findBy('id', 4); // { id: 4, name: 'Leah', isTom: false }\n      users.findBy('name', 'Melanie'); // { id: 3, name: 'Melanie', isTom: false }\n      users.findBy('isTom'); // { id: 2, name: 'Tom', isTom: true }\n      ```\n       @method findBy\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against.\n      @return {Object} found item or `undefined`\n      @public\n    */\n    findBy() {\n      return find(this, iter(...arguments));\n    },\n\n    /**\n      Returns `true` if the passed function returns true for every item in the\n      enumeration. This corresponds with the `Array.prototype.every()` method defined in ES5.\n       The callback method should have the following signature:\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       All params are optional. The method should return `true` or `false`.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Usage example:\n       ```javascript\n      function isAdult(person) {\n        return person.age > 18;\n      };\n       const people = Ember.A([{ name: 'John', age: 24 }, { name: 'Joan', age: 45 }]);\n      const areAllAdults = people.every(isAdult);\n      ```\n       @method every\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean}\n      @public\n    */\n    every(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function'));\n      return every(this, callback, target);\n    },\n\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for all items in the array. This method is often simpler/faster\n      than using a callback.\n       Note that like the native `Array.every`, `isEvery` will return true when called\n      on any empty array.\n      ```javascript\n      class Language {\n        constructor(name, isProgrammingLanguage) {\n          this.name = name;\n          this.programmingLanguage = isProgrammingLanguage;\n        }\n      }\n       const compiledLanguages = [\n        new Language('Java', true),\n        new Language('Go', true),\n        new Language('Rust', true)\n      ]\n       const languagesKnownByMe = [\n        new Language('Javascript', true),\n        new Language('English', false),\n        new Language('Ruby', true)\n      ]\n       compiledLanguages.isEvery('programmingLanguage'); // true\n      languagesKnownByMe.isEvery('programmingLanguage'); // false\n      ```\n       @method isEvery\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isEvery() {\n      return every(this, iter(...arguments));\n    },\n\n    /**\n      The any() method executes the callback function once for each element\n      present in the array until it finds the one where callback returns a truthy\n      value (i.e. `true`). If such an element is found, any() immediately returns\n      true. Otherwise, any() returns false.\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array object itself.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. It can be a good way\n      to give your iterator function access to an object in cases where an ES6\n      arrow function would not be appropriate.\n       Usage Example:\n       ```javascript\n      let includesManager = people.any(this.findPersonInManagersList, this);\n       let includesStockHolder = people.any(person => {\n        return this.findPersonInStockHoldersList(person)\n      });\n       if (includesManager || includesStockHolder) {\n        Paychecks.addBiggerBonus();\n      }\n      ```\n       @method any\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean} `true` if the passed function returns `true` for any item\n      @public\n    */\n    any(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function'));\n      return any(this, callback, target);\n    },\n\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for any item in the array. This method is often simpler/faster\n      than using a callback.\n       Example usage:\n       ```javascript\n      const food = [\n        { food: 'apple', isFruit: true },\n        { food: 'bread', isFruit: false },\n        { food: 'banana', isFruit: true }\n      ];\n       food.isAny('isFruit'); // true\n      ```\n       @method isAny\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isAny() {\n      return any(this, iter(...arguments));\n    },\n\n    /**\n      This will combine the values of the array into a single value. It\n      is a useful way to collect a summary value from an array. This\n      corresponds to the `reduce()` method defined in JavaScript 1.8.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(previousValue, item, index, array);\n      ```\n       - `previousValue` is the value returned by the last call to the iterator.\n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       Return the new cumulative value.\n       In addition to the callback you can also pass an `initialValue`. An error\n      will be raised if you do not pass an initial value and the enumerator is\n      empty.\n       Note that unlike the other methods, this method does not allow you to\n      pass a target object to set as this for the callback. It's part of the\n      spec. Sorry.\n       Example Usage:\n       ```javascript\n        let numbers = [1, 2, 3, 4, 5];\n         numbers.reduce(function(summation, current) {\n          return summation + current;\n        }); // 15 (1 + 2 + 3 + 4 + 5)\n         numbers.reduce(function(summation, current) {\n          return summation + current;\n        }, -15); // 0 (-15 + 1 + 2 + 3 + 4 + 5)\n          let binaryValues = [true, false, false];\n         binaryValues.reduce(function(truthValue, current) {\n          return truthValue && current;\n        }); // false (true && false && false)\n      ```\n       @method reduce\n      @param {Function} callback The callback to execute\n      @param {Object} initialValue Initial value for the reduce\n      @return {Object} The reduced value.\n      @public\n    */\n    reduce(callback, initialValue) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function'));\n      var ret = initialValue;\n      this.forEach(function (item, i) {\n        ret = callback(ret, item, i, this);\n      }, this);\n      return ret;\n    },\n\n    /**\n      Invokes the named method on every object in the receiver that\n      implements it. This method corresponds to the implementation in\n      Prototype 1.6.\n       ```javascript\n      class Person {\n        name = null;\n         constructor(name) {\n          this.name = name;\n        }\n         greet(prefix='Hello') {\n          return `${prefix} ${this.name}`;\n        }\n      }\n       let people = [new Person('Joe'), new Person('Matt')];\n       people.invoke('greet'); // ['Hello Joe', 'Hello Matt']\n      people.invoke('greet', 'Bonjour'); // ['Bonjour Joe', 'Bonjour Matt']\n      ```\n       @method invoke\n      @param {String} methodName the name of the method\n      @param {Object...} args optional arguments to pass as well.\n      @return {Array} return values from calling invoke.\n      @public\n    */\n    invoke(methodName, ...args) {\n      var ret = A();\n      this.forEach(item => ret.push((0, _utils.tryInvoke)(item, methodName, args)));\n      return ret;\n    },\n\n    /**\n      Simply converts the object into a genuine array. The order is not\n      guaranteed. Corresponds to the method implemented by Prototype.\n       @method toArray\n      @return {Array} the object as an array.\n      @public\n    */\n    toArray() {\n      return this.map(item => item);\n    },\n\n    /**\n      Returns a copy of the array with all `null` and `undefined` elements removed.\n       ```javascript\n      let arr = ['a', null, 'c', undefined];\n      arr.compact();  // ['a', 'c']\n      ```\n       @method compact\n      @return {Array} the array without null and undefined elements.\n      @public\n    */\n    compact() {\n      return this.filter(value => value != null);\n    },\n\n    /**\n      Used to determine if the array contains the passed object.\n      Returns `true` if found, `false` otherwise.\n       The optional `startAt` argument can be used to pass a starting\n      index to search from, effectively slicing the searchable portion\n      of the array. If it's negative it will add the array length to\n      the startAt value passed in as the index to search from. If less\n      than or equal to `-1 * array.length` the entire array is searched.\n       This method has the same behavior of JavaScript's [Array.includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).\n       ```javascript\n      [1, 2, 3].includes(2);     // true\n      [1, 2, 3].includes(4);     // false\n      [1, 2, 3].includes(3, 2);  // true\n      [1, 2, 3].includes(3, 3);  // false\n      [1, 2, 3].includes(3, -1); // true\n      [1, 2, 3].includes(1, -1); // false\n      [1, 2, 3].includes(1, -4); // true\n      [1, 2, NaN].includes(NaN); // true\n      ```\n       @method includes\n      @param {Object} object The object to search for.\n      @param {Number} startAt optional starting location to search, default 0\n      @return {Boolean} `true` if object is found in the array.\n      @public\n    */\n    includes(object, startAt) {\n      return indexOf(this, object, startAt, true) !== -1;\n    },\n\n    /**\n      Sorts the array by the keys specified in the argument.\n       You may provide multiple arguments to sort by multiple properties.\n       ```javascript\n     let colors = [\n       { name: 'red', weight: 500 },\n       { name: 'green', weight: 600 },\n       { name: 'blue', weight: 500 }\n      ];\n      colors.sortBy('name');\n     // [{name: 'blue', weight: 500}, {name: 'green', weight: 600}, {name: 'red', weight: 500}]\n      colors.sortBy('weight', 'name');\n     // [{name: 'blue', weight: 500}, {name: 'red', weight: 500}, {name: 'green', weight: 600}]\n     ```\n       @method sortBy\n      @param {String} property name(s) to sort on\n      @return {Array} The sorted array.\n      @since 1.2.0\n      @public\n    */\n    sortBy() {\n      var sortKeys = arguments;\n      return this.toArray().sort((a, b) => {\n        for (var i = 0; i < sortKeys.length; i++) {\n          var key = sortKeys[i];\n          var propA = (0, _metal.get)(a, key);\n          var propB = (0, _metal.get)(b, key); // return 1 or -1 else continue to the next sortKey\n\n          var compareValue = (0, _compare.default)(propA, propB);\n\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n\n        return 0;\n      });\n    },\n\n    /**\n      Returns a new array that contains only unique values. The default\n      implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = ['a', 'a', 'b', 'b'];\n      arr.uniq();  // ['a', 'b']\n      ```\n       This only works on primitive data types, e.g. Strings, Numbers, etc.\n       @method uniq\n      @return {EmberArray}\n      @public\n    */\n    uniq() {\n      return uniqBy(this);\n    },\n\n    /**\n      Returns a new array that contains only items containing a unique property value.\n      The default implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = [{ value: 'a' }, { value: 'a' }, { value: 'b' }, { value: 'b' }];\n      arr.uniqBy('value');  // [{ value: 'a' }, { value: 'b' }]\n       let arr = [2.2, 2.1, 3.2, 3.3];\n      arr.uniqBy(Math.floor);  // [2.2, 3.2];\n      ```\n       @method uniqBy\n      @param {String,Function} key\n      @return {EmberArray}\n      @public\n    */\n    uniqBy(key) {\n      return uniqBy(this, key);\n    },\n\n    /**\n      Returns a new array that excludes the passed value. The default\n      implementation returns an array regardless of the receiver type.\n      If the receiver does not contain the value it returns the original array.\n       ```javascript\n      let arr = ['a', 'b', 'a', 'c'];\n      arr.without('a');  // ['b', 'c']\n      ```\n       @method without\n      @param {Object} value\n      @return {EmberArray}\n      @public\n    */\n    without(value) {\n      if (!this.includes(value)) {\n        return this; // nothing to do\n      } // SameValueZero comparison (NaN !== NaN)\n\n\n      var predicate = value === value ? item => item !== value : item => item === item;\n      return this.filter(predicate);\n    }\n\n  });\n  /**\n    This mixin defines the API for modifying array-like objects. These methods\n    can be applied only to a collection that keeps its items in an ordered set.\n    It builds upon the Array mixin and adds methods to modify the array.\n    One concrete implementations of this class include ArrayProxy.\n  \n    It is important to use the methods in this class to modify arrays so that\n    changes are observable. This allows the binding system in Ember to function\n    correctly.\n  \n  \n    Note that an Array can change even if it does not implement this mixin.\n    For example, one might implement a SparseArray that cannot be directly\n    modified, but if its underlying enumerable changes, it will change also.\n  \n    @class MutableArray\n    @uses EmberArray\n    @uses MutableEnumerable\n    @public\n  */\n\n\n  var MutableArray = _metal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       This is one of the primitives you must implement to support `Array`.\n      You should replace amt objects started at idx with the objects in the\n      passed array. You should also call `this.arrayContentDidChange()`\n       Note that this method is expected to validate the type(s) of objects that it expects.\n       @method replace\n      @param {Number} idx Starting index in the array to replace. If\n        idx >= length, then append to the end of the array.\n      @param {Number} amt Number of elements that should be removed from\n        the array, starting at *idx*.\n      @param {EmberArray} objects An array of zero or more objects that should be\n        inserted into the array at *idx*\n      @public\n    */\n\n    /**\n      Remove all elements from the array. This is useful if you\n      want to reuse an existing array without having to recreate it.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.length;  // 3\n      colors.clear(); // []\n      colors.length;  // 0\n      ```\n       @method clear\n      @return {Array} An empty Array.\n      @public\n    */\n    clear() {\n      var len = this.length;\n\n      if (len === 0) {\n        return this;\n      }\n\n      this.replace(0, len, EMPTY_ARRAY);\n      return this;\n    },\n\n    /**\n      This will use the primitive `replace()` method to insert an object at the\n      specified index.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.insertAt(2, 'yellow');  // ['red', 'green', 'yellow', 'blue']\n      colors.insertAt(5, 'orange');  // Error: Index out of range\n      ```\n       @method insertAt\n      @param {Number} idx index of insert the object at.\n      @param {Object} object object to insert\n      @return {EmberArray} receiver\n      @public\n    */\n    insertAt(idx, object) {\n      insertAt(this, idx, object);\n      return this;\n    },\n\n    /**\n      Remove an object at the specified index using the `replace()` primitive\n      method. You can pass either a single index, or a start and a length.\n       If you pass a start and length that is beyond the\n      length this method will throw an assertion.\n       ```javascript\n      let colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n       colors.removeAt(0);     // ['green', 'blue', 'yellow', 'orange']\n      colors.removeAt(2, 2);  // ['green', 'blue']\n      colors.removeAt(4, 2);  // Error: Index out of range\n      ```\n       @method removeAt\n      @param {Number} start index, start of range\n      @param {Number} len length of passing range\n      @return {EmberArray} receiver\n      @public\n    */\n    removeAt(start, len) {\n      return removeAt(this, start, len);\n    },\n\n    /**\n      Push the object onto the end of the array. Works just like `push()` but it\n      is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green'];\n       colors.pushObject('black');     // ['red', 'green', 'black']\n      colors.pushObject(['yellow']);  // ['red', 'green', ['yellow']]\n      ```\n       @method pushObject\n      @param {*} obj object to push\n      @return object same object passed as a param\n      @public\n    */\n    pushObject(obj) {\n      return insertAt(this, this.length, obj);\n    },\n\n    /**\n      Add the objects in the passed array to the end of the array. Defers\n      notifying observers of the change until all objects are added.\n       ```javascript\n      let colors = ['red'];\n       colors.pushObjects(['yellow', 'orange']);  // ['red', 'yellow', 'orange']\n      ```\n       @method pushObjects\n      @param {EmberArray} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    pushObjects(objects) {\n      this.replace(this.length, 0, objects);\n      return this;\n    },\n\n    /**\n      Pop object from array or nil if none are left. Works just like `pop()` but\n      it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.popObject();   // 'blue'\n      console.log(colors);  // ['red', 'green']\n      ```\n       @method popObject\n      @return object\n      @public\n    */\n    popObject() {\n      var len = this.length;\n\n      if (len === 0) {\n        return null;\n      }\n\n      var ret = (0, _metal.objectAt)(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\n\n    /**\n      Shift an object from start of array or nil if none are left. Works just\n      like `shift()` but it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.shiftObject();  // 'red'\n      console.log(colors);   // ['green', 'blue']\n      ```\n       @method shiftObject\n      @return object\n      @public\n    */\n    shiftObject() {\n      if (this.length === 0) {\n        return null;\n      }\n\n      var ret = (0, _metal.objectAt)(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\n\n    /**\n      Unshift an object to start of array. Works just like `unshift()` but it is\n      KVO-compliant.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObject('yellow');    // ['yellow', 'red']\n      colors.unshiftObject(['black']);   // [['black'], 'yellow', 'red']\n      ```\n       @method unshiftObject\n      @param {*} obj object to unshift\n      @return object same object passed as a param\n      @public\n    */\n    unshiftObject(obj) {\n      return insertAt(this, 0, obj);\n    },\n\n    /**\n      Adds the named objects to the beginning of the array. Defers notifying\n      observers until all objects have been added.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObjects(['black', 'white']);   // ['black', 'white', 'red']\n      colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n      ```\n       @method unshiftObjects\n      @param {Enumberable} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    unshiftObjects(objects) {\n      this.replace(0, 0, objects);\n      return this;\n    },\n\n    /**\n      Reverse objects in the array. Works just like `reverse()` but it is\n      KVO-compliant.\n       @method reverseObjects\n      @return {EmberArray} receiver\n       @public\n    */\n    reverseObjects() {\n      var len = this.length;\n\n      if (len === 0) {\n        return this;\n      }\n\n      var objects = this.toArray().reverse();\n      this.replace(0, len, objects);\n      return this;\n    },\n\n    /**\n      Replace all the receiver's content with content of the argument.\n      If argument is an empty array receiver will be cleared.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.setObjects(['black', 'white']);  // ['black', 'white']\n      colors.setObjects([]);                  // []\n      ```\n       @method setObjects\n      @param {EmberArray} objects array whose content will be used for replacing\n          the content of the receiver\n      @return {EmberArray} receiver with the new content\n      @public\n    */\n    setObjects(objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n\n      var len = this.length;\n      this.replace(0, len, objects);\n      return this;\n    },\n\n    /**\n      Remove all occurrences of an object in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n       cities.removeObject('Chicago');  // ['Berlin', 'Lima']\n      cities.removeObject('Lima');     // ['Berlin']\n      cities.removeObject('Tokyo')     // ['Berlin']\n      ```\n       @method removeObject\n      @param {*} obj object to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObject(obj) {\n      var loc = this.length || 0;\n\n      while (--loc >= 0) {\n        var curObject = (0, _metal.objectAt)(this, loc);\n\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n\n      return this;\n    },\n\n    /**\n      Removes each object in the passed array from the receiver.\n       @method removeObjects\n      @param {EmberArray} objects the objects to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObjects(objects) {\n      (0, _metal.beginPropertyChanges)();\n\n      for (var i = objects.length - 1; i >= 0; i--) {\n        this.removeObject(objects[i]);\n      }\n\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Push the object onto the end of the array if it is not already\n      present in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin'];\n       cities.addObject('Lima');    // ['Chicago', 'Berlin', 'Lima']\n      cities.addObject('Berlin');  // ['Chicago', 'Berlin', 'Lima']\n      ```\n       @method addObject\n      @param {*} obj object to add, if not already present\n      @return {EmberArray} receiver\n      @public\n    */\n    addObject(obj) {\n      var included = this.includes(obj);\n\n      if (!included) {\n        this.pushObject(obj);\n      }\n\n      return this;\n    },\n\n    /**\n      Adds each object in the passed array to the receiver.\n       @method addObjects\n      @param {EmberArray} objects the objects to add.\n      @return {EmberArray} receiver\n      @public\n    */\n    addObjects(objects) {\n      (0, _metal.beginPropertyChanges)();\n      objects.forEach(obj => this.addObject(obj));\n      (0, _metal.endPropertyChanges)();\n      return this;\n    }\n\n  });\n  /**\n    Creates an `Ember.NativeArray` from an Array-like object.\n    Does not modify the original object's contents. `A()` is not needed if\n    `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n    it is recommended that you use `A()` when creating addons for\n    ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n    will be `true`.\n  \n    Example\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { A } from '@ember/array';\n  \n    export default Component.extend({\n      tagName: 'ul',\n      classNames: ['pagination'],\n  \n      init() {\n        this._super(...arguments);\n  \n        if (!this.get('content')) {\n          this.set('content', A());\n          this.set('otherContent', A([1,2,3]));\n        }\n      }\n    });\n    ```\n  \n    @method A\n    @static\n    @for @ember/array\n    @return {Ember.NativeArray}\n    @public\n  */\n  // Add Ember.Array to Array.prototype. Remove methods with native\n  // implementations and supply some more optimized versions of generic methods\n  // because they are so common.\n\n  /**\n  @module ember\n  */\n\n  /**\n    The NativeArray mixin contains the properties needed to make the native\n    Array support MutableArray and all of its dependent APIs. Unless you\n    have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\n    false, this will be applied automatically. Otherwise you can apply the mixin\n    at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.\n  \n    @class Ember.NativeArray\n    @uses MutableArray\n    @uses Observable\n    @public\n  */\n\n\n  _exports.MutableArray = MutableArray;\n\n  var NativeArray = _metal.Mixin.create(MutableArray, _observable.default, {\n    objectAt(idx) {\n      return this[idx];\n    },\n\n    // primitive for array support.\n    replace(start, deleteCount, items = EMPTY_ARRAY) {\n      (true && !(Array.isArray(items)) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items)));\n      (0, _metal.replaceInNativeArray)(this, start, deleteCount, items);\n      return this;\n    }\n\n  }); // Remove any methods implemented natively so we don't override them\n\n\n  _exports.NativeArray = NativeArray;\n  var ignore = ['length'];\n  NativeArray.keys().forEach(methodName => {\n    if (Array.prototype[methodName]) {\n      ignore.push(methodName);\n    }\n  });\n  _exports.NativeArray = NativeArray = NativeArray.without(...ignore);\n  var A;\n  _exports.A = A;\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n    NativeArray.apply(Array.prototype);\n\n    _exports.A = A = function (arr) {\n      (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n      return arr || [];\n    };\n  } else {\n    _exports.A = A = function (arr) {\n      (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n\n      if (!arr) {\n        arr = [];\n      }\n\n      return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n    };\n  }\n\n  var _default = ArrayMixin;\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/comparable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Implements some standard methods for comparing objects. Add this mixin to\n    any class you create that can compare its instances.\n  \n    You should implement the `compare()` method.\n  \n    @class Comparable\n    @namespace Ember\n    @since Ember 0.9\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return the result of the comparison of the two parameters. The\n      compare method should return:\n       - `-1` if `a < b`\n      - `0` if `a == b`\n      - `1` if `a > b`\n       Default implementation raises an exception.\n       @method compare\n      @param a {Object} the first object to compare\n      @param b {Object} the second object to compare\n      @return {Number} the result of the comparison\n      @private\n    */\n    compare: null\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/container_proxy\", [\"exports\", \"@ember/runloop\", \"@ember/-internals/metal\"], function (_exports, _runloop, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    ContainerProxyMixin is used to provide public access to specific\n    container functionality.\n  \n    @class ContainerProxyMixin\n    @private\n  */\n  var containerProxyMixin = {\n    /**\n     The container stores state.\n      @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      Example:\n      ```\n     import { getOwner } from '@ember/application';\n      let owner = getOwner(this);\n      User.create(\n       owner.ownerInjection(),\n       { username: 'rwjblue' }\n     )\n     ```\n      @public\n     @method ownerInjection\n     @since 2.3.0\n     @return {Object}\n    */\n    ownerInjection() {\n      return this.__container__.ownerInjection();\n    },\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @public\n     @method lookup\n     @param {String} fullName\n     @param {Object} options\n     @return {any}\n     */\n    lookup(fullName, options) {\n      return this.__container__.lookup(fullName, options);\n    },\n\n    destroy() {\n      var container = this.__container__;\n\n      if (container) {\n        (0, _runloop.join)(() => {\n          container.destroy();\n          (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n        });\n      }\n\n      this._super();\n    },\n\n    /**\n    Given a fullName return a factory manager.\n     This method returns a manager which can be used for introspection of the\n    factory's class or for the creation of factory instances with initial\n    properties. The manager is an object with the following properties:\n     * `class` - The registered or resolved class.\n    * `create` - A function that will create an instance of the class with\n      any dependencies injected.\n     For example:\n     ```javascript\n    import { getOwner } from '@ember/application';\n     let owner = getOwner(otherInstance);\n    // the owner is commonly the `applicationInstance`, and can be accessed via\n    // an instance initializer.\n     let factory = owner.factoryFor('service:bespoke');\n     factory.class;\n    // The registered or resolved class. For example when used with an Ember-CLI\n    // app, this would be the default export from `app/services/bespoke.js`.\n     let instance = factory.create({\n      someProperty: 'an initial property value'\n    });\n    // Create an instance with any injections and the passed options as\n    // initial properties.\n    ```\n     Any instances created via the factory's `.create()` method *must* be destroyed\n    manually by the caller of `.create()`. Typically, this is done during the creating\n    objects own `destroy` or `willDestroy` methods.\n     @public\n    @method factoryFor\n    @param {String} fullName\n    @param {Object} options\n    @return {FactoryManager}\n    */\n    factoryFor(fullName, options = {}) {\n      return this.__container__.factoryFor(fullName, options);\n    }\n\n  };\n\n  var _default = _metal.Mixin.create(containerProxyMixin);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/copyable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Implements some standard methods for copying an object. Add this mixin to\n    any object you create that can create a copy of itself. This mixin is\n    added automatically to the built-in array.\n  \n    You should generally implement the `copy()` method to return a copy of the\n    receiver.\n  \n    @class Copyable\n    @namespace Ember\n    @since Ember 0.9\n    @deprecated Use 'ember-copy' addon instead\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return a copy of the receiver. Default implementation raises\n      an exception.\n       @method copy\n      @param {Boolean} deep if `true`, a deep copy of the object should be made\n      @return {Object} copy of receiver\n      @private\n    */\n    copy: null\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/enumerable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/enumerable\n  @private\n  */\n\n  /**\n    The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\n    been intentionally preserved to avoid breaking Enumerable.detect checks\n    until the community migrates away from them.\n  \n    @class Enumerable\n    @private\n  */\n  var _default = _metal.Mixin.create();\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/evented\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n\n  /**\n    This mixin allows for Ember objects to subscribe to and emit events.\n  \n    ```app/utils/person.js\n    import EmberObject from '@ember/object';\n    import Evented from '@ember/object/evented';\n  \n    export default EmberObject.extend(Evented, {\n      greet() {\n        // ...\n        this.trigger('greet');\n      }\n    });\n    ```\n  \n    ```javascript\n    var person = Person.create();\n  \n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    });\n  \n    person.greet();\n  \n    // outputs: 'Our person has greeted'\n    ```\n  \n    You can also chain multiple event subscriptions:\n  \n    ```javascript\n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    }).one('greet', function() {\n      console.log('Offer one-time special');\n    }).off('event', this, forgetThis);\n    ```\n  \n    @class Evented\n    @public\n   */\n  var _default = _metal.Mixin.create({\n    /**\n      Subscribes to a named event with given function.\n       ```javascript\n      person.on('didLoad', function() {\n        // fired once the person has loaded\n      });\n      ```\n       An optional target can be passed in as the 2nd argument that will\n      be set as the \"this\" for the callback. This is a good way to give your\n      function access to the object triggering the event. When the target\n      parameter is used the callback method becomes the third argument.\n       @method on\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    on(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method);\n      return this;\n    },\n\n    /**\n      Subscribes a function to a named event and then cancels the subscription\n      after the first time the event is triggered. It is good to use ``one`` when\n      you only care about the first time an event has taken place.\n       This function takes an optional 2nd argument that will become the \"this\"\n      value for the callback. When the target parameter is used the callback method\n      becomes the third argument.\n       @method one\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    one(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method, true);\n      return this;\n    },\n\n    /**\n      Triggers a named event for the object. Any additional arguments\n      will be passed as parameters to the functions that are subscribed to the\n      event.\n       ```javascript\n      person.on('didEat', function(food) {\n        console.log('person ate some ' + food);\n      });\n       person.trigger('didEat', 'broccoli');\n       // outputs: person ate some broccoli\n      ```\n      @method trigger\n      @param {String} name The name of the event\n      @param {Object...} args Optional arguments to pass on\n      @public\n    */\n    trigger(name, ...args) {\n      (0, _metal.sendEvent)(this, name, args);\n    },\n\n    /**\n      Cancels subscription for given name, target, and method.\n       @method off\n      @param {String} name The name of the event\n      @param {Object} target The target of the subscription\n      @param {Function|String} method The function or the name of a function of the subscription\n      @return this\n      @public\n    */\n    off(name, target, method) {\n      (0, _metal.removeListener)(this, name, target, method);\n      return this;\n    },\n\n    /**\n      Checks to see if object has any subscriptions for named event.\n       @method has\n      @param {String} name The name of the event\n      @return {Boolean} does the object have a subscription for event\n      @public\n     */\n    has(name) {\n      return (0, _metal.hasListeners)(this, name);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", [\"exports\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/metal\"], function (_exports, _enumerable, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    The methods in this mixin have been moved to MutableArray. This mixin has\n    been intentionally preserved to avoid breaking MutableEnumerable.detect\n    checks until the community migrates away from them.\n  \n    @class MutableEnumerable\n    @namespace Ember\n    @uses Enumerable\n    @private\n  */\n  var _default = _metal.Mixin.create(_enumerable.default);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/observable\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n\n  /**\n    ## Overview\n  \n    This mixin provides properties and property observing functionality, core\n    features of the Ember object model.\n  \n    Properties and observers allow one object to observe changes to a\n    property on another object. This is one of the fundamental ways that\n    models, controllers and views communicate with each other in an Ember\n    application.\n  \n    Any object that has this mixin applied can be used in observer\n    operations. That includes `EmberObject` and most objects you will\n    interact with as you write your Ember application.\n  \n    Note that you will not generally apply this mixin to classes yourself,\n    but you will use the features provided by this module frequently, so it\n    is important to understand how to use it.\n  \n    ## Using `get()` and `set()`\n  \n    Because of Ember's support for bindings and observers, you will always\n    access properties using the get method, and set properties using the\n    set method. This allows the observing objects to be notified and\n    computed properties to be handled properly.\n  \n    More documentation about `get` and `set` are below.\n  \n    ## Observing Property Changes\n  \n    You typically observe property changes simply by using the `observer`\n    function in classes that you write.\n  \n    For example:\n  \n    ```javascript\n    import { observer } from '@ember/object';\n    import EmberObject from '@ember/object';\n  \n    EmberObject.extend({\n      valueObserver: observer('value', function(sender, key, value, rev) {\n        // Executes whenever the \"value\" property changes\n        // See the addObserver method for more information about the callback arguments\n      })\n    });\n    ```\n  \n    Although this is the most common way to add an observer, this capability\n    is actually built into the `EmberObject` class on top of two methods\n    defined in this mixin: `addObserver` and `removeObserver`. You can use\n    these two methods to add and remove observers yourself if you need to\n    do so at runtime.\n  \n    To add an observer for a property, call:\n  \n    ```javascript\n    object.addObserver('propertyKey', targetObject, targetAction)\n    ```\n  \n    This will call the `targetAction` method on the `targetObject` whenever\n    the value of the `propertyKey` changes.\n  \n    Note that if `propertyKey` is a computed property, the observer will be\n    called when any of the property dependencies are changed, even if the\n    resulting value of the computed property is unchanged. This is necessary\n    because computed properties are not computed until `get` is called.\n  \n    @class Observable\n    @public\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      Retrieves the value of a property from the object.\n       This method is usually similar to using `object[keyName]` or `object.keyName`,\n      however it supports both computed properties and the unknownProperty\n      handler.\n       Because `get` unifies the syntax for accessing all these kinds\n      of properties, it can make many refactorings easier, such as replacing a\n      simple property with a computed property, or vice versa.\n       ### Computed Properties\n       Computed properties are methods defined with the `property` modifier\n      declared at the end, such as:\n       ```javascript\n      import { computed } from '@ember/object';\n       fullName: computed('firstName', 'lastName', function() {\n        return this.get('firstName') + ' ' + this.get('lastName');\n      })\n      ```\n       When you call `get` on a computed property, the function will be\n      called and the return value will be returned instead of the function\n      itself.\n       ### Unknown Properties\n       Likewise, if you try to call `get` on a property whose value is\n      `undefined`, the `unknownProperty()` method will be called on the object.\n      If this method returns any value other than `undefined`, it will be returned\n      instead. This allows you to implement \"virtual\" properties that are\n      not defined upfront.\n       @method get\n      @param {String} keyName The property to retrieve\n      @return {Object} The property value or undefined.\n      @public\n    */\n    get(keyName) {\n      return (0, _metal.get)(this, keyName);\n    },\n\n    /**\n      To get the values of multiple properties at once, call `getProperties`\n      with a list of strings or an array:\n       ```javascript\n      record.getProperties('firstName', 'lastName', 'zipCode');\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       is equivalent to:\n       ```javascript\n      record.getProperties(['firstName', 'lastName', 'zipCode']);\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       @method getProperties\n      @param {String...|Array} list of keys to get\n      @return {Object}\n      @public\n    */\n    getProperties(...args) {\n      return (0, _metal.getProperties)(...[this].concat(args));\n    },\n\n    /**\n      Sets the provided key or path to the value.\n       ```javascript\n      record.set(\"key\", value);\n      ```\n       This method is generally very similar to calling `object[\"key\"] = value` or\n      `object.key = value`, except that it provides support for computed\n      properties, the `setUnknownProperty()` method and property observers.\n       ### Computed Properties\n       If you try to set a value on a key that has a computed property handler\n      defined (see the `get()` method for an example), then `set()` will call\n      that method, passing both the value and key instead of simply changing\n      the value itself. This is useful for those times when you need to\n      implement a property that is composed of one or more member\n      properties.\n       ### Unknown Properties\n       If you try to set a value on a key that is undefined in the target\n      object, then the `setUnknownProperty()` handler will be called instead. This\n      gives you an opportunity to implement complex \"virtual\" properties that\n      are not predefined on the object. If `setUnknownProperty()` returns\n      undefined, then `set()` will simply set the value on the object.\n       ### Property Observers\n       In addition to changing the property, `set()` will also register a property\n      change with the object. Unless you have placed this call inside of a\n      `beginPropertyChanges()` and `endPropertyChanges(),` any \"local\" observers\n      (i.e. observer methods declared on the same object), will be called\n      immediately. Any \"remote\" observers (i.e. observer methods declared on\n      another object) will be placed in a queue and called at a later time in a\n      coalesced manner.\n       @method set\n      @param {String} keyName The property to set\n      @param {Object} value The value to set or `null`.\n      @return {Object} The passed value\n      @public\n    */\n    set(keyName, value) {\n      return (0, _metal.set)(this, keyName, value);\n    },\n\n    /**\n      Sets a list of properties at once. These properties are set inside\n      a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n      observers will be buffered.\n       ```javascript\n      record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });\n      ```\n       @method setProperties\n      @param {Object} hash the hash of keys and values to set\n      @return {Object} The passed in hash\n      @public\n    */\n    setProperties(hash) {\n      return (0, _metal.setProperties)(this, hash);\n    },\n\n    /**\n      Begins a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call this\n      method at the beginning of the changes to begin deferring change\n      notifications. When you are done making changes, call\n      `endPropertyChanges()` to deliver the deferred change notifications and end\n      deferring.\n       @method beginPropertyChanges\n      @return {Observable}\n      @private\n    */\n    beginPropertyChanges() {\n      (0, _metal.beginPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Ends a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call\n      `beginPropertyChanges()` at the beginning of the changes to defer change\n      notifications. When you are done making changes, call this method to\n      deliver the deferred change notifications and end deferring.\n       @method endPropertyChanges\n      @return {Observable}\n      @private\n    */\n    endPropertyChanges() {\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n\n    /**\n      Notify the observer system that a property has just changed.\n       Sometimes you need to change a value directly or indirectly without\n      actually calling `get()` or `set()` on it. In this case, you can use this\n      method instead. Calling this method will notify all observers that the\n      property has potentially changed value.\n       @method notifyPropertyChange\n      @param {String} keyName The property key to be notified about.\n      @return {Observable}\n      @public\n    */\n    notifyPropertyChange(keyName) {\n      (0, _metal.notifyPropertyChange)(this, keyName);\n      return this;\n    },\n\n    /**\n      Adds an observer on a property.\n       This is the core method used to register an observer for a property.\n       Once you call this method, any time the key's value is set, your observer\n      will be notified. Note that the observers are triggered any time the\n      value is set, regardless of whether it has actually changed. Your\n      observer should be prepared to handle that.\n       There are two common invocation patterns for `.addObserver()`:\n       - Passing two arguments:\n        - the name of the property to observe (as a string)\n        - the function to invoke (an actual function)\n      - Passing three arguments:\n        - the name of the property to observe (as a string)\n        - the target object (will be used to look up and invoke a\n          function on)\n        - the name of the function to invoke on the target object\n          (as a string).\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n           // the following are equivalent:\n           // using three arguments\n          this.addObserver('foo', this, 'fooDidChange');\n           // using two arguments\n          this.addObserver('foo', (...args) => {\n            this.fooDidChange(...args);\n          });\n        },\n         fooDidChange() {\n          // your custom logic code\n        }\n      });\n      ```\n       ### Observer Methods\n       Observer methods have the following signature:\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n          this.addObserver('foo', this, 'fooDidChange');\n        },\n         fooDidChange(sender, key, value, rev) {\n          // your code\n        }\n      });\n      ```\n       The `sender` is the object that changed. The `key` is the property that\n      changes. The `value` property is currently reserved and unused. The `rev`\n      is the last property revision of the object when it changed, which you can\n      use to detect if the key value has really changed or not.\n       Usually you will not need the value or revision parameters at\n      the end. In this case, it is common to write observer methods that take\n      only a sender and key value as parameters or, if you aren't interested in\n      any of these values, to write an observer that has no parameters at all.\n       @method addObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @param {Boolean} sync Whether the observer is sync or not\n      @return {Observable}\n      @public\n    */\n    addObserver(key, target, method, sync) {\n      (0, _metal.addObserver)(this, key, target, method, sync);\n      return this;\n    },\n\n    /**\n      Remove an observer you have previously registered on this object. Pass\n      the same key, target, and method you passed to `addObserver()` and your\n      target will no longer receive notifications.\n       @method removeObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @param {Boolean} sync Whether the observer is async or not\n      @return {Observable}\n      @public\n    */\n    removeObserver(key, target, method, sync) {\n      (0, _metal.removeObserver)(this, key, target, method, sync);\n      return this;\n    },\n\n    /**\n      Returns `true` if the object currently has observers registered for a\n      particular key. You can use this method to potentially defer performing\n      an expensive action until someone begins observing a particular property\n      on the object.\n       @method hasObserverFor\n      @param {String} key Key to check\n      @return {Boolean}\n      @private\n    */\n    hasObserverFor(key) {\n      return (0, _metal.hasListeners)(this, `${key}:change`);\n    },\n\n    /**\n      Retrieves the value of a property, or a default value in the case that the\n      property returns `undefined`.\n       ```javascript\n      person.getWithDefault('lastName', 'Doe');\n      ```\n       @method getWithDefault\n      @param {String} keyName The name of the property to retrieve\n      @param {Object} defaultValue The value to return if the property value is undefined\n      @return {Object} The property value or the defaultValue.\n      @public\n    */\n    getWithDefault(keyName, defaultValue) {\n      return (0, _metal.getWithDefault)(this, keyName, defaultValue);\n    },\n\n    /**\n      Set the value of a property to the current value plus some amount.\n       ```javascript\n      person.incrementProperty('age');\n      team.incrementProperty('score', 2);\n      ```\n       @method incrementProperty\n      @param {String} keyName The name of the property to increment\n      @param {Number} increment The amount to increment by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    incrementProperty(keyName, increment = 1) {\n      (true && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment)));\n      return (0, _metal.set)(this, keyName, (parseFloat((0, _metal.get)(this, keyName)) || 0) + increment);\n    },\n\n    /**\n      Set the value of a property to the current value minus some amount.\n       ```javascript\n      player.decrementProperty('lives');\n      orc.decrementProperty('health', 5);\n      ```\n       @method decrementProperty\n      @param {String} keyName The name of the property to decrement\n      @param {Number} decrement The amount to decrement by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    decrementProperty(keyName, decrement = 1) {\n      (true && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement)));\n      return (0, _metal.set)(this, keyName, ((0, _metal.get)(this, keyName) || 0) - decrement);\n    },\n\n    /**\n      Set the value of a boolean property to the opposite of its\n      current value.\n       ```javascript\n      starship.toggleProperty('warpDriveEngaged');\n      ```\n       @method toggleProperty\n      @param {String} keyName The name of the property to toggle\n      @return {Boolean} The new property value\n      @public\n    */\n    toggleProperty(keyName) {\n      return (0, _metal.set)(this, keyName, !(0, _metal.get)(this, keyName));\n    },\n\n    /**\n      Returns the cached value of a computed property, if it exists.\n      This allows you to inspect the value of a computed property\n      without accidentally invoking it if it is intended to be\n      generated lazily.\n       @method cacheFor\n      @param {String} keyName\n      @return {Object} The cached value of the computed property, if any\n      @public\n    */\n    cacheFor(keyName) {\n      return (0, _metal.getCachedValueFor)(this, keyName);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/promise_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/error\"], function (_exports, _metal, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    @module @ember/object\n  */\n  function tap(proxy, promise) {\n    (0, _metal.setProperties)(proxy, {\n      isFulfilled: false,\n      isRejected: false\n    });\n    return promise.then(value => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          content: value,\n          isFulfilled: true\n        });\n      }\n\n      return value;\n    }, reason => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          reason,\n          isRejected: true\n        });\n      }\n\n      throw reason;\n    }, 'Ember: PromiseProxy');\n  }\n  /**\n    A low level mixin making ObjectProxy promise-aware.\n  \n    ```javascript\n    import { resolve } from 'rsvp';\n    import $ from 'jquery';\n    import ObjectProxy from '@ember/object/proxy';\n    import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n  \n    let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n  \n    let proxy = ObjectPromiseProxy.create({\n      promise: resolve($.getJSON('/some/remote/data.json'))\n    });\n  \n    proxy.then(function(json){\n       // the json\n    }, function(reason) {\n       // the reason why you have no json\n    });\n    ```\n  \n    the proxy has bindable attributes which\n    track the promises life cycle\n  \n    ```javascript\n    proxy.get('isPending')   //=> true\n    proxy.get('isSettled')  //=> false\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> false\n    ```\n  \n    When the $.getJSON completes, and the promise is fulfilled\n    with json, the life cycle attributes will update accordingly.\n    Note that $.getJSON doesn't return an ECMA specified promise,\n    it is useful to wrap this with an `RSVP.resolve` so that it behaves\n    as a spec compliant promise.\n  \n    ```javascript\n    proxy.get('isPending')   //=> false\n    proxy.get('isSettled')   //=> true\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> true\n    ```\n  \n    As the proxy is an ObjectProxy, and the json now its content,\n    all the json properties will be available directly from the proxy.\n  \n    ```javascript\n    // Assuming the following json:\n    {\n      firstName: 'Stefan',\n      lastName: 'Penner'\n    }\n  \n    // both properties will accessible on the proxy\n    proxy.get('firstName') //=> 'Stefan'\n    proxy.get('lastName')  //=> 'Penner'\n    ```\n  \n    @class PromiseProxyMixin\n    @public\n  */\n\n\n  var _default = _metal.Mixin.create({\n    /**\n      If the proxied promise is rejected this will contain the reason\n      provided.\n       @property reason\n      @default null\n      @public\n    */\n    reason: null,\n\n    /**\n      Once the proxied promise has settled this will become `false`.\n       @property isPending\n      @default true\n      @public\n    */\n    isPending: (0, _metal.computed)('isSettled', function () {\n      return !(0, _metal.get)(this, 'isSettled');\n    }).readOnly(),\n\n    /**\n      Once the proxied promise has settled this will become `true`.\n       @property isSettled\n      @default false\n      @public\n    */\n    isSettled: (0, _metal.computed)('isRejected', 'isFulfilled', function () {\n      return (0, _metal.get)(this, 'isRejected') || (0, _metal.get)(this, 'isFulfilled');\n    }).readOnly(),\n\n    /**\n      Will become `true` if the proxied promise is rejected.\n       @property isRejected\n      @default false\n      @public\n    */\n    isRejected: false,\n\n    /**\n      Will become `true` if the proxied promise is fulfilled.\n       @property isFulfilled\n      @default false\n      @public\n    */\n    isFulfilled: false,\n\n    /**\n      The promise whose fulfillment value is being proxied by this object.\n       This property must be specified upon creation, and should not be\n      changed once created.\n       Example:\n       ```javascript\n      import ObjectProxy from '@ember/object/proxy';\n      import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n       ObjectProxy.extend(PromiseProxyMixin).create({\n        promise: <thenable>\n      });\n      ```\n       @property promise\n      @public\n    */\n    promise: (0, _metal.computed)({\n      get() {\n        throw new _error.default(\"PromiseProxy's promise must be set\");\n      },\n\n      set(key, promise) {\n        return tap(this, promise);\n      }\n\n    }),\n\n    /**\n      An alias to the proxied promise's `then`.\n       See RSVP.Promise.then.\n       @method then\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @public\n    */\n    then: promiseAlias('then'),\n\n    /**\n      An alias to the proxied promise's `catch`.\n       See RSVP.Promise.catch.\n       @method catch\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    catch: promiseAlias('catch'),\n\n    /**\n      An alias to the proxied promise's `finally`.\n       See RSVP.Promise.finally.\n       @method finally\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    finally: promiseAlias('finally')\n  });\n\n  _exports.default = _default;\n\n  function promiseAlias(name) {\n    return function () {\n      var promise = (0, _metal.get)(this, 'promise');\n      return promise[name](...arguments);\n    };\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/registry_proxy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\"], function (_exports, _debug, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n    RegistryProxyMixin is used to provide public access to specific\n    registry functionality.\n  \n    @class RegistryProxyMixin\n    @private\n  */\n  var _default = _metal.Mixin.create({\n    __registry__: null,\n\n    /**\n     Given a fullName return the corresponding factory.\n      @public\n     @method resolveRegistration\n     @param {String} fullName\n     @return {Function} fullName's factory\n     */\n    resolveRegistration(fullName, options) {\n      (true && !(this.__registry__.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName)));\n      return this.__registry__.resolve(fullName, options);\n    },\n\n    /**\n      Registers a factory that can be used for dependency injection (with\n      `inject`) or for service lookup. Each factory is registered with\n      a full name including two parts: `type:name`.\n       A simple example:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Orange = EmberObject.extend();\n      App.register('fruit:favorite', App.Orange);\n      ```\n       Ember will resolve factories from the `App` namespace automatically.\n      For example `App.CarsController` will be discovered and returned if\n      an application requests `controller:cars`.\n       An example of registering a controller with a non-standard name:\n       ```javascript\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n       let App = Application.create();\n      let Session = Controller.extend();\n       App.register('controller:session', Session);\n       // The Session controller can now be treated like a normal controller,\n      // despite its non-standard name.\n      App.ApplicationController = Controller.extend({\n        needs: ['session']\n      });\n      ```\n       Registered factories are **instantiated** by having `create`\n      called on them. Additionally they are **singletons**, each time\n      they are looked up they return the same instance.\n       Some examples modifying that default behavior:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Person = EmberObject.extend();\n      App.Orange = EmberObject.extend();\n      App.Email = EmberObject.extend();\n      App.session = EmberObject.create();\n       App.register('model:user', App.Person, { singleton: false });\n      App.register('fruit:favorite', App.Orange);\n      App.register('communication:main', App.Email, { singleton: false });\n      App.register('session', App.session, { instantiate: false });\n      ```\n       @method register\n      @param  fullName {String} type:name (e.g., 'model:user')\n      @param  factory {any} (e.g., App.Person)\n      @param  options {Object} (optional) disable instantiation or singleton usage\n      @public\n     */\n    register: registryAlias('register'),\n\n    /**\n     Unregister a factory.\n      ```javascript\n     import Application from '@ember/application';\n     import EmberObject from '@ember/object';\n      let App = Application.create();\n     let User = EmberObject.extend();\n     App.register('model:user', User);\n      App.resolveRegistration('model:user').create() instanceof User //=> true\n      App.unregister('model:user')\n     App.resolveRegistration('model:user') === undefined //=> true\n     ```\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: registryAlias('unregister'),\n\n    /**\n     Check if a factory is registered.\n      @public\n     @method hasRegistration\n     @param {String} fullName\n     @return {Boolean}\n     */\n    hasRegistration: registryAlias('has'),\n\n    /**\n     Return a specific registered option for a particular factory.\n      @public\n     @method registeredOption\n     @param  {String} fullName\n     @param  {String} optionName\n     @return {Object} options\n     */\n    registeredOption: registryAlias('getOption'),\n\n    /**\n     Register options for a particular factory.\n      @public\n     @method registerOptions\n     @param {String} fullName\n     @param {Object} options\n     */\n    registerOptions: registryAlias('options'),\n\n    /**\n     Return registered options for a particular factory.\n      @public\n     @method registeredOptions\n     @param  {String} fullName\n     @return {Object} options\n     */\n    registeredOptions: registryAlias('getOptions'),\n\n    /**\n     Allow registering options for all factories of a type.\n      ```javascript\n     import Application from '@ember/application';\n      let App = Application.create();\n     let appInstance = App.buildInstance();\n      // if all of type `connection` must not be singletons\n     appInstance.registerOptionsForType('connection', { singleton: false });\n      appInstance.register('connection:twitter', TwitterConnection);\n     appInstance.register('connection:facebook', FacebookConnection);\n      let twitter = appInstance.lookup('connection:twitter');\n     let twitter2 = appInstance.lookup('connection:twitter');\n      twitter === twitter2; // => false\n      let facebook = appInstance.lookup('connection:facebook');\n     let facebook2 = appInstance.lookup('connection:facebook');\n      facebook === facebook2; // => false\n     ```\n      @public\n     @method registerOptionsForType\n     @param {String} type\n     @param {Object} options\n     */\n    registerOptionsForType: registryAlias('optionsForType'),\n\n    /**\n     Return the registered options for all factories of a type.\n      @public\n     @method registeredOptionsForType\n     @param {String} type\n     @return {Object} options\n     */\n    registeredOptionsForType: registryAlias('getOptionsForType'),\n\n    /**\n      Define a dependency injection onto a specific factory or all factories\n      of a type.\n       When Ember instantiates a controller, view, or other framework component\n      it can attach a dependency to that component. This is often used to\n      provide services to a set of framework components.\n       An example of providing a session object to all controllers:\n       ```javascript\n      import { alias } from '@ember/object/computed';\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n      let Session = EmberObject.extend({ isAuthenticated: false });\n       // A factory must be registered before it can be injected\n      App.register('session:main', Session);\n       // Inject 'session:main' onto all factories of the type 'controller'\n      // with the name 'session'\n      App.inject('controller', 'session', 'session:main');\n       App.IndexController = Controller.extend({\n        isLoggedIn: alias('session.isAuthenticated')\n      });\n      ```\n       Injections can also be performed on specific factories.\n       ```javascript\n      App.inject(<full_name or type>, <property name>, <full_name>)\n      App.inject('route', 'source', 'source:main')\n      App.inject('route:application', 'email', 'model:email')\n      ```\n       It is important to note that injections can only be performed on\n      classes that are instantiated by Ember itself. Instantiating a class\n      directly (via `create` or `new`) bypasses the dependency injection\n      system.\n       @public\n      @method inject\n      @param  factoryNameOrType {String}\n      @param  property {String}\n      @param  injectionName {String}\n    **/\n    inject: registryAlias('injection')\n  });\n\n  _exports.default = _default;\n\n  function registryAlias(name) {\n    return function () {\n      return this.__registry__[name](...arguments);\n    };\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/target_action_support\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _environment, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n\n  /**\n  `Ember.TargetActionSupport` is a mixin that can be included in a class\n  to add a `triggerAction` method with semantics similar to the Handlebars\n  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n  usually the best choice. This mixin is most often useful when you are\n  doing more complex event handling in Components.\n  \n  @class TargetActionSupport\n  @namespace Ember\n  @extends Mixin\n  @private\n  */\n  var _default = _metal.Mixin.create({\n    target: null,\n    action: null,\n    actionContext: null,\n    actionContextObject: (0, _metal.computed)('actionContext', function () {\n      var actionContext = (0, _metal.get)(this, 'actionContext');\n\n      if (typeof actionContext === 'string') {\n        var value = (0, _metal.get)(this, actionContext);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, actionContext);\n        }\n\n        return value;\n      } else {\n        return actionContext;\n      }\n    }),\n\n    /**\n    Send an `action` with an `actionContext` to a `target`. The action, actionContext\n    and target will be retrieved from properties of the object. For example:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      action: 'save',\n      actionContext: alias('context'),\n      click() {\n        this.triggerAction(); // Sends the `save` action, along with the current context\n                              // to the current controller\n      }\n    });\n    ```\n     The `target`, `action`, and `actionContext` can be provided as properties of\n    an optional object argument to `triggerAction` as well.\n     ```javascript\n    App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      click() {\n        this.triggerAction({\n          action: 'save',\n          target: this.get('controller'),\n          actionContext: this.get('context')\n        }); // Sends the `save` action, along with the current context\n            // to the current controller\n      }\n    });\n    ```\n     The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n    But `target` and `action` must be specified either as properties or with the argument\n    to `triggerAction`, or a combination:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      click() {\n        this.triggerAction({\n          action: 'save'\n        }); // Sends the `save` action, along with a reference to `this`,\n            // to the current controller\n      }\n    });\n    ```\n     @method triggerAction\n    @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n    @return {Boolean} true if the action was sent successfully and did not return false\n    @private\n    */\n    triggerAction(opts = {}) {\n      var {\n        action,\n        target,\n        actionContext\n      } = opts;\n      action = action || (0, _metal.get)(this, 'action');\n      target = target || getTarget(this);\n\n      if (actionContext === undefined) {\n        actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n      }\n\n      if (target && action) {\n        var ret;\n\n        if (target.send) {\n          ret = target.send(...[action].concat(actionContext));\n        } else {\n          (true && !(typeof target[action] === 'function') && (0, _debug.assert)(`The action '${action}' did not exist on ${target}`, typeof target[action] === 'function'));\n          ret = target[action](...[].concat(actionContext));\n        }\n\n        if (ret !== false) {\n          return true;\n        }\n      }\n\n      return false;\n    }\n\n  });\n\n  _exports.default = _default;\n\n  function getTarget(instance) {\n    var target = (0, _metal.get)(instance, 'target');\n\n    if (target) {\n      if (typeof target === 'string') {\n        var value = (0, _metal.get)(instance, target);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, target);\n        }\n\n        return value;\n      } else {\n        return target;\n      }\n    }\n\n    if (instance._target) {\n      return instance._target;\n    }\n\n    return null;\n  }\n});","define(\"@ember/-internals/runtime/lib/system/array_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/debug\", \"@glimmer/reference\"], function (_exports, _metal, _object, _array, _debug, _reference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/array\n  */\n  var ARRAY_OBSERVER_MAPPING = {\n    willChange: '_arrangedContentArrayWillChange',\n    didChange: '_arrangedContentArrayDidChange'\n  };\n  /**\n    An ArrayProxy wraps any other object that implements `Array` and/or\n    `MutableArray,` forwarding all requests. This makes it very useful for\n    a number of binding use cases or other cases where being able to swap\n    out the underlying array is useful.\n  \n    A simple example of usage:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({ content: A(pets) });\n  \n    ap.get('firstObject');                        // 'dog'\n    ap.set('content', ['amoeba', 'paramecium']);\n    ap.get('firstObject');                        // 'amoeba'\n    ```\n  \n    This class can also be useful as a layer to transform the contents of\n    an array, as they are accessed. This can be done by overriding\n    `objectAtContent`:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({\n        content: A(pets),\n        objectAtContent: function(idx) {\n            return this.get('content').objectAt(idx).toUpperCase();\n        }\n    });\n  \n    ap.get('firstObject'); // . 'DOG'\n    ```\n  \n    When overriding this class, it is important to place the call to\n    `_super` *after* setting `content` so the internal observers have\n    a chance to fire properly:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    export default ArrayProxy.extend({\n      init() {\n        this.set('content', A(['dog', 'cat', 'fish']));\n        this._super(...arguments);\n      }\n    });\n    ```\n  \n    @class ArrayProxy\n    @extends EmberObject\n    @uses MutableArray\n    @public\n  */\n\n  class ArrayProxy extends _object.default {\n    init() {\n      super.init(...arguments);\n      /*\n        `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n        cache are dirty.\n         If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n        Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n         Calling `objectAt` with a dirty index will cause the `this._objects`\n        cache to be recomputed.\n      */\n\n      this._objectsDirtyIndex = 0;\n      this._objects = null;\n      this._lengthDirty = true;\n      this._length = 0;\n      this._arrangedContent = null;\n      this._arrangedContentIsUpdating = false;\n      this._arrangedContentTag = null;\n      this._arrangedContentRevision = null;\n    }\n\n    [_metal.PROPERTY_DID_CHANGE]() {\n      this._revalidate();\n    }\n\n    [_metal.CUSTOM_TAG_FOR](key) {\n      if (key === '[]' || key === 'length') {\n        // revalidate eagerly if we're being tracked, since we no longer will\n        // be able to later on due to backtracking re-render assertion\n        this._revalidate();\n\n        return (0, _reference.combine)((0, _metal.getChainTagsForKey)(this, `arrangedContent.${key}`));\n      }\n\n      return (0, _metal.createTagForProperty)(this, key);\n    }\n\n    willDestroy() {\n      this._removeArrangedContentArrayObserver();\n    }\n    /**\n      The content array. Must be an object that implements `Array` and/or\n      `MutableArray.`\n       @property content\n      @type EmberArray\n      @public\n    */\n\n    /**\n      Should actually retrieve the object at the specified index from the\n      content. You can override this method in subclasses to transform the\n      content item to something new.\n       This method will only be called if content is non-`null`.\n       @method objectAtContent\n      @param {Number} idx The index to retrieve.\n      @return {Object} the value or undefined if none found\n      @public\n    */\n\n\n    objectAtContent(idx) {\n      return (0, _metal.objectAt)((0, _metal.get)(this, 'arrangedContent'), idx);\n    } // See additional docs for `replace` from `MutableArray`:\n    // https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\n\n\n    replace(idx, amt, objects) {\n      (true && !((0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')));\n      this.replaceContent(idx, amt, objects);\n    }\n    /**\n      Should actually replace the specified objects on the content array.\n      You can override this method in subclasses to transform the content item\n      into something new.\n       This method will only be called if content is non-`null`.\n       @method replaceContent\n      @param {Number} idx The starting index\n      @param {Number} amt The number of items to remove from the content.\n      @param {EmberArray} objects Optional array of objects to insert or null if no\n        objects.\n      @return {void}\n      @public\n    */\n\n\n    replaceContent(idx, amt, objects) {\n      (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n    } // Overriding objectAt is not supported.\n\n\n    objectAt(idx) {\n      this._revalidate();\n\n      if (this._objects === null) {\n        this._objects = [];\n      }\n\n      if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n        if (arrangedContent) {\n          var length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n\n          for (var i = this._objectsDirtyIndex; i < length; i++) {\n            this._objects[i] = this.objectAtContent(i);\n          }\n        } else {\n          this._objects.length = 0;\n        }\n\n        this._objectsDirtyIndex = -1;\n      }\n\n      return this._objects[idx];\n    } // Overriding length is not supported.\n\n\n    get length() {\n      this._revalidate();\n\n      if (this._lengthDirty) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n        this._length = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n        this._lengthDirty = false;\n      }\n\n      return this._length;\n    }\n\n    set length(value) {\n      var length = this.length;\n      var removedCount = length - value;\n      var added;\n\n      if (removedCount === 0) {\n        return;\n      } else if (removedCount < 0) {\n        added = new Array(-removedCount);\n        removedCount = 0;\n      }\n\n      var content = (0, _metal.get)(this, 'content');\n\n      if (content) {\n        (0, _metal.replace)(content, value, removedCount, added);\n\n        this._invalidate();\n      }\n    }\n\n    _updateArrangedContentArray() {\n      var oldLength = this._objects === null ? 0 : this._objects.length;\n      var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n      var newLength = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n\n      this._removeArrangedContentArrayObserver();\n\n      this.arrayContentWillChange(0, oldLength, newLength);\n\n      this._invalidate();\n\n      this.arrayContentDidChange(0, oldLength, newLength);\n\n      this._addArrangedContentArrayObserver();\n    }\n\n    _addArrangedContentArrayObserver() {\n      var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n      if (arrangedContent && !arrangedContent.isDestroyed) {\n        (true && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this));\n        (true && !((0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed) && (0, _debug.assert)(`ArrayProxy expects an Array or ArrayProxy, but you passed ${typeof arrangedContent}`, (0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed));\n        (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n        this._arrangedContent = arrangedContent;\n      }\n    }\n\n    _removeArrangedContentArrayObserver() {\n      if (this._arrangedContent) {\n        (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n      }\n    }\n\n    _arrangedContentArrayWillChange() {}\n\n    _arrangedContentArrayDidChange(proxy, idx, removedCnt, addedCnt) {\n      this.arrayContentWillChange(idx, removedCnt, addedCnt);\n      var dirtyIndex = idx;\n\n      if (dirtyIndex < 0) {\n        var length = (0, _metal.get)(this._arrangedContent, 'length');\n        dirtyIndex += length + removedCnt - addedCnt;\n      }\n\n      if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n        this._objectsDirtyIndex = dirtyIndex;\n      }\n\n      this._lengthDirty = true;\n      this.arrayContentDidChange(idx, removedCnt, addedCnt);\n    }\n\n    _invalidate() {\n      this._objectsDirtyIndex = 0;\n      this._lengthDirty = true;\n    }\n\n    _revalidate() {\n      if (this._arrangedContentIsUpdating === true) return;\n\n      if (this._arrangedContentTag === null || !(0, _reference.validate)(this._arrangedContentTag, this._arrangedContentRevision)) {\n        if (this._arrangedContentTag === null) {\n          // This is the first time the proxy has been setup, only add the observer\n          // don't trigger any events\n          this._addArrangedContentArrayObserver();\n        } else {\n          this._arrangedContentIsUpdating = true;\n\n          this._updateArrangedContentArray();\n\n          this._arrangedContentIsUpdating = false;\n        }\n\n        this._arrangedContentTag = (0, _reference.combine)((0, _metal.getChainTagsForKey)(this, 'arrangedContent'));\n        this._arrangedContentRevision = (0, _reference.value)(this._arrangedContentTag);\n      }\n    }\n\n  }\n\n  _exports.default = ArrayProxy;\n  ArrayProxy.reopen(_array.MutableArray, {\n    /**\n      The array that the proxy pretends to be. In the default `ArrayProxy`\n      implementation, this and `content` are the same. Subclasses of `ArrayProxy`\n      can override this property to provide things like sorting and filtering.\n       @property arrangedContent\n      @public\n    */\n    arrangedContent: (0, _metal.alias)('content'),\n\n    // Array proxies don't need to notify when they change since their `[]` tag is\n    // already dependent on the `[]` tag of `arrangedContent`\n    arrayContentDidChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt, false);\n    }\n\n  });\n});","define(\"@ember/-internals/runtime/lib/system/core_object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/-internals/utils\", \"@ember/runloop\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/debug\"], function (_exports, _container, _owner, _polyfills, _utils, _runloop, _meta2, _metal, _action_handler, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setFrameworkClass = setFrameworkClass;\n  _exports.default = void 0;\n\n  /**\n    @module @ember/object\n  */\n  var reopen = _metal.Mixin.prototype.reopen;\n  var wasApplied = new _polyfills._WeakSet();\n  var factoryMap = new WeakMap();\n  var debugOwnerMap;\n\n  if (true\n  /* DEBUG */\n  ) {\n    debugOwnerMap = new WeakMap();\n  }\n\n  var prototypeMixinMap = new WeakMap();\n  var initCalled = true\n  /* DEBUG */\n  ? new _polyfills._WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n\n  var PASSED_FROM_CREATE = true\n  /* DEBUG */\n  ? (0, _utils.symbol)('PASSED_FROM_CREATE') : undefined;\n  var FRAMEWORK_CLASSES = (0, _utils.symbol)('FRAMEWORK_CLASS');\n\n  function setFrameworkClass(klass) {\n    klass[FRAMEWORK_CLASSES] = true;\n  }\n\n  function initialize(obj, properties) {\n    var m = (0, _meta2.meta)(obj);\n\n    if (properties !== undefined) {\n      (true && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null));\n      (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n      var concatenatedProperties = obj.concatenatedProperties;\n      var mergedProperties = obj.mergedProperties;\n      var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n      var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n      var keyNames = Object.keys(properties);\n\n      for (var i = 0; i < keyNames.length; i++) {\n        var keyName = keyNames[i];\n        var value = properties[keyName];\n        (true && !(!(0, _metal.isClassicDecorator)(value)) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(0, _metal.isClassicDecorator)(value)));\n        (true && !(!(typeof value === 'function' && value.toString().indexOf('._super') !== -1)) && (0, _debug.assert)('EmberObject.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1)));\n        (true && !(!(keyName === 'actions' && _action_handler.default.detect(obj))) && (0, _debug.assert)('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && _action_handler.default.detect(obj))));\n        var possibleDesc = (0, _metal.descriptorForProperty)(obj, keyName, m);\n        var isDescriptor = possibleDesc !== undefined;\n\n        if (!isDescriptor) {\n          if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n            var baseValue = obj[keyName];\n\n            if (baseValue) {\n              value = (0, _utils.makeArray)(baseValue).concat(value);\n            } else {\n              value = (0, _utils.makeArray)(value);\n            }\n          }\n\n          if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n            var _baseValue = obj[keyName];\n            value = (0, _polyfills.assign)({}, _baseValue, value);\n          }\n        }\n\n        if (isDescriptor) {\n          possibleDesc.set(obj, keyName, value);\n        } else if (typeof obj.setUnknownProperty === 'function' && !(keyName in obj)) {\n          obj.setUnknownProperty(keyName, value);\n        } else {\n          if (true\n          /* DEBUG */\n          ) {\n            (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n          } else {\n            obj[keyName] = value;\n          }\n        }\n      }\n    } // using DEBUG here to avoid the extraneous variable when not needed\n\n\n    if (true\n    /* DEBUG */\n    ) {\n      initCalled.add(obj);\n    }\n\n    obj.init(properties);\n    m.unsetInitializing();\n    var observerEvents = m.observerEvents();\n\n    if (observerEvents !== undefined) {\n      for (var _i = 0; _i < observerEvents.length; _i++) {\n        (0, _metal.activateObserver)(obj, observerEvents[_i].event, observerEvents[_i].sync);\n      }\n    }\n\n    (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\n  }\n  /**\n    `CoreObject` is the base class for all Ember constructs. It establishes a\n    class system based on Ember's Mixin system, and provides the basis for the\n    Ember Object Model. `CoreObject` should generally not be used directly,\n    instead you should use `EmberObject`.\n  \n    ## Usage\n  \n    You can define a class by extending from `CoreObject` using the `extend`\n    method:\n  \n    ```js\n    const Person = CoreObject.extend({\n      name: 'Tomster',\n    });\n    ```\n  \n    For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n    section of the guides.\n  \n    ## Usage with Native Classes\n  \n    Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n    based class:\n  \n    ```js\n    class Person extends CoreObject {\n      init() {\n        super.init(...arguments);\n        this.name = 'Tomster';\n      }\n    }\n    ```\n  \n    Some notes about `class` usage:\n  \n    * `new` syntax is not currently supported with classes that extend from\n      `EmberObject` or `CoreObject`. You must continue to use the `create` method\n      when making new instances of classes, even if they are defined using native\n      class syntax. If you want to use `new` syntax, consider creating classes\n      which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n      such as computed properties and decorators, will still work with base-less\n      classes.\n    * Instead of using `this._super()`, you must use standard `super` syntax in\n      native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n      for more details.\n    * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n      to set up newly-created instances. Ember uses these to, among other things,\n      support features that need to retrieve other entities by name, like Service\n      injection and `getOwner`. To ensure your custom instance setup logic takes\n      place after this important work is done, avoid using the `constructor` in\n      favor of `init`.\n    * Properties passed to `create` will be available on the instance by the time\n      `init` runs, so any code that requires these values should work at that\n      time.\n    * Using native classes, and switching back to the old Ember Object model is\n      fully supported.\n  \n    @class CoreObject\n    @public\n  */\n\n\n  class CoreObject {\n    static _initFactory(factory) {\n      factoryMap.set(this, factory);\n    }\n\n    constructor(passedFromCreate) {\n      // pluck off factory\n      var initFactory = factoryMap.get(this.constructor);\n\n      if (initFactory !== undefined) {\n        factoryMap.delete(this.constructor);\n\n        _container.FACTORY_FOR.set(this, initFactory);\n      } // prepare prototype...\n\n\n      this.constructor.proto();\n      var self = this;\n\n      if (true\n      /* DEBUG */\n      && _utils.HAS_NATIVE_PROXY && typeof self.unknownProperty === 'function') {\n        var messageFor = (obj, property) => {\n          return `You attempted to access the \\`${String(property)}\\` property (of ${obj}).\\n` + `Since Ember 3.1, this is usually fine as you no longer need to use \\`.get()\\`\\n` + `to access computed properties. However, in this case, the object in question\\n` + `is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n` + `to use \\`.get('${String(property)}')\\` in this case.\\n\\n` + `If you encountered this error because of third-party code that you don't control,\\n` + `there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n` + `you can help us improve this error message by telling us more about what happened in\\n` + `this situation.`;\n        };\n        /* globals Proxy Reflect */\n\n\n        self = new Proxy(this, {\n          get(target, property, receiver) {\n            if (property === _metal.PROXY_CONTENT) {\n              return target;\n            } else if ( // init called will be set on the proxy, not the target, so get with the receiver\n            !initCalled.has(receiver) || typeof property === 'symbol' || (0, _utils.isInternalSymbol)(property) || property === 'toJSON' || property === 'toString' || property === 'toStringExtension' || property === 'didDefineProperty' || property === 'willWatchProperty' || property === 'didUnwatchProperty' || property === 'didAddListener' || property === 'didRemoveListener' || property === 'isDescriptor' || property === '_onLookup' || property in target) {\n              return Reflect.get(target, property, receiver);\n            }\n\n            var value = target.unknownProperty.call(receiver, property);\n\n            if (typeof value !== 'function') {\n              (true && !(value === undefined || value === null) && (0, _debug.assert)(messageFor(receiver, property), value === undefined || value === null));\n            }\n          }\n\n        });\n\n        _container.FACTORY_FOR.set(self, initFactory);\n      } // disable chains\n\n\n      var m = (0, _meta2.meta)(self);\n      m.setInitializing();\n      (true && !((() => {\n        var owner = debugOwnerMap.get(this.constructor);\n        debugOwnerMap.delete(this.constructor);\n        return passedFromCreate !== undefined && (passedFromCreate === PASSED_FROM_CREATE || passedFromCreate === owner);\n      })()) && (0, _debug.assert)(`An EmberObject based class, ${this.constructor}, was not instantiated correctly. You may have either used \\`new\\` instead of \\`.create()\\`, or not passed arguments to your call to super in the constructor: \\`super(...arguments)\\`. If you are trying to use \\`new\\`, consider using native classes without extending from EmberObject.`, (() => {\n        var owner = debugOwnerMap.get(this.constructor);\n        debugOwnerMap.delete(this.constructor);\n        return passedFromCreate !== undefined && (passedFromCreate === PASSED_FROM_CREATE || passedFromCreate === owner);\n      })())); // only return when in debug builds and `self` is the proxy created above\n\n      if (true\n      /* DEBUG */\n      && self !== this) {\n        return self;\n      }\n    }\n\n    reopen(...args) {\n      (0, _metal.applyMixin)(this, args);\n      return this;\n    }\n    /**\n      An overridable method called when objects are instantiated. By default,\n      does nothing unless it is overridden during class definition.\n       Example:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        init() {\n          alert(`Name is ${this.get('name')}`);\n        }\n      });\n       let steve = Person.create({\n        name: 'Steve'\n      });\n       // alerts 'Name is Steve'.\n      ```\n       NOTE: If you do override `init` for a framework class like `Ember.View`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n       @method init\n      @public\n    */\n\n\n    init() {}\n    /**\n      Defines the properties that will be concatenated from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by combining the superclass' property\n      value with the subclass' value. An example of this in use within Ember\n      is the `classNames` property of `Ember.View`.\n       Here is some sample code showing the difference between a concatenated\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties to concatenate\n        concatenatedProperties: ['concatenatedProperty'],\n         someNonConcatenatedProperty: ['bar'],\n        concatenatedProperty: ['bar']\n      });\n       const FooBar = Bar.extend({\n        someNonConcatenatedProperty: ['foo'],\n        concatenatedProperty: ['foo']\n      });\n       let fooBar = FooBar.create();\n      fooBar.get('someNonConcatenatedProperty'); // ['foo']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n      ```\n       This behavior extends to object creation as well. Continuing the\n      above example:\n       ```javascript\n      let fooBar = FooBar.create({\n        someNonConcatenatedProperty: ['baz'],\n        concatenatedProperty: ['baz']\n      })\n      fooBar.get('someNonConcatenatedProperty'); // ['baz']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Adding a single property that is not an array will just add it in the array:\n       ```javascript\n      let fooBar = FooBar.create({\n        concatenatedProperty: 'baz'\n      })\n      view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Using the `concatenatedProperties` property, we can tell Ember to mix the\n      content of the properties.\n       In `Component` the `classNames`, `classNameBindings` and\n      `attributeBindings` properties are concatenated.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual concatenated property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property concatenatedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Defines the properties that will be merged from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by merging the superclass property value\n      with the subclass property's value. An example of this in use within Ember\n      is the `queryParams` property of routes.\n       Here is some sample code showing the difference between a merged\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties are to be merged\n        mergedProperties: ['mergedProperty'],\n         someNonMergedProperty: {\n          nonMerged: 'superclass value of nonMerged'\n        },\n        mergedProperty: {\n          page: { replace: false },\n          limit: { replace: true }\n        }\n      });\n       const FooBar = Bar.extend({\n        someNonMergedProperty: {\n          completelyNonMerged: 'subclass value of nonMerged'\n        },\n        mergedProperty: {\n          limit: { replace: false }\n        }\n      });\n       let fooBar = FooBar.create();\n       fooBar.get('someNonMergedProperty');\n      // => { completelyNonMerged: 'subclass value of nonMerged' }\n      //\n      // Note the entire object, including the nonMerged property of\n      // the superclass object, has been replaced\n       fooBar.get('mergedProperty');\n      // => {\n      //   page: {replace: false},\n      //   limit: {replace: false}\n      // }\n      //\n      // Note the page remains from the superclass, and the\n      // `limit` property's value of `false` has been merged from\n      // the subclass.\n      ```\n       This behavior is not available during object `create` calls. It is only\n      available at `extend` time.\n       In `Route` the `queryParams` property is merged.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual merged property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property mergedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Destroyed object property flag.\n       if this property is `true` the observers and bindings were already\n      removed by the effect of calling the `destroy()` method.\n       @property isDestroyed\n      @default false\n      @public\n    */\n\n\n    get isDestroyed() {\n      return (0, _meta2.peekMeta)(this).isSourceDestroyed();\n    }\n\n    set isDestroyed(value) {\n      (true && !(false) && (0, _debug.assert)(`You cannot set \\`${this}.isDestroyed\\` directly, please use \\`.destroy()\\`.`, false));\n    }\n    /**\n      Destruction scheduled flag. The `destroy()` method has been called.\n       The object stays intact until the end of the run loop at which point\n      the `isDestroyed` flag is set.\n       @property isDestroying\n      @default false\n      @public\n    */\n\n\n    get isDestroying() {\n      return (0, _meta2.peekMeta)(this).isSourceDestroying();\n    }\n\n    set isDestroying(value) {\n      (true && !(false) && (0, _debug.assert)(`You cannot set \\`${this}.isDestroying\\` directly, please use \\`.destroy()\\`.`, false));\n    }\n    /**\n      Destroys an object by setting the `isDestroyed` flag and removing its\n      metadata, which effectively destroys observers and bindings.\n       If you try to set a property on a destroyed object, an exception will be\n      raised.\n       Note that destruction is scheduled for the end of the run loop and does not\n      happen immediately.  It will set an isDestroying flag immediately.\n       @method destroy\n      @return {EmberObject} receiver\n      @public\n    */\n\n\n    destroy() {\n      if ((0, _metal.destroy)(this)) {\n        (0, _runloop.schedule)('actions', this, this.willDestroy);\n        return;\n      }\n\n      return this;\n    }\n    /**\n      Override to implement teardown.\n       @method willDestroy\n      @public\n    */\n\n\n    willDestroy() {}\n    /**\n      Returns a string representation which attempts to provide more information\n      than Javascript's `toString` typically does, in a generic way for all Ember\n      objects.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend();\n      person = Person.create();\n      person.toString(); //=> \"<Person:ember1024>\"\n      ```\n       If the object's class is not defined on an Ember namespace, it will\n      indicate it is a subclass of the registered superclass:\n       ```javascript\n      const Student = Person.extend();\n      let student = Student.create();\n      student.toString(); //=> \"<(subclass of Person):ember1025>\"\n      ```\n       If the method `toStringExtension` is defined, its return value will be\n      included in the output.\n       ```javascript\n      const Teacher = Person.extend({\n        toStringExtension() {\n          return this.get('fullName');\n        }\n      });\n      teacher = Teacher.create();\n      teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n      ```\n       @method toString\n      @return {String} string representation\n      @public\n    */\n\n\n    toString() {\n      var hasToStringExtension = typeof this.toStringExtension === 'function';\n      var extension = hasToStringExtension ? `:${this.toStringExtension()}` : '';\n      var ret = `<${(0, _utils.getName)(this) || _container.FACTORY_FOR.get(this) || this.constructor.toString()}:${(0, _utils.guidFor)(this)}${extension}>`;\n      return ret;\n    }\n    /**\n      Creates a new subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(thing);\n         }\n      });\n      ```\n       This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n       You can also create a subclass from any existing class by calling its `extend()` method.\n      For example, you might want to create a subclass of Ember's built-in `Component` class:\n       ```javascript\n      import Component from '@ember/component';\n       const PersonComponent = Component.extend({\n        tagName: 'li',\n        classNameBindings: ['isAdministrator']\n      });\n      ```\n       When defining a subclass, you can override methods but still access the\n      implementation of your parent class by calling the special `_super()` method:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          let name = this.get('name');\n          alert(`${name} says: ${thing}`);\n        }\n      });\n       const Soldier = Person.extend({\n        say(thing) {\n          this._super(`${thing}, sir!`);\n        },\n        march(numberOfHours) {\n          alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n        }\n      });\n       let yehuda = Soldier.create({\n        name: 'Yehuda Katz'\n      });\n       yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n      ```\n       The `create()` on line #17 creates an *instance* of the `Soldier` class.\n      The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n      of the `Person` class will *not* have the `march()` method.\n       You can also pass `Mixin` classes to add additional properties to the subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n      import Mixin from '@ember/object/mixin';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(`${this.get('name')} says: ${thing}`);\n        }\n      });\n       const SingingMixin = Mixin.create({\n        sing(thing) {\n          alert(`${this.get('name')} sings: la la la ${thing}`);\n        }\n      });\n       const BroadwayStar = Person.extend(SingingMixin, {\n        dance() {\n          alert(`${this.get('name')} dances: tap tap tap tap `);\n        }\n      });\n      ```\n       The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n       @method extend\n      @static\n      @for @ember/object\n      @param {Mixin} [mixins]* One or more Mixin classes\n      @param {Object} [arguments]* Object containing values to use within the new class\n      @public\n    */\n\n\n    static extend() {\n      var Class = class extends this {};\n      reopen.apply(Class.PrototypeMixin, arguments);\n      return Class;\n    }\n    /**\n      Creates an instance of a class. Accepts either no arguments, or an object\n      containing values to initialize the newly instantiated object with.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        helloWorld() {\n          alert(`Hi, my name is ${this.get('name')}`);\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n       tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n      ```\n       `create` will call the `init` function if defined during\n      `AnyObject.extend`\n       If no arguments are passed to `create`, it will not set values to the new\n      instance during initialization:\n       ```javascript\n      let noName = Person.create();\n      noName.helloWorld(); // alerts undefined\n      ```\n       NOTE: For performance reasons, you cannot declare methods or computed\n      properties during `create`. You should instead declare methods and computed\n      properties when using `extend`.\n       @method create\n      @for @ember/object\n      @static\n      @param [arguments]*\n      @public\n    */\n\n\n    static create(props, extra) {\n      var C = this;\n      var instance;\n\n      if (this[FRAMEWORK_CLASSES]) {\n        var initFactory = factoryMap.get(this);\n        var owner;\n\n        if (initFactory !== undefined) {\n          owner = initFactory.owner;\n        } else if (props !== undefined) {\n          owner = (0, _owner.getOwner)(props);\n        }\n\n        if (true\n        /* DEBUG */\n        ) {\n          if (owner === undefined) {\n            // fallback to passing the special PASSED_FROM_CREATE symbol\n            // to avoid an error when folks call things like Controller.extend().create()\n            // we should do a subsequent deprecation pass to ensure this isn't allowed\n            owner = PASSED_FROM_CREATE;\n          } else {\n            debugOwnerMap.set(this, owner);\n          }\n        }\n\n        instance = new C(owner);\n      } else {\n        instance = true\n        /* DEBUG */\n        ? new C(PASSED_FROM_CREATE) : new C();\n      }\n\n      if (extra === undefined) {\n        initialize(instance, props);\n      } else {\n        initialize(instance, flattenProps.apply(this, arguments));\n      }\n\n      return instance;\n    }\n    /**\n      Augments a constructor's prototype with additional\n      properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       o = MyObject.create();\n      o.get('name'); // 'an object'\n       MyObject.reopen({\n        say(msg) {\n          console.log(msg);\n        }\n      });\n       o2 = MyObject.create();\n      o2.say('hello'); // logs \"hello\"\n       o.say('goodbye'); // logs \"goodbye\"\n      ```\n       To add functions and properties to the constructor itself,\n      see `reopenClass`\n       @method reopen\n      @for @ember/object\n      @static\n      @public\n    */\n\n\n    static reopen() {\n      this.willReopen();\n      reopen.apply(this.PrototypeMixin, arguments);\n      return this;\n    }\n\n    static willReopen() {\n      var p = this.prototype;\n\n      if (wasApplied.has(p)) {\n        wasApplied.delete(p); // If the base mixin already exists and was applied, create a new mixin to\n        // make sure that it gets properly applied. Reusing the same mixin after\n        // the first `proto` call will cause it to get skipped.\n\n        if (prototypeMixinMap.has(this)) {\n          prototypeMixinMap.set(this, _metal.Mixin.create(this.PrototypeMixin));\n        }\n      }\n    }\n    /**\n      Augments a constructor's own properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       MyObject.reopenClass({\n        canBuild: false\n      });\n       MyObject.canBuild; // false\n      o = MyObject.create();\n      ```\n       In other words, this creates static properties and functions for the class.\n      These are only available on the class and not on any instance of that class.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        name: '',\n        sayHello() {\n          alert(`Hello. My name is ${this.get('name')}`);\n        }\n      });\n       Person.reopenClass({\n        species: 'Homo sapiens',\n         createPerson(name) {\n          return Person.create({ name });\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n      let yehuda = Person.createPerson('Yehuda Katz');\n       tom.sayHello(); // \"Hello. My name is Tom Dale\"\n      yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n      alert(Person.species); // \"Homo sapiens\"\n      ```\n       Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n      variables. They are only valid on `Person`.\n       To add functions and properties to instances of\n      a constructor by extending the constructor's prototype\n      see `reopen`\n       @method reopenClass\n      @for @ember/object\n      @static\n      @public\n    */\n\n\n    static reopenClass() {\n      (0, _metal.applyMixin)(this, arguments);\n      return this;\n    }\n\n    static detect(obj) {\n      if ('function' !== typeof obj) {\n        return false;\n      }\n\n      while (obj) {\n        if (obj === this) {\n          return true;\n        }\n\n        obj = obj.superclass;\n      }\n\n      return false;\n    }\n\n    static detectInstance(obj) {\n      return obj instanceof this;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For\n      example, computed property functions may close over variables that are then\n      no longer available for introspection.\n       You can pass a hash of these values to a computed property like this:\n       ```javascript\n      import { computed } from '@ember/object';\n       person: computed(function() {\n        let personId = this.get('personId');\n        return Person.create({ id: personId });\n      }).meta({ type: Person })\n      ```\n       Once you've done this, you can retrieve the values saved to the computed\n      property from your class like this:\n       ```javascript\n      MyClass.metaForProperty('person');\n      ```\n       This will return the original hash that was passed to `meta()`.\n       @static\n      @method metaForProperty\n      @param key {String} property name\n      @private\n    */\n\n\n    static metaForProperty(key) {\n      var proto = this.proto(); // ensure prototype is initialized\n\n      var possibleDesc = (0, _metal.descriptorForProperty)(proto, key);\n      (true && !(possibleDesc !== undefined) && (0, _debug.assert)(`metaForProperty() could not find a computed property with key '${key}'.`, possibleDesc !== undefined));\n      return possibleDesc._meta || {};\n    }\n    /**\n      Iterate over each computed property for the class, passing its name\n      and any associated metadata (see `metaForProperty`) to the callback.\n       @static\n      @method eachComputedProperty\n      @param {Function} callback\n      @param {Object} binding\n      @private\n    */\n\n\n    static eachComputedProperty(callback, binding = this) {\n      this.proto(); // ensure prototype is initialized\n\n      var empty = {};\n      (0, _meta2.meta)(this.prototype).forEachDescriptors((name, descriptor) => {\n        if (descriptor.enumerable) {\n          var _meta = descriptor._meta || empty;\n\n          callback.call(binding, name, _meta);\n        }\n      });\n    }\n\n    static get PrototypeMixin() {\n      var prototypeMixin = prototypeMixinMap.get(this);\n\n      if (prototypeMixin === undefined) {\n        prototypeMixin = _metal.Mixin.create();\n        prototypeMixin.ownerConstructor = this;\n        prototypeMixinMap.set(this, prototypeMixin);\n      }\n\n      return prototypeMixin;\n    }\n\n    static get superclass() {\n      var c = Object.getPrototypeOf(this);\n      return c !== Function.prototype ? c : undefined;\n    }\n\n    static proto() {\n      var p = this.prototype;\n\n      if (!wasApplied.has(p)) {\n        wasApplied.add(p);\n        var parent = this.superclass;\n\n        if (parent) {\n          parent.proto();\n        } // If the prototype mixin exists, apply it. In the case of native classes,\n        // it will not exist (unless the class has been reopened).\n\n\n        if (prototypeMixinMap.has(this)) {\n          this.PrototypeMixin.apply(p);\n        }\n      }\n\n      return p;\n    }\n\n  }\n\n  CoreObject.toString = _metal.classToString;\n  (0, _utils.setName)(CoreObject, 'Ember.CoreObject');\n  CoreObject.isClass = true;\n  CoreObject.isMethod = false;\n\n  function flattenProps(...props) {\n    var {\n      concatenatedProperties,\n      mergedProperties\n    } = this;\n    var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n    var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n    var initProperties = {};\n\n    for (var i = 0; i < props.length; i++) {\n      var properties = props[i];\n      (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n      var keyNames = Object.keys(properties);\n\n      for (var j = 0, k = keyNames.length; j < k; j++) {\n        var keyName = keyNames[j];\n        var value = properties[keyName];\n\n        if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n          var baseValue = initProperties[keyName];\n\n          if (baseValue) {\n            value = (0, _utils.makeArray)(baseValue).concat(value);\n          } else {\n            value = (0, _utils.makeArray)(value);\n          }\n        }\n\n        if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n          var _baseValue2 = initProperties[keyName];\n          value = (0, _polyfills.assign)({}, _baseValue2, value);\n        }\n\n        initProperties[keyName] = value;\n      }\n    }\n\n    return initProperties;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    /**\n      Provides lookup-time type validation for injected properties.\n       @private\n      @method _onLookup\n    */\n    CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n      var [type] = debugContainerKey.split(':');\n      var proto = this.proto();\n\n      for (var key in proto) {\n        var desc = (0, _metal.descriptorForProperty)(proto, key);\n\n        if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n          (true && !(type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller') && (0, _debug.assert)(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`, type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller'));\n        }\n      }\n    };\n    /**\n      Returns a hash of property names and container names that injected\n      properties will lookup on the container lazily.\n       @method _lazyInjections\n      @return {Object} Hash of all lazy injected property keys to container names\n      @private\n    */\n\n\n    CoreObject._lazyInjections = function () {\n      var injections = {};\n      var proto = this.proto();\n      var key;\n      var desc;\n\n      for (key in proto) {\n        desc = (0, _metal.descriptorForProperty)(proto, key);\n\n        if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n          var {\n            namespace,\n            source,\n            type,\n            name\n          } = _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter);\n\n          injections[key] = {\n            namespace,\n            source,\n            specifier: `${type}:${name || key}`\n          };\n        }\n      }\n\n      return injections;\n    };\n  }\n\n  var _default = CoreObject;\n  _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/system/namespace\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\"], function (_exports, _metal, _utils, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  // Preloaded into namespaces\n\n  /**\n    A Namespace is an object usually used to contain other objects or methods\n    such as an application or framework. Create a namespace anytime you want\n    to define one of these new containers.\n  \n    # Example Usage\n  \n    ```javascript\n    MyFramework = Ember.Namespace.create({\n      VERSION: '1.0.0'\n    });\n    ```\n  \n    @class Namespace\n    @namespace Ember\n    @extends EmberObject\n    @public\n  */\n  class Namespace extends _object.default {\n    init() {\n      (0, _metal.addNamespace)(this);\n    }\n\n    toString() {\n      var name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n\n      if (name) {\n        return name;\n      }\n\n      (0, _metal.findNamespaces)();\n      name = (0, _utils.getName)(this);\n\n      if (name === undefined) {\n        name = (0, _utils.guidFor)(this);\n        (0, _utils.setName)(this, name);\n      }\n\n      return name;\n    }\n\n    nameClasses() {\n      (0, _metal.processNamespace)(this);\n    }\n\n    destroy() {\n      (0, _metal.removeNamespace)(this);\n      super.destroy();\n    }\n\n  }\n\n  _exports.default = Namespace;\n  Namespace.prototype.isNamespace = true;\n  Namespace.NAMESPACES = _metal.NAMESPACES;\n  Namespace.NAMESPACES_BY_ID = _metal.NAMESPACES_BY_ID;\n  Namespace.processAll = _metal.processAllNamespaces;\n  Namespace.byName = _metal.findNamespace;\n});","define(\"@ember/-internals/runtime/lib/system/object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/debug\"], function (_exports, _container, _owner, _utils, _metal, _core_object, _observable, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.FrameworkObject = _exports.default = void 0;\n\n  /**\n  @module @ember/object\n  */\n  var instanceOwner = new WeakMap();\n  /**\n    `EmberObject` is the main base class for all Ember objects. It is a subclass\n    of `CoreObject` with the `Observable` mixin applied. For details,\n    see the documentation for each of these.\n  \n    @class EmberObject\n    @extends CoreObject\n    @uses Observable\n    @public\n  */\n\n  class EmberObject extends _core_object.default {\n    get _debugContainerKey() {\n      var factory = _container.FACTORY_FOR.get(this);\n\n      return factory !== undefined && factory.fullName;\n    }\n\n    get [_owner.OWNER]() {\n      var owner = instanceOwner.get(this);\n\n      if (owner !== undefined) {\n        return owner;\n      }\n\n      var factory = _container.FACTORY_FOR.get(this);\n\n      return factory !== undefined && factory.owner;\n    } // we need a setter here largely to support\n    // folks calling `owner.ownerInjection()` API\n\n\n    set [_owner.OWNER](value) {\n      instanceOwner.set(this, value);\n    }\n\n  }\n\n  _exports.default = EmberObject;\n  (0, _utils.setName)(EmberObject, 'Ember.Object');\n\n  _observable.default.apply(EmberObject.prototype);\n\n  var FrameworkObject;\n  _exports.FrameworkObject = FrameworkObject;\n  _exports.FrameworkObject = FrameworkObject = class FrameworkObject extends _core_object.default {\n    get _debugContainerKey() {\n      var factory = _container.FACTORY_FOR.get(this);\n\n      return factory !== undefined && factory.fullName;\n    }\n\n    constructor(owner) {\n      super();\n      (0, _owner.setOwner)(this, owner);\n    }\n\n  };\n\n  _observable.default.apply(FrameworkObject.prototype);\n\n  if (true\n  /* DEBUG */\n  ) {\n    var INIT_WAS_CALLED = (0, _utils.symbol)('INIT_WAS_CALLED');\n    var ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n    _exports.FrameworkObject = FrameworkObject = class DebugFrameworkObject extends EmberObject {\n      init() {\n        super.init(...arguments);\n        this[INIT_WAS_CALLED] = true;\n      }\n\n      [ASSERT_INIT_WAS_CALLED]() {\n        (true && !(this[INIT_WAS_CALLED]) && (0, _debug.assert)(`You must call \\`this._super(...arguments);\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`this._super(...arguments);\\` from \\`init\\`.`, this[INIT_WAS_CALLED]));\n      }\n\n    };\n    (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n  }\n});","define(\"@ember/-internals/runtime/lib/system/object_proxy\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/-proxy\"], function (_exports, _object, _proxy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    `ObjectProxy` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    object = EmberObject.create({\n      name: 'Foo'\n    });\n  \n    proxy = ObjectProxy.create({\n      content: object\n    });\n  \n    // Access and change existing properties\n    proxy.get('name')          // 'Foo'\n    proxy.set('name', 'Bar');\n    object.get('name')         // 'Bar'\n  \n    // Create new 'description' property on `object`\n    proxy.set('description', 'Foo is a whizboo baz');\n    object.get('description')  // 'Foo is a whizboo baz'\n    ```\n  \n    While `content` is unset, setting a property to be delegated will throw an\n    Error.\n  \n    ```javascript\n    import ObjectProxy from '@ember/object/proxy';\n  \n    proxy = ObjectProxy.create({\n      content: null,\n      flag: null\n    });\n    proxy.set('flag', true);\n    proxy.get('flag');         // true\n    proxy.get('foo');          // undefined\n    proxy.set('foo', 'data');  // throws Error\n    ```\n  \n    Delegated properties can be bound to and will change when content is updated.\n  \n    Computed properties on the proxy itself can depend on delegated properties.\n  \n    ```javascript\n    import { computed } from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    ProxyWithComputedProperty = ObjectProxy.extend({\n      fullName: computed('firstName', 'lastName', function() {\n        var firstName = this.get('firstName'),\n            lastName = this.get('lastName');\n        if (firstName && lastName) {\n          return firstName + ' ' + lastName;\n        }\n        return firstName || lastName;\n      })\n    });\n  \n    proxy = ProxyWithComputedProperty.create();\n  \n    proxy.get('fullName');  // undefined\n    proxy.set('content', {\n      firstName: 'Tom', lastName: 'Dale'\n    }); // triggers property change for fullName on proxy\n  \n    proxy.get('fullName');  // 'Tom Dale'\n    ```\n  \n    @class ObjectProxy\n    @extends EmberObject\n    @uses Ember.ProxyMixin\n    @public\n  */\n  class ObjectProxy extends _object.default {}\n\n  _exports.default = ObjectProxy;\n  ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","define(\"@ember/-internals/runtime/lib/type-of\", [\"exports\", \"@ember/-internals/runtime/lib/system/core_object\"], function (_exports, _core_object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.typeOf = typeOf;\n  // ........................................\n  // TYPING & ARRAY MESSAGING\n  //\n  var TYPE_MAP = {\n    '[object Boolean]': 'boolean',\n    '[object Number]': 'number',\n    '[object String]': 'string',\n    '[object Function]': 'function',\n    '[object AsyncFunction]': 'function',\n    '[object Array]': 'array',\n    '[object Date]': 'date',\n    '[object RegExp]': 'regexp',\n    '[object Object]': 'object',\n    '[object FileList]': 'filelist'\n  };\n  var {\n    toString\n  } = Object.prototype;\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns a consistent type for the passed object.\n  \n    Use this instead of the built-in `typeof` to get the type of an item.\n    It will return the same result across all browsers and includes a bit\n    more detail. Here is what will be returned:\n  \n        | Return Value  | Meaning                                              |\n        |---------------|------------------------------------------------------|\n        | 'string'      | String primitive or String object.                   |\n        | 'number'      | Number primitive or Number object.                   |\n        | 'boolean'     | Boolean primitive or Boolean object.                 |\n        | 'null'        | Null value                                           |\n        | 'undefined'   | Undefined value                                      |\n        | 'function'    | A function                                           |\n        | 'array'       | An instance of Array                                 |\n        | 'regexp'      | An instance of RegExp                                |\n        | 'date'        | An instance of Date                                  |\n        | 'filelist'    | An instance of FileList                              |\n        | 'class'       | An Ember class (created using EmberObject.extend())  |\n        | 'instance'    | An Ember object instance                             |\n        | 'error'       | An instance of the Error object                      |\n        | 'object'      | A JavaScript object not inheriting from EmberObject  |\n  \n    Examples:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import { typeOf } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    typeOf();                       // 'undefined'\n    typeOf(null);                   // 'null'\n    typeOf(undefined);              // 'undefined'\n    typeOf('michael');              // 'string'\n    typeOf(new String('michael'));  // 'string'\n    typeOf(101);                    // 'number'\n    typeOf(new Number(101));        // 'number'\n    typeOf(true);                   // 'boolean'\n    typeOf(new Boolean(true));      // 'boolean'\n    typeOf(A);                      // 'function'\n    typeOf(A());                    // 'array'\n    typeOf([1, 2, 90]);             // 'array'\n    typeOf(/abc/);                  // 'regexp'\n    typeOf(new Date());             // 'date'\n    typeOf(event.target.files);     // 'filelist'\n    typeOf(EmberObject.extend());   // 'class'\n    typeOf(EmberObject.create());   // 'instance'\n    typeOf(new Error('teamocil'));  // 'error'\n  \n    // 'normal' JavaScript object\n    typeOf({ a: 'b' });             // 'object'\n    ```\n  \n    @method typeOf\n    @for @ember/utils\n    @param {Object} item the item to check\n    @return {String} the type\n    @public\n    @static\n  */\n\n  function typeOf(item) {\n    if (item === null) {\n      return 'null';\n    }\n\n    if (item === undefined) {\n      return 'undefined';\n    }\n\n    var ret = TYPE_MAP[toString.call(item)] || 'object';\n\n    if (ret === 'function') {\n      if (_core_object.default.detect(item)) {\n        ret = 'class';\n      }\n    } else if (ret === 'object') {\n      if (item instanceof Error) {\n        ret = 'error';\n      } else if (item instanceof _core_object.default) {\n        ret = 'instance';\n      } else if (item instanceof Date) {\n        ret = 'date';\n      }\n    }\n\n    return ret;\n  }\n});","define(\"@ember/-internals/utils/index\", [\"exports\", \"@ember/polyfills\", \"@ember/debug\"], function (_exports, _polyfills, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.symbol = symbol;\n  _exports.isInternalSymbol = isInternalSymbol;\n  _exports.dictionary = makeDictionary;\n  _exports.uuid = uuid;\n  _exports.generateGuid = generateGuid;\n  _exports.guidFor = guidFor;\n  _exports.intern = intern;\n  _exports.wrap = wrap;\n  _exports.getObservers = getObservers;\n  _exports.getListeners = getListeners;\n  _exports.setObservers = setObservers;\n  _exports.setListeners = setListeners;\n  _exports.inspect = inspect;\n  _exports.lookupDescriptor = lookupDescriptor;\n  _exports.canInvoke = canInvoke;\n  _exports.tryInvoke = tryInvoke;\n  _exports.makeArray = makeArray;\n  _exports.getName = getName;\n  _exports.setName = setName;\n  _exports.toString = toString;\n  _exports.isProxy = isProxy;\n  _exports.setProxy = setProxy;\n  _exports.isEmberArray = isEmberArray;\n  _exports.setWithMandatorySetter = _exports.teardownMandatorySetter = _exports.setupMandatorySetter = _exports.EMBER_ARRAY = _exports.Cache = _exports.HAS_NATIVE_PROXY = _exports.HAS_NATIVE_SYMBOL = _exports.ROOT = _exports.checkHasSuper = _exports.GUID_KEY = _exports.getOwnPropertyDescriptors = _exports.getDebugName = void 0;\n\n  /**\n    Strongly hint runtimes to intern the provided string.\n  \n    When do I need to use this function?\n  \n    For the most part, never. Pre-mature optimization is bad, and often the\n    runtime does exactly what you need it to, and more often the trade-off isn't\n    worth it.\n  \n    Why?\n  \n    Runtimes store strings in at least 2 different representations:\n    Ropes and Symbols (interned strings). The Rope provides a memory efficient\n    data-structure for strings created from concatenation or some other string\n    manipulation like splitting.\n  \n    Unfortunately checking equality of different ropes can be quite costly as\n    runtimes must resort to clever string comparison algorithms. These\n    algorithms typically cost in proportion to the length of the string.\n    Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n    unique by their string content, equality checks can be done by pointer\n    comparison.\n  \n    How do I know if my string is a rope or symbol?\n  \n    Typically (warning general sweeping statement, but truthy in runtimes at\n    present) static strings created as part of the JS source are interned.\n    Strings often used for comparisons can be interned at runtime if some\n    criteria are met.  One of these criteria can be the size of the entire rope.\n    For example, in chrome 38 a rope longer then 12 characters will not\n    intern, nor will segments of that rope.\n  \n    Some numbers: http://jsperf.com/eval-vs-keys/8\n  \n    Known Trick™\n  \n    @private\n    @return {String} interned version of the provided string\n  */\n  function intern(str) {\n    var obj = {};\n    obj[str] = 1;\n\n    for (var key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n\n    return str;\n  }\n  /**\n    Returns whether Type(value) is Object.\n  \n    Useful for checking whether a value is a valid WeakMap key.\n  \n    Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n          https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n  \n    @private\n    @function isObject\n  */\n\n\n  function isObject(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n  /**\n   @module @ember/object\n  */\n\n  /**\n   Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from\n   jQuery master. We'll just bootstrap our own uuid now.\n  \n   @private\n   @return {Number} the uuid\n   */\n\n\n  var _uuid = 0;\n  /**\n   Generates a universally unique identifier. This method\n   is used internally by Ember for assisting with\n   the generation of GUID's and other unique identifiers.\n  \n   @public\n   @return {Number} [description]\n   */\n\n  function uuid() {\n    return ++_uuid;\n  }\n  /**\n   Prefix used for guids through out Ember.\n   @private\n   @property GUID_PREFIX\n   @for Ember\n   @type String\n   @final\n   */\n\n\n  var GUID_PREFIX = 'ember'; // Used for guid generation...\n\n  var OBJECT_GUIDS = new WeakMap();\n  var NON_OBJECT_GUIDS = new Map();\n  /**\n    A unique key used to assign guids and other private metadata to objects.\n    If you inspect an object in your browser debugger you will often see these.\n    They can be safely ignored.\n  \n    On browsers that support it, these properties are added with enumeration\n    disabled so they won't show up when you iterate over your properties.\n  \n    @private\n    @property GUID_KEY\n    @for Ember\n    @type String\n    @final\n  */\n\n  var GUID_KEY = intern(`__ember${Date.now()}`);\n  /**\n    Generates a new guid, optionally saving the guid to the object that you\n    pass in. You will rarely need to use this method. Instead you should\n    call `guidFor(obj)`, which return an existing guid if available.\n  \n    @private\n    @method generateGuid\n    @static\n    @for @ember/object/internals\n    @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n      be saved on the object and reused whenever you pass the same object\n      again.\n  \n      If no object is passed, just generate a new guid.\n    @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n      separate the guid into separate namespaces.\n    @return {String} the guid\n  */\n\n  _exports.GUID_KEY = GUID_KEY;\n\n  function generateGuid(obj, prefix = GUID_PREFIX) {\n    var guid = prefix + uuid();\n\n    if (isObject(obj)) {\n      OBJECT_GUIDS.set(obj, guid);\n    }\n\n    return guid;\n  }\n  /**\n    Returns a unique id for the object. If the object does not yet have a guid,\n    one will be assigned to it. You can call this on any object,\n    `EmberObject`-based or not.\n  \n    You can also use this method on DOM Element objects.\n  \n    @public\n    @static\n    @method guidFor\n    @for @ember/object/internals\n    @param {Object} obj any object, string, number, Element, or primitive\n    @return {String} the unique guid for this instance.\n  */\n\n\n  function guidFor(value) {\n    var guid;\n\n    if (isObject(value)) {\n      guid = OBJECT_GUIDS.get(value);\n\n      if (guid === undefined) {\n        guid = GUID_PREFIX + uuid();\n        OBJECT_GUIDS.set(value, guid);\n      }\n    } else {\n      guid = NON_OBJECT_GUIDS.get(value);\n\n      if (guid === undefined) {\n        var type = typeof value;\n\n        if (type === 'string') {\n          guid = 'st' + uuid();\n        } else if (type === 'number') {\n          guid = 'nu' + uuid();\n        } else if (type === 'symbol') {\n          guid = 'sy' + uuid();\n        } else {\n          guid = '(' + value + ')';\n        }\n\n        NON_OBJECT_GUIDS.set(value, guid);\n      }\n    }\n\n    return guid;\n  }\n\n  var GENERATED_SYMBOLS = [];\n\n  function isInternalSymbol(possibleSymbol) {\n    return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n  }\n\n  function symbol(debugName) {\n    // TODO: Investigate using platform symbols, but we do not\n    // want to require non-enumerability for this API, which\n    // would introduce a large cost.\n    var id = GUID_KEY + Math.floor(Math.random() * Date.now());\n    var symbol = intern(`__${debugName}${id}__`);\n    GENERATED_SYMBOLS.push(symbol);\n    return symbol;\n  } // the delete is meant to hint at runtimes that this object should remain in\n  // dictionary mode. This is clearly a runtime specific hack, but currently it\n  // appears worthwhile in some usecases. Please note, these deletes do increase\n  // the cost of creation dramatically over a plain Object.create. And as this\n  // only makes sense for long-lived dictionaries that aren't instantiated often.\n\n\n  function makeDictionary(parent) {\n    var dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n\n  var getDebugName;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var getFunctionName = fn => {\n      var functionName = fn.name;\n\n      if (functionName === undefined) {\n        var match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n\n      return functionName;\n    };\n\n    var getObjectName = obj => {\n      var name;\n      var className;\n\n      if (obj.constructor && obj.constructor !== Object) {\n        className = getFunctionName(obj.constructor);\n      }\n\n      if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n        name = obj.toString();\n      } // If the class has a decent looking name, and the `toString` is one of the\n      // default Ember toStrings, replace the constructor portion of the toString\n      // with the class name. We check the length of the class name to prevent doing\n      // this when the value is minified.\n\n\n      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n\n      return name || className;\n    };\n\n    var getPrimitiveName = value => {\n      return String(value);\n    };\n\n    getDebugName = value => {\n      if (typeof value === 'function') {\n        return getFunctionName(value) || `(unknown function)`;\n      } else if (typeof value === 'object' && value !== null) {\n        return getObjectName(value) || `(unknown object)`;\n      } else {\n        return getPrimitiveName(value);\n      }\n    };\n  }\n\n  var getDebugName$1 = getDebugName;\n  _exports.getDebugName = getDebugName$1;\n  var getOwnPropertyDescriptors;\n\n  if (Object.getOwnPropertyDescriptors !== undefined) {\n    getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors;\n  } else {\n    getOwnPropertyDescriptors = function (obj) {\n      var descriptors = {};\n      Object.keys(obj).forEach(key => {\n        descriptors[key] = Object.getOwnPropertyDescriptor(obj, key);\n      });\n      return descriptors;\n    };\n  }\n\n  var getOwnPropertyDescriptors$1 = getOwnPropertyDescriptors;\n  _exports.getOwnPropertyDescriptors = getOwnPropertyDescriptors$1;\n  var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  var fnToString = Function.prototype.toString;\n\n  var checkHasSuper = (() => {\n    var sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n\n    return function checkHasSuper() {\n      return true;\n    };\n  })();\n\n  _exports.checkHasSuper = checkHasSuper;\n  var HAS_SUPER_MAP = new WeakMap();\n  var ROOT = Object.freeze(function () {});\n  _exports.ROOT = ROOT;\n  HAS_SUPER_MAP.set(ROOT, false);\n\n  function hasSuper(func) {\n    var hasSuper = HAS_SUPER_MAP.get(func);\n\n    if (hasSuper === undefined) {\n      hasSuper = checkHasSuper(func);\n      HAS_SUPER_MAP.set(func, hasSuper);\n    }\n\n    return hasSuper;\n  }\n\n  var OBSERVERS_MAP = new WeakMap();\n\n  function setObservers(func, observers) {\n    OBSERVERS_MAP.set(func, observers);\n  }\n\n  function getObservers(func) {\n    return OBSERVERS_MAP.get(func);\n  }\n\n  var LISTENERS_MAP = new WeakMap();\n\n  function setListeners(func, listeners) {\n    if (listeners) {\n      LISTENERS_MAP.set(func, listeners);\n    }\n  }\n\n  function getListeners(func) {\n    return LISTENERS_MAP.get(func);\n  }\n\n  var IS_WRAPPED_FUNCTION_SET = new _polyfills._WeakSet();\n  /**\n    Wraps the passed function so that `this._super` will point to the superFunc\n    when the function is invoked. This is the primitive we use to implement\n    calls to super.\n  \n    @private\n    @method wrap\n    @for Ember\n    @param {Function} func The function to call\n    @param {Function} superFunc The super function.\n    @return {Function} wrapped function.\n  */\n\n  function wrap(func, superFunc) {\n    if (!hasSuper(func)) {\n      return func;\n    } // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n\n\n    if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n\n    return _wrap(func, superFunc);\n  }\n\n  function _wrap(func, superFunc) {\n    function superWrapper() {\n      var orig = this._super;\n      this._super = superFunc;\n      var ret = func.apply(this, arguments);\n      this._super = orig;\n      return ret;\n    }\n\n    IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n    setObservers(superWrapper, getObservers(func));\n    setListeners(superWrapper, getListeners(func));\n    return superWrapper;\n  }\n\n  var {\n    toString: objectToString\n  } = Object.prototype;\n  var {\n    toString: functionToString\n  } = Function.prototype;\n  var {\n    isArray\n  } = Array;\n  var {\n    keys: objectKeys\n  } = Object;\n  var {\n    stringify\n  } = JSON;\n  var LIST_LIMIT = 100;\n  var DEPTH_LIMIT = 4;\n  var SAFE_KEY = /^[\\w$]+$/;\n  /**\n   @module @ember/debug\n  */\n\n  /**\n    Convenience method to inspect an object. This method will attempt to\n    convert the object into a useful string description.\n  \n    It is a pretty simple implementation. If you want something more robust,\n    use something like JSDump: https://github.com/NV/jsDump\n  \n    @method inspect\n    @static\n    @param {Object} obj The object you want to inspect.\n    @return {String} A description of the object\n    @since 1.4.0\n    @private\n  */\n\n  function inspect(obj) {\n    // detect Node util.inspect call inspect(depth: number, opts: object)\n    if (typeof obj === 'number' && arguments.length === 2) {\n      return this;\n    }\n\n    return inspectValue(obj, 0);\n  }\n\n  function inspectValue(value, depth, seen) {\n    var valueIsArray = false;\n\n    switch (typeof value) {\n      case 'undefined':\n        return 'undefined';\n\n      case 'object':\n        if (value === null) return 'null';\n\n        if (isArray(value)) {\n          valueIsArray = true;\n          break;\n        } // is toString Object.prototype.toString or undefined then traverse\n\n\n        if (value.toString === objectToString || value.toString === undefined) {\n          break;\n        } // custom toString\n\n\n        return value.toString();\n\n      case 'function':\n        return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n\n      case 'string':\n        return stringify(value);\n\n      case 'symbol':\n      case 'boolean':\n      case 'number':\n      default:\n        return value.toString();\n    }\n\n    if (seen === undefined) {\n      seen = new _polyfills._WeakSet();\n    } else {\n      if (seen.has(value)) return `[Circular]`;\n    }\n\n    seen.add(value);\n    return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n  }\n\n  function inspectKey(key) {\n    return SAFE_KEY.test(key) ? key : stringify(key);\n  }\n\n  function inspectObject(obj, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Object]';\n    }\n\n    var s = '{';\n    var keys = objectKeys(obj);\n\n    for (var i = 0; i < keys.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += `... ${keys.length - LIST_LIMIT} more keys`;\n        break;\n      }\n\n      var key = keys[i];\n      s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n    }\n\n    s += ' }';\n    return s;\n  }\n\n  function inspectArray(arr, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Array]';\n    }\n\n    var s = '[';\n\n    for (var i = 0; i < arr.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += `... ${arr.length - LIST_LIMIT} more items`;\n        break;\n      }\n\n      s += inspectValue(arr[i], depth, seen);\n    }\n\n    s += ' ]';\n    return s;\n  }\n\n  function lookupDescriptor(obj, keyName) {\n    var current = obj;\n\n    do {\n      var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n      if (descriptor !== undefined) {\n        return descriptor;\n      }\n\n      current = Object.getPrototypeOf(current);\n    } while (current !== null);\n\n    return null;\n  }\n  /**\n    Checks to see if the `methodName` exists on the `obj`.\n  \n    ```javascript\n    let foo = { bar: function() { return 'bar'; }, baz: null };\n  \n    Ember.canInvoke(foo, 'bar'); // true\n    Ember.canInvoke(foo, 'baz'); // false\n    Ember.canInvoke(foo, 'bat'); // false\n    ```\n  \n    @method canInvoke\n    @for Ember\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @return {Boolean}\n    @private\n  */\n\n\n  function canInvoke(obj, methodName) {\n    return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n  }\n  /**\n    @module @ember/utils\n  */\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`,\n    and if it does, invokes it with the arguments passed.\n  \n    ```javascript\n    import { tryInvoke } from '@ember/utils';\n  \n    let d = new Date('03/15/2013');\n  \n    tryInvoke(d, 'getTime');              // 1363320000000\n    tryInvoke(d, 'setFullYear', [2014]);  // 1394856000000\n    tryInvoke(d, 'noSuchMethod', [2014]); // undefined\n    ```\n  \n    @method tryInvoke\n    @for @ember/utils\n    @static\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @param {Array} [args] The arguments to pass to the method\n    @return {*} the return value of the invoked method or undefined if it cannot be invoked\n    @public\n  */\n\n\n  function tryInvoke(obj, methodName, args) {\n    if (canInvoke(obj, methodName)) {\n      var method = obj[methodName];\n      return method.apply(obj, args);\n    }\n  }\n\n  var {\n    isArray: isArray$1\n  } = Array;\n\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n\n    return isArray$1(obj) ? obj : [obj];\n  }\n\n  var NAMES = new WeakMap();\n\n  function setName(obj, name) {\n    if (isObject(obj)) NAMES.set(obj, name);\n  }\n\n  function getName(obj) {\n    return NAMES.get(obj);\n  }\n\n  var objectToString$1 = Object.prototype.toString;\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n  /*\n   A `toString` util function that supports objects without a `toString`\n   method, e.g. an object created with `Object.create(null)`.\n  */\n\n\n  function toString(obj) {\n    if (typeof obj === 'string') {\n      return obj;\n    }\n\n    if (null === obj) return 'null';\n    if (undefined === obj) return 'undefined';\n\n    if (Array.isArray(obj)) {\n      // Reimplement Array.prototype.join according to spec (22.1.3.13)\n      // Changing ToString(element) with this safe version of ToString.\n      var r = '';\n\n      for (var k = 0; k < obj.length; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n\n      return r;\n    }\n\n    if (typeof obj.toString === 'function') {\n      return obj.toString();\n    }\n\n    return objectToString$1.call(obj);\n  }\n\n  var HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    }\n\n    return typeof Symbol() === 'symbol';\n  }();\n\n  _exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  _exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n  var PROXIES = new _polyfills._WeakSet();\n\n  function isProxy(value) {\n    if (isObject(value)) {\n      return PROXIES.has(value);\n    }\n\n    return false;\n  }\n\n  function setProxy(object) {\n    if (isObject(object)) {\n      PROXIES.add(object);\n    }\n  }\n\n  class Cache {\n    constructor(limit, func, store) {\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.size = 0;\n      this.misses = 0;\n      this.hits = 0;\n      this.store = store || new Map();\n    }\n\n    get(key) {\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        return this.set(key, this.func(key));\n      }\n    }\n\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n\n      return value;\n    }\n\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n\n  }\n\n  _exports.Cache = Cache;\n  var EMBER_ARRAY = symbol('EMBER_ARRAY');\n  _exports.EMBER_ARRAY = EMBER_ARRAY;\n\n  function isEmberArray(obj) {\n    return obj && obj[EMBER_ARRAY];\n  }\n\n  var setupMandatorySetter;\n  _exports.setupMandatorySetter = setupMandatorySetter;\n  var teardownMandatorySetter;\n  _exports.teardownMandatorySetter = teardownMandatorySetter;\n  var setWithMandatorySetter;\n  _exports.setWithMandatorySetter = setWithMandatorySetter;\n\n  function isElementKey(key) {\n    return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n  }\n\n  function isStringInt(str) {\n    var num = parseInt(str, 10);\n    return isPositiveInt(num) && str === String(num);\n  }\n\n  function isPositiveInt(num) {\n    return num >= 0 && num % 1 === 0;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    var SEEN_TAGS = new _polyfills._WeakSet();\n    var MANDATORY_SETTERS = new WeakMap();\n\n    var _propertyIsEnumerable = function (obj, key) {\n      return Object.prototype.propertyIsEnumerable.call(obj, key);\n    };\n\n    _exports.setupMandatorySetter = setupMandatorySetter = function (tag, obj, keyName) {\n      if (SEEN_TAGS.has(tag)) {\n        return;\n      }\n\n      SEEN_TAGS.add(tag);\n\n      if (Array.isArray(obj) && isElementKey(keyName)) {\n        return;\n      }\n\n      var desc = lookupDescriptor(obj, keyName) || {};\n\n      if (desc.get || desc.set) {\n        // if it has a getter or setter, we can't install the mandatory setter.\n        // native setters are allowed, we have to assume that they will resolve\n        // to tracked properties.\n        return;\n      }\n\n      if (desc && (!desc.configurable || !desc.writable)) {\n        // if it isn't writable anyways, so we shouldn't provide the setter.\n        // if it isn't configurable, we can't overwrite it anyways.\n        return;\n      }\n\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters === undefined) {\n        setters = {};\n        MANDATORY_SETTERS.set(obj, setters);\n      }\n\n      desc.hadOwnProperty = Object.hasOwnProperty.call(obj, keyName);\n      setters[keyName] = desc;\n      Object.defineProperty(obj, keyName, {\n        configurable: true,\n        enumerable: _propertyIsEnumerable(obj, keyName),\n\n        get() {\n          if (desc.get) {\n            return desc.get.call(this);\n          } else {\n            return desc.value;\n          }\n        },\n\n        set(value) {\n          (true && !(false) && (0, _debug.assert)(`You attempted to update ${this}.${String(keyName)} to \"${String(value)}\", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as \\`@tracked\\`, or use \\`@ember/object#set\\` to do this.`));\n        }\n\n      });\n    };\n\n    _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        Object.defineProperty(obj, keyName, setters[keyName]);\n        setters[keyName] = undefined;\n      }\n    };\n\n    _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        var setter = setters[keyName];\n\n        if (setter.set) {\n          setter.set.call(obj, value);\n        } else {\n          setter.value = value; // If the object didn't have own property before, it would have changed\n          // the enumerability after setting the value the first time.\n\n          if (!setter.hadOwnProperty) {\n            var desc = lookupDescriptor(obj, keyName);\n            desc.enumerable = true;\n            Object.defineProperty(obj, keyName, desc);\n          }\n        }\n      } else {\n        obj[keyName] = value;\n      }\n    };\n  }\n  /*\n   This package will be eagerly parsed and should have no dependencies on external\n   packages.\n  \n   It is intended to be used to share utility methods that will be needed\n   by every Ember application (and is **not** a dumping ground of useful utilities).\n  \n   Utility methods that are needed in < 80% of cases should be placed\n   elsewhere (so they can be lazily evaluated / parsed).\n  */\n\n});","define(\"@ember/-internals/views/index\", [\"exports\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/event_dispatcher\", \"@ember/-internals/views/lib/component_lookup\", \"@ember/-internals/views/lib/mixins/text_support\", \"@ember/-internals/views/lib/views/core_view\", \"@ember/-internals/views/lib/mixins/class_names_support\", \"@ember/-internals/views/lib/mixins/child_views_support\", \"@ember/-internals/views/lib/mixins/view_state_support\", \"@ember/-internals/views/lib/mixins/view_support\", \"@ember/-internals/views/lib/mixins/action_support\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/-internals/views/lib/system/action_manager\"], function (_exports, _jquery, _utils, _event_dispatcher, _component_lookup, _text_support, _core_view, _class_names_support, _child_views_support, _view_state_support, _view_support, _action_support, _attrs, _action_manager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"jQuery\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.jQuery;\n    }\n  });\n  Object.defineProperty(_exports, \"jQueryDisabled\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.jQueryDisabled;\n    }\n  });\n  Object.defineProperty(_exports, \"addChildView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.addChildView;\n    }\n  });\n  Object.defineProperty(_exports, \"isSimpleClick\", {\n    enumerable: true,\n    get: function () {\n      return _utils.isSimpleClick;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBounds\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBounds;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewClientRects\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewClientRects;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBoundingClientRect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBoundingClientRect;\n    }\n  });\n  Object.defineProperty(_exports, \"getRootViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getRootViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getChildViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getChildViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewId\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewId;\n    }\n  });\n  Object.defineProperty(_exports, \"getElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"setElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"setViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"clearElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"clearViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"constructStyleDeprecationMessage\", {\n    enumerable: true,\n    get: function () {\n      return _utils.constructStyleDeprecationMessage;\n    }\n  });\n  Object.defineProperty(_exports, \"EventDispatcher\", {\n    enumerable: true,\n    get: function () {\n      return _event_dispatcher.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ComponentLookup\", {\n    enumerable: true,\n    get: function () {\n      return _component_lookup.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TextSupport\", {\n    enumerable: true,\n    get: function () {\n      return _text_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreView\", {\n    enumerable: true,\n    get: function () {\n      return _core_view.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ClassNamesSupport\", {\n    enumerable: true,\n    get: function () {\n      return _class_names_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ChildViewsSupport\", {\n    enumerable: true,\n    get: function () {\n      return _child_views_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewStateSupport\", {\n    enumerable: true,\n    get: function () {\n      return _view_state_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewMixin\", {\n    enumerable: true,\n    get: function () {\n      return _view_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MUTABLE_CELL\", {\n    enumerable: true,\n    get: function () {\n      return _attrs.MUTABLE_CELL;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionManager\", {\n    enumerable: true,\n    get: function () {\n      return _action_manager.default;\n    }\n  });\n});","define(\"@ember/-internals/views/lib/compat/attrs\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.MUTABLE_CELL = void 0;\n  var MUTABLE_CELL = (0, _utils.symbol)('MUTABLE_CELL');\n  _exports.MUTABLE_CELL = MUTABLE_CELL;\n});","define(\"@ember/-internals/views/lib/compat/fallback-view-registry\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _utils.dictionary)(null);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/component_lookup\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _runtime.Object.extend({\n    componentFor(name, owner, options) {\n      var fullName = `component:${name}`;\n      return owner.factoryFor(fullName, options);\n    },\n\n    layoutFor(name, owner, options) {\n      var templateFullName = `template:components/${name}`;\n      return owner.lookup(templateFullName, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/action_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _attrs, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   @module ember\n  */\n  var mixinObj = {\n    send(actionName, ...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n      var action = this.actions && this.actions[actionName];\n\n      if (action) {\n        var shouldBubble = action.apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\n      if (target) {\n        (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n        target.send(...arguments);\n      } else {\n        (true && !(action) && (0, _debug.assert)(`${(0, _utils.inspect)(this)} had no action handler for: ${actionName}`, action));\n      }\n    }\n\n  };\n\n  if (_deprecatedFeatures.SEND_ACTION) {\n    /**\n      Calls an action passed to a component.\n       For example a component for playing or pausing music may translate click events\n      into action notifications of \"play\" or \"stop\" depending on some internal state\n      of the component:\n       ```app/components/play-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          if (this.get('isPlaying')) {\n            this.sendAction('play');\n          } else {\n            this.sendAction('stop');\n          }\n        }\n      });\n      ```\n       The actions \"play\" and \"stop\" must be passed to this `play-button` component:\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{play-button play=(action \"musicStarted\") stop=(action \"musicStopped\")}}\n      ```\n       When the component receives a browser `click` event it translate this\n      interaction into application-specific semantics (\"play\" or \"stop\") and\n      calls the specified action.\n       ```app/controller/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          musicStarted() {\n            // called when the play button is clicked\n            // and the music started playing\n          },\n          musicStopped() {\n            // called when the play button is clicked\n            // and the music stopped playing\n          }\n        }\n      });\n      ```\n       If no action is passed to `sendAction` a default name of \"action\"\n      is assumed.\n       ```app/components/next-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          this.sendAction();\n        }\n      });\n      ```\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{next-button action=(action \"playNextSongInAlbum\")}}\n      ```\n       ```app/controllers/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          playNextSongInAlbum() {\n            ...\n          }\n        }\n      });\n      ```\n       @method sendAction\n      @param [action] {String} the action to call\n      @param [params] {*} arguments for the action\n      @public\n      @deprecated\n    */\n    var sendAction = function sendAction(action, ...contexts) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .sendAction() with the action '${action}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n      (true && !(false) && (0, _debug.deprecate)(`You called ${(0, _utils.inspect)(this)}.sendAction(${typeof action === 'string' ? `\"${action}\"` : ''}) but Component#sendAction is deprecated. Please use closure actions instead.`, false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      }));\n      var actionName; // Send the default action\n\n      if (action === undefined) {\n        action = 'action';\n      }\n\n      actionName = (0, _metal.get)(this, `attrs.${action}`) || (0, _metal.get)(this, action);\n      actionName = validateAction(this, actionName); // If no action name for that action could be found, just abort.\n\n      if (actionName === undefined) {\n        return;\n      }\n\n      if (typeof actionName === 'function') {\n        actionName(...contexts);\n      } else {\n        this.triggerAction({\n          action: actionName,\n          actionContext: contexts\n        });\n      }\n    };\n\n    var validateAction = function validateAction(component, actionName) {\n      if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n        actionName = actionName.value;\n      }\n\n      (true && !(actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)(`The default action was triggered on the component ${component.toString()}, but the action name (${actionName}) was not a string.`, actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function'));\n      return actionName;\n    };\n\n    mixinObj.sendAction = sendAction;\n  }\n  /**\n   @class ActionSupport\n   @namespace Ember\n   @private\n  */\n\n\n  var _default = _metal.Mixin.create(mixinObj);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/child_views_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _metal, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var _default = _metal.Mixin.create({\n    /**\n      Array of child views. You should never edit this array directly.\n       @property childViews\n      @type Array\n      @default []\n      @private\n    */\n    childViews: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n\n      get() {\n        return (0, _utils.getChildViews)(this);\n      }\n\n    }),\n\n    appendChild(view) {\n      (0, _utils.addChildView)(this, view);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/class_names_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var EMPTY_ARRAY = Object.freeze([]);\n  /**\n    @class ClassNamesSupport\n    @namespace Ember\n    @private\n  */\n\n  var _default = _metal.Mixin.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n\n    init() {\n      this._super(...arguments);\n\n      (true && !((0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)(`Only arrays are allowed for 'classNameBindings'`, (0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)));\n      (true && !((0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)) && (0, _debug.assert)(`Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.`, (0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)));\n    },\n\n    /**\n      Standard CSS class names to apply to the view's outer element. This\n      property automatically inherits any class names defined by the view's\n      superclasses as well.\n       @property classNames\n      @type Array\n      @default ['ember-view']\n      @public\n    */\n    classNames: EMPTY_ARRAY,\n\n    /**\n      A list of properties of the view to apply as class names. If the property\n      is a string value, the value of that string will be applied as a class\n      name.\n       ```javascript\n      // Applies the 'high' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['priority'],\n        priority: 'high'\n      });\n      ```\n       If the value of the property is a Boolean, the name of that property is\n      added as a dasherized class name.\n       ```javascript\n      // Applies the 'is-urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent'],\n        isUrgent: true\n      });\n      ```\n       If you would prefer to use a custom value instead of the dasherized\n      property name, you can pass a binding like this:\n       ```javascript\n      // Applies the 'urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent:urgent'],\n        isUrgent: true\n      });\n      ```\n       If you would like to specify a class that should only be added when the\n      property is false, you can declare a binding like this:\n       ```javascript\n      // Applies the 'disabled' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isEnabled::disabled'],\n        isEnabled: false\n      });\n      ```\n       This list of properties is inherited from the component's superclasses as well.\n       @property classNameBindings\n      @type Array\n      @default []\n      @public\n    */\n    classNameBindings: EMPTY_ARRAY\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/text_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/-internals/views\"], function (_exports, _metal, _runtime, _debug, _deprecatedFeatures, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var KEY_EVENTS = {\n    13: 'insertNewline',\n    27: 'cancel'\n  };\n  /**\n    `TextSupport` is a shared mixin used by both `TextField` and\n    `TextArea`. `TextSupport` adds a number of methods that allow you to\n    specify a controller action to invoke when a certain event is fired on your\n    text field or textarea. The specified controller action would get the current\n    value of the field passed in as the only argument unless the value of\n    the field is empty. In that case, the instance of the field itself is passed\n    in as the only argument.\n  \n    Let's use the pressing of the escape key as an example. If you wanted to\n    invoke a controller action when a user presses the escape key while on your\n    field, you would use the `escape-press` attribute on your field like so:\n  \n    ```handlebars\n      {{! application.hbs}}\n  \n      {{input escape-press='alertUser'}}\n    ```\n  \n    ```javascript\n        import Application from '@ember/application';\n        import Controller from '@ember/controller';\n        App = Application.create();\n  \n        App.ApplicationController = Controller.extend({\n          actions: {\n            alertUser: function ( currentValue ) {\n              alert( 'escape pressed, current value: ' + currentValue );\n            }\n          }\n        });\n    ```\n  \n    The following chart is a visual representation of what takes place when the\n    escape key is pressed in this scenario:\n  \n    ```\n    The Template\n    +---------------------------+\n    |                           |\n    | escape-press='alertUser'  |\n    |                           |          TextSupport Mixin\n    +----+----------------------+          +-------------------------------+\n         |                                 | cancel method                 |\n         |      escape button pressed      |                               |\n         +-------------------------------> | checks for the `escape-press` |\n                                           | attribute and pulls out the   |\n         +-------------------------------+ | `alertUser` value             |\n         |     action name 'alertUser'     +-------------------------------+\n         |     sent to controller\n         v\n    Controller\n    +------------------------------------------ +\n    |                                           |\n    |  actions: {                               |\n    |     alertUser: function( currentValue ){  |\n    |       alert( 'the esc key was pressed!' ) |\n    |     }                                     |\n    |  }                                        |\n    |                                           |\n    +-------------------------------------------+\n    ```\n  \n    Here are the events that we currently support along with the name of the\n    attribute you would need to use on your field. To reiterate, you would use the\n    attribute name like so:\n  \n    ```handlebars\n      {{input attribute-name='controllerAction'}}\n    ```\n  \n    ```\n    +--------------------+----------------+\n    |                    |                |\n    | event              | attribute name |\n    +--------------------+----------------+\n    | new line inserted  | insert-newline |\n    |                    |                |\n    | enter key pressed  | enter          |\n    |                    |                |\n    | cancel key pressed | escape-press   |\n    |                    |                |\n    | focusin            | focus-in       |\n    |                    |                |\n    | focusout           | focus-out      |\n    |                    |                |\n    | keypress           | key-press      |\n    |                    |                |\n    | keyup              | key-up         |\n    |                    |                |\n    | keydown            | key-down       |\n    +--------------------+----------------+\n    ```\n  \n    @class TextSupport\n    @namespace Ember\n    @uses Ember.TargetActionSupport\n    @extends Mixin\n    @private\n  */\n\n  var _default = _metal.Mixin.create(_runtime.TargetActionSupport, {\n    value: '',\n    attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title'],\n    placeholder: null,\n    disabled: false,\n    maxlength: null,\n\n    init() {\n      this._super(...arguments);\n\n      this.on('paste', this, this._elementValueDidChange);\n      this.on('cut', this, this._elementValueDidChange);\n      this.on('input', this, this._elementValueDidChange);\n    },\n\n    /**\n      Whether the `keyUp` event that triggers an `action` to be sent continues\n      propagating to other views.\n       By default, when the user presses the return key on their keyboard and\n      the text field has an `action` set, the action will be sent to the view's\n      controller and the key event will stop propagating.\n       If you would like parent views to receive the `keyUp` event even after an\n      action has been dispatched, set `bubbles` to true.\n       @property bubbles\n      @type Boolean\n      @default false\n      @private\n    */\n    bubbles: false,\n\n    interpretKeyEvents(event) {\n      var map = KEY_EVENTS;\n      var method = map[event.keyCode];\n\n      this._elementValueDidChange();\n\n      if (method) {\n        return this[method](event);\n      }\n    },\n\n    _elementValueDidChange() {\n      (0, _metal.set)(this, 'value', this.element.value);\n    },\n\n    change(event) {\n      this._elementValueDidChange(event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when either the `enter`\n      key is pressed or, in the case of the field being a textarea, when a newline\n      is inserted. To use this method, give your field an `insert-newline`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `insert-newline` attribute, please\n      reference the example near the top of this file.\n       @method insertNewline\n      @param {Event} event\n      @private\n    */\n    insertNewline(event) {\n      sendAction('enter', this, event);\n      sendAction('insert-newline', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when the escape button\n      is pressed. To use this method, give your field an `escape-press`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `escape-press` attribute, please reference\n      the example near the top of this file.\n       @method cancel\n      @param {Event} event\n      @private\n    */\n    cancel(event) {\n      sendAction('escape-press', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a field receives\n      focus. To use this method, give your field a `focus-in` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-in` attribute, please reference the\n      example near the top of this file.\n       @method focusIn\n      @param {Event} event\n      @private\n    */\n    focusIn(event) {\n      sendAction('focus-in', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a field loses\n      focus. To use this method, give your field a `focus-out` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-out` attribute, please reference the\n      example near the top of this file.\n       @method focusOut\n      @param {Event} event\n      @private\n    */\n    focusOut(event) {\n      this._elementValueDidChange(event);\n\n      sendAction('focus-out', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key is pressed.\n      To use this method, give your field a `key-press` attribute. The value of\n      that attribute should be the name of the action in your controller you\n      that wish to invoke.\n       For an example on how to use the `key-press` attribute, please reference the\n      example near the top of this file.\n       @method keyPress\n      @param {Event} event\n      @private\n    */\n    keyPress(event) {\n      sendAction('key-press', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key-up event is\n      fired. To use this method, give your field a `key-up` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `key-up` attribute, please reference the\n      example near the top of this file.\n       @method keyUp\n      @param {Event} event\n      @private\n    */\n    keyUp(event) {\n      this.interpretKeyEvents(event);\n      sendAction('key-up', this, event);\n    },\n\n    /**\n      Allows you to specify a controller action to invoke when a key-down event is\n      fired. To use this method, give your field a `key-down` attribute. The value\n      of that attribute should be the name of the action in your controller that\n      you wish to invoke.\n       For an example on how to use the `key-down` attribute, please reference the\n      example near the top of this file.\n       @method keyDown\n      @param {Event} event\n      @private\n    */\n    keyDown(event) {\n      sendAction('key-down', this, event);\n    }\n\n  }); // In principle, this shouldn't be necessary, but the legacy\n  // sendAction semantics for TextField are different from\n  // the component semantics so this method normalizes them.\n\n\n  _exports.default = _default;\n\n  function sendAction(eventName, view, event) {\n    var action = (0, _metal.get)(view, `attrs.${eventName}`);\n\n    if (action !== null && typeof action === 'object' && action[_views.MUTABLE_CELL] === true) {\n      action = action.value;\n    }\n\n    if (action === undefined) {\n      action = (0, _metal.get)(view, eventName);\n    }\n\n    var value = (0, _metal.get)(view, 'value');\n\n    if (_deprecatedFeatures.SEND_ACTION && typeof action === 'string') {\n      var message = `Passing actions to components as strings (like \\`<Input @${eventName}=\"${action}\" />\\`) is deprecated. Please use closure actions instead (\\`<Input @${eventName}={{action \"${action}\"}} />\\`).`;\n      (true && !(false) && (0, _debug.deprecate)(message, false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      }));\n      view.triggerAction({\n        action: action,\n        actionContext: [value, event]\n      });\n    } else if (typeof action === 'function') {\n      action(value, event);\n    }\n\n    if (action && !(0, _metal.get)(view, 'bubbles')) {\n      event.stopPropagation();\n    }\n  }\n});","define(\"@ember/-internals/views/lib/mixins/view_state_support\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var _default = _metal.Mixin.create({\n    _transitionTo(state) {\n      var priorState = this._currentState;\n      var currentState = this._currentState = this._states[state];\n      this._state = state;\n\n      if (priorState && priorState.exit) {\n        priorState.exit(this);\n      }\n\n      if (currentState.enter) {\n        currentState.enter(this);\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/view_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _browserEnvironment, _utils2, _jquery, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function K() {\n    return this;\n  }\n\n  var mixin = {\n    /**\n     A list of properties of the view to apply as attributes. If the property\n     is a string value, the value of that string will be applied as the value\n     for an attribute of the property's name.\n      The following example creates a tag like `<div priority=\"high\" />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['priority'],\n        priority: 'high'\n      });\n     ```\n      If the value of the property is a Boolean, the attribute is treated as\n     an HTML Boolean attribute. It will be present if the property is `true`\n     and omitted if the property is `false`.\n      The following example creates markup like `<div visible />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['visible'],\n        visible: true\n      });\n     ```\n      If you would prefer to use a custom value instead of the property name,\n     you can create the same markup as the last example with a binding like\n     this:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['isVisible:visible'],\n        isVisible: true\n      });\n     ```\n      This list of attributes is inherited from the component's superclasses,\n     as well.\n      @property attributeBindings\n     @type Array\n     @default []\n     @public\n     */\n    concatenatedProperties: ['attributeBindings'],\n\n    // ..........................................................\n    // TEMPLATE SUPPORT\n    //\n\n    /**\n     Return the nearest ancestor that is an instance of the provided\n     class or mixin.\n      @method nearestOfType\n     @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n     or an instance of Mixin.\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestOfType(klass) {\n      var view = this.parentView;\n      var isOfType = klass instanceof _metal.Mixin ? view => klass.detect(view) : view => klass.detect(view.constructor);\n\n      while (view) {\n        if (isOfType(view)) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\n    },\n\n    /**\n     Return the nearest ancestor that has a given property.\n      @method nearestWithProperty\n     @param {String} property A property name\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestWithProperty(property) {\n      var view = this.parentView;\n\n      while (view) {\n        if (property in view) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\n    },\n\n    /**\n     Renders the view again. This will work regardless of whether the\n     view is already in the DOM or not. If the view is in the DOM, the\n     rendering process will be deferred to give bindings a chance\n     to synchronize.\n      If children were added during the rendering process using `appendChild`,\n     `rerender` will remove them, because they will be added again\n     if needed by the next `render`.\n      In general, if the display of your view changes, you should modify\n     the DOM element directly instead of manually calling `rerender`, which can\n     be slow.\n      @method rerender\n     @public\n     */\n    rerender() {\n      return this._currentState.rerender(this);\n    },\n\n    // ..........................................................\n    // ELEMENT SUPPORT\n    //\n\n    /**\n     Returns the current DOM element for the view.\n       @property element\n      @type DOMElement\n      @public\n    */\n    element: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n\n      get() {\n        return this.renderer.getElement(this);\n      }\n\n    }),\n\n    /**\n     Appends the view's element to the specified parent element.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the given element until all bindings have\n     finished synchronizing.\n      This is not typically a function that you will need to call directly when\n     building your application. If you do need to use `appendTo`, be sure that\n     the target element you are providing is associated with an `Application`\n     and does not have an ancestor element that is associated with an Ember view.\n      @method appendTo\n     @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object\n     @return {Ember.View} receiver\n     @private\n     */\n    appendTo(selector) {\n      var target;\n\n      if (_browserEnvironment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n        (true && !(target) && (0, _debug.assert)(`You tried to append to (${selector}) but that isn't in the DOM`, target));\n        (true && !(!(0, _utils2.matches)(target, '.ember-view')) && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils2.matches)(target, '.ember-view')));\n        (true && !((() => {\n          var node = target.parentNode;\n\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\n\n          return true;\n        })()) && (0, _debug.assert)('You cannot append to an existing Ember.View.', (() => {\n          var node = target.parentNode;\n\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\n\n          return true;\n        })()));\n      } else {\n        target = selector;\n        (true && !(typeof target !== 'string') && (0, _debug.assert)(`You tried to append to a selector string (${selector}) in an environment without jQuery`, typeof target !== 'string'));\n        (true && !(typeof selector.appendChild === 'function') && (0, _debug.assert)(`You tried to append to a non-Element (${selector}) in an environment without jQuery`, typeof selector.appendChild === 'function'));\n      }\n\n      this.renderer.appendTo(this, target);\n      return this;\n    },\n\n    /**\n     Appends the view's element to the document body. If the view does\n     not have an HTML representation yet\n     the element will be generated automatically.\n      If your application uses the `rootElement` property, you must append\n     the view within that element. Rendering views outside of the `rootElement`\n     is not supported.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the document body until all bindings have\n     finished synchronizing.\n      @method append\n     @return {Ember.View} receiver\n     @private\n     */\n    append() {\n      return this.appendTo(document.body);\n    },\n\n    /**\n     The HTML `id` of the view's element in the DOM. You can provide this\n     value yourself but it must be unique (just as in HTML):\n      ```handlebars\n     {{my-component elementId=\"a-really-cool-id\"}}\n     ```\n      If not manually set a default value will be provided by the framework.\n      Once rendered an element's `elementId` is considered immutable and you\n     should never change it. If you need to compute a dynamic value for the\n     `elementId`, you should do this when the component or element is being\n     instantiated:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        init() {\n          this._super(...arguments);\n          let index = this.get('index');\n          this.set('elementId', 'component-id' + index);\n        }\n      });\n     ```\n      @property elementId\n     @type String\n     @public\n     */\n    elementId: null,\n\n    /**\n     Called when a view is going to insert an element into the DOM.\n      @event willInsertElement\n     @public\n     */\n    willInsertElement: K,\n\n    /**\n     Called when the element of the view has been inserted into the DOM.\n     Override this function to do any set up that requires an element\n     in the document body.\n      When a view has children, didInsertElement will be called on the\n     child view(s) first and on itself afterwards.\n      @event didInsertElement\n     @public\n     */\n    didInsertElement: K,\n\n    /**\n     Called when the view is about to rerender, but before anything has\n     been torn down. This is a good opportunity to tear down any manual\n     observers you have installed based on the DOM state\n      @event willClearRender\n     @public\n     */\n    willClearRender: K,\n\n    /**\n     You must call `destroy` on a view to destroy the view (and all of its\n     child views). This will remove the view from any parent node, then make\n     sure that the DOM element managed by the view can be released by the\n     memory manager.\n      @method destroy\n     @private\n     */\n    destroy() {\n      this._super(...arguments);\n\n      this._currentState.destroy(this);\n    },\n\n    /**\n     Called when the element of the view is going to be destroyed. Override\n     this function to do any teardown that requires an element, like removing\n     event listeners.\n      Please note: any property changes made during this event will have no\n     effect on object observers.\n      @event willDestroyElement\n     @public\n     */\n    willDestroyElement: K,\n\n    /**\n     Called after the element of the view is destroyed.\n      @event willDestroyElement\n     @public\n     */\n    didDestroyElement: K,\n\n    /**\n     Called when the parentView property has changed.\n      @event parentViewDidChange\n     @private\n     */\n    parentViewDidChange: K,\n    // ..........................................................\n    // STANDARD RENDER PROPERTIES\n    //\n\n    /**\n     Tag name for the view's outer element. The tag name is only used when an\n     element is first created. If you change the `tagName` for an element, you\n     must destroy and recreate the view element.\n      By default, the render buffer will use a `<div>` tag for views.\n      If the tagName is `''`, the view will be tagless, with no outer element.\n     Component properties that depend on the presence of an outer element, such\n     as `classNameBindings` and `attributeBindings`, do not work with tagless\n     components. Tagless components cannot implement methods to handle events,\n     and have no associated jQuery object to return with `$()`.\n      @property tagName\n     @type String\n     @default null\n     @public\n     */\n    // We leave this null by default so we can tell the difference between\n    // the default case and a user-specified tag.\n    tagName: null,\n\n    // .......................................................\n    // CORE DISPLAY METHODS\n    //\n\n    /**\n     Setup a view, but do not finish waking it up.\n      * configure `childViews`\n     * register the view with the global views hash, which is used for event\n     dispatch\n      @method init\n     @private\n     */\n    init() {\n      this._super(...arguments); // tslint:disable-next-line:max-line-length\n\n\n      (true && !((0, _metal.descriptorForProperty)(this, 'elementId') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'elementId') === undefined)); // tslint:disable-next-line:max-line-length\n\n      (true && !((0, _metal.descriptorForProperty)(this, 'tagName') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'tagName') === undefined));\n\n      if (!this.elementId && this.tagName !== '') {\n        this.elementId = (0, _utils.guidFor)(this);\n      }\n\n      (true && !(!this.render) && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render));\n    },\n\n    // .......................................................\n    // EVENT HANDLING\n    //\n\n    /**\n     Handle events from `EventDispatcher`\n      @method handleEvent\n     @param eventName {String}\n     @param evt {Event}\n     @private\n     */\n    handleEvent(eventName, evt) {\n      return this._currentState.handleEvent(this, eventName, evt);\n    }\n\n  };\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n    /**\n     Returns a jQuery object for this view's element. If you pass in a selector\n     string, this method will return a jQuery object, using the current element\n     as its buffer.\n      For example, calling `view.$('li')` will return a jQuery object containing\n     all of the `li` elements inside the DOM element of this view.\n      @method $\n     @param {String} [selector] a jQuery-compatible selector string\n     @return {jQuery} the jQuery object for the DOM node\n     @public\n     @deprecated\n     */\n    mixin.$ = function $(sel) {\n      (true && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n      (true && !(!_jquery.jQueryDisabled) && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled));\n      (true && !(false) && (0, _debug.deprecate)('Using this.$() in a component has been deprecated, consider using this.element', false, {\n        id: 'ember-views.curly-components.jquery-element',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n      }));\n\n      if (this.element) {\n        return sel ? (0, _jquery.jQuery)(sel, this.element) : (0, _jquery.jQuery)(this.element);\n      }\n    };\n  }\n  /**\n   @class ViewMixin\n   @namespace Ember\n   @private\n  */\n\n\n  var _default = _metal.Mixin.create(mixin);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/system/action_manager\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = ActionManager;\n\n  /**\n  @module ember\n  */\n  function ActionManager() {}\n  /**\n    Global action id hash.\n  \n    @private\n    @property registeredActions\n    @type Object\n  */\n\n\n  ActionManager.registeredActions = {};\n});","define(\"@ember/-internals/views/lib/system/event_dispatcher\", [\"exports\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/action_manager\", \"@ember/-internals/views/lib/system/jquery_event_deprecation\", \"@ember/-internals/views/lib/system/utils\", \"@ember/deprecated-features\"], function (_exports, _owner, _polyfills, _debug, _metal, _runtime, _views, _jquery, _action_manager, _jquery_event_deprecation, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  var ROOT_ELEMENT_CLASS = 'ember-application';\n  var ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\n  var EVENT_MAP = {\n    mouseenter: 'mouseover',\n    mouseleave: 'mouseout'\n  };\n  /**\n    `Ember.EventDispatcher` handles delegating browser events to their\n    corresponding `Ember.Views.` For example, when you click on a view,\n    `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n    called.\n  \n    @class EventDispatcher\n    @namespace Ember\n    @private\n    @extends Ember.Object\n  */\n\n  var _default = _runtime.Object.extend({\n    /**\n      The set of events names (and associated handler function names) to be setup\n      and dispatched by the `EventDispatcher`. Modifications to this list can be done\n      at setup time, generally via the `Application.customEvents` hash.\n       To add new events to be listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property events\n      @type Object\n      @private\n    */\n    events: (0, _polyfills.assign)({\n      touchstart: 'touchStart',\n      touchmove: 'touchMove',\n      touchend: 'touchEnd',\n      touchcancel: 'touchCancel',\n      keydown: 'keyDown',\n      keyup: 'keyUp',\n      keypress: 'keyPress',\n      mousedown: 'mouseDown',\n      mouseup: 'mouseUp',\n      contextmenu: 'contextMenu',\n      click: 'click',\n      dblclick: 'doubleClick',\n      focusin: 'focusIn',\n      focusout: 'focusOut',\n      submit: 'submit',\n      input: 'input',\n      change: 'change',\n      dragstart: 'dragStart',\n      drag: 'drag',\n      dragenter: 'dragEnter',\n      dragleave: 'dragLeave',\n      dragover: 'dragOver',\n      drop: 'drop',\n      dragend: 'dragEnd'\n    }, _deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS ? {\n      mouseenter: 'mouseEnter',\n      mouseleave: 'mouseLeave',\n      mousemove: 'mouseMove'\n    } : {}),\n\n    /**\n      The root DOM element to which event listeners should be attached. Event\n      listeners will be attached to the document unless this is overridden.\n       Can be specified as a DOMElement or a selector string.\n       The default body is a string since this may be evaluated before document.body\n      exists in the DOM.\n       @private\n      @property rootElement\n      @type DOMElement\n      @default 'body'\n    */\n    rootElement: 'body',\n\n    init() {\n      this._super();\n\n      (true && !((() => {\n        var owner = (0, _owner.getOwner)(this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()) && (0, _debug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', (() => {\n        var owner = (0, _owner.getOwner)(this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()));\n      this._eventHandlers = Object.create(null);\n    },\n\n    /**\n      Sets up event listeners for standard browser events.\n       This will be called after the browser sends a `DOMContentReady` event. By\n      default, it will set up all of the listeners on the document body. If you\n      would like to register the listeners on a different element, set the event\n      dispatcher's `root` property.\n       @private\n      @method setup\n      @param addedEvents {Object}\n    */\n    setup(addedEvents, _rootElement) {\n      var events = this._finalEvents = (0, _polyfills.assign)({}, (0, _metal.get)(this, 'events'), addedEvents);\n\n      if (_rootElement !== undefined && _rootElement !== null) {\n        (0, _metal.set)(this, 'rootElement', _rootElement);\n      }\n\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        if (typeof rootElementSelector !== 'string') {\n          rootElement = rootElementSelector;\n        } else {\n          rootElement = document.querySelector(rootElementSelector);\n        }\n\n        (true && !(!rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`You cannot use the same root element (${(0, _metal.get)(this, 'rootElement') || rootElement.tagName}) multiple times in an Ember.Application`, !rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n        (true && !((() => {\n          var target = rootElement.parentNode;\n\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\n          return true;\n        })()) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', (() => {\n          var target = rootElement.parentNode;\n\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\n          return true;\n        })()));\n        (true && !(!rootElement.querySelector(ROOT_ELEMENT_SELECTOR)) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.querySelector(ROOT_ELEMENT_SELECTOR)));\n        rootElement.classList.add(ROOT_ELEMENT_CLASS);\n        (true && !(rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${(0, _metal.get)(this, 'rootElement') || rootElement.tagName}). Make sure you set rootElement to the body or an element in the body.`, rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n      } else {\n        rootElement = (0, _jquery.jQuery)(rootElementSelector);\n        (true && !(!rootElement.is(ROOT_ELEMENT_SELECTOR)) && (0, _debug.assert)(`You cannot use the same root element (${rootElement.selector || rootElement[0].tagName}) multiple times in an Ember.Application`, !rootElement.is(ROOT_ELEMENT_SELECTOR)));\n        (true && !(!rootElement.closest(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', !rootElement.closest(ROOT_ELEMENT_SELECTOR).length));\n        (true && !(!rootElement.find(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.find(ROOT_ELEMENT_SELECTOR).length));\n        rootElement.addClass(ROOT_ELEMENT_CLASS);\n\n        if (!rootElement.is(ROOT_ELEMENT_SELECTOR)) {\n          throw new TypeError(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${rootElement.selector || rootElement[0].tagName}). Make sure you set rootElement to the body or an element in the body.`);\n        }\n      }\n\n      for (var event in events) {\n        if (events.hasOwnProperty(event)) {\n          this.setupHandler(rootElement, event, events[event]);\n        }\n      }\n    },\n\n    /**\n      Registers an event listener on the rootElement. If the given event is\n      triggered, the provided event handler will be triggered on the target view.\n       If the target view does not implement the event handler, or if the handler\n      returns `false`, the parent view will be called. The event will continue to\n      bubble to each successive parent view until it reaches the top.\n       @private\n      @method setupHandler\n      @param {Element} rootElement\n      @param {String} event the browser-originated event to listen to\n      @param {String} eventName the name of the method to call on the view\n    */\n    setupHandler(rootElement, event, eventName) {\n      if (eventName === null) {\n        return;\n      }\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        var viewHandler = (target, event) => {\n          var view = (0, _views.getElementView)(target);\n          var result = true;\n\n          if (view) {\n            result = view.handleEvent(eventName, event);\n          }\n\n          return result;\n        };\n\n        var actionHandler = (target, event) => {\n          var actionId = target.getAttribute('data-ember-action');\n          var actions = _action_manager.default.registeredActions[actionId]; // In Glimmer2 this attribute is set to an empty string and an additional\n          // attribute it set for each action on a given element. In this case, the\n          // attributes need to be read so that a proper set of action handlers can\n          // be coalesced.\n\n          if (actionId === '') {\n            var attributes = target.attributes;\n            var attributeCount = attributes.length;\n            actions = [];\n\n            for (var i = 0; i < attributeCount; i++) {\n              var attr = attributes.item(i);\n              var attrName = attr.name;\n\n              if (attrName.indexOf('data-ember-action-') === 0) {\n                actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\n              }\n            }\n          } // We have to check for actions here since in some cases, jQuery will trigger\n          // an event on `removeChild` (i.e. focusout) after we've already torn down the\n          // action handlers for the view.\n\n\n          if (!actions) {\n            return;\n          }\n\n          var result = true;\n\n          for (var index = 0; index < actions.length; index++) {\n            var action = actions[index];\n\n            if (action && action.eventName === eventName) {\n              // return false if any of the action handlers returns false\n              result = action.handler(event) && result;\n            }\n          }\n\n          return result;\n        }; // Special handling of events that don't bubble (event delegation does not work).\n        // Mimics the way this is handled in jQuery,\n        // see https://github.com/jquery/jquery/blob/899c56f6ada26821e8af12d9f35fa039100e838e/src/event.js#L666-L700\n\n\n        if (_deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS && EVENT_MAP[event] !== undefined) {\n          var mappedEventType = EVENT_MAP[event];\n          var origEventType = event;\n\n          var createFakeEvent = (eventType, event) => {\n            var fakeEvent = document.createEvent('MouseEvent');\n            fakeEvent.initMouseEvent(eventType, false, false, event.view, event.detail, event.screenX, event.screenY, event.clientX, event.clientY, event.ctrlKey, event.altKey, event.shiftKey, event.metaKey, event.button, event.relatedTarget); // fake event.target as we don't dispatch the event\n\n            Object.defineProperty(fakeEvent, 'target', {\n              value: event.target,\n              enumerable: true\n            });\n            return fakeEvent;\n          };\n\n          var handleMappedEvent = this._eventHandlers[mappedEventType] = event => {\n            var target = event.target;\n            var related = event.relatedTarget;\n\n            while (target && target.nodeType === 1 && (related === null || related !== target && !(0, _utils.contains)(target, related))) {\n              // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n              if ((0, _views.getElementView)(target)) {\n                viewHandler(target, createFakeEvent(origEventType, event));\n              } else if (target.hasAttribute('data-ember-action')) {\n                actionHandler(target, createFakeEvent(origEventType, event));\n              } // separate mouseEnter/Leave events are dispatched for each listening element\n              // until the element (related) has been reached that the pointing device exited from/to\n\n\n              target = target.parentNode;\n            }\n          };\n\n          rootElement.addEventListener(mappedEventType, handleMappedEvent);\n        } else {\n          var handleEvent = this._eventHandlers[event] = event => {\n            var target = event.target;\n\n            do {\n              if ((0, _views.getElementView)(target)) {\n                if (viewHandler(target, event) === false) {\n                  event.preventDefault();\n                  event.stopPropagation();\n                  break;\n                } else if (event.cancelBubble === true) {\n                  break;\n                }\n              } else if (typeof target.hasAttribute === 'function' && target.hasAttribute('data-ember-action')) {\n                if (actionHandler(target, event) === false) {\n                  break;\n                }\n              }\n\n              target = target.parentNode;\n            } while (target && target.nodeType === 1);\n          };\n\n          rootElement.addEventListener(event, handleEvent);\n        }\n      } else {\n        rootElement.on(`${event}.ember`, '.ember-view', function (evt) {\n          var view = (0, _views.getElementView)(this);\n          var result = true;\n\n          if (view) {\n            result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n          }\n\n          return result;\n        });\n        rootElement.on(`${event}.ember`, '[data-ember-action]', evt => {\n          var attributes = evt.currentTarget.attributes;\n          var handledActions = [];\n          evt = (0, _jquery_event_deprecation.default)(evt);\n\n          for (var i = 0; i < attributes.length; i++) {\n            var attr = attributes.item(i);\n            var attrName = attr.name;\n\n            if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n              var action = _action_manager.default.registeredActions[attr.value]; // We have to check for action here since in some cases, jQuery will trigger\n              // an event on `removeChild` (i.e. focusout) after we've already torn down the\n              // action handlers for the view.\n\n              if (action && action.eventName === eventName && handledActions.indexOf(action) === -1) {\n                action.handler(evt); // Action handlers can mutate state which in turn creates new attributes on the element.\n                // This effect could cause the `data-ember-action` attribute to shift down and be invoked twice.\n                // To avoid this, we keep track of which actions have been handled.\n\n                handledActions.push(action);\n              }\n            }\n          }\n        });\n      }\n    },\n\n    destroy() {\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n\n      if (!rootElement) {\n        return;\n      }\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        for (var event in this._eventHandlers) {\n          rootElement.removeEventListener(event, this._eventHandlers[event]);\n        }\n      } else {\n        (0, _jquery.jQuery)(rootElementSelector).off('.ember', '**');\n      }\n\n      rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n      return this._super(...arguments);\n    },\n\n    toString() {\n      return '(EventDispatcher)';\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/system/jquery\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/deprecated-features\"], function (_exports, _environment, _browserEnvironment, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.jQueryDisabled = _exports.jQuery = void 0;\n  var jQuery;\n  _exports.jQuery = jQuery;\n  var jQueryDisabled = !_deprecatedFeatures.JQUERY_INTEGRATION || _environment.ENV._JQUERY_INTEGRATION === false;\n  _exports.jQueryDisabled = jQueryDisabled;\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM) {\n    _exports.jQuery = jQuery = _environment.context.imports.jQuery;\n\n    if (!jQueryDisabled && jQuery) {\n      if (jQuery.event.addProp) {\n        jQuery.event.addProp('dataTransfer');\n      } else {\n        // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dndevents\n        ['dragstart', 'drag', 'dragenter', 'dragleave', 'dragover', 'drop', 'dragend'].forEach(eventName => {\n          jQuery.event.fixHooks[eventName] = {\n            props: ['dataTransfer']\n          };\n        });\n      }\n    } else {\n      _exports.jQuery = jQuery = undefined;\n      _exports.jQueryDisabled = jQueryDisabled = true;\n    }\n  }\n});","define(\"@ember/-internals/views/lib/system/jquery_event_deprecation\", [\"exports\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/deprecated-features\"], function (_exports, _debug, _environment, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = addJQueryEventDeprecation;\n\n  /* global Proxy */\n  function addJQueryEventDeprecation(jqEvent) {\n    if (true\n    /* DEBUG */\n    && _deprecatedFeatures.JQUERY_INTEGRATION && _utils.HAS_NATIVE_PROXY) {\n      var boundFunctions = new Map(); // wrap the jQuery event in a Proxy to add the deprecation message for originalEvent, according to RFC#294\n      // we need a native Proxy here, so we can make sure that the internal use of originalEvent in jQuery itself does\n      // not trigger a deprecation\n\n      return new Proxy(jqEvent, {\n        get(target, name) {\n          switch (name) {\n            case 'originalEvent':\n              (true && !((EmberENV => {\n                // this deprecation is intentionally checking `global.EmberENV` /\n                // `global.ENV` so that we can ensure we _only_ deprecate in the\n                // case where jQuery integration is enabled implicitly (e.g.\n                // \"defaulted\" to enabled) as opposed to when the user explicitly\n                // opts in to using jQuery\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              })(_environment.global.EmberENV || _environment.global.ENV)) && (0, _debug.deprecate)('Accessing jQuery.Event specific properties is deprecated. Either use the ember-jquery-legacy addon to normalize events to native events, or explicitly opt into jQuery integration using @ember/optional-features.', (EmberENV => {\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              })(_environment.global.EmberENV || _environment.global.ENV), {\n                id: 'ember-views.event-dispatcher.jquery-event',\n                until: '4.0.0',\n                url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-event'\n              }));\n              return target[name];\n            // provide an escape hatch for ember-jquery-legacy to access originalEvent without a deprecation\n\n            case '__originalEvent':\n              return target.originalEvent;\n\n            default:\n              if (typeof target[name] === 'function') {\n                // cache functions for reuse\n                if (!boundFunctions.has(name)) {\n                  // for jQuery.Event methods call them with `target` as the `this` context, so they will access\n                  // `originalEvent` from the original jQuery event, not our proxy, thus not trigger the deprecation\n                  boundFunctions.set(name, target[name].bind(target));\n                }\n\n                return boundFunctions.get(name);\n              } // same for jQuery's getter functions for simple properties\n\n\n              return target[name];\n          }\n        }\n\n      });\n    }\n\n    return jqEvent;\n  }\n});","define(\"@ember/-internals/views/lib/system/utils\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _owner, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isSimpleClick = isSimpleClick;\n  _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  _exports.getRootViews = getRootViews;\n  _exports.getViewId = getViewId;\n  _exports.getElementView = getElementView;\n  _exports.getViewElement = getViewElement;\n  _exports.setElementView = setElementView;\n  _exports.setViewElement = setViewElement;\n  _exports.clearElementView = clearElementView;\n  _exports.clearViewElement = clearViewElement;\n  _exports.getChildViews = getChildViews;\n  _exports.initChildViews = initChildViews;\n  _exports.addChildView = addChildView;\n  _exports.collectChildViews = collectChildViews;\n  _exports.getViewBounds = getViewBounds;\n  _exports.getViewRange = getViewRange;\n  _exports.getViewClientRects = getViewClientRects;\n  _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  _exports.matches = matches;\n  _exports.contains = contains;\n  _exports.elMatches = void 0;\n\n  /* globals Element */\n\n  /**\n  @module ember\n  */\n  function isSimpleClick(event) {\n    var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    var secondaryClick = event.which > 1; // IE9 may return undefined\n\n    return !modifier && !secondaryClick;\n  }\n\n  function constructStyleDeprecationMessage(affectedStyle) {\n    return '' + 'Binding style attributes may introduce cross-site scripting vulnerabilities; ' + 'please ensure that values being bound are properly escaped. For more information, ' + 'including how to disable this warning, see ' + 'https://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n  }\n  /**\n    @private\n    @method getRootViews\n    @param {Object} owner\n  */\n\n\n  function getRootViews(owner) {\n    var registry = owner.lookup('-view-registry:main');\n    var rootViews = [];\n    Object.keys(registry).forEach(id => {\n      var view = registry[id];\n\n      if (view.parentView === null) {\n        rootViews.push(view);\n      }\n    });\n    return rootViews;\n  }\n  /**\n    @private\n    @method getViewId\n    @param {Ember.View} view\n   */\n\n\n  function getViewId(view) {\n    if (view.tagName !== '' && view.elementId) {\n      return view.elementId;\n    } else {\n      return (0, _utils.guidFor)(view);\n    }\n  }\n\n  var ELEMENT_VIEW = new WeakMap();\n  var VIEW_ELEMENT = new WeakMap();\n\n  function getElementView(element) {\n    return ELEMENT_VIEW.get(element) || null;\n  }\n  /**\n    @private\n    @method getViewElement\n    @param {Ember.View} view\n   */\n\n\n  function getViewElement(view) {\n    return VIEW_ELEMENT.get(view) || null;\n  }\n\n  function setElementView(element, view) {\n    ELEMENT_VIEW.set(element, view);\n  }\n\n  function setViewElement(view, element) {\n    VIEW_ELEMENT.set(view, element);\n  } // These are not needed for GC, but for correctness. We want to be able to\n  // null-out these links while the objects are still live. Specifically, in\n  // this case, we want to prevent access to the element (and vice verse) during\n  // destruction.\n\n\n  function clearElementView(element) {\n    ELEMENT_VIEW.delete(element);\n  }\n\n  function clearViewElement(view) {\n    VIEW_ELEMENT.delete(view);\n  }\n\n  var CHILD_VIEW_IDS = new WeakMap();\n  /**\n    @private\n    @method getChildViews\n    @param {Ember.View} view\n  */\n\n  function getChildViews(view) {\n    var owner = (0, _owner.getOwner)(view);\n    var registry = owner.lookup('-view-registry:main');\n    return collectChildViews(view, registry);\n  }\n\n  function initChildViews(view) {\n    var childViews = new Set();\n    CHILD_VIEW_IDS.set(view, childViews);\n    return childViews;\n  }\n\n  function addChildView(parent, child) {\n    var childViews = CHILD_VIEW_IDS.get(parent);\n\n    if (childViews === undefined) {\n      childViews = initChildViews(parent);\n    }\n\n    childViews.add(getViewId(child));\n  }\n\n  function collectChildViews(view, registry) {\n    var views = [];\n    var childViews = CHILD_VIEW_IDS.get(view);\n\n    if (childViews !== undefined) {\n      childViews.forEach(id => {\n        var view = registry[id];\n\n        if (view && !view.isDestroying && !view.isDestroyed) {\n          views.push(view);\n        }\n      });\n    }\n\n    return views;\n  }\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\n  */\n\n\n  function getViewBounds(view) {\n    return view.renderer.getBounds(view);\n  }\n  /**\n    @private\n    @method getViewRange\n    @param {Ember.View} view\n  */\n\n\n  function getViewRange(view) {\n    var bounds = getViewBounds(view);\n    var range = document.createRange();\n    range.setStartBefore(bounds.firstNode);\n    range.setEndAfter(bounds.lastNode);\n    return range;\n  }\n  /**\n    `getViewClientRects` provides information about the position of the border\n    box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewClientRects\n    @param {Ember.View} view\n  */\n\n\n  function getViewClientRects(view) {\n    var range = getViewRange(view);\n    return range.getClientRects();\n  }\n  /**\n    `getViewBoundingClientRect` provides information about the position of the\n    bounding border box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewBoundingClientRect\n    @param {Ember.View} view\n  */\n\n\n  function getViewBoundingClientRect(view) {\n    var range = getViewRange(view);\n    return range.getBoundingClientRect();\n  }\n  /**\n    Determines if the element matches the specified selector.\n  \n    @private\n    @method matches\n    @param {DOMElement} el\n    @param {String} selector\n  */\n\n\n  var elMatches = typeof Element !== 'undefined' ? Element.prototype.matches || Element.prototype['matchesSelector'] || Element.prototype['mozMatchesSelector'] || Element.prototype['msMatchesSelector'] || Element.prototype['oMatchesSelector'] || Element.prototype['webkitMatchesSelector'] : undefined;\n  _exports.elMatches = elMatches;\n\n  function matches(el, selector) {\n    (true && !(elMatches !== undefined) && (0, _debug.assert)('cannot call `matches` in fastboot mode', elMatches !== undefined));\n    return elMatches.call(el, selector);\n  }\n\n  function contains(a, b) {\n    if (a.contains !== undefined) {\n      return a.contains(b);\n    }\n\n    var current = b.parentNode;\n\n    while (current && (current = current.parentNode)) {\n      if (current === a) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n});","define(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _runtime, _states) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    `Ember.CoreView` is an abstract class that exists to give view-like behavior\n    to both Ember's main view class `Component` and other classes that don't need\n    the full functionality of `Component`.\n  \n    Unless you have specific needs for `CoreView`, you will use `Component`\n    in your applications.\n  \n    @class CoreView\n    @namespace Ember\n    @extends EmberObject\n    @deprecated Use `Component` instead.\n    @uses Evented\n    @uses Ember.ActionHandler\n    @private\n  */\n  var CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n    isView: true,\n    _states: _states.default,\n\n    init() {\n      this._super(...arguments);\n\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n\n      if (!this.renderer) {\n        throw new Error(`Cannot instantiate a component without a renderer. Please ensure that you are creating ${this} with a proper container/registry.`);\n      }\n    },\n\n    /**\n      If the view is currently inserted into the DOM of a parent view, this\n      property will point to the parent of the view.\n       @property parentView\n      @type Ember.View\n      @default null\n      @private\n    */\n    parentView: null,\n\n    instrumentDetails(hash) {\n      hash.object = this.toString();\n      hash.containerKey = this._debugContainerKey;\n      hash.view = this;\n      return hash;\n    },\n\n    /**\n      Override the default event firing from `Evented` to\n      also call methods with the given name.\n       @method trigger\n      @param name {String}\n      @private\n    */\n    trigger(name, ...args) {\n      this._super(...arguments);\n\n      var method = this[name];\n\n      if (typeof method === 'function') {\n        return method.apply(this, args);\n      }\n    },\n\n    has(name) {\n      return typeof this[name] === 'function' || this._super(name);\n    }\n\n  });\n\n  CoreView.reopenClass({\n    isViewFactory: true\n  });\n  var _default = CoreView;\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states\", [\"exports\", \"@ember/-internals/views/lib/views/states/pre_render\", \"@ember/-internals/views/lib/views/states/has_element\", \"@ember/-internals/views/lib/views/states/in_dom\", \"@ember/-internals/views/lib/views/states/destroying\"], function (_exports, _pre_render, _has_element, _in_dom, _destroying) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /*\n    Describe how the specified actions should behave in the various\n    states that a view can exist in. Possible states:\n  \n    * preRender: when a view is first instantiated, and after its\n      element was destroyed, it is in the preRender state\n    * hasElement: the DOM representation of the view is created,\n      and is ready to be inserted\n    * inDOM: once a view has been inserted into the DOM it is in\n      the inDOM state. A view spends the vast majority of its\n      existence in this state.\n    * destroyed: once a view has been destroyed (using the destroy\n      method), it is in this state. No further actions can be invoked\n      on a destroyed view.\n  */\n  var states = Object.freeze({\n    preRender: _pre_render.default,\n    inDOM: _in_dom.default,\n    hasElement: _has_element.default,\n    destroying: _destroying.default\n  });\n  var _default = states;\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (_exports, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    // appendChild is only legal while rendering the buffer.\n    appendChild() {\n      throw new _error.default(\"You can't use appendChild outside of the rendering process\");\n    },\n\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent() {\n      return true; // continue event propagation\n    },\n\n    rerender() {},\n\n    destroy() {}\n\n  };\n\n  var _default2 = Object.freeze(_default);\n\n  _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/destroying\", [\"exports\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/default\"], function (_exports, _polyfills, _error, _default3) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var destroying = (0, _polyfills.assign)({}, _default3.default, {\n    appendChild() {\n      throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n    },\n\n    rerender() {\n      throw new _error.default(\"You can't call rerender on a view being destroyed\");\n    }\n\n  });\n\n  var _default2 = Object.freeze(destroying);\n\n  _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/has_element\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/runloop\", \"@ember/instrumentation\"], function (_exports, _polyfills, _default3, _runloop, _instrumentation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var hasElement = (0, _polyfills.assign)({}, _default3.default, {\n    rerender(view) {\n      view.renderer.rerender(view);\n    },\n\n    destroy(view) {\n      view.renderer.remove(view);\n    },\n\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent(view, eventName, event) {\n      if (view.has(eventName)) {\n        // Handler should be able to re-dispatch events, so we don't\n        // preventDefault or stopPropagation.\n        return (0, _instrumentation.flaggedInstrument)(`interaction.${eventName}`, {\n          event,\n          view\n        }, () => {\n          return (0, _runloop.join)(view, view.trigger, eventName, event);\n        });\n      } else {\n        return true; // continue event propagation\n      }\n    }\n\n  });\n\n  var _default2 = Object.freeze(hasElement);\n\n  _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/in_dom\", [\"exports\", \"@ember/-internals/utils\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/has_element\"], function (_exports, _utils, _polyfills, _error, _has_element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var inDOM = (0, _polyfills.assign)({}, _has_element.default, {\n    enter(view) {\n      // Register the view for event handling. This hash is used by\n      // Ember.EventDispatcher to dispatch incoming events.\n      view.renderer.register(view);\n\n      if (true\n      /* DEBUG */\n      ) {\n        var elementId = view.elementId;\n        (0, _utils.teardownMandatorySetter)(view, 'elementId');\n        Object.defineProperty(view, 'elementId', {\n          configurable: true,\n          enumerable: true,\n\n          get() {\n            return elementId;\n          },\n\n          set(value) {\n            if (value !== elementId) {\n              throw new _error.default(\"Changing a view's elementId after creation is not allowed\");\n            }\n          }\n\n        });\n      }\n    },\n\n    exit(view) {\n      view.renderer.unregister(view);\n    }\n\n  });\n\n  var _default = Object.freeze(inDOM);\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states/pre_render\", [\"exports\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/polyfills\"], function (_exports, _default3, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var preRender = (0, _polyfills.assign)({}, _default3.default);\n\n  var _default2 = Object.freeze(preRender);\n\n  _exports.default = _default2;\n});","define(\"@ember/application/globals-resolver\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/string\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _string, _runtime, _glimmer, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The DefaultResolver defines the default lookup rules to resolve\n    container lookups before consulting the container for registered\n    items:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after converting\n      the name. For example, `controller:post` looks up\n      `App.PostController` by default.\n    * there are some nuances (see examples below)\n  \n    ### How Resolving Works\n  \n    The container calls this object's `resolve` method with the\n    `fullName` argument.\n  \n    It first parses the fullName into an object using `parseName`.\n  \n    Then it checks for the presence of a type-specific instance\n    method of the form `resolve[Type]` and calls it if it exists.\n    For example if it was resolving 'template:post', it would call\n    the `resolveTemplate` method.\n  \n    Its last resort is to call the `resolveOther` method.\n  \n    The methods of this object are designed to be easy to override\n    in a subclass. For example, you could enhance how a template\n    is resolved like so:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n    import GlobalsResolver from '@ember/application/globals-resolver';\n  \n    App = Application.create({\n      Resolver: GlobalsResolver.extend({\n        resolveTemplate(parsedName) {\n          let resolvedTemplate = this._super(parsedName);\n          if (resolvedTemplate) { return resolvedTemplate; }\n  \n          return Ember.TEMPLATES['not_found'];\n        }\n      })\n    });\n    ```\n  \n    Some examples of how names are resolved:\n  \n    ```text\n    'template:post'           //=> Ember.TEMPLATES['post']\n    'template:posts/byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:posts.byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:blogPost'       //=> Ember.TEMPLATES['blog-post']\n    'controller:post'         //=> App.PostController\n    'controller:posts.index'  //=> App.PostsIndexController\n    'controller:blog/post'    //=> Blog.PostController\n    'controller:basic'        //=> Controller\n    'route:post'              //=> App.PostRoute\n    'route:posts.index'       //=> App.PostsIndexRoute\n    'route:blog/post'         //=> Blog.PostRoute\n    'route:basic'             //=> Route\n    'foo:post'                //=> App.PostFoo\n    'model:post'              //=> App.Post\n    ```\n  \n    @class GlobalsResolver\n    @extends EmberObject\n    @public\n    @deprecated\n  */\n  var DefaultResolver;\n\n  if (_deprecatedFeatures.GLOBALS_RESOLVER) {\n    DefaultResolver = class DefaultResolver extends _runtime.Object {\n      static create(props) {\n        // DO NOT REMOVE even though this doesn't do anything\n        // This is required for a FireFox 60+ JIT bug with our tests.\n        // without it, create(props) in our tests would lose props on a deopt.\n        return super.create(props);\n      }\n      /**\n        This will be set to the Application instance when it is\n        created.\n         @property namespace\n        @public\n        @deprecated\n      */\n\n\n      init() {\n        (true && !(false) && (0, _debug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n          until: '4.0.0',\n          id: 'globals-resolver',\n          url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver'\n        }));\n        this._parseNameCache = (0, _utils.dictionary)(null);\n      }\n\n      normalize(fullName) {\n        var [type, name] = fullName.split(':');\n        (true && !(fullName.split(':').length === 2) && (0, _debug.assert)('Tried to normalize a container name without a colon (:) in it. ' + 'You probably tried to lookup a name that did not contain a type, ' + 'a colon, and a name. A proper lookup name would be `view:post`.', fullName.split(':').length === 2));\n\n        if (type !== 'template') {\n          var result = name.replace(/(\\.|_|-)./g, m => m.charAt(1).toUpperCase());\n          return `${type}:${result}`;\n        } else {\n          return fullName;\n        }\n      }\n      /**\n        This method is called via the container's resolver method.\n        It parses the provided `fullName` and then looks up and\n        returns the appropriate template or class.\n         @method resolve\n        @param {String} fullName the lookup string\n        @return {Object} the resolved factory\n        @public\n      */\n\n\n      resolve(fullName) {\n        var parsedName = this.parseName(fullName);\n        var resolveMethodName = parsedName.resolveMethodName;\n        var resolved;\n\n        if (this[resolveMethodName]) {\n          resolved = this[resolveMethodName](parsedName);\n        }\n\n        resolved = resolved || this.resolveOther(parsedName);\n\n        if (true\n        /* DEBUG */\n        ) {\n          if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n            this._logLookup(resolved, parsedName);\n          }\n\n          if (resolved) {\n            var VALIDATED_TYPES = {\n              route: ['isRouteFactory', 'Ember.Route'],\n              component: ['isComponentFactory', 'Ember.Component'],\n              view: ['isViewFactory', 'Ember.View'],\n              service: ['isServiceFactory', 'Ember.Service']\n            };\n            var validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n            if (validationAttributes) {\n              var [factoryFlag, expectedType] = validationAttributes;\n              (true && !(Boolean(resolved[factoryFlag])) && (0, _debug.assert)(`Expected ${parsedName.fullName} to resolve to an ${expectedType} but ` + `instead it was ${resolved}.`, Boolean(resolved[factoryFlag])));\n            }\n          }\n        }\n\n        return resolved;\n      }\n      /**\n        Convert the string name of the form 'type:name' to\n        a Javascript object with the parsed aspects of the name\n        broken out.\n         @param {String} fullName the lookup string\n        @method parseName\n        @protected\n      */\n\n\n      parseName(fullName) {\n        return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n      }\n\n      _parseName(fullName) {\n        var [type, fullNameWithoutType] = fullName.split(':');\n        var name = fullNameWithoutType;\n        var namespace = (0, _metal.get)(this, 'namespace');\n        var root = namespace;\n        var lastSlashIndex = name.lastIndexOf('/');\n        var dirname = lastSlashIndex !== -1 ? name.slice(0, lastSlashIndex) : null;\n\n        if (type !== 'template' && lastSlashIndex !== -1) {\n          var parts = name.split('/');\n          name = parts[parts.length - 1];\n          var namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n          root = (0, _metal.findNamespace)(namespaceName);\n          (true && !(root) && (0, _debug.assert)(`You are looking for a ${name} ${type} in the ${namespaceName} namespace, but the namespace could not be found`, root));\n        }\n\n        var resolveMethodName = fullNameWithoutType === 'main' ? 'Main' : (0, _string.classify)(type);\n\n        if (!(name && type)) {\n          throw new TypeError(`Invalid fullName: \\`${fullName}\\`, must be of the form \\`type:name\\` `);\n        }\n\n        return {\n          fullName,\n          type,\n          fullNameWithoutType,\n          dirname,\n          name,\n          root,\n          resolveMethodName: `resolve${resolveMethodName}`\n        };\n      }\n      /**\n        Returns a human-readable description for a fullName. Used by the\n        Application namespace in assertions to describe the\n        precise name of the class that Ember is looking for, rather than\n        container keys.\n         @param {String} fullName the lookup string\n        @method lookupDescription\n        @protected\n      */\n\n\n      lookupDescription(fullName) {\n        var parsedName = this.parseName(fullName);\n        var description;\n\n        if (parsedName.type === 'template') {\n          return `template at ${parsedName.fullNameWithoutType.replace(/\\./g, '/')}`;\n        }\n\n        description = `${parsedName.root}.${(0, _string.classify)(parsedName.name).replace(/\\./g, '')}`;\n\n        if (parsedName.type !== 'model') {\n          description += (0, _string.classify)(parsedName.type);\n        }\n\n        return description;\n      }\n\n      makeToString(factory) {\n        return factory.toString();\n      }\n      /**\n        Given a parseName object (output from `parseName`), apply\n        the conventions expected by `Router`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method useRouterNaming\n        @protected\n      */\n\n\n      useRouterNaming(parsedName) {\n        if (parsedName.name === 'basic') {\n          parsedName.name = '';\n        } else {\n          parsedName.name = parsedName.name.replace(/\\./g, '_');\n        }\n      }\n      /**\n        Look up the template in Ember.TEMPLATES\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveTemplate\n        @protected\n      */\n\n\n      resolveTemplate(parsedName) {\n        var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n        return (0, _glimmer.getTemplate)(templateName) || (0, _glimmer.getTemplate)((0, _string.decamelize)(templateName));\n      }\n      /**\n        Lookup the view using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveView\n        @protected\n      */\n\n\n      resolveView(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the controller using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveController\n        @protected\n      */\n\n\n      resolveController(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the route using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveRoute\n        @protected\n      */\n\n\n      resolveRoute(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the model on the Application namespace\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveModel\n        @protected\n      */\n\n\n      resolveModel(parsedName) {\n        var className = (0, _string.classify)(parsedName.name);\n        var factory = (0, _metal.get)(parsedName.root, className);\n        return factory;\n      }\n      /**\n        Look up the specified object (from parsedName) on the appropriate\n        namespace (usually on the Application)\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveHelper\n        @protected\n      */\n\n\n      resolveHelper(parsedName) {\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Look up the specified object (from parsedName) on the appropriate\n        namespace (usually on the Application)\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveOther\n        @protected\n      */\n\n\n      resolveOther(parsedName) {\n        var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n        var factory = (0, _metal.get)(parsedName.root, className);\n        return factory;\n      }\n\n      resolveMain(parsedName) {\n        var className = (0, _string.classify)(parsedName.type);\n        return (0, _metal.get)(parsedName.root, className);\n      }\n      /**\n        Used to iterate all items of a given type.\n         @method knownForType\n        @param {String} type the type to search for\n        @private\n      */\n\n\n      knownForType(type) {\n        var namespace = (0, _metal.get)(this, 'namespace');\n        var suffix = (0, _string.classify)(type);\n        var typeRegexp = new RegExp(`${suffix}$`);\n        var known = (0, _utils.dictionary)(null);\n        var knownKeys = Object.keys(namespace);\n\n        for (var index = 0; index < knownKeys.length; index++) {\n          var name = knownKeys[index];\n\n          if (typeRegexp.test(name)) {\n            var containerName = this.translateToContainerFullname(type, name);\n            known[containerName] = true;\n          }\n        }\n\n        return known;\n      }\n      /**\n        Converts provided name from the backing namespace into a container lookup name.\n         Examples:\n         * App.FooBarHelper -> helper:foo-bar\n        * App.THelper -> helper:t\n         @method translateToContainerFullname\n        @param {String} type\n        @param {String} name\n        @private\n      */\n\n\n      translateToContainerFullname(type, name) {\n        var suffix = (0, _string.classify)(type);\n        var namePrefix = name.slice(0, suffix.length * -1);\n        var dasherizedName = (0, _string.dasherize)(namePrefix);\n        return `${type}:${dasherizedName}`;\n      }\n\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n      /**\n          @method _logLookup\n          @param {Boolean} found\n          @param {Object} parsedName\n          @private\n        */\n      DefaultResolver.prototype._logLookup = function (found, parsedName) {\n        var symbol = found ? '[✓]' : '[ ]';\n        var padding;\n\n        if (parsedName.fullName.length > 60) {\n          padding = '.';\n        } else {\n          padding = new Array(60 - parsedName.fullName.length).join('.');\n        }\n\n        (0, _debug.info)(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n      };\n    }\n  }\n\n  var _default = DefaultResolver;\n  _exports.default = _default;\n});","define(\"@ember/application/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/application/lib/lazy_load\", \"@ember/application/lib/application\"], function (_exports, _owner, _lazy_load, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"getOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.getOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.setOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"onLoad\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.onLoad;\n    }\n  });\n  Object.defineProperty(_exports, \"runLoadHooks\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.runLoadHooks;\n    }\n  });\n  Object.defineProperty(_exports, \"_loaded\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load._loaded;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _application.default;\n    }\n  });\n});","define(\"@ember/application/instance\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views\", \"@ember/engine/instance\", \"@ember/-internals/glimmer\"], function (_exports, _polyfills, _metal, environment, _views, _instance, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The `ApplicationInstance` encapsulates all of the stateful aspects of a\n    running `Application`.\n  \n    At a high-level, we break application boot into two distinct phases:\n  \n    * Definition time, where all of the classes, templates, and other\n      dependencies are loaded (typically in the browser).\n    * Run time, where we begin executing the application once everything\n      has loaded.\n  \n    Definition time can be expensive and only needs to happen once since it is\n    an idempotent operation. For example, between test runs and FastBoot\n    requests, the application stays the same. It is only the state that we want\n    to reset.\n  \n    That state is what the `ApplicationInstance` manages: it is responsible for\n    creating the container that contains all application state, and disposing of\n    it once the particular test run or FastBoot request has finished.\n  \n    @public\n    @class ApplicationInstance\n    @extends EngineInstance\n  */\n  var ApplicationInstance = _instance.default.extend({\n    /**\n      The `Application` for which this is an instance.\n       @property {Application} application\n      @private\n    */\n    application: null,\n\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       @private\n      @property {Object} customEvents\n    */\n    customEvents: null,\n\n    /**\n      The root DOM element of the Application as an element or a\n      [jQuery-compatible selector\n      string](http://api.jquery.com/category/selectors/).\n       @private\n      @property {String|DOMElement} rootElement\n    */\n    rootElement: null,\n\n    init() {\n      this._super(...arguments);\n\n      this.application._watchInstance(this); // Register this instance in the per-instance registry.\n      //\n      // Why do we need to register the instance in the first place?\n      // Because we need a good way for the root route (a.k.a ApplicationRoute)\n      // to notify us when it has created the root-most view. That view is then\n      // appended to the rootElement, in the case of apps, to the fixture harness\n      // in tests, or rendered to a string in the case of FastBoot.\n\n\n      this.register('-application-instance:main', this, {\n        instantiate: false\n      });\n    },\n\n    /**\n      Overrides the base `EngineInstance._bootSync` method with concerns relevant\n      to booting application (instead of engine) instances.\n       This method should only contain synchronous boot concerns. Asynchronous\n      boot concerns should eventually be moved to the `boot` method, which\n      returns a promise.\n       Until all boot code has been made asynchronous, we need to continue to\n      expose this method for use *internally* in places where we need to boot an\n      instance synchronously.\n       @private\n    */\n    _bootSync(options) {\n      if (this._booted) {\n        return this;\n      }\n\n      options = new BootOptions(options);\n      this.setupRegistry(options);\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } else {\n        this.rootElement = this.application.rootElement;\n      }\n\n      if (options.location) {\n        (0, _metal.set)(this.router, 'location', options.location);\n      }\n\n      this.application.runInstanceInitializers(this);\n\n      if (options.isInteractive) {\n        this.setupEventDispatcher();\n      }\n\n      this._booted = true;\n      return this;\n    },\n\n    setupRegistry(options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    router: (0, _metal.computed)(function () {\n      return this.lookup('router:main');\n    }).readOnly(),\n\n    /**\n      This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n      when it has finished creating the root View. By default, we simply take the\n      view and append it to the `rootElement` specified on the Application.\n       In cases like FastBoot and testing, we can override this hook and implement\n      custom behavior, such as serializing to a string and sending over an HTTP\n      socket rather than appending to DOM.\n       @param view {Ember.View} the root-most view\n      @deprecated\n      @private\n    */\n    didCreateRootView(view) {\n      view.appendTo(this.rootElement);\n    },\n\n    /**\n      Tells the router to start routing. The router will ask the location for the\n      current URL of the page to determine the initial URL to start routing to.\n      To start the app at a specific URL, call `handleURL` instead.\n       @private\n    */\n    startRouting() {\n      this.router.startRouting();\n      this._didSetupRouter = true;\n    },\n\n    /**\n      Sets up the router, initializing the child router and configuring the\n      location before routing begins.\n       Because setup should only occur once, multiple calls to `setupRouter`\n      beyond the first call have no effect.\n      \n      This is commonly used in order to confirm things that rely on the router\n      are functioning properly from tests that are primarily rendering related.\n      \n      For example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n      `setupRenderingTest` calling `this.owner.setupRouter()` would allow that\n      rendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\n      have the correct URL.\n      \n      @public\n    */\n    setupRouter() {\n      if (this._didSetupRouter) {\n        return;\n      }\n\n      this._didSetupRouter = true;\n      this.router.setupRouter();\n    },\n\n    /**\n      Directs the router to route to a particular URL. This is useful in tests,\n      for example, to tell the app to start at a particular URL.\n       @param url {String} the URL the router should route to\n      @private\n    */\n    handleURL(url) {\n      this.setupRouter();\n      return this.router.handleURL(url);\n    },\n\n    /**\n      @private\n    */\n    setupEventDispatcher() {\n      var dispatcher = this.lookup('event_dispatcher:main');\n      var applicationCustomEvents = (0, _metal.get)(this.application, 'customEvents');\n      var instanceCustomEvents = (0, _metal.get)(this, 'customEvents');\n      var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n      dispatcher.setup(customEvents, this.rootElement);\n      return dispatcher;\n    },\n\n    /**\n      Returns the current URL of the app instance. This is useful when your\n      app does not update the browsers URL bar (i.e. it uses the `'none'`\n      location adapter).\n       @public\n      @return {String} the current URL\n    */\n    getURL() {\n      return this.router.url;\n    },\n\n    // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n    // the test helpers can probably be switched to use this implementation too\n\n    /**\n      Navigate the instance to a particular URL. This is useful in tests, for\n      example, or to tell the app to start at a particular URL. This method\n      returns a promise that resolves with the app instance when the transition\n      is complete, or rejects if the transion was aborted due to an error.\n       @public\n      @param url {String} the destination URL\n      @return {Promise<ApplicationInstance>}\n    */\n    visit(url) {\n      this.setupRouter();\n\n      var bootOptions = this.__container__.lookup('-environment:main');\n\n      var router = this.router;\n\n      var handleTransitionResolve = () => {\n        if (!bootOptions.options.shouldRender) {\n          // No rendering is needed, and routing has completed, simply return.\n          return this;\n        } else {\n          // Ensure that the visit promise resolves when all rendering has completed\n          return (0, _glimmer.renderSettled)().then(() => this);\n        }\n      };\n\n      var handleTransitionReject = error => {\n        if (error.error) {\n          throw error.error;\n        } else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {\n          return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);\n        } else if (error.name === 'TransitionAborted') {\n          throw new Error(error.message);\n        } else {\n          throw error;\n        }\n      };\n\n      var location = (0, _metal.get)(router, 'location'); // Keeps the location adapter's internal URL in-sync\n\n      location.setURL(url); // getURL returns the set url with the rootURL stripped off\n\n      return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n    },\n\n    willDestroy() {\n      this._super(...arguments);\n\n      this.application._unwatchInstance(this);\n    }\n\n  });\n\n  ApplicationInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n    */\n    setupRegistry(registry, options = {}) {\n      if (!options.toEnvironment) {\n        options = new BootOptions(options);\n      }\n\n      registry.register('-environment:main', options.toEnvironment(), {\n        instantiate: false\n      });\n      registry.register('service:-document', options.document, {\n        instantiate: false\n      });\n\n      this._super(registry, options);\n    }\n\n  });\n  /**\n    A list of boot-time configuration options for customizing the behavior of\n    an `ApplicationInstance`.\n  \n    This is an interface class that exists purely to document the available\n    options; you do not need to construct it manually. Simply pass a regular\n    JavaScript object containing the desired options into methods that require\n    one of these options object:\n  \n    ```javascript\n    MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n    ```\n  \n    Not all combinations of the supported options are valid. See the documentation\n    on `Application#visit` for the supported configurations.\n  \n    Internal, experimental or otherwise unstable flags are marked as private.\n  \n    @class BootOptions\n    @namespace ApplicationInstance\n    @public\n  */\n\n  class BootOptions {\n    constructor(options = {}) {\n      /**\n        Provide a specific instance of jQuery. This is useful in conjunction with\n        the `document` option, as it allows you to use a copy of `jQuery` that is\n        appropriately bound to the foreign `document` (e.g. a jsdom).\n         This is highly experimental and support very incomplete at the moment.\n         @property jQuery\n        @type Object\n        @default auto-detected\n        @private\n      */\n      this.jQuery = _views.jQuery; // This default is overridable below\n\n      /**\n        Interactive mode: whether we need to set up event delegation and invoke\n        lifecycle callbacks on Components.\n         @property isInteractive\n        @type boolean\n        @default auto-detected\n        @private\n      */\n\n      this.isInteractive = environment.hasDOM; // This default is overridable below\n\n      /**\n        @property _renderMode\n        @type string\n        @default false\n        @private\n      */\n\n      this._renderMode = options._renderMode;\n      /**\n        Run in a full browser environment.\n         When this flag is set to `false`, it will disable most browser-specific\n        and interactive features. Specifically:\n         * It does not use `jQuery` to append the root view; the `rootElement`\n          (either specified as a subsequent option or on the application itself)\n          must already be an `Element` in the given `document` (as opposed to a\n          string selector).\n         * It does not set up an `EventDispatcher`.\n         * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n         * It sets the `location` option to `\"none\"`. (If you would like to use\n          the location adapter specified in the app's router instead, you can also\n          specify `{ location: null }` to specifically opt-out.)\n         @property isBrowser\n        @type boolean\n        @default auto-detected\n        @public\n      */\n\n      if (options.isBrowser !== undefined) {\n        this.isBrowser = Boolean(options.isBrowser);\n      } else {\n        this.isBrowser = environment.hasDOM;\n      }\n\n      if (!this.isBrowser) {\n        this.jQuery = null;\n        this.isInteractive = false;\n        this.location = 'none';\n      }\n      /**\n        Disable rendering completely.\n         When this flag is set to `false`, it will disable the entire rendering\n        pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n        templates will be rendered, and no Components will be created.\n         @property shouldRender\n        @type boolean\n        @default true\n        @public\n      */\n\n\n      if (options.shouldRender !== undefined) {\n        this.shouldRender = Boolean(options.shouldRender);\n      } else {\n        this.shouldRender = true;\n      }\n\n      if (!this.shouldRender) {\n        this.jQuery = null;\n        this.isInteractive = false;\n      }\n      /**\n        If present, render into the given `Document` object instead of the\n        global `window.document` object.\n         In practice, this is only useful in non-browser environment or in\n        non-interactive mode, because Ember's `jQuery` dependency is\n        implicitly bound to the current document, causing event delegation\n        to not work properly when the app is rendered into a foreign\n        document object (such as an iframe's `contentDocument`).\n         In non-browser mode, this could be a \"`Document`-like\" object as\n        Ember only interact with a small subset of the DOM API in non-\n        interactive mode. While the exact requirements have not yet been\n        formalized, the `SimpleDOM` library's implementation is known to\n        work.\n         @property document\n        @type Document\n        @default the global `document` object\n        @public\n      */\n\n\n      if (options.document) {\n        this.document = options.document;\n      } else {\n        this.document = typeof document !== 'undefined' ? document : null;\n      }\n      /**\n        If present, overrides the application's `rootElement` property on\n        the instance. This is useful for testing environment, where you\n        might want to append the root view to a fixture area.\n         In non-browser mode, because Ember does not have access to jQuery,\n        this options must be specified as a DOM `Element` object instead of\n        a selector string.\n         See the documentation on `Application`'s `rootElement` for\n        details.\n         @property rootElement\n        @type String|Element\n        @default null\n        @public\n       */\n\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } // Set these options last to give the user a chance to override the\n      // defaults from the \"combo\" options like `isBrowser` (although in\n      // practice, the resulting combination is probably invalid)\n\n      /**\n        If present, overrides the router's `location` property with this\n        value. This is useful for environments where trying to modify the\n        URL would be inappropriate.\n         @property location\n        @type string\n        @default null\n        @public\n      */\n\n\n      if (options.location !== undefined) {\n        this.location = options.location;\n      }\n\n      if (options.jQuery !== undefined) {\n        this.jQuery = options.jQuery;\n      }\n\n      if (options.isInteractive !== undefined) {\n        this.isInteractive = Boolean(options.isInteractive);\n      }\n    }\n\n    toEnvironment() {\n      // Do we really want to assign all of this!?\n      var env = (0, _polyfills.assign)({}, environment); // For compatibility with existing code\n\n      env.hasDOM = this.isBrowser;\n      env.isInteractive = this.isInteractive;\n      env._renderMode = this._renderMode;\n      env.options = this;\n      return env;\n    }\n\n  }\n\n  var _default = ApplicationInstance;\n  _exports.default = _default;\n});","define(\"@ember/application/lib/application\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/debug\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/application/lib/lazy_load\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/-internals/container\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _routing, _instance, _engine, _container, _glimmer, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/application\n  */\n  var librariesRegistered = false;\n  /**\n    An instance of `Application` is the starting point for every Ember\n    application. It instantiates, initializes and coordinates the\n    objects that make up your app.\n  \n    Each Ember app has one and only one `Application` object. Although\n    Ember CLI creates this object implicitly, the `Application` class\n    is defined in the `app/app.js`. You can define a `ready` method on the\n    `Application` class, which will be run by Ember when the application is\n    initialized.\n  \n    ```app/app.js\n    const App = Application.extend({\n      ready() {\n        // your code here\n      }\n    })\n    ```\n  \n    Because `Application` ultimately inherits from `Ember.Namespace`, any classes\n    you create will have useful string representations when calling `toString()`.\n    See the `Ember.Namespace` documentation for more information.\n  \n    While you can think of your `Application` as a container that holds the\n    other classes in your application, there are several other responsibilities\n    going on under-the-hood that you may want to understand. It is also important\n    to understand that an `Application` is different from an `ApplicationInstance`.\n    Refer to the Guides to understand the difference between these.\n  \n    ### Event Delegation\n  \n    Ember uses a technique called _event delegation_. This allows the framework\n    to set up a global, shared event listener instead of requiring each view to\n    do it manually. For example, instead of each view registering its own\n    `mousedown` listener on its associated element, Ember sets up a `mousedown`\n    listener on the `body`.\n  \n    If a `mousedown` event occurs, Ember will look at the target of the event and\n    start walking up the DOM node tree, finding corresponding views and invoking\n    their `mouseDown` method as it goes.\n  \n    `Application` has a number of default events that it listens for, as\n    well as a mapping from lowercase events to camel-cased view method names. For\n    example, the `keypress` event causes the `keyPress` method on the view to be\n    called, the `dblclick` event causes `doubleClick` to be called, and so on.\n  \n    If there is a bubbling browser event that Ember does not listen for by\n    default, you can specify custom events and their corresponding view method\n    names by setting the application's `customEvents` property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      customEvents: {\n        // add support for the paste event\n        paste: 'paste'\n      }\n    });\n    ```\n  \n    To prevent Ember from setting up a listener for a default event,\n    specify the event name with a `null` value in the `customEvents`\n    property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      customEvents: {\n        // prevent listeners for mouseenter/mouseleave events\n        mouseenter: null,\n        mouseleave: null\n      }\n    });\n    ```\n  \n    By default, the application sets up these event listeners on the document\n    body. However, in cases where you are embedding an Ember application inside\n    an existing page, you may want it to set up the listeners on an element\n    inside the body.\n  \n    For example, if only events inside a DOM element with the ID of `ember-app`\n    should be delegated, set your application's `rootElement` property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      rootElement: '#ember-app'\n    });\n    ```\n  \n    The `rootElement` can be either a DOM element or a jQuery-compatible selector\n    string. Note that *views appended to the DOM outside the root element will\n    not receive events.* If you specify a custom root element, make sure you only\n    append views inside it!\n  \n    To learn more about the events Ember components use, see\n  \n    [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n  \n    ### Initializers\n  \n    To add behavior to the Application's boot process, you can define initializers in\n    the `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\n    These files should export a named `initialize` function which will receive the created `application`\n    object as its first argument.\n  \n    ```javascript\n    export function initialize(application) {\n      // application.inject('route', 'foo', 'service:foo');\n    }\n    ```\n  \n    Application initializers can be used for a variety of reasons including:\n  \n    - setting up external libraries\n    - injecting dependencies\n    - setting up event listeners in embedded apps\n    - deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n  \n    ### Routing\n  \n    In addition to creating your application's router, `Application` is\n    also responsible for telling the router when to start routing. Transitions\n    between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n    detailed intra-transition logging can be logged with\n    the `LOG_TRANSITIONS_INTERNAL` flag:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\n      LOG_TRANSITIONS: true, // basic logging of successful transitions\n      LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n    });\n    ```\n  \n    By default, the router will begin trying to translate the current URL into\n    application state once the browser emits the `DOMContentReady` event. If you\n    need to defer routing, you can call the application's `deferReadiness()`\n    method. Once routing can begin, call the `advanceReadiness()` method.\n  \n    If there is any setup required before routing begins, you can implement a\n    `ready()` method on your app that will be invoked immediately before routing\n    begins.\n  \n    @class Application\n    @extends Engine\n    @uses RegistryProxyMixin\n    @public\n  */\n\n  var Application = _engine.default.extend({\n    /**\n      The root DOM element of the Application. This can be specified as an\n      element or a\n      [jQuery-compatible selector string](http://api.jquery.com/category/selectors/).\n       This is the element that will be passed to the Application's,\n      `eventDispatcher`, which sets up the listeners for event delegation. Every\n      view in your application should be a child of the element you specify here.\n       @property rootElement\n      @type DOMElement\n      @default 'body'\n      @public\n    */\n    rootElement: 'body',\n\n    /**\n      The `Ember.EventDispatcher` responsible for delegating events to this\n      application's views.\n       The event dispatcher is created by the application at initialization time\n      and sets up event listeners on the DOM element described by the\n      application's `rootElement` property.\n       See the documentation for `Ember.EventDispatcher` for more information.\n       @property eventDispatcher\n      @type Ember.EventDispatcher\n      @default null\n      @public\n    */\n    eventDispatcher: null,\n\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       If you would like additional bubbling events to be delegated to your\n      views, set your `Application`'s `customEvents` property\n      to a hash containing the DOM event name as the key and the\n      corresponding view method name as the value. Setting an event to\n      a value of `null` will prevent a default event listener from being\n      added for that event.\n       To add new events to be listened to:\n       ```app/app.js\n      import Application from '@ember/application';\n       let App = Application.extend({\n        customEvents: {\n          // add support for the paste event\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```app/app.js\n      import Application from '@ember/application';\n       let App = Application.extend({\n        customEvents: {\n          // remove support for mouseenter / mouseleave events\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property customEvents\n      @type Object\n      @default null\n      @public\n    */\n    customEvents: null,\n\n    /**\n      Whether the application should automatically start routing and render\n      templates to the `rootElement` on DOM ready. While default by true,\n      other environments such as FastBoot or a testing harness can set this\n      property to `false` and control the precise timing and behavior of the boot\n      process.\n       @property autoboot\n      @type Boolean\n      @default true\n      @private\n    */\n    autoboot: true,\n\n    /**\n      Whether the application should be configured for the legacy \"globals mode\".\n      Under this mode, the Application object serves as a global namespace for all\n      classes.\n       ```javascript\n      import Application from '@ember/application';\n      import Component from '@ember/component';\n       let App = Application.create({\n        ...\n      });\n       App.Router.reopen({\n        location: 'none'\n      });\n       App.Router.map({\n        ...\n      });\n       App.MyComponent = Component.extend({\n        ...\n      });\n      ```\n       This flag also exposes other internal APIs that assumes the existence of\n      a special \"default instance\", like `App.__container__.lookup(...)`.\n       This option is currently not configurable, its value is derived from\n      the `autoboot` flag – disabling `autoboot` also implies opting-out of\n      globals mode support, although they are ultimately orthogonal concerns.\n       Some of the global modes features are already deprecated in 1.x. The\n      existence of this flag is to untangle the globals mode code paths from\n      the autoboot code paths, so that these legacy features can be reviewed\n      for deprecation/removal separately.\n       Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n      would reveal all the places where we are still relying on these legacy\n      behavior internally (mostly just tests).\n       @property _globalsMode\n      @type Boolean\n      @default true\n      @private\n    */\n    _globalsMode: true,\n\n    /**\n      An array of application instances created by `buildInstance()`. Used\n      internally to ensure that all instances get destroyed.\n       @property _applicationInstances\n      @type Array\n      @default null\n      @private\n    */\n    _applicationInstances: null,\n\n    init() {\n      // eslint-disable-line no-unused-vars\n      this._super(...arguments);\n\n      if (!this.$) {\n        this.$ = _views.jQuery;\n      }\n\n      registerLibraries();\n\n      if (true\n      /* DEBUG */\n      ) {\n        if (_environment.ENV.LOG_VERSION) {\n          // we only need to see this once per Application#init\n          _environment.ENV.LOG_VERSION = false;\n\n          _metal.libraries.logVersions();\n        }\n      } // Start off the number of deferrals at 1. This will be decremented by\n      // the Application's own `boot` method.\n\n\n      this._readinessDeferrals = 1;\n      this._booted = false;\n      this._applicationInstances = new Set();\n      this.autoboot = this._globalsMode = Boolean(this.autoboot);\n\n      if (this._globalsMode) {\n        this._prepareForGlobalsMode();\n      }\n\n      if (this.autoboot) {\n        this.waitForDOMReady();\n      }\n    },\n\n    /**\n      Create an ApplicationInstance for this application.\n       @public\n      @method buildInstance\n      @return {ApplicationInstance} the application instance\n    */\n    buildInstance(options = {}) {\n      options.base = this;\n      options.application = this;\n      return _instance.default.create(options);\n    },\n\n    /**\n      Start tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is created.\n       @private\n      @method _watchInstance\n    */\n    _watchInstance(instance) {\n      this._applicationInstances.add(instance);\n    },\n\n    /**\n      Stop tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is about to be destroyed.\n       @private\n      @method _unwatchInstance\n    */\n    _unwatchInstance(instance) {\n      return this._applicationInstances.delete(instance);\n    },\n\n    /**\n      Enable the legacy globals mode by allowing this application to act\n      as a global namespace. See the docs on the `_globalsMode` property\n      for details.\n       Most of these features are already deprecated in 1.x, so we can\n      stop using them internally and try to remove them.\n       @private\n      @method _prepareForGlobalsMode\n    */\n    _prepareForGlobalsMode() {\n      // Create subclass of Router for this Application instance.\n      // This is to ensure that someone reopening `App.Router` does not\n      // tamper with the default `Router`.\n      this.Router = (this.Router || _routing.Router).extend();\n\n      this._buildDeprecatedInstance();\n    },\n\n    /*\n      Build the deprecated instance for legacy globals mode support.\n      Called when creating and resetting the application.\n       This is orthogonal to autoboot: the deprecated instance needs to\n      be created at Application construction (not boot) time to expose\n      App.__container__. If autoboot sees that this instance exists,\n      it will continue booting it to avoid doing unncessary work (as\n      opposed to building a new instance at boot time), but they are\n      otherwise unrelated.\n       @private\n      @method _buildDeprecatedInstance\n    */\n    _buildDeprecatedInstance() {\n      // Build a default instance\n      var instance = this.buildInstance(); // Legacy support for App.__container__ and other global methods\n      // on App that rely on a single, default instance.\n\n      this.__deprecatedInstance__ = instance;\n      this.__container__ = instance.__container__;\n    },\n\n    /**\n      Automatically kick-off the boot process for the application once the\n      DOM has become ready.\n       The initialization itself is scheduled on the actions queue which\n      ensures that code-loading finishes before booting.\n       If you are asynchronously loading code, you should call `deferReadiness()`\n      to defer booting, and then call `advanceReadiness()` once all of your code\n      has finished loading.\n       @private\n      @method waitForDOMReady\n    */\n    waitForDOMReady() {\n      if (!this.$ || this.$.isReady) {\n        (0, _runloop.schedule)('actions', this, 'domReady');\n      } else {\n        this.$().ready((0, _runloop.bind)(this, 'domReady'));\n      }\n    },\n\n    /**\n      This is the autoboot flow:\n       1. Boot the app by calling `this.boot()`\n      2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n      3. Boot the instance by calling `instance.boot()`\n      4. Invoke the `App.ready()` callback\n      5. Kick-off routing on the instance\n       Ideally, this is all we would need to do:\n       ```javascript\n      _autoBoot() {\n        this.boot().then(() => {\n          let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n          return instance.boot();\n        }).then((instance) => {\n          App.ready();\n          instance.startRouting();\n        });\n      }\n      ```\n       Unfortunately, we cannot actually write this because we need to participate\n      in the \"synchronous\" boot process. While the code above would work fine on\n      the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n      boot a new instance synchronously (see the documentation on `_bootSync()`\n      for details).\n       Because of this restriction, the actual logic of this method is located\n      inside `didBecomeReady()`.\n       @private\n      @method domReady\n    */\n    domReady() {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      this._bootSync(); // Continues to `didBecomeReady`\n\n    },\n\n    /**\n      Use this to defer readiness until some condition is true.\n       Example:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create();\n       App.deferReadiness();\n       // $ is a reference to the jQuery object/function\n      import $ from 'jquery;\n       $.getJSON('/auth-token', function(token) {\n        App.token = token;\n        App.advanceReadiness();\n      });\n      ```\n       This allows you to perform asynchronous setup logic and defer\n      booting your application until the setup has finished.\n       However, if the setup requires a loading UI, it might be better\n      to use the router for this purpose.\n       @method deferReadiness\n      @public\n    */\n    deferReadiness() {\n      (true && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application));\n      (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0));\n      this._readinessDeferrals++;\n    },\n\n    /**\n      Call `advanceReadiness` after any asynchronous setup logic has completed.\n      Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n      or the application will never become ready and routing will not begin.\n       @method advanceReadiness\n      @see {Application#deferReadiness}\n      @public\n    */\n    advanceReadiness() {\n      (true && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application));\n      this._readinessDeferrals--;\n\n      if (this._readinessDeferrals === 0) {\n        (0, _runloop.once)(this, this.didBecomeReady);\n      }\n    },\n\n    /**\n      Initialize the application and return a promise that resolves with the `Application`\n      object when the boot process is complete.\n       Run any application initializers and run the application load hook. These hooks may\n      choose to defer readiness. For example, an authentication hook might want to defer\n      readiness until the auth token has been retrieved.\n       By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n      is disabled, this is automatically called when the first application instance is\n      created via `visit`.\n       @public\n      @method boot\n      @return {Promise<Application,Error>}\n    */\n    boot() {\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      try {\n        this._bootSync();\n      } catch (_) {// Ignore the error: in the asynchronous boot path, the error is already reflected\n        // in the promise rejection\n      }\n\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes the booting process is\n      \"synchronous\". Specifically, a lot of tests assumes the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in the app being\n      fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this assumption,\n      so we created the asynchronous version above that returns a promise. But until\n      we have migrated all the code, we would have to expose this method for use\n      *internally* in places where we need to boot an app \"synchronously\".\n       @private\n    */\n    _bootSync() {\n      if (this._booted) {\n        return;\n      } // Even though this returns synchronously, we still need to make sure the\n      // boot promise exists for book-keeping purposes: if anything went wrong in\n      // the boot process, we need to store the error as a rejection on the boot\n      // promise so that a future caller of `boot()` can tell what failed.\n\n\n      var defer = this._bootResolver = _runtime.RSVP.defer();\n\n      this._bootPromise = defer.promise;\n\n      try {\n        this.runInitializers();\n        (0, _lazy_load.runLoadHooks)('application', this);\n        this.advanceReadiness(); // Continues to `didBecomeReady`\n      } catch (error) {\n        // For the asynchronous boot path\n        defer.reject(error); // For the synchronous boot path\n\n        throw error;\n      }\n    },\n\n    /**\n      Reset the application. This is typically used only in tests. It cleans up\n      the application in the following order:\n       1. Deactivate existing routes\n      2. Destroy all objects in the container\n      3. Create a new application container\n      4. Re-route to the existing url\n       Typical Example:\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          App.reset();\n        }\n      });\n       test('first test', function() {\n        // App is freshly reset\n      });\n       test('second test', function() {\n        // App is again freshly reset\n      });\n      ```\n       Advanced Example:\n       Occasionally you may want to prevent the app from initializing during\n      setup. This could enable extra configuration, or enable asserting prior\n      to the app becoming ready.\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          run(function() {\n            App.reset();\n            App.deferReadiness();\n          });\n        }\n      });\n       test('first test', function() {\n        ok(true, 'something before app is initialized');\n         run(function() {\n          App.advanceReadiness();\n        });\n         ok(true, 'something after app is initialized');\n      });\n      ```\n       @method reset\n      @public\n    */\n    reset() {\n      (true && !(this._globalsMode && this.autoboot) && (0, _debug.assert)(`Calling reset() on instances of \\`Application\\` is not\n            supported when globals mode is disabled; call \\`visit()\\` to\n            create new \\`ApplicationInstance\\`s and dispose them\n            via their \\`destroy()\\` method instead.`, this._globalsMode && this.autoboot));\n      var instance = this.__deprecatedInstance__;\n      this._readinessDeferrals = 1;\n      this._bootPromise = null;\n      this._bootResolver = null;\n      this._booted = false;\n\n      function handleReset() {\n        (0, _runloop.run)(instance, 'destroy');\n\n        this._buildDeprecatedInstance();\n\n        (0, _runloop.schedule)('actions', this, '_bootSync');\n      }\n\n      (0, _runloop.join)(this, handleReset);\n    },\n\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady() {\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        if (!(0, _debug.isTesting)()) {\n          // Eagerly name all classes that are already loaded\n          (0, _metal.processAllNamespaces)();\n          (0, _metal.setNamespaceSearchDisabled)(true);\n        } // See documentation on `_autoboot()` for details\n\n\n        if (this.autoboot) {\n          var instance;\n\n          if (this._globalsMode) {\n            // If we already have the __deprecatedInstance__ lying around, boot it to\n            // avoid unnecessary work\n            instance = this.__deprecatedInstance__;\n          } else {\n            // Otherwise, build an instance and boot it. This is currently unreachable,\n            // because we forced _globalsMode to === autoboot; but having this branch\n            // allows us to locally toggle that flag for weeding out legacy globals mode\n            // dependencies independently\n            instance = this.buildInstance();\n          }\n\n          instance._bootSync(); // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n\n\n          this.ready();\n          instance.startRouting();\n        } // For the asynchronous boot path\n\n\n        this._bootResolver.resolve(this); // For the synchronous boot path\n\n\n        this._booted = true;\n      } catch (error) {\n        // For the asynchronous boot path\n        this._bootResolver.reject(error); // For the synchronous boot path\n\n\n        throw error;\n      }\n    },\n\n    /**\n      Called when the Application has become ready, immediately before routing\n      begins. The call will be delayed until the DOM has become ready.\n       @event ready\n      @public\n    */\n    ready() {\n      return this;\n    },\n\n    // This method must be moved to the application instance object\n    willDestroy() {\n      this._super(...arguments);\n\n      (0, _metal.setNamespaceSearchDisabled)(false);\n      this._booted = false;\n      this._bootPromise = null;\n      this._bootResolver = null;\n\n      if (_lazy_load._loaded.application === this) {\n        _lazy_load._loaded.application = undefined;\n      }\n\n      if (this._applicationInstances.size) {\n        this._applicationInstances.forEach(i => i.destroy());\n\n        this._applicationInstances.clear();\n      }\n    },\n\n    /**\n      Boot a new instance of `ApplicationInstance` for the current\n      application and navigate it to the given `url`. Returns a `Promise` that\n      resolves with the instance when the initial routing and rendering is\n      complete, or rejects with any error that occurred during the boot process.\n       When `autoboot` is disabled, calling `visit` would first cause the\n      application to boot, which runs the application initializers.\n       This method also takes a hash of boot-time configuration options for\n      customizing the instance's behavior. See the documentation on\n      `ApplicationInstance.BootOptions` for details.\n       `ApplicationInstance.BootOptions` is an interface class that exists\n      purely to document the available options; you do not need to construct it\n      manually. Simply pass a regular JavaScript object containing of the\n      desired options:\n       ```javascript\n      MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n      ```\n       ### Supported Scenarios\n       While the `BootOptions` class exposes a large number of knobs, not all\n      combinations of them are valid; certain incompatible combinations might\n      result in unexpected behavior.\n       For example, booting the instance in the full browser environment\n      while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n      document: iframe.contentDocument }`) does not work correctly today,\n      largely due to Ember's jQuery dependency.\n       Currently, there are three officially supported scenarios/configurations.\n      Usages outside of these scenarios are not guaranteed to work, but please\n      feel free to file bug reports documenting your experience and any issues\n      you encountered to help expand support.\n       #### Browser Applications (Manual Boot)\n       The setup is largely similar to how Ember works out-of-the-box. Normally,\n      Ember will boot a default instance for your Application on \"DOM ready\".\n      However, you can customize this behavior by disabling `autoboot`.\n       For example, this allows you to render a miniture demo of your application\n      into a specific area on your marketing website:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let options = {\n          // Override the router's location adapter to prevent it from updating\n          // the URL in the address bar\n          location: 'none',\n           // Override the default `rootElement` on the app to render into a\n          // specific `div` on the page\n          rootElement: '#demo'\n        };\n         // Start the app at the special demo URL\n        App.visit('/demo', options);\n      });\n      ```\n       Or perhaps you might want to boot two instances of your app on the same\n      page for a split-screen multiplayer experience:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let sessionId = MyApp.generateSessionID();\n         let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n        let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n         Promise.all([player1, player2]).then(() => {\n          // Both apps have completed the initial render\n          $('#loading').fadeOut();\n        });\n      });\n      ```\n       Do note that each app instance maintains their own registry/container, so\n      they will run in complete isolation by default.\n       #### Server-Side Rendering (also known as FastBoot)\n       This setup allows you to run your Ember app in a server environment using\n      Node.js and render its content into static HTML for SEO purposes.\n       ```javascript\n      const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n       function renderURL(url) {\n        let dom = new SimpleDOM.Document();\n        let rootElement = dom.body;\n        let options = { isBrowser: false, document: dom, rootElement: rootElement };\n         return MyApp.visit(options).then(instance => {\n          try {\n            return HTMLSerializer.serialize(rootElement.firstChild);\n          } finally {\n            instance.destroy();\n          }\n        });\n      }\n      ```\n       In this scenario, because Ember does not have access to a global `document`\n      object in the Node.js environment, you must provide one explicitly. In practice,\n      in the non-browser environment, the stand-in `document` object only needs to\n      implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n      to work.\n       Since there is no access to jQuery in the non-browser environment, you must also\n      specify a DOM `Element` object in the same `document` for the `rootElement` option\n      (as opposed to a selector string like `\"body\"`).\n       See the documentation on the `isBrowser`, `document` and `rootElement` properties\n      on `ApplicationInstance.BootOptions` for details.\n       #### Server-Side Resource Discovery\n       This setup allows you to run the routing layer of your Ember app in a server\n      environment using Node.js and completely disable rendering. This allows you\n      to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n      a given request and eagerly \"push\" these resources to the client.\n       ```app/initializers/network-service.js\n      import BrowserNetworkService from 'app/services/network/browser';\n      import NodeNetworkService from 'app/services/network/node';\n       // Inject a (hypothetical) service for abstracting all AJAX calls and use\n      // the appropriate implementation on the client/server. This also allows the\n      // server to log all the AJAX calls made during a particular request and use\n      // that for resource-discovery purpose.\n       export function initialize(application) {\n        if (window) { // browser\n          application.register('service:network', BrowserNetworkService);\n        } else { // node\n          application.register('service:network', NodeNetworkService);\n        }\n         application.inject('route', 'network', 'service:network');\n      };\n       export default {\n        name: 'network-service',\n        initialize: initialize\n      };\n      ```\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       // An example of how the (hypothetical) service is used in routes.\n       export default Route.extend({\n        model(params) {\n          return this.network.fetch(`/api/posts/${params.post_id}.json`);\n        },\n         afterModel(post) {\n          if (post.isExternalContent) {\n            return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n          } else {\n            return post;\n          }\n        }\n      });\n      ```\n       ```javascript\n      // Finally, put all the pieces together\n       function discoverResourcesFor(url) {\n        return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n          let networkService = instance.lookup('service:network');\n          return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n        });\n      }\n      ```\n       @public\n      @method visit\n      @param url {String} The initial URL to navigate to\n      @param options {ApplicationInstance.BootOptions}\n      @return {Promise<ApplicationInstance, Error>}\n    */\n    visit(url, options) {\n      return this.boot().then(() => {\n        var instance = this.buildInstance();\n        return instance.boot(options).then(() => instance.visit(url)).catch(error => {\n          (0, _runloop.run)(instance, 'destroy');\n          throw error;\n        });\n      });\n    }\n\n  });\n\n  Application.reopenClass({\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry() {\n      // eslint-disable-line no-unused-vars\n      var registry = this._super(...arguments);\n\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupApplicationRegistry)(registry);\n      return registry;\n    }\n\n  });\n\n  function commonSetupRegistry(registry) {\n    registry.register('router:main', _routing.Router.extend());\n    registry.register('-view-registry:main', {\n      create() {\n        return (0, _utils.dictionary)(null);\n      }\n\n    });\n    registry.register('route:basic', _routing.Route);\n    registry.register('event_dispatcher:main', _views.EventDispatcher);\n    registry.injection('router:main', 'namespace', 'application:main');\n    registry.register('location:auto', _routing.AutoLocation);\n    registry.register('location:hash', _routing.HashLocation);\n    registry.register('location:history', _routing.HistoryLocation);\n    registry.register('location:none', _routing.NoneLocation);\n    registry.register((0, _container.privatize)`-bucket-cache:main`, {\n      create() {\n        return new _routing.BucketCache();\n      }\n\n    });\n    registry.register('service:router', _routing.RouterService);\n    registry.injection('service:router', '_router', 'router:main');\n  }\n\n  function registerLibraries() {\n    if (!librariesRegistered) {\n      librariesRegistered = true;\n\n      if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n        _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n      }\n    }\n  }\n\n  var _default = Application;\n  _exports.default = _default;\n});","define(\"@ember/application/lib/lazy_load\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\"], function (_exports, _environment, _browserEnvironment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.onLoad = onLoad;\n  _exports.runLoadHooks = runLoadHooks;\n  _exports._loaded = void 0;\n\n  /*globals CustomEvent */\n\n  /**\n    @module @ember/application\n  */\n  var loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n  var loaded = {};\n  var _loaded = loaded;\n  /**\n    Detects when a specific package of Ember (e.g. 'Application')\n    has fully loaded and is available for extension.\n  \n    The provided `callback` will be called with the `name` passed\n    resolved from a string into the object:\n  \n    ``` javascript\n    import { onLoad } from '@ember/application';\n  \n    onLoad('Ember.Application' function(hbars) {\n      hbars.registerHelper(...);\n    });\n    ```\n  \n    @method onLoad\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param callback {Function} callback to be called\n    @private\n  */\n\n  _exports._loaded = _loaded;\n\n  function onLoad(name, callback) {\n    var object = loaded[name];\n    loadHooks[name] = loadHooks[name] || [];\n    loadHooks[name].push(callback);\n\n    if (object) {\n      callback(object);\n    }\n  }\n  /**\n    Called when an Ember.js package (e.g Application) has finished\n    loading. Triggers any callbacks registered for this event.\n  \n    @method runLoadHooks\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param object {Object} object to pass to callbacks\n    @private\n  */\n\n\n  function runLoadHooks(name, object) {\n    loaded[name] = object;\n\n    if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n      var event = new CustomEvent(name, {\n        detail: object,\n        name\n      });\n\n      _browserEnvironment.window.dispatchEvent(event);\n    }\n\n    if (loadHooks[name]) {\n      loadHooks[name].forEach(callback => callback(object));\n    }\n  }\n});","define(\"@ember/canary-features/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/polyfills\"], function (_exports, _environment, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isEnabled = isEnabled;\n  _exports.EMBER_ROUTING_MODEL_ARG = _exports.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = _exports.EMBER_MODULE_UNIFICATION = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;\n\n  /**\n    Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n    to enable canary features in your application.\n  \n    See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n    for more details.\n  \n    @module @ember/canary-features\n    @public\n  */\n  var DEFAULT_FEATURES = {\n    EMBER_LIBRARIES_ISREGISTERED: false,\n    EMBER_IMPROVED_INSTRUMENTATION: false,\n    EMBER_MODULE_UNIFICATION: false,\n    EMBER_CUSTOM_COMPONENT_ARG_PROXY: true,\n    EMBER_GLIMMER_SET_COMPONENT_TEMPLATE: true,\n    EMBER_ROUTING_MODEL_ARG: true\n  };\n  /**\n    The hash of enabled Canary features. Add to this, any canary features\n    before creating your application.\n  \n    @class FEATURES\n    @static\n    @since 1.1.0\n    @public\n  */\n\n  _exports.DEFAULT_FEATURES = DEFAULT_FEATURES;\n  var FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _environment.ENV.FEATURES);\n  /**\n    Determine whether the specified `feature` is enabled. Used by Ember's\n    build tools to exclude experimental features from beta/stable builds.\n  \n    You can define the following configuration options:\n  \n    * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n      enabled/disabled.\n  \n    @method isEnabled\n    @param {String} feature The feature to check\n    @return {Boolean}\n    @since 1.1.0\n    @public\n  */\n\n  _exports.FEATURES = FEATURES;\n\n  function isEnabled(feature) {\n    var featureValue = FEATURES[feature];\n\n    if (featureValue === true || featureValue === false) {\n      return featureValue;\n    } else if (_environment.ENV.ENABLE_OPTIONAL_FEATURES) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  function featureValue(value) {\n    if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n      return true;\n    }\n\n    return value;\n  }\n\n  var EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n  _exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;\n  var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n  _exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;\n  var EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n  _exports.EMBER_MODULE_UNIFICATION = EMBER_MODULE_UNIFICATION;\n  var EMBER_CUSTOM_COMPONENT_ARG_PROXY = featureValue(FEATURES.EMBER_CUSTOM_COMPONENT_ARG_PROXY);\n  _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = EMBER_CUSTOM_COMPONENT_ARG_PROXY;\n  var EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = featureValue(FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE);\n  _exports.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = EMBER_GLIMMER_SET_COMPONENT_TEMPLATE;\n  var EMBER_ROUTING_MODEL_ARG = featureValue(FEATURES.EMBER_ROUTING_MODEL_ARG);\n  _exports.EMBER_ROUTING_MODEL_ARG = EMBER_ROUTING_MODEL_ARG;\n});","define(\"@ember/component/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Component\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Component;\n    }\n  });\n});","define(\"@ember/component/template-only\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = templateOnlyComponent;\n  _exports.isTemplateOnlyComponent = isTemplateOnlyComponent;\n  _exports.TemplateOnlyComponent = void 0;\n\n  // This is only exported for types, don't use this class directly\n  class TemplateOnlyComponent {\n    constructor(moduleName = '@ember/component/template-only') {\n      this.moduleName = moduleName;\n    }\n\n    toString() {\n      return this.moduleName;\n    }\n\n  }\n  /**\n    @module @ember/component/template-only\n    @public\n  */\n\n  /**\n    This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\n    is able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\n    without adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\n    Specifically, this means that the template will be rendered as \"outer HTML\".\n  \n    In general, this method will be used by build time tooling and would not be directly written in an application. However,\n    at times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\n    to use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n    `template-only-glimmer-components` optional feature.\n  \n    @example\n  \n    ```js\n    import templateOnly from '@ember/component/template-only';\n  \n    export default templateOnly();\n    ```\n  \n    @public\n    @method templateOnly\n    @param {String} moduleName the module name that the template only component represents, this will be used for debugging purposes\n    @category EMBER_GLIMMER_SET_COMPONENT_TEMPLATE\n  */\n\n\n  _exports.TemplateOnlyComponent = TemplateOnlyComponent;\n\n  function templateOnlyComponent(moduleName) {\n    return new TemplateOnlyComponent(moduleName);\n  }\n\n  function isTemplateOnlyComponent(component) {\n    return component instanceof TemplateOnlyComponent;\n  }\n});","define(\"@ember/controller/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\"], function (_exports, _runtime, _metal, _controller_mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.inject = inject;\n  _exports.default = void 0;\n\n  /**\n  @module @ember/controller\n  */\n\n  /**\n    @class Controller\n    @extends EmberObject\n    @uses Ember.ControllerMixin\n    @public\n  */\n  var Controller = _runtime.FrameworkObject.extend(_controller_mixin.default);\n\n  (0, _runtime.setFrameworkClass)(Controller);\n  /**\n    Creates a property that lazily looks up another controller in the container.\n    Can only be used when defining another controller.\n  \n    Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default class PostController extends Controller {\n      @controller posts;\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default Controller.extend({\n      posts: controller()\n    });\n    ```\n  \n    This example will create a `posts` property on the `post` controller that\n    looks up the `posts` controller in the container, making it easy to reference\n    other controllers.\n  \n    @method inject\n    @static\n    @for @ember/controller\n    @since 1.10.0\n    @param {String} name (optional) name of the controller to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n\n  function inject() {\n    return (0, _metal.inject)('controller', ...arguments);\n  }\n\n  var _default = Controller;\n  _exports.default = _default;\n});","define(\"@ember/controller/lib/controller_mixin\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _metal, _runtime, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var MODEL = (0, _utils.symbol)('MODEL');\n  /**\n  @module ember\n  */\n\n  /**\n    @class ControllerMixin\n    @namespace Ember\n    @uses Ember.ActionHandler\n    @private\n  */\n\n  var _default = _metal.Mixin.create(_runtime.ActionHandler, {\n    /* ducktype as a controller */\n    isController: true,\n\n    /**\n      The object to which actions from the view should be sent.\n       For example, when a Handlebars template uses the `{{action}}` helper,\n      it will attempt to send the action to the view's controller's `target`.\n       By default, the value of the target property is set to the router, and\n      is injected when a controller is instantiated. This injection is applied\n      as part of the application's initialization process. In most cases the\n      `target` property will automatically be set to the logical consumer of\n      actions for the controller.\n       @property target\n      @default null\n      @public\n    */\n    target: null,\n    store: null,\n\n    /**\n      The controller's current model. When retrieving or modifying a controller's\n      model, this property should be used instead of the `content` property.\n       @property model\n      @public\n    */\n    model: (0, _metal.computed)({\n      get() {\n        return this[MODEL];\n      },\n\n      set(key, value) {\n        return this[MODEL] = value;\n      }\n\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/debug/index\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/error\", \"@ember/debug/lib/deprecate\", \"@ember/debug/lib/testing\", \"@ember/debug/lib/warn\", \"@ember/debug/lib/capture-render-tree\"], function (_exports, _browserEnvironment, _error, _deprecate2, _testing, _warn2, _captureRenderTree) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n    enumerable: true,\n    get: function () {\n      return _deprecate2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"isTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.isTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"setTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.setTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"registerWarnHandler\", {\n    enumerable: true,\n    get: function () {\n      return _warn2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"captureRenderTree\", {\n    enumerable: true,\n    get: function () {\n      return _captureRenderTree.default;\n    }\n  });\n  _exports._warnIfUsingStrippedFeatureFlags = _exports.getDebugFunction = _exports.setDebugFunction = _exports.deprecateFunc = _exports.runInDebug = _exports.debugFreeze = _exports.debugSeal = _exports.deprecate = _exports.debug = _exports.warn = _exports.info = _exports.assert = void 0;\n\n  // These are the default production build versions:\n  var noop = () => {};\n\n  var assert = noop;\n  _exports.assert = assert;\n  var info = noop;\n  _exports.info = info;\n  var warn = noop;\n  _exports.warn = warn;\n  var debug = noop;\n  _exports.debug = debug;\n  var deprecate = noop;\n  _exports.deprecate = deprecate;\n  var debugSeal = noop;\n  _exports.debugSeal = debugSeal;\n  var debugFreeze = noop;\n  _exports.debugFreeze = debugFreeze;\n  var runInDebug = noop;\n  _exports.runInDebug = runInDebug;\n  var setDebugFunction = noop;\n  _exports.setDebugFunction = setDebugFunction;\n  var getDebugFunction = noop;\n  _exports.getDebugFunction = getDebugFunction;\n\n  var deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n\n  _exports.deprecateFunc = deprecateFunc;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n      switch (type) {\n        case 'assert':\n          return _exports.assert = assert = callback;\n\n        case 'info':\n          return _exports.info = info = callback;\n\n        case 'warn':\n          return _exports.warn = warn = callback;\n\n        case 'debug':\n          return _exports.debug = debug = callback;\n\n        case 'deprecate':\n          return _exports.deprecate = deprecate = callback;\n\n        case 'debugSeal':\n          return _exports.debugSeal = debugSeal = callback;\n\n        case 'debugFreeze':\n          return _exports.debugFreeze = debugFreeze = callback;\n\n        case 'runInDebug':\n          return _exports.runInDebug = runInDebug = callback;\n\n        case 'deprecateFunc':\n          return _exports.deprecateFunc = deprecateFunc = callback;\n      }\n    };\n\n    _exports.getDebugFunction = getDebugFunction = function (type) {\n      switch (type) {\n        case 'assert':\n          return assert;\n\n        case 'info':\n          return info;\n\n        case 'warn':\n          return warn;\n\n        case 'debug':\n          return debug;\n\n        case 'deprecate':\n          return deprecate;\n\n        case 'debugSeal':\n          return debugSeal;\n\n        case 'debugFreeze':\n          return debugFreeze;\n\n        case 'runInDebug':\n          return runInDebug;\n\n        case 'deprecateFunc':\n          return deprecateFunc;\n      }\n    };\n  }\n  /**\n  @module @ember/debug\n  */\n\n\n  if (true\n  /* DEBUG */\n  ) {\n    /**\n      Verify that a certain expectation is met, or throw a exception otherwise.\n         This is useful for communicating assumptions in the code to other human\n      readers as well as catching bugs that accidentally violates these\n      expectations.\n         Assertions are removed from production builds, so they can be freely added\n      for documentation and debugging purposes without worries of incuring any\n      performance penalty. However, because of that, they should not be used for\n      checks that could reasonably fail during normal usage. Furthermore, care\n      should be taken to avoid accidentally relying on side-effects produced from\n      evaluating the condition itself, since the code will not run in production.\n         ```javascript\n      import { assert } from '@ember/debug';\n         // Test for truthiness\n      assert('Must pass a string', typeof str === 'string');\n         // Fail unconditionally\n      assert('This code path should never be run');\n      ```\n         @method assert\n      @static\n      @for @ember/debug\n      @param {String} description Describes the expectation. This will become the\n        text of the Error thrown if the assertion fails.\n      @param {any} condition Must be truthy for the assertion to pass. If\n        falsy, an exception will be thrown.\n      @public\n      @since 1.0.0\n    */\n    setDebugFunction('assert', function assert(desc, test) {\n      if (!test) {\n        throw new _error.default(`Assertion Failed: ${desc}`);\n      }\n    });\n    /**\n      Display a debug notice.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         ```javascript\n      import { debug } from '@ember/debug';\n         debug('I\\'m a debug notice!');\n      ```\n         @method debug\n      @for @ember/debug\n      @static\n      @param {String} message A debug message to display.\n      @public\n    */\n\n    setDebugFunction('debug', function debug(message) {\n      /* eslint-disable no-console */\n      if (console.debug) {\n        console.debug(`DEBUG: ${message}`);\n      } else {\n        console.log(`DEBUG: ${message}`);\n      }\n      /* eslint-ensable no-console */\n\n    });\n    /**\n      Display an info notice.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         @method info\n      @private\n    */\n\n    setDebugFunction('info', function info() {\n      console.info(...arguments);\n      /* eslint-disable-line no-console */\n    });\n    /**\n     @module @ember/debug\n     @public\n    */\n\n    /**\n      Alias an old, deprecated method with its new counterpart.\n         Display a deprecation warning with the provided message and a stack trace\n      (Chrome and Firefox only) when the assigned method is called.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         ```javascript\n      import { deprecateFunc } from '@ember/debug';\n         Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n      ```\n         @method deprecateFunc\n      @static\n      @for @ember/debug\n      @param {String} message A description of the deprecation.\n      @param {Object} [options] The options object for `deprecate`.\n      @param {Function} func The new function called to replace its deprecated counterpart.\n      @return {Function} A new function that wraps the original function with a deprecation warning\n      @private\n    */\n\n    setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n      if (args.length === 3) {\n        var [message, options, func] = args;\n        return function (...args) {\n          deprecate(message, false, options);\n          return func.apply(this, args);\n        };\n      } else {\n        var [_message, _func] = args;\n        return function () {\n          deprecate(_message);\n          return _func.apply(this, arguments);\n        };\n      }\n    });\n    /**\n     @module @ember/debug\n     @public\n    */\n\n    /**\n      Run a function meant for debugging.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         ```javascript\n      import Component from '@ember/component';\n      import { runInDebug } from '@ember/debug';\n         runInDebug(() => {\n        Component.reopen({\n          didInsertElement() {\n            console.log(\"I'm happy\");\n          }\n        });\n      });\n      ```\n         @method runInDebug\n      @for @ember/debug\n      @static\n      @param {Function} func The function to be executed.\n      @since 1.5.0\n      @public\n    */\n\n    setDebugFunction('runInDebug', function runInDebug(func) {\n      func();\n    });\n    setDebugFunction('debugSeal', function debugSeal(obj) {\n      Object.seal(obj);\n    });\n    setDebugFunction('debugFreeze', function debugFreeze(obj) {\n      // re-freezing an already frozen object introduces a significant\n      // performance penalty on Chrome (tested through 59).\n      //\n      // See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\n      if (!Object.isFrozen(obj)) {\n        Object.freeze(obj);\n      }\n    });\n    setDebugFunction('deprecate', _deprecate2.default);\n    setDebugFunction('warn', _warn2.default);\n  }\n\n  var _warnIfUsingStrippedFeatureFlags;\n\n  _exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n\n  if (true\n  /* DEBUG */\n  && !(0, _testing.isTesting)()) {\n    if (typeof window !== 'undefined' && (_browserEnvironment.isFirefox || _browserEnvironment.isChrome) && window.addEventListener) {\n      window.addEventListener('load', () => {\n        if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {\n          var downloadURL;\n\n          if (_browserEnvironment.isChrome) {\n            downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n          } else if (_browserEnvironment.isFirefox) {\n            downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n          }\n\n          debug(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);\n        }\n      }, false);\n    }\n  }\n});","define(\"@ember/debug/lib/capture-render-tree\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = captureRenderTree;\n\n  /**\n    @module @ember/debug\n  */\n\n  /**\n    Ember Inspector calls this function to capture the current render tree.\n  \n    In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\n    before loading Ember.\n  \n    @private\n    @static\n    @method captureRenderTree\n    @for @ember/debug\n    @param app {ApplicationInstance} An `ApplicationInstance`.\n    @since 3.14.0\n  */\n  function captureRenderTree(app) {\n    var env = (0, _util.expect)(app.lookup('service:-glimmer-environment'), 'BUG: owner is missing service:-glimmer-environment');\n    return env.debugRenderTree.capture();\n  }\n});","define(\"@ember/debug/lib/deprecate\", [\"exports\", \"@ember/-internals/environment\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _environment, _index, _handlers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.missingOptionsUntilDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n  /**\n   @module @ember/debug\n   @public\n  */\n\n  /**\n    Allows for runtime registration of handler functions that override the default deprecation behavior.\n    Deprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\n    The following example demonstrates its usage by registering a handler that throws an error if the\n    message contains the word \"should\", otherwise defers to the default handler.\n  \n    ```javascript\n    import { registerDeprecationHandler } from '@ember/debug';\n  \n    registerDeprecationHandler((message, options, next) => {\n      if (message.indexOf('should') !== -1) {\n        throw new Error(`Deprecation message with should: ${message}`);\n      } else {\n        // defer to whatever handler was registered before this one\n        next(message, options);\n      }\n    });\n    ```\n  \n    The handler function takes the following arguments:\n  \n    <ul>\n      <li> <code>message</code> - The message received from the deprecation call.</li>\n      <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n        <ul>\n          <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n          <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n        </ul>\n      <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n    </ul>\n  \n    @public\n    @static\n    @method registerDeprecationHandler\n    @for @ember/debug\n    @param handler {Function} A function to handle deprecation calls.\n    @since 2.1.0\n  */\n  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n  var missingOptionsUntilDeprecation;\n  _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n\n  var deprecate = () => {};\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('deprecate', handler);\n    };\n\n    var formatMessage = function formatMessage(_message, options) {\n      var message = _message;\n\n      if (options && options.id) {\n        message = message + ` [deprecation id: ${options.id}]`;\n      }\n\n      if (options && options.url) {\n        message += ` See ${options.url} for more details.`;\n      }\n\n      return message;\n    };\n\n    registerHandler(function logDeprecationToConsole(message, options) {\n      var updatedMessage = formatMessage(message, options);\n      console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n    });\n    var captureErrorForStack;\n\n    if (new Error().stack) {\n      captureErrorForStack = () => new Error();\n    } else {\n      captureErrorForStack = () => {\n        try {\n          __fail__.fail();\n        } catch (e) {\n          return e;\n        }\n      };\n    }\n\n    registerHandler(function logDeprecationStackTrace(message, options, next) {\n      if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n        var stackStr = '';\n        var error = captureErrorForStack();\n        var stack;\n\n        if (error.stack) {\n          if (error['arguments']) {\n            // Chrome\n            stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^\\(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^\\)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n            stack.shift();\n          } else {\n            // Firefox\n            stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n          }\n\n          stackStr = `\\n    ${stack.slice(2).join('\\n    ')}`;\n        }\n\n        var updatedMessage = formatMessage(message, options);\n        console.warn(`DEPRECATION: ${updatedMessage}${stackStr}`); // eslint-disable-line no-console\n      } else {\n        next(message, options);\n      }\n    });\n    registerHandler(function raiseOnDeprecation(message, options, next) {\n      if (_environment.ENV.RAISE_ON_DEPRECATION) {\n        var updatedMessage = formatMessage(message);\n        throw new Error(updatedMessage);\n      } else {\n        next(message, options);\n      }\n    });\n    _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `deprecate` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include `id` and `until` properties.';\n    _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `deprecate` you must provide `id` in options.';\n    _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation = 'When calling `deprecate` you must provide `until` in options.';\n    /**\n     @module @ember/debug\n     @public\n     */\n\n    /**\n      Display a deprecation warning with the provided message and a stack trace\n      (Chrome and Firefox only).\n         * In a production build, this method is defined as an empty function (NOP).\n      Uses of this method in Ember itself are stripped from the ember.prod.js build.\n         @method deprecate\n      @for @ember/debug\n      @param {String} message A description of the deprecation.\n      @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n      @param {Object} options\n      @param {String} options.id A unique id for this deprecation. The id can be\n        used by Ember debugging tools to change the behavior (raise, log or silence)\n        for that specific deprecation. The id should be namespaced by dots, e.g.\n        \"view.helper.select\".\n      @param {string} options.until The version of Ember when this deprecation\n        warning will be removed.\n      @param {String} [options.url] An optional url to the transition guide on the\n        emberjs.com website.\n      @static\n      @public\n      @since 1.0.0\n    */\n\n    deprecate = function deprecate(message, test, options) {\n      (0, _index.assert)(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));\n      (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options.id));\n      (0, _index.assert)(missingOptionsUntilDeprecation, Boolean(options.until));\n      (0, _handlers.invoke)('deprecate', message, test, options);\n    };\n  }\n\n  var _default = deprecate;\n  _exports.default = _default;\n});","define(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invoke = _exports.registerHandler = _exports.HANDLERS = void 0;\n  var HANDLERS = {};\n  _exports.HANDLERS = HANDLERS;\n\n  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n\n  var invoke = () => {};\n\n  _exports.invoke = invoke;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n      var nextHandler = HANDLERS[type] || (() => {});\n\n      HANDLERS[type] = (message, options) => {\n        callback(message, options, nextHandler);\n      };\n    };\n\n    _exports.invoke = invoke = function invoke(type, message, test, options) {\n      if (test) {\n        return;\n      }\n\n      var handlerForType = HANDLERS[type];\n\n      if (handlerForType) {\n        handlerForType(message, options);\n      }\n    };\n  }\n});","define(\"@ember/debug/lib/testing\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isTesting = isTesting;\n  _exports.setTesting = setTesting;\n  var testing = false;\n\n  function isTesting() {\n    return testing;\n  }\n\n  function setTesting(value) {\n    testing = Boolean(value);\n  }\n});","define(\"@ember/debug/lib/warn\", [\"exports\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _index, _handlers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.missingOptionsDeprecation = _exports.missingOptionsIdDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n\n  var warn = () => {};\n\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  /**\n  @module @ember/debug\n  */\n\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n\n  if (true\n  /* DEBUG */\n  ) {\n    /**\n      Allows for runtime registration of handler functions that override the default warning behavior.\n      Warnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\n      The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n      default warning behavior.\n         ```javascript\n      import { registerWarnHandler } from '@ember/debug';\n         // next is not called, so no warnings get the default behavior\n      registerWarnHandler(() => {});\n      ```\n         The handler function takes the following arguments:\n         <ul>\n        <li> <code>message</code> - The message received from the warn call. </li>\n        <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n          <ul>\n            <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n          </ul>\n        <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n      </ul>\n         @public\n      @static\n      @method registerWarnHandler\n      @for @ember/debug\n      @param handler {Function} A function to handle warnings.\n      @since 2.1.0\n    */\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('warn', handler);\n    };\n\n    registerHandler(function logWarning(message) {\n      /* eslint-disable no-console */\n      console.warn(`WARNING: ${message}`);\n      /* eslint-enable no-console */\n    });\n    _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include an `id` property.';\n    _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `warn` you must provide `id` in options.';\n    /**\n      Display a warning with the provided message.\n         * In a production build, this method is defined as an empty function (NOP).\n      Uses of this method in Ember itself are stripped from the ember.prod.js build.\n         ```javascript\n      import { warn } from '@ember/debug';\n      import tomsterCount from './tomster-counter'; // a module in my project\n         // Log a warning if we have more than 3 tomsters\n      warn('Too many tomsters!', tomsterCount <= 3, {\n        id: 'ember-debug.too-many-tomsters'\n      });\n      ```\n         @method warn\n      @for @ember/debug\n      @static\n      @param {String} message A warning to display.\n      @param {Boolean} test An optional boolean. If falsy, the warning\n        will be displayed.\n      @param {Object} options An object that can be used to pass a unique\n        `id` for this warning.  The `id` can be used by Ember debugging tools\n        to change the behavior (raise, log, or silence) for that specific warning.\n        The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n      @public\n      @since 1.0.0\n    */\n\n    warn = function warn(message, test, options) {\n      if (arguments.length === 2 && typeof test === 'object') {\n        options = test;\n        test = false;\n      }\n\n      (0, _index.assert)(missingOptionsDeprecation, Boolean(options));\n      (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options && options.id));\n      (0, _handlers.invoke)('warn', message, test, options);\n    };\n  }\n\n  var _default = warn;\n  _exports.default = _default;\n});","define(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.GLOBALS_RESOLVER = _exports.PARTIALS = _exports.EMBER_COMPONENT_IS_VISIBLE = _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = _exports.FUNCTION_PROTOTYPE_EXTENSIONS = _exports.APP_CTRL_ROUTER_PROPS = _exports.ALIAS_METHOD = _exports.JQUERY_INTEGRATION = _exports.COMPONENT_MANAGER_STRING_LOOKUP = _exports.ROUTER_EVENTS = _exports.MERGE = _exports.LOGGER = _exports.EMBER_EXTEND_PROTOTYPES = _exports.SEND_ACTION = void 0;\n\n  /* eslint-disable no-implicit-coercion */\n  // These versions should be the version that the deprecation was _introduced_,\n  // not the version that the feature will be removed.\n  var SEND_ACTION = !!'3.4.0';\n  _exports.SEND_ACTION = SEND_ACTION;\n  var EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n  _exports.EMBER_EXTEND_PROTOTYPES = EMBER_EXTEND_PROTOTYPES;\n  var LOGGER = !!'3.2.0-beta.1';\n  _exports.LOGGER = LOGGER;\n  var MERGE = !!'3.6.0-beta.1';\n  _exports.MERGE = MERGE;\n  var ROUTER_EVENTS = !!'4.0.0';\n  _exports.ROUTER_EVENTS = ROUTER_EVENTS;\n  var COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';\n  _exports.COMPONENT_MANAGER_STRING_LOOKUP = COMPONENT_MANAGER_STRING_LOOKUP;\n  var JQUERY_INTEGRATION = !!'3.9.0';\n  _exports.JQUERY_INTEGRATION = JQUERY_INTEGRATION;\n  var ALIAS_METHOD = !!'3.9.0';\n  _exports.ALIAS_METHOD = ALIAS_METHOD;\n  var APP_CTRL_ROUTER_PROPS = !!'3.10.0-beta.1';\n  _exports.APP_CTRL_ROUTER_PROPS = APP_CTRL_ROUTER_PROPS;\n  var FUNCTION_PROTOTYPE_EXTENSIONS = !!'3.11.0-beta.1';\n  _exports.FUNCTION_PROTOTYPE_EXTENSIONS = FUNCTION_PROTOTYPE_EXTENSIONS;\n  var MOUSE_ENTER_LEAVE_MOVE_EVENTS = !!'3.13.0-beta.1';\n  _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = MOUSE_ENTER_LEAVE_MOVE_EVENTS;\n  var EMBER_COMPONENT_IS_VISIBLE = !!'3.15.0-beta.1';\n  _exports.EMBER_COMPONENT_IS_VISIBLE = EMBER_COMPONENT_IS_VISIBLE;\n  var PARTIALS = !!'3.15.0-beta.1';\n  _exports.PARTIALS = PARTIALS;\n  var GLOBALS_RESOLVER = !!'3.16.0-beta.1';\n  _exports.GLOBALS_RESOLVER = GLOBALS_RESOLVER;\n});","define(\"@ember/engine/index\", [\"exports\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/-internals/runtime\", \"@ember/-internals/container\", \"dag-map\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/application/globals-resolver\", \"@ember/engine/instance\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/-internals/views\", \"@ember/-internals/glimmer\"], function (_exports, _engineParent, _utils, _controller, _runtime, _container, _dagMap, _debug, _metal, _globalsResolver, _instance, _routing, _extensionSupport, _views, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"getEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.getEngineParent;\n    }\n  });\n  Object.defineProperty(_exports, \"setEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.setEngineParent;\n    }\n  });\n  _exports.default = void 0;\n\n  function props(obj) {\n    var properties = [];\n\n    for (var key in obj) {\n      properties.push(key);\n    }\n\n    return properties;\n  }\n  /**\n  @module @ember/engine\n  */\n\n  /**\n    The `Engine` class contains core functionality for both applications and\n    engines.\n  \n    Each engine manages a registry that's used for dependency injection and\n    exposed through `RegistryProxy`.\n  \n    Engines also manage initializers and instance initializers.\n  \n    Engines can spawn `EngineInstance` instances via `buildInstance()`.\n  \n    @class Engine\n    @extends Ember.Namespace\n    @uses RegistryProxy\n    @public\n  */\n\n\n  var Engine = _runtime.Namespace.extend(_runtime.RegistryProxyMixin, {\n    init() {\n      this._super(...arguments);\n\n      this.buildRegistry();\n    },\n\n    /**\n      A private flag indicating whether an engine's initializers have run yet.\n       @private\n      @property _initializersRan\n    */\n    _initializersRan: false,\n\n    /**\n      Ensure that initializers are run once, and only once, per engine.\n       @private\n      @method ensureInitializers\n    */\n    ensureInitializers() {\n      if (!this._initializersRan) {\n        this.runInitializers();\n        this._initializersRan = true;\n      }\n    },\n\n    /**\n      Create an EngineInstance for this engine.\n       @public\n      @method buildInstance\n      @return {EngineInstance} the engine instance\n    */\n    buildInstance(options = {}) {\n      this.ensureInitializers();\n      options.base = this;\n      return _instance.default.create(options);\n    },\n\n    /**\n      Build and configure the registry for the current engine.\n       @private\n      @method buildRegistry\n      @return {Ember.Registry} the configured registry\n    */\n    buildRegistry() {\n      var registry = this.__registry__ = this.constructor.buildRegistry(this);\n      return registry;\n    },\n\n    /**\n      @private\n      @method initializer\n    */\n    initializer(options) {\n      this.constructor.initializer(options);\n    },\n\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer(options) {\n      this.constructor.instanceInitializer(options);\n    },\n\n    /**\n      @private\n      @method runInitializers\n    */\n    runInitializers() {\n      this._runInitializer('initializers', (name, initializer) => {\n        (true && !(Boolean(initializer)) && (0, _debug.assert)(`No application initializer named '${name}'`, Boolean(initializer)));\n        initializer.initialize(this);\n      });\n    },\n\n    /**\n      @private\n      @since 1.12.0\n      @method runInstanceInitializers\n    */\n    runInstanceInitializers(instance) {\n      this._runInitializer('instanceInitializers', (name, initializer) => {\n        (true && !(Boolean(initializer)) && (0, _debug.assert)(`No instance initializer named '${name}'`, Boolean(initializer)));\n        initializer.initialize(instance);\n      });\n    },\n\n    _runInitializer(bucketName, cb) {\n      var initializersByName = (0, _metal.get)(this.constructor, bucketName);\n      var initializers = props(initializersByName);\n      var graph = new _dagMap.default();\n      var initializer;\n\n      for (var i = 0; i < initializers.length; i++) {\n        initializer = initializersByName[initializers[i]];\n        graph.add(initializer.name, initializer, initializer.before, initializer.after);\n      }\n\n      graph.topsort(cb);\n    }\n\n  });\n\n  Engine.reopenClass({\n    initializers: Object.create(null),\n    instanceInitializers: Object.create(null),\n\n    /**\n      The goal of initializers should be to register dependencies and injections.\n      This phase runs once. Because these initializers may load code, they are\n      allowed to defer application readiness and advance it. If you need to access\n      the container or store you should use an InstanceInitializer that will be run\n      after all initializers and therefore after all code is loaded and the app is\n      ready.\n       Initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the initializer is registered.\n      This must be a unique name, as trying to register two initializers with the\n      same name will result in an error.\n       ```app/initializer/named-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running namedInitializer!');\n      }\n       export default {\n        name: 'named-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       An example of ordering initializers, we create an initializer named `first`:\n       ```app/initializer/first.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('First initializer!');\n      }\n       export default {\n        name: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: First initializer!\n      ```\n       We add another initializer named `second`, specifying that it should run\n      after the initializer named `first`:\n       ```app/initializer/second.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Second initializer!');\n      }\n       export default {\n        name: 'second',\n        after: 'first',\n        initialize\n      };\n      ```\n       ```\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Afterwards we add a further initializer named `pre`, this time specifying\n      that it should run before the initializer named `first`:\n       ```app/initializer/pre.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Pre initializer!');\n      }\n       export default {\n        name: 'pre',\n        before: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Finally we add an initializer named `post`, specifying it should run after\n      both the `first` and the `second` initializers:\n       ```app/initializer/post.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Post initializer!');\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      // DEBUG: Post initializer!\n      ```\n       * `initialize` is a callback function that receives one argument,\n        `application`, on which you can operate.\n       Example of using `application` to register an adapter:\n       ```app/initializer/api-adapter.js\n      import ApiAdapter from '../utils/api-adapter';\n       export function initialize(application) {\n        application.register('api-adapter:main', ApiAdapter);\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       @method initializer\n      @param initializer {Object}\n      @public\n    */\n    initializer: buildInitializerMethod('initializers', 'initializer'),\n\n    /**\n      Instance initializers run after all initializers have run. Because\n      instance initializers run after the app is fully set up. We have access\n      to the store, container, and other items. However, these initializers run\n      after code has loaded and are not allowed to defer readiness.\n       Instance initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the instanceInitializer is\n      registered. This must be a unique name, as trying to register two\n      instanceInitializer with the same name will result in an error.\n       ```app/initializer/named-instance-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running named-instance-initializer!');\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       * See Application.initializer for discussion on the usage of before\n      and after.\n       Example instanceInitializer to preload data into the store.\n       ```app/initializer/preload-data.js\n      import $ from 'jquery';\n       export function initialize(application) {\n          var userConfig, userConfigEncoded, store;\n          // We have a HTML escaped JSON representation of the user's basic\n          // configuration generated server side and stored in the DOM of the main\n          // index.html file. This allows the app to have access to a set of data\n          // without making any additional remote calls. Good for basic data that is\n          // needed for immediate rendering of the page. Keep in mind, this data,\n          // like all local models and data can be manipulated by the user, so it\n          // should not be relied upon for security or authorization.\n           // Grab the encoded data from the meta tag\n          userConfigEncoded = $('head meta[name=app-user-config]').attr('content');\n           // Unescape the text, then parse the resulting JSON into a real object\n          userConfig = JSON.parse(unescape(userConfigEncoded));\n           // Lookup the store\n          store = application.lookup('service:store');\n           // Push the encoded JSON into the store\n          store.pushPayload(userConfig);\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       @method instanceInitializer\n      @param instanceInitializer\n      @public\n    */\n    instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer'),\n\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry(namespace) {\n      var registry = new _container.Registry({\n        resolver: resolverFor(namespace)\n      });\n      registry.set = _metal.set;\n      registry.register('application:main', namespace, {\n        instantiate: false\n      });\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupEngineRegistry)(registry);\n      return registry;\n    },\n\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @deprecated Use 'Resolver' instead\n      @property resolver\n      @public\n    */\n    resolver: null,\n\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @property resolver\n      @public\n    */\n    Resolver: null\n  });\n  /**\n    This function defines the default lookup rules for container lookups:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after classifying the name.\n      For example, `controller:post` looks up `App.PostController` by default.\n    * if the default lookup fails, look for registered classes on the container\n  \n    This allows the application to register default injections in the container\n    that could be overridden by the normal naming convention.\n  \n    @private\n    @method resolverFor\n    @param {Ember.Namespace} namespace the namespace to look for classes\n    @return {*} the resolved value for a given lookup\n  */\n\n  function resolverFor(namespace) {\n    var ResolverClass = (0, _metal.get)(namespace, 'Resolver') || _globalsResolver.default;\n\n    var props = {\n      namespace\n    };\n    return ResolverClass.create(props);\n  }\n\n  function buildInitializerMethod(bucketName, humanName) {\n    return function (initializer) {\n      // If this is the first initializer being added to a subclass, we are going to reopen the class\n      // to make sure we have a new `initializers` object, which extends from the parent class' using\n      // prototypal inheritance. Without this, attempting to add initializers to the subclass would\n      // pollute the parent class as well as other subclasses.\n      if (this.superclass[bucketName] !== undefined && this.superclass[bucketName] === this[bucketName]) {\n        var attrs = {};\n        attrs[bucketName] = Object.create(this[bucketName]);\n        this.reopenClass(attrs);\n      }\n\n      (true && !(!this[bucketName][initializer.name]) && (0, _debug.assert)(`The ${humanName} '${initializer.name}' has already been registered`, !this[bucketName][initializer.name]));\n      (true && !((0, _utils.canInvoke)(initializer, 'initialize')) && (0, _debug.assert)(`An ${humanName} cannot be registered without an initialize function`, (0, _utils.canInvoke)(initializer, 'initialize')));\n      (true && !(initializer.name !== undefined) && (0, _debug.assert)(`An ${humanName} cannot be registered without a name property`, initializer.name !== undefined));\n      this[bucketName][initializer.name] = initializer;\n    };\n  }\n\n  function commonSetupRegistry(registry) {\n    registry.optionsForType('component', {\n      singleton: false\n    });\n    registry.optionsForType('view', {\n      singleton: false\n    });\n    registry.register('controller:basic', _controller.default, {\n      instantiate: false\n    });\n    registry.injection('view', '_viewRegistry', '-view-registry:main');\n    registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n    registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n    registry.injection('view:-outlet', 'namespace', 'application:main');\n    registry.injection('controller', 'target', 'router:main');\n    registry.injection('controller', 'namespace', 'application:main');\n    registry.injection('router', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n    registry.injection('route', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n    registry.injection('route', '_router', 'router:main'); // Register the routing service...\n\n    registry.register('service:-routing', _routing.RoutingService); // Then inject the app router into it\n\n    registry.injection('service:-routing', 'router', 'router:main'); // DEBUGGING\n\n    registry.register('resolver-for-debugging:main', registry.resolver, {\n      instantiate: false\n    });\n    registry.injection('container-debug-adapter:main', 'resolver', 'resolver-for-debugging:main');\n    registry.injection('data-adapter:main', 'containerDebugAdapter', 'container-debug-adapter:main'); // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n    registry.register('container-debug-adapter:main', _extensionSupport.ContainerDebugAdapter);\n    registry.register('component-lookup:main', _views.ComponentLookup);\n  }\n\n  var _default = Engine;\n  _exports.default = _default;\n});","define(\"@ember/engine/instance\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/error\", \"@ember/-internals/container\", \"@ember/engine/lib/engine-parent\"], function (_exports, _utils, _runtime, _debug, _error, _container, _engineParent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/engine\n  */\n\n  /**\n    The `EngineInstance` encapsulates all of the stateful aspects of a\n    running `Engine`.\n  \n    @public\n    @class EngineInstance\n    @extends EmberObject\n    @uses RegistryProxyMixin\n    @uses ContainerProxyMixin\n  */\n  var EngineInstance = _runtime.Object.extend(_runtime.RegistryProxyMixin, _runtime.ContainerProxyMixin, {\n    /**\n      The base `Engine` for which this is an instance.\n       @property {Engine} engine\n      @private\n    */\n    base: null,\n\n    init() {\n      this._super(...arguments);\n\n      (0, _utils.guidFor)(this);\n      var base = this.base;\n\n      if (!base) {\n        base = this.application;\n        this.base = base;\n      } // Create a per-instance registry that will use the application's registry\n      // as a fallback for resolving registrations.\n\n\n      var registry = this.__registry__ = new _container.Registry({\n        fallback: base.__registry__\n      }); // Create a per-instance container from the instance's registry\n\n      this.__container__ = registry.container({\n        owner: this\n      });\n      this._booted = false;\n    },\n\n    /**\n      Initialize the `EngineInstance` and return a promise that resolves\n      with the instance itself when the boot process is complete.\n       The primary task here is to run any registered instance initializers.\n       See the documentation on `BootOptions` for the options it takes.\n       @public\n      @method boot\n      @param options {Object}\n      @return {Promise<EngineInstance,Error>}\n    */\n    boot(options) {\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n\n      this._bootPromise = new _runtime.RSVP.Promise(resolve => resolve(this._bootSync(options)));\n      return this._bootPromise;\n    },\n\n    /**\n      Unfortunately, a lot of existing code assumes booting an instance is\n      synchronous – specifically, a lot of tests assume the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in a new instance\n      being fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this\n      assumption, so we created the asynchronous version above that returns a\n      promise. But until we have migrated all the code, we would have to expose\n      this method for use *internally* in places where we need to boot an instance\n      synchronously.\n       @private\n    */\n    _bootSync(options) {\n      if (this._booted) {\n        return this;\n      }\n\n      (true && !((0, _engineParent.getEngineParent)(this)) && (0, _debug.assert)(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\", (0, _engineParent.getEngineParent)(this)));\n      this.cloneParentDependencies();\n      this.setupRegistry(options);\n      this.base.runInstanceInitializers(this);\n      this._booted = true;\n      return this;\n    },\n\n    setupRegistry(options = this.__container__.lookup('-environment:main')) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    /**\n     Unregister a factory.\n      Overrides `RegistryProxy#unregister` in order to clear any cached instances\n     of the unregistered factory.\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister(fullName) {\n      this.__container__.reset(fullName);\n\n      this._super(...arguments);\n    },\n\n    /**\n      Build a new `EngineInstance` that's a child of this instance.\n       Engines must be registered by name with their parent engine\n      (or application).\n       @private\n      @method buildChildEngineInstance\n      @param name {String} the registered name of the engine.\n      @param options {Object} options provided to the engine instance.\n      @return {EngineInstance,Error}\n    */\n    buildChildEngineInstance(name, options = {}) {\n      var Engine = this.lookup(`engine:${name}`);\n\n      if (!Engine) {\n        throw new _error.default(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);\n      }\n\n      var engineInstance = Engine.buildInstance(options);\n      (0, _engineParent.setEngineParent)(engineInstance, this);\n      return engineInstance;\n    },\n\n    /**\n      Clone dependencies shared between an engine instance and its parent.\n       @private\n      @method cloneParentDependencies\n    */\n    cloneParentDependencies() {\n      var parent = (0, _engineParent.getEngineParent)(this);\n      var registrations = ['route:basic', 'service:-routing', 'service:-glimmer-environment'];\n      registrations.forEach(key => this.register(key, parent.resolveRegistration(key)));\n      var env = parent.lookup('-environment:main');\n      this.register('-environment:main', env, {\n        instantiate: false\n      });\n      var singletons = ['router:main', (0, _container.privatize)`-bucket-cache:main`, '-view-registry:main', `renderer:-${env.isInteractive ? 'dom' : 'inert'}`, 'service:-document', (0, _container.privatize)`template-compiler:main`];\n\n      if (env.isInteractive) {\n        singletons.push('event_dispatcher:main');\n      }\n\n      singletons.forEach(key => this.register(key, parent.lookup(key), {\n        instantiate: false\n      }));\n      this.inject('view', '_environment', '-environment:main');\n      this.inject('route', '_environment', '-environment:main');\n    }\n\n  });\n\n  EngineInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n     */\n    setupRegistry(registry, options) {\n      // when no options/environment is present, do nothing\n      if (!options) {\n        return;\n      }\n\n      registry.injection('view', '_environment', '-environment:main');\n      registry.injection('route', '_environment', '-environment:main');\n\n      if (options.isInteractive) {\n        registry.injection('view', 'renderer', 'renderer:-dom');\n        registry.injection('component', 'renderer', 'renderer:-dom');\n      } else {\n        registry.injection('view', 'renderer', 'renderer:-inert');\n        registry.injection('component', 'renderer', 'renderer:-inert');\n      }\n    }\n\n  });\n  var _default = EngineInstance;\n  _exports.default = _default;\n});","define(\"@ember/engine/lib/engine-parent\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getEngineParent = getEngineParent;\n  _exports.setEngineParent = setEngineParent;\n\n  /**\n  @module @ember/engine\n  */\n  var ENGINE_PARENT = (0, _utils.symbol)('ENGINE_PARENT');\n  /**\n    `getEngineParent` retrieves an engine instance's parent instance.\n  \n    @method getEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @return {EngineInstance} The parent engine instance.\n    @for @ember/engine\n    @static\n    @private\n  */\n\n  function getEngineParent(engine) {\n    return engine[ENGINE_PARENT];\n  }\n  /**\n    `setEngineParent` sets an engine instance's parent instance.\n  \n    @method setEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @param {EngineInstance} parent The parent engine instance.\n    @private\n  */\n\n\n  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\n  }\n});","define(\"@ember/error/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   @module @ember/error\n  */\n\n  /**\n    The JavaScript Error object used by Ember.assert.\n  \n    @class Error\n    @namespace Ember\n    @extends Error\n    @constructor\n    @public\n  */\n  var _default = Error;\n  _exports.default = _default;\n});","define(\"@ember/instrumentation/index\", [\"exports\", \"@ember/-internals/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.instrument = instrument;\n  _exports._instrumentStart = _instrumentStart;\n  _exports.subscribe = subscribe;\n  _exports.unsubscribe = unsubscribe;\n  _exports.reset = reset;\n  _exports.flaggedInstrument = _exports.subscribers = void 0;\n\n  /* eslint no-console:off */\n\n  /* global console */\n\n  /**\n  @module @ember/instrumentation\n  @private\n  */\n\n  /**\n    The purpose of the Ember Instrumentation module is\n    to provide efficient, general-purpose instrumentation\n    for Ember.\n  \n    Subscribe to a listener by using `subscribe`:\n  \n    ```javascript\n    import { subscribe } from '@ember/instrumentation';\n  \n    subscribe(\"render\", {\n      before(name, timestamp, payload) {\n  \n      },\n  \n      after(name, timestamp, payload) {\n  \n      }\n    });\n    ```\n  \n    If you return a value from the `before` callback, that same\n    value will be passed as a fourth parameter to the `after`\n    callback.\n  \n    Instrument a block of code by using `instrument`:\n  \n    ```javascript\n    import { instrument } from '@ember/instrumentation';\n  \n    instrument(\"render.handlebars\", payload, function() {\n      // rendering logic\n    }, binding);\n    ```\n  \n    Event names passed to `instrument` are namespaced\n    by periods, from more general to more specific. Subscribers\n    can listen for events by whatever level of granularity they\n    are interested in.\n  \n    In the above example, the event is `render.handlebars`,\n    and the subscriber listened for all events beginning with\n    `render`. It would receive callbacks for events named\n    `render`, `render.handlebars`, `render.container`, or\n    even `render.handlebars.layout`.\n  \n    @class Instrumentation\n    @static\n    @private\n  */\n  var subscribers = [];\n  _exports.subscribers = subscribers;\n  var cache = {};\n\n  function populateListeners(name) {\n    var listeners = [];\n    var subscriber;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      subscriber = subscribers[i];\n\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n\n    cache[name] = listeners;\n    return listeners;\n  }\n\n  var time = (() => {\n    var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n    var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n    return fn ? fn.bind(perf) : Date.now;\n  })();\n\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function instrument(name, p1, p2, p3) {\n    var _payload;\n\n    var callback;\n    var binding;\n\n    if (arguments.length <= 3 && isCallback(p1)) {\n      callback = p1;\n      binding = p2;\n    } else {\n      _payload = p1;\n      callback = p2;\n      binding = p3;\n    } // fast path\n\n\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    } // avoid allocating the payload in fast path\n\n\n    var payload = _payload || {};\n\n    var finalizer = _instrumentStart(name, () => payload);\n\n    if (finalizer === NOOP) {\n      return callback.call(binding);\n    } else {\n      return withFinalizer(callback, finalizer, payload, binding);\n    }\n  }\n\n  var flaggedInstrument;\n  _exports.flaggedInstrument = flaggedInstrument;\n\n  if (false\n  /* EMBER_IMPROVED_INSTRUMENTATION */\n  ) {\n    _exports.flaggedInstrument = flaggedInstrument = instrument;\n  } else {\n    _exports.flaggedInstrument = flaggedInstrument = function instrument(_name, _payload, callback) {\n      return callback();\n    };\n  }\n\n  function withFinalizer(callback, finalizer, payload, binding) {\n    try {\n      return callback.call(binding);\n    } catch (e) {\n      payload.exception = e;\n      throw e;\n    } finally {\n      finalizer();\n    }\n  }\n\n  function NOOP() {}\n\n  function _instrumentStart(name, payloadFunc, payloadArg) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n\n    var listeners = cache[name];\n\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n\n    var payload = payloadFunc(payloadArg);\n    var STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n    var timeName;\n\n    if (STRUCTURED_PROFILE) {\n      timeName = `${name}: ${payload.object}`;\n      console.time(timeName);\n    }\n\n    var beforeValues = [];\n    var timestamp = time();\n\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      beforeValues.push(listener.before(name, timestamp, payload));\n    }\n\n    return function _instrumentEnd() {\n      var timestamp = time();\n\n      for (var _i = 0; _i < listeners.length; _i++) {\n        var _listener = listeners[_i];\n\n        if (typeof _listener.after === 'function') {\n          _listener.after(name, timestamp, payload, beforeValues[_i]);\n        }\n      }\n\n      if (STRUCTURED_PROFILE) {\n        console.timeEnd(timeName);\n      }\n    };\n  }\n  /**\n    Subscribes to a particular event or instrumented block of code.\n  \n    @method subscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {String} [pattern] Namespaced event name.\n    @param {Object} [object] Before and After hooks.\n  \n    @return {Subscriber}\n    @private\n  */\n\n\n  function subscribe(pattern, object) {\n    var paths = pattern.split('.');\n    var path;\n    var regexes = [];\n\n    for (var i = 0; i < paths.length; i++) {\n      path = paths[i];\n\n      if (path === '*') {\n        regexes.push('[^\\\\.]*');\n      } else {\n        regexes.push(path);\n      }\n    }\n\n    var regex = regexes.join('\\\\.');\n    regex = `${regex}(\\\\..*)?`;\n    var subscriber = {\n      pattern,\n      regex: new RegExp(`^${regex}$`),\n      object\n    };\n    subscribers.push(subscriber);\n    cache = {};\n    return subscriber;\n  }\n  /**\n    Unsubscribes from a particular event or instrumented block of code.\n  \n    @method unsubscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {Object} [subscriber]\n    @private\n  */\n\n\n  function unsubscribe(subscriber) {\n    var index = 0;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\n      }\n    }\n\n    subscribers.splice(index, 1);\n    cache = {};\n  }\n  /**\n    Resets `Instrumentation` by flushing list of subscribers.\n  \n    @method reset\n    @for @ember/instrumentation\n    @static\n    @private\n  */\n\n\n  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});","define(\"@ember/modifier/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"setModifierManager\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.setModifierManager;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilties\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.modifierCapabilities;\n    }\n  });\n});","define(\"@ember/object/compat\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/reference\"], function (_exports, _metal, _debug, _reference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dependentKeyCompat = dependentKeyCompat;\n\n  var wrapGetterSetter = function (_target, key, desc) {\n    var {\n      get: originalGet\n    } = desc;\n\n    if (originalGet !== undefined) {\n      desc.get = function () {\n        var propertyTag = (0, _metal.tagForProperty)(this, key);\n        var ret;\n        var tag = (0, _metal.track)(() => {\n          ret = originalGet.call(this);\n        });\n        (0, _reference.update)(propertyTag, tag);\n        (0, _metal.consume)(tag);\n        return ret;\n      };\n    }\n\n    return desc;\n  };\n\n  function dependentKeyCompat(target, key, desc) {\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      desc = target;\n\n      var decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n        (true && !(isClassicDecorator) && (0, _debug.assert)('The @dependentKeyCompat decorator may only be passed a method when used in classic classes. You should decorate getters/setters directly in native classes', isClassicDecorator));\n        (true && !(desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')) && (0, _debug.assert)('The dependentKeyCompat() decorator must be passed a getter or setter when used in classic classes', desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')));\n        return wrapGetterSetter(target, key, desc);\n      };\n\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n\n    (true && !(desc !== null && typeof desc.get === 'function' || typeof desc.set === 'function') && (0, _debug.assert)('The @dependentKeyCompat decorator must be applied to getters/setters when used in native classes', desc !== null && typeof desc.get === 'function' || typeof desc.set === 'function'));\n    return wrapGetterSetter(target, key, desc);\n  }\n\n  (0, _metal.setClassicDecorator)(dependentKeyCompat);\n});","define(\"@ember/object/computed\", [\"exports\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _computed_macros, _reduce_computed_macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"empty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.empty;\n    }\n  });\n  Object.defineProperty(_exports, \"notEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.notEmpty;\n    }\n  });\n  Object.defineProperty(_exports, \"none\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.none;\n    }\n  });\n  Object.defineProperty(_exports, \"not\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.not;\n    }\n  });\n  Object.defineProperty(_exports, \"bool\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.bool;\n    }\n  });\n  Object.defineProperty(_exports, \"match\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.match;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.equal;\n    }\n  });\n  Object.defineProperty(_exports, \"gt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gt;\n    }\n  });\n  Object.defineProperty(_exports, \"gte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gte;\n    }\n  });\n  Object.defineProperty(_exports, \"lt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lt;\n    }\n  });\n  Object.defineProperty(_exports, \"lte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lte;\n    }\n  });\n  Object.defineProperty(_exports, \"oneWay\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"readOnly\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.readOnly;\n    }\n  });\n  Object.defineProperty(_exports, \"deprecatingAlias\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.deprecatingAlias;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.and;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.or;\n    }\n  });\n  Object.defineProperty(_exports, \"sum\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sum;\n    }\n  });\n  Object.defineProperty(_exports, \"min\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.min;\n    }\n  });\n  Object.defineProperty(_exports, \"max\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.max;\n    }\n  });\n  Object.defineProperty(_exports, \"map\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.map;\n    }\n  });\n  Object.defineProperty(_exports, \"sort\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sort;\n    }\n  });\n  Object.defineProperty(_exports, \"setDiff\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.setDiff;\n    }\n  });\n  Object.defineProperty(_exports, \"mapBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.mapBy;\n    }\n  });\n  Object.defineProperty(_exports, \"filter\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filter;\n    }\n  });\n  Object.defineProperty(_exports, \"filterBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filterBy;\n    }\n  });\n  Object.defineProperty(_exports, \"uniq\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniq;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniqBy;\n    }\n  });\n  Object.defineProperty(_exports, \"union\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.union;\n    }\n  });\n  Object.defineProperty(_exports, \"intersect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.intersect;\n    }\n  });\n  Object.defineProperty(_exports, \"collect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.collect;\n    }\n  });\n});","define(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\", \"@ember/-internals/metal\"], function (_exports, _debug, _polyfills, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.action = action;\n\n  /**\n    Decorator that turns the target function into an Action which can be accessed\n    directly by reference.\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n    ```hbs\n    <!-- template.hbs -->\n    <button {{action this.toggleShowing}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    Decorated actions also interop with the string style template actions:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button {{action \"toggleShowing\"}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    It also binds the function directly to the instance, so it can be used in any\n    context and will correctly refer to the class it came from:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert this.toggleShowing}}\n      {{on \"click\" this.toggleShowing}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    This can also be used in JavaScript code directly:\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      constructor() {\n        super(...arguments);\n  \n        // this.toggleShowing is still bound correctly when added to\n        // the event listener\n        document.addEventListener('click', this.toggleShowing);\n      }\n  \n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n  \n    This is considered best practice, since it means that methods will be bound\n    correctly no matter where they are used. By contrast, the `{{action}}` helper\n    and modifier can also be used to bind context, but it will be required for\n    every usage of the method:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert (action this.toggleShowing)}}\n      {{on \"click\" (action this.toggleShowing)}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    They also do not have equivalents in JavaScript directly, so they cannot be\n    used for other situations where binding would be useful.\n  \n    @public\n    @method action\n    @for @ember/object\n    @static\n    @param {Function|undefined} callback The function to turn into an action,\n                                         when used in classic classes\n    @return {PropertyDecorator} property decorator instance\n  */\n  var BINDINGS_MAP = new WeakMap();\n\n  function setupAction(target, key, actionFn) {\n    if (target.constructor !== undefined && typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\n\n    if (!target.hasOwnProperty('actions')) {\n      var parentActions = target.actions; // we need to assign because of the way mixins copy actions down when inheriting\n\n      target.actions = parentActions ? (0, _polyfills.assign)({}, parentActions) : {};\n    }\n\n    target.actions[key] = actionFn;\n    return {\n      get() {\n        var bindings = BINDINGS_MAP.get(this);\n\n        if (bindings === undefined) {\n          bindings = new Map();\n          BINDINGS_MAP.set(this, bindings);\n        }\n\n        var fn = bindings.get(actionFn);\n\n        if (fn === undefined) {\n          fn = actionFn.bind(this);\n          bindings.set(actionFn, fn);\n        }\n\n        return fn;\n      }\n\n    };\n  }\n\n  function action(target, key, desc) {\n    var actionFn;\n\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      actionFn = target;\n\n      var decorator = function (target, key, desc, meta, isClassicDecorator) {\n        (true && !(isClassicDecorator) && (0, _debug.assert)('The @action decorator may only be passed a method when used in classic classes. You should decorate methods directly in native classes', isClassicDecorator));\n        (true && !(typeof actionFn === 'function') && (0, _debug.assert)('The action() decorator must be passed a method when used in classic classes', typeof actionFn === 'function'));\n        return setupAction(target, key, actionFn);\n      };\n\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n\n    actionFn = desc.value;\n    (true && !(typeof actionFn === 'function') && (0, _debug.assert)('The @action decorator must be applied to methods when used in native classes', typeof actionFn === 'function'));\n    return setupAction(target, key, actionFn);\n  }\n\n  (0, _metal.setClassicDecorator)(action);\n});","define(\"@ember/object/lib/computed/computed_macros\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.empty = empty;\n  _exports.notEmpty = notEmpty;\n  _exports.none = none;\n  _exports.not = not;\n  _exports.bool = bool;\n  _exports.match = match;\n  _exports.equal = equal;\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  _exports.oneWay = oneWay;\n  _exports.readOnly = readOnly;\n  _exports.deprecatingAlias = deprecatingAlias;\n  _exports.or = _exports.and = void 0;\n\n  /**\n  @module @ember/object\n  */\n  function expandPropertiesToArray(predicateName, properties) {\n    var expandedProperties = [];\n\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\n\n    for (var i = 0; i < properties.length; i++) {\n      var property = properties[i];\n      (true && !(property.indexOf(' ') < 0) && (0, _debug.assert)(`Dependent keys passed to computed.${predicateName}() can\\'t have spaces.`, property.indexOf(' ') < 0));\n      (0, _metal.expandProperties)(property, extractProperty);\n    }\n\n    return expandedProperties;\n  }\n\n  function generateComputedWithPredicate(name, predicate) {\n    return (...properties) => {\n      (true && !(!(0, _metal.isElementDescriptor)(properties)) && (0, _debug.assert)(`You attempted to use @${name} as a decorator directly, but it requires at least one dependent key parameter`, !(0, _metal.isElementDescriptor)(properties)));\n      var dependentKeys = expandPropertiesToArray(name, properties);\n      var computedFunc = (0, _metal.computed)(...dependentKeys, function () {\n        var lastIdx = dependentKeys.length - 1;\n\n        for (var i = 0; i < lastIdx; i++) {\n          var value = (0, _metal.get)(this, dependentKeys[i]);\n\n          if (!predicate(value)) {\n            return value;\n          }\n        }\n\n        return (0, _metal.get)(this, dependentKeys[lastIdx]);\n      });\n      return computedFunc;\n    };\n  }\n  /**\n    A computed property macro that returns true if the value of the dependent\n    property is null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      @empty('todos') isDone;\n    }\n  \n    let todoList = new ToDoList(\n      ['Unit Test', 'Documentation', 'Release']\n    );\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      isDone: empty('todos')\n    });\n  \n    let todoList = ToDoList.create({\n      todos: ['Unit Test', 'Documentation', 'Release']\n    });\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    @since 1.6.0\n    @method empty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if the value\n    of the dependent property is null, an empty string, empty array, or empty\n    function and false if the underlying value is not empty.\n  \n    @public\n  */\n\n\n  function empty(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(`${dependentKey}.length`, function () {\n      return (0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is NOT null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(backpack) {\n        set(this, 'backpack', backpack);\n      }\n  \n      @notEmpty('backpack') hasStuff\n    }\n  \n    let hamster = new Hamster(\n      ['Food', 'Sleeping Bag', 'Tent']\n    );\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasStuff: notEmpty('backpack')\n    });\n  \n    let hamster = Hamster.create({\n      backpack: ['Food', 'Sleeping Bag', 'Tent']\n    });\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    @method notEmpty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is not empty.\n    @public\n  */\n\n\n  function notEmpty(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(`${dependentKey}.length`, function () {\n      return !(0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is null or undefined. This avoids errors from JSLint complaining about use of\n    ==, which can be technically confusing.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    class Hamster {\n      @none('food') isHungry;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      isHungry: none('food')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    @method none\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is null or undefined.\n    @public\n  */\n\n\n  function none(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.isNone)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns the inverse boolean value of the original\n    value for the dependent property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    class User {\n      loggedIn = false;\n  \n      @not('loggedIn') isAnonymous;\n    }\n  \n    let user = new User();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      loggedIn: false,\n  \n      isAnonymous: not('loggedIn')\n    });\n  \n    let user = User.create();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    @method not\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns inverse of the\n    original value for property\n    @public\n  */\n\n\n  function not(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return !(0, _metal.get)(this, dependentKey);\n    });\n  }\n  /**\n    A computed property that converts the provided dependent property into a\n    boolean value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    class Hamster {\n      @bool('numBananas') hasBananas\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    let Hamster = EmberObject.extend({\n      hasBananas: bool('numBananas')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    @method bool\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which converts to boolean the\n    original value for property\n    @public\n  */\n\n\n  function bool(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return Boolean((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property which matches the original value for the dependent\n    property against a given RegExp, returning `true` if the value matches the\n    RegExp and `false` if it does not.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    class User {\n      @match('email', /^.+@.+\\..+$/) hasValidEmail;\n    }\n  \n    let user = new User();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      hasValidEmail: match('email', /^.+@.+\\..+$/)\n    });\n  \n    let user = User.create();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    @method match\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {RegExp} regexp\n    @return {ComputedProperty} computed property which match the original value\n    for property against a given RegExp\n    @public\n  */\n\n\n  function match(dependentKey, regexp) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      var value = (0, _metal.get)(this, dependentKey);\n      return regexp.test(value);\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    equal to the given value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    class Hamster {\n      @equal('percentCarrotsEaten', 100) satisfied;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      satisfied: equal('percentCarrotsEaten', 100)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    @method equal\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {String|Number|Object} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is equal to the given value.\n    @public\n  */\n\n\n  function equal(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) === value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    class Hamster {\n      @gt('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gt('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater than given value.\n    @public\n  */\n\n\n  function gt(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) > value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    class Hamster {\n      @gte('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gte('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater or equal then given value.\n    @public\n  */\n\n\n  function gte(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) >= value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    class Hamster {\n      @lt('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lt('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less then given value.\n    @public\n  */\n\n\n  function lt(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) < value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    class Hamster {\n      @lte('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lte('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less or equal than given value.\n    @public\n  */\n\n\n  function lte(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) <= value;\n    });\n  }\n  /**\n    A computed property that performs a logical `and` on the original values for\n    the provided dependent properties.\n  \n    You may pass in more than two properties and even use property brace\n    expansion.  The computed property will return the first falsy value or last\n    truthy value just like JavaScript's `&&` operator.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    class Hamster {\n      @and('hasTent', 'hasBackpack') readyForCamp;\n      @and('hasWalkingStick', 'hasBackpack') readyForHike;\n    }\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForCamp: and('hasTent', 'hasBackpack'),\n      readyForHike: and('hasWalkingStick', 'hasBackpack')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    @method and\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `and` on\n    the values of all the original values for properties.\n    @public\n  */\n\n\n  var and = generateComputedWithPredicate('and', value => value);\n  /**\n    A computed property which performs a logical `or` on the original values for\n    the provided dependent properties.\n  \n    You may pass in more than two properties and even use property brace\n    expansion.  The computed property will return the first truthy value or last\n    falsy value just like JavaScript's `||` operator.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { or } from '@ember/object/computed';\n  \n    class Hamster {\n      @or('hasJacket', 'hasUmbrella') readyForRain;\n      @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n    }\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { or } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForRain: or('hasJacket', 'hasUmbrella'),\n      readyForBeach: or('hasSunscreen', 'hasUmbrella')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    @method or\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `or` on\n    the values of all the original values for properties.\n    @public\n  */\n\n  _exports.and = and;\n  var or = generateComputedWithPredicate('or', value => !value);\n  /**\n    Creates a new property that is an alias for another property on an object.\n    Calls to `get` or `set` this property behave as though they were called on the\n    original property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    class Person {\n      name = 'Alex Matchneer';\n  \n      @alias('name') nomen;\n    }\n  \n    let alex = new Person();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      name: 'Alex Matchneer',\n  \n      nomen: alias('name')\n    });\n  \n    let alex = Person.create();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    @method alias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates an alias to the\n    original value for property.\n    @public\n  */\n\n  /**\n    Where `computed.alias` aliases `get` and `set`, and allows for bidirectional\n    data flow, `computed.oneWay` only provides an aliased `get`. The `set` will\n    not mutate the upstream property, rather causes the current property to become\n    the value set. This causes the downstream property to permanently diverge from\n    the upstream property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { oneWay }from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @oneWay('firstName') nickName;\n    }\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear');\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { oneWay } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: oneWay('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName: 'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // 'TeddyBear'\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    @method oneWay\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @public\n  */\n\n  _exports.or = or;\n\n  function oneWay(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.alias)(dependentKey).oneWay();\n  }\n  /**\n    This is a more semantically meaningful alias of `computed.oneWay`, whose name\n    is somewhat ambiguous as to which direction the data flows.\n  \n    @method reads\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n      property to the original value for property.\n    @public\n   */\n\n  /**\n    Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides\n    a readOnly one way binding. Very often when using `computed.oneWay` one does\n    not also want changes to propagate back up, as they will replace the value.\n  \n    This prevents the reverse flow, and also throws an exception when it occurs.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @readOnly('firstName') nickName;\n    });\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: readOnly('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName:  'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    @method readOnly\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @since 1.5.0\n    @public\n  */\n\n\n  function readOnly(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.alias)(dependentKey).readOnly();\n  }\n  /**\n    Creates a new property that is an alias for another property on an object.\n    Calls to `get` or `set` this property behave as though they were called on the\n    original property, but also print a deprecation warning.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    class Hamster {\n      @deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n      bananaCount;\n    }\n  \n    let hamster = new Hamster();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      bananaCount: deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n    });\n  \n    let hamster = Hamster.create();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    @method deprecatingAlias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Object} options Options for `deprecate`.\n    @return {ComputedProperty} computed property which creates an alias with a\n    deprecation to the original value for property.\n    @since 1.7.0\n    @public\n  */\n\n\n  function deprecatingAlias(dependentKey, options) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, {\n      get(key) {\n        (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n        return (0, _metal.get)(this, dependentKey);\n      },\n\n      set(key, value) {\n        (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n        (0, _metal.set)(this, dependentKey, value);\n        return value;\n      }\n\n    });\n  }\n});","define(\"@ember/object/lib/computed/reduce_computed_macros\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\"], function (_exports, _debug, _metal, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sum = sum;\n  _exports.max = max;\n  _exports.min = min;\n  _exports.map = map;\n  _exports.mapBy = mapBy;\n  _exports.filter = filter;\n  _exports.filterBy = filterBy;\n  _exports.uniq = uniq;\n  _exports.uniqBy = uniqBy;\n  _exports.intersect = intersect;\n  _exports.setDiff = setDiff;\n  _exports.collect = collect;\n  _exports.sort = sort;\n  _exports.union = void 0;\n\n  /**\n  @module @ember/object\n  */\n  function reduceMacro(dependentKey, callback, initialValue, name) {\n    (true && !(!/[\\[\\]\\{\\}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey)));\n    return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n      var arr = (0, _metal.get)(this, dependentKey);\n\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n\n      return arr.reduce(callback, initialValue, this);\n    }).readOnly();\n  }\n\n  function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n    // This is a bit ugly\n    var propertyName;\n\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n\n    return (0, _metal.computed)(dependentKey, ...additionalDependentKeys, function () {\n      var value = (0, _metal.get)(this, propertyName);\n\n      if ((0, _runtime.isArray)(value)) {\n        return (0, _runtime.A)(callback.call(this, value));\n      } else {\n        return (0, _runtime.A)();\n      }\n    }).readOnly();\n  }\n\n  function multiArrayMacro(_dependentKeys, callback, name) {\n    (true && !(_dependentKeys.every(dependentKey => !/[\\[\\]\\{\\}]/g.test(dependentKey))) && (0, _debug.assert)(`Dependent keys passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, _dependentKeys.every(dependentKey => !/[\\[\\]\\{\\}]/g.test(dependentKey))));\n\n    var dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n\n    return (0, _metal.computed)(...dependentKeys, function () {\n      return (0, _runtime.A)(callback.call(this, _dependentKeys));\n    }).readOnly();\n  }\n  /**\n    A computed property that returns the sum of the values in the dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { sum } from '@ember/object/computed';\n  \n    class Invoice {\n      lineItems = [1.00, 2.50, 9.99];\n  \n      @sum('lineItems') total;\n    }\n  \n    let invoice = new Invoice();\n  \n    invoice.total; // 13.49\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sum } from '@ember/object/computed';\n  \n    let Invoice = EmberObject.extend({\n      lineItems: [1.00, 2.50, 9.99],\n  \n      total: sum('lineItems')\n    })\n  \n    let invoice = Invoice.create();\n  \n    invoice.total; // 13.49\n    ```\n  \n    @method sum\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the sum of all values in the\n    dependentKey's array\n    @since 1.4.0\n    @public\n  */\n\n\n  function sum(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (sum, item) => sum + item, 0, 'sum');\n  }\n  /**\n    A computed property that calculates the maximum value in the dependent array.\n    This will return `-Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @max('childAges') maxChildAge;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      maxChildAge: max('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the max of a list of Date objects will be the highest timestamp as a `Number`.\n    This behavior is consistent with `Math.max`.\n  \n    @method max\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the largest value in the dependentKey's\n    array\n    @public\n  */\n\n\n  function max(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (max, item) => Math.max(max, item), -Infinity, 'max');\n  }\n  /**\n    A computed property that calculates the minimum value in the dependent array.\n    This will return `Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @min('childAges') minChildAge;\n    }\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      minChildAge: min('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the min of a list of Date objects will be the lowest timestamp as a `Number`.\n    This behavior is consistent with `Math.min`.\n  \n    @method min\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the smallest value in the dependentKey's array\n    @public\n  */\n\n\n  function min(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (min, item) => Math.min(min, item), Infinity, 'min');\n  }\n  /**\n    Returns an array mapped via the callback\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n  \n    ```javascript\n    function mapCallback(item, index);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n      excitingChores;\n    });\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      excitingChores: map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: ['clean', 'write more unit tests']\n    });\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    You can optionally pass an array of additional dependent keys as the second\n    parameter to the macro, if your map function relies on any external values:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      shouldUpperCase = false;\n  \n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', ['shouldUpperCase'], function(chore, index) {\n        if (this.shouldUpperCase) {\n          return `${chore.toUpperCase()}!`;\n        } else {\n          return `${chore}!`;\n        }\n      })\n      excitingChores;\n    }\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['clean!', 'write more unit tests!']\n  \n    set(hamster, 'shouldUpperCase', true);\n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    @method map\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional\n    dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} an array mapped via the callback\n    @public\n  */\n\n\n  function map(dependentKey, additionalDependentKeys, callback) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to map must be a callback function', typeof callback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.map(callback, this);\n    });\n  }\n  /**\n    Returns an array mapped to the specified key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    @method mapBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} an array mapped to the specified key\n    @public\n  */\n\n\n  function mapBy(dependentKey, propertyKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(typeof propertyKey === 'string') && (0, _debug.assert)('`computed.mapBy` expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string'));\n    (true && !(!/[\\[\\]\\{\\}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.mapBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey)));\n    return map(`${dependentKey}.@each.${propertyKey}`, item => (0, _metal.get)(item, propertyKey));\n  }\n  /**\n    Filters the array by the callback.\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n    - `array` is the dependant array itself.\n  \n    ```javascript\n    function filterCallback(item, index, array);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = Hamster.create([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    You can also use `@each.property` in your dependent key, the callback will\n    still use the underlying array:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores.@each.done', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n  \n    set(hamster.chores[2], 'done', true);\n    hamster.remainingChores; // []\n    ```\n  \n    Finally, you can optionally pass an array of additional dependent keys as the\n    second parameter to the macro, if your filter function relies on any external\n    values:\n  \n    ```javascript\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      doneKey = 'finished';\n  \n      @filter('chores', ['doneKey'], function(chore, index, array) {\n        return !chore[this.doneKey];\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', finished: true },\n      { name: 'clean', finished: true },\n      { name: 'write more unit tests', finished: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n    ```\n  \n    @method filter\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n\n  function filter(dependentKey, additionalDependentKeys, callback) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to filter must be a callback function', typeof callback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.filter(callback, this);\n    });\n  }\n  /**\n    Filters the array by the property and value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filterBy('chores', 'done', false) remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filterBy('chores', 'done', false)\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    @method filterBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @param {*} value\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n\n  function filterBy(dependentKey, propertyKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(!/[\\[\\]\\{\\}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.filterBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey)));\n    var callback;\n\n    if (arguments.length === 2) {\n      callback = item => (0, _metal.get)(item, propertyKey);\n    } else {\n      callback = item => (0, _metal.get)(item, propertyKey) === value;\n    }\n\n    return filter(`${dependentKey}.@each.${propertyKey}`, callback);\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniq('fruits') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      'banana',\n      'grape',\n      'kale',\n      'banana'\n    ]);\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniq('fruits')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    @method uniq\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n\n  function uniq(...args) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var uniq = (0, _runtime.A)();\n      var seen = new Set();\n      dependentKeys.forEach(dependentKey => {\n        var value = (0, _metal.get)(this, dependentKey);\n\n        if ((0, _runtime.isArray)(value)) {\n          value.forEach(item => {\n            if (!seen.has(item)) {\n              seen.add(item);\n              uniq.push(item);\n            }\n          });\n        }\n      });\n      return uniq;\n    }, 'uniq');\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from an array, with uniqueness determined by specific key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniqBy('fruits', 'id') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      { id: 1, 'banana' },\n      { id: 2, 'grape' },\n      { id: 3, 'peach' },\n      { id: 1, 'banana' }\n    ]);\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniqBy('fruits', 'id')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        { id: 1, 'banana' },\n        { id: 2, 'grape' },\n        { id: 3, 'peach' },\n        { id: 1, 'banana' }\n      ]\n    });\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    @method uniqBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n\n  function uniqBy(dependentKey, propertyKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(!/[\\[\\]\\{\\}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.uniqBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey)));\n    return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n      var list = (0, _metal.get)(this, dependentKey);\n      return (0, _runtime.isArray)(list) ? (0, _runtime.uniqBy)(list, propertyKey) : (0, _runtime.A)();\n    }).readOnly();\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits, vegetables) {\n        set(this, 'fruits', fruits);\n        set(this, 'vegetables', vegetables);\n      }\n  \n      @union('fruits', 'vegetables') ediblePlants;\n    });\n  \n    let hamster = new, Hamster(\n      [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    );\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: union('fruits', 'vegetables')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      vegetables: [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    @method union\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the unique elements\n    from one or more dependent arrays.\n    @public\n  */\n\n\n  var union = uniq;\n  /**\n    A computed property which returns a new array with all the elements\n    two or more dependent arrays have in common.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    class FriendGroups {\n      constructor(adaFriends, charlesFriends) {\n        set(this, 'adaFriends', adaFriends);\n        set(this, 'charlesFriends', charlesFriends);\n      }\n  \n      @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n    }\n  \n    let groups = new FriendGroups(\n      ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    );\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    let FriendGroups = EmberObject.extend({\n      friendsInCommon: intersect('adaFriends', 'charlesFriends')\n    });\n  \n    let groups = FriendGroups.create({\n      adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    });\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    @method intersect\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the duplicated\n    elements from the dependent arrays\n    @public\n  */\n\n  _exports.union = union;\n\n  function intersect(...args) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var arrays = dependentKeys.map(dependentKey => {\n        var array = (0, _metal.get)(this, dependentKey);\n        return (0, _runtime.isArray)(array) ? array : [];\n      });\n      var results = arrays.pop().filter(candidate => {\n        for (var i = 0; i < arrays.length; i++) {\n          var found = false;\n          var array = arrays[i];\n\n          for (var j = 0; j < array.length; j++) {\n            if (array[j] === candidate) {\n              found = true;\n              break;\n            }\n          }\n\n          if (found === false) {\n            return false;\n          }\n        }\n\n        return true;\n      });\n      return (0, _runtime.A)(results);\n    }, 'intersect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array that are not in the second dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(likes, fruits) {\n        set(this, 'likes', likes);\n        set(this, 'fruits', fruits);\n      }\n  \n      @setDiff('likes', 'fruits') wants;\n    }\n  \n    let hamster = new Hamster(\n      [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      [\n        'grape',\n        'kale',\n      ]\n    );\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      wants: setDiff('likes', 'fruits')\n    });\n  \n    let hamster = Hamster.create({\n      likes: [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      fruits: [\n        'grape',\n        'kale',\n      ]\n    });\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    @method setDiff\n    @for @ember/object/computed\n    @static\n    @param {String} setAProperty\n    @param {String} setBProperty\n    @return {ComputedProperty} computes a new array with all the items from the\n    first dependent array that are not in the second dependent array\n    @public\n  */\n\n\n  function setDiff(setAProperty, setBProperty) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2));\n    (true && !(!/[\\[\\]\\{\\}]/g.test(setAProperty) && !/[\\[\\]\\{\\}]/g.test(setBProperty)) && (0, _debug.assert)(`Dependent keys passed to \\`computed.setDiff\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(setAProperty) && !/[\\[\\]\\{\\}]/g.test(setBProperty)));\n    return (0, _metal.computed)(`${setAProperty}.[]`, `${setBProperty}.[]`, function () {\n      var setA = (0, _metal.get)(this, setAProperty);\n      var setB = (0, _metal.get)(this, setBProperty);\n\n      if (!(0, _runtime.isArray)(setA)) {\n        return (0, _runtime.A)();\n      }\n\n      if (!(0, _runtime.isArray)(setB)) {\n        return (0, _runtime.A)(setA);\n      }\n\n      return setA.filter(x => setB.indexOf(x) === -1);\n    }).readOnly();\n  }\n  /**\n    A computed property that returns the array of values for the provided\n    dependent properties.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    class Hamster {\n      @collect('hat', 'shirt') clothes;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      clothes: collect('hat', 'shirt')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    @method collect\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which maps values of all passed\n    in properties to an array.\n    @public\n  */\n\n\n  function collect(...dependentKeys) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(dependentKeys, function () {\n      var res = dependentKeys.map(key => {\n        var val = (0, _metal.get)(this, key);\n        return val === undefined ? null : val;\n      });\n      return (0, _runtime.A)(res);\n    }, 'collect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array sorted based on a property or sort function. The sort\n    macro can be used in two different ways:\n  \n    1. By providing a sort callback function\n    2. By providing an array of keys to sort the array\n  \n    In the first form, the callback method you provide should have the following\n    signature:\n  \n    ```javascript\n    function sortCallback(itemA, itemB);\n    ```\n  \n    - `itemA` the first item to compare.\n    - `itemB` the second item to compare.\n  \n    This function should return negative number (e.g. `-1`) when `itemA` should\n    come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n    should come after `itemB`. If the `itemA` and `itemB` are equal this function\n    should return `0`.\n  \n    Therefore, if this function is comparing some numeric values, simple `itemA -\n    itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n    series of `if`.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      priorityTodos;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      // using a custom sort function\n      priorityTodos: sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n    });\n  \n    let todoList = ToDoList.create({\n      todos: [\n        { name: 'Unit Test', priority: 2 },\n        { name: 'Documentation', priority: 3 },\n        { name: 'Release', priority: 1 }\n      ]\n    });\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    You can also optionally pass an array of additional dependent keys as the\n    second parameter, if your sort function is dependent on additional values that\n    could changes:\n  \n    ```js\n    import EmberObject, { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      sortKey = 'priority';\n  \n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', ['sortKey'], function(a, b){\n        if (a[this.sortKey] > b[this.sortKey]) {\n          return 1;\n        } else if (a[this.sortKey] < b[this.sortKey]) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      sortedTodos;\n    });\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    In the second form, you should provide the key of the array of sort values as\n    the second parameter:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using standard ascending sort\n      todosSorting = ['name'];\n      @sort('todos', 'todosSorting') sortedTodos;\n  \n      // using descending sort\n      todosSortingDesc = ['name:desc'];\n      @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n    todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    @method sort\n    @for @ember/object/computed\n    @static\n    @param {String} itemsKey\n    @param {String|Function|Array} sortDefinitionOrDependentKeys The key of the sort definition (an array of sort properties),\n    the sort function, or an array of additional dependent keys\n    @param {Function?} sortDefinition the sort function (when used with additional dependent keys)\n    @return {ComputedProperty} computes a new sorted array based on the sort\n    property array or callback function\n    @public\n  */\n\n\n  function sort(itemsKey, additionalDependentKeys, sortDefinition) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n    if (true\n    /* DEBUG */\n    ) {\n      var argumentsValid = false;\n\n      if (arguments.length === 2) {\n        argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeys === 'string' || typeof additionalDependentKeys === 'function');\n      }\n\n      if (arguments.length === 3) {\n        argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeys) && typeof sortDefinition === 'function';\n      }\n\n      (true && !(argumentsValid) && (0, _debug.assert)('`computed.sort` can either be used with an array of sort properties or with a sort function. If used with an array of sort properties, it must receive exactly two arguments: the key of the array to sort, and the key of the array of sort properties. If used with a sort function, it may recieve up to three arguments: the key of the array to sort, an optional additional array of dependent keys for the computed property, and the sort function.', argumentsValid));\n    }\n\n    if (sortDefinition === undefined && !Array.isArray(additionalDependentKeys)) {\n      sortDefinition = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    if (typeof sortDefinition === 'function') {\n      return customSort(itemsKey, additionalDependentKeys, sortDefinition);\n    } else {\n      return propertySort(itemsKey, sortDefinition);\n    }\n  }\n\n  function customSort(itemsKey, additionalDependentKeys, comparator) {\n    return arrayMacro(itemsKey, additionalDependentKeys, function (value) {\n      return value.slice().sort((x, y) => comparator.call(this, x, y));\n    });\n  } // This one needs to dynamically set up and tear down observers on the itemsKey\n  // depending on the sortProperties\n\n\n  function propertySort(itemsKey, sortPropertiesKey) {\n    var cp = (0, _metal.computed)(`${itemsKey}.[]`, `${sortPropertiesKey}.[]`, function (key) {\n      var sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n      (true && !((0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')) && (0, _debug.assert)(`The sort definition for '${key}' on ${this} must be a function or an array of strings`, (0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')));\n      var itemsKeyIsAtThis = itemsKey === '@this';\n      var normalizedSortProperties = normalizeSortProperties(sortProperties);\n      var items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\n\n      if (!(0, _runtime.isArray)(items)) {\n        return (0, _runtime.A)();\n      }\n\n      if (normalizedSortProperties.length === 0) {\n        return (0, _runtime.A)(items.slice());\n      } else {\n        return sortByNormalizedSortProperties(items, normalizedSortProperties);\n      }\n    }).readOnly();\n    (0, _metal.descriptorForDecorator)(cp).auto();\n    return cp;\n  }\n\n  function normalizeSortProperties(sortProperties) {\n    return sortProperties.map(p => {\n      var [prop, direction] = p.split(':');\n      direction = direction || 'asc';\n      return [prop, direction];\n    });\n  }\n\n  function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n    return (0, _runtime.A)(items.slice().sort((itemA, itemB) => {\n      for (var i = 0; i < normalizedSortProperties.length; i++) {\n        var [prop, direction] = normalizedSortProperties[i];\n        var result = (0, _runtime.compare)((0, _metal.get)(itemA, prop), (0, _metal.get)(itemB, prop));\n\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n\n      return 0;\n    }));\n  }\n});","define(\"@ember/polyfills/index\", [\"exports\", \"@ember/deprecated-features\", \"@ember/polyfills/lib/merge\", \"@ember/polyfills/lib/assign\", \"@ember/polyfills/lib/weak_set\"], function (_exports, _deprecatedFeatures, _merge, _assign, _weak_set) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"assign\", {\n    enumerable: true,\n    get: function () {\n      return _assign.default;\n    }\n  });\n  Object.defineProperty(_exports, \"assignPolyfill\", {\n    enumerable: true,\n    get: function () {\n      return _assign.assign;\n    }\n  });\n  Object.defineProperty(_exports, \"_WeakSet\", {\n    enumerable: true,\n    get: function () {\n      return _weak_set.default;\n    }\n  });\n  _exports.merge = void 0;\n  var merge = _deprecatedFeatures.MERGE ? _merge.default : undefined; // Export `assignPolyfill` for testing\n\n  _exports.merge = merge;\n});","define(\"@ember/polyfills/lib/assign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assign = assign;\n  _exports.default = void 0;\n\n  /**\n   @module @ember/polyfills\n  */\n\n  /**\n    Copy properties from a source object to a target object. Source arguments remain unchanged.\n  \n    ```javascript\n    import { assign } from '@ember/polyfills';\n  \n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    var c = { company: 'Other Company' };\n    var d = { company: 'Tilde Inc.' };\n    assign(a, b, c, d); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' };\n    ```\n  \n    @method assign\n    @for @ember/polyfills\n    @param {Object} target The object to assign into\n    @param {Object} ...args The objects to copy properties from\n    @return {Object}\n    @public\n    @static\n  */\n  function assign(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var arg = arguments[i];\n\n      if (!arg) {\n        continue;\n      }\n\n      var updates = Object.keys(arg);\n\n      for (var _i = 0; _i < updates.length; _i++) {\n        var prop = updates[_i];\n        target[prop] = arg[prop];\n      }\n    }\n\n    return target;\n  } // Note: We use the bracket notation so\n  //       that the babel plugin does not\n  //       transform it.\n  // https://www.npmjs.com/package/babel-plugin-transform-object-assign\n\n\n  var {\n    assign: _assign\n  } = Object;\n\n  var _default = _assign || assign;\n\n  _exports.default = _default;\n});","define(\"@ember/polyfills/lib/merge\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = merge;\n\n  /**\n    Merge the contents of two objects together into the first object.\n  \n    ```javascript\n    import { merge } from '@ember/polyfills';\n  \n    merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n    ```\n  \n    @method merge\n    @static\n    @for @ember/polyfills\n    @param {Object} original The object to merge into\n    @param {Object} updates The object to copy properties from\n    @return {Object}\n    @deprecated\n    @public\n  */\n  function merge(original, updates) {\n    (true && !(false) && (0, _debug.deprecate)('Use of `merge` has been deprecated. Please use `assign` instead.', false, {\n      id: 'ember-polyfills.deprecate-merge',\n      until: '4.0.0',\n      url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-polyfills-deprecate-merge'\n    }));\n\n    if (updates === null || typeof updates !== 'object') {\n      return original;\n    }\n\n    var props = Object.keys(updates);\n    var prop;\n\n    for (var i = 0; i < props.length; i++) {\n      prop = props[i];\n      original[prop] = updates[prop];\n    }\n\n    return original;\n  }\n});","define(\"@ember/polyfills/lib/weak_set\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /* globals WeakSet */\n  var _default = typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill {\n    constructor() {\n      this._map = new WeakMap();\n    }\n\n    add(val) {\n      this._map.set(val, true);\n\n      return this;\n    }\n\n    delete(val) {\n      return this._map.delete(val);\n    }\n\n    has(val) {\n      return this._map.has(val);\n    }\n\n  };\n\n  _exports.default = _default;\n});","define(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"backburner\"], function (_exports, _debug, _errorHandling, _metal, _backburner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getCurrentRunLoop = getCurrentRunLoop;\n  _exports.run = run;\n  _exports.join = join;\n  _exports.begin = begin;\n  _exports.end = end;\n  _exports.schedule = schedule;\n  _exports.hasScheduledTimers = hasScheduledTimers;\n  _exports.cancelTimers = cancelTimers;\n  _exports.later = later;\n  _exports.once = once;\n  _exports.scheduleOnce = scheduleOnce;\n  _exports.next = next;\n  _exports.cancel = cancel;\n  _exports.debounce = debounce;\n  _exports.throttle = throttle;\n  _exports.bind = _exports._globalsRun = _exports.backburner = _exports.queues = _exports._rsvpErrorQueue = void 0;\n  var currentRunLoop = null;\n\n  function getCurrentRunLoop() {\n    return currentRunLoop;\n  }\n\n  function onBegin(current) {\n    currentRunLoop = current;\n  }\n\n  function onEnd(current, next) {\n    currentRunLoop = next;\n    (0, _metal.flushAsyncObservers)();\n  }\n\n  function flush(queueName, next) {\n    if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n      (0, _metal.flushAsyncObservers)();\n    }\n\n    next();\n  }\n\n  var _rsvpErrorQueue = `${Math.random()}${Date.now()}`.replace('.', '');\n  /**\n    Array of named queues. This array determines the order in which queues\n    are flushed at the end of the RunLoop. You can define your own queues by\n    simply adding the queue name to this array. Normally you should not need\n    to inspect or modify this property.\n  \n    @property queues\n    @type Array\n    @default ['actions', 'destroy']\n    @private\n  */\n\n\n  _exports._rsvpErrorQueue = _rsvpErrorQueue;\n  var queues = ['actions', // used in router transitions to prevent unnecessary loading state entry\n  // if all context promises resolve on the 'actions' queue first\n  'routerTransitions', 'render', 'afterRender', 'destroy', // used to re-throw unhandled RSVP rejection errors specifically in this\n  // position to avoid breaking anything rendered in the other sections\n  _rsvpErrorQueue];\n  _exports.queues = queues;\n  var backburner = new _backburner.default(queues, {\n    defaultQueue: 'actions',\n    onBegin,\n    onEnd,\n    onErrorTarget: _errorHandling.onErrorTarget,\n    onErrorMethod: 'onerror',\n    flush\n  });\n  /**\n   @module @ember/runloop\n  */\n  // ..........................................................\n  // run - this is ideally the only public API the dev sees\n  //\n\n  /**\n    Runs the passed target and method inside of a RunLoop, ensuring any\n    deferred actions including bindings and views updates are flushed at the\n    end.\n  \n    Normally you should not need to invoke this method yourself. However if\n    you are implementing raw event handlers when interfacing with other\n    libraries or plugins, you should probably wrap all of your code inside this\n    call.\n  \n    ```javascript\n    import { run } from '@ember/runloop';\n  \n    run(function() {\n      // code to be executed within a RunLoop\n    });\n    ```\n    @method run\n    @for @ember/runloop\n    @static\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} return value from invoking the passed function.\n    @public\n  */\n\n  _exports.backburner = backburner;\n\n  function run() {\n    return backburner.run(...arguments);\n  } // used for the Ember.run global only\n\n\n  var _globalsRun = run.bind(null);\n  /**\n    If no run-loop is present, it creates a new one. If a run loop is\n    present it will queue itself to run on the existing run-loops action\n    queue.\n  \n    Please note: This is not for normal usage, and should be used sparingly.\n  \n    If invoked when not within a run loop:\n  \n    ```javascript\n    import { join } from '@ember/runloop';\n  \n    join(function() {\n      // creates a new run-loop\n    });\n    ```\n  \n    Alternatively, if called within an existing run loop:\n  \n    ```javascript\n    import { run, join } from '@ember/runloop';\n  \n    run(function() {\n      // creates a new run-loop\n  \n      join(function() {\n        // joins with the existing run-loop, and queues for invocation on\n        // the existing run-loops action queue.\n      });\n    });\n    ```\n  \n    @method join\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} Return value from invoking the passed function. Please note,\n    when called within an existing loop, no return value is possible.\n    @public\n  */\n\n\n  _exports._globalsRun = _globalsRun;\n\n  function join() {\n    return backburner.join(...arguments);\n  }\n  /**\n    Allows you to specify which context to call the specified function in while\n    adding the execution of that function to the Ember run loop. This ability\n    makes this method a great way to asynchronously integrate third-party libraries\n    into your Ember application.\n  \n    `bind` takes two main arguments, the desired context and the function to\n    invoke in that context. Any additional arguments will be supplied as arguments\n    to the function that is passed in.\n  \n    Let's use the creation of a TinyMCE component as an example. Currently,\n    TinyMCE provides a setup configuration option we can use to do some processing\n    after the TinyMCE instance is initialized but before it is actually rendered.\n    We can use that setup option to do some additional setup for our component.\n    The component itself could look something like the following:\n  \n    ```app/components/rich-text-editor.js\n    import Component from '@ember/component';\n    import { on } from '@ember/object/evented';\n    import { bind } from '@ember/runloop';\n  \n    export default Component.extend({\n      initializeTinyMCE: on('didInsertElement', function() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }),\n  \n      didInsertElement() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }\n  \n      setupEditor(editor) {\n        this.set('editor', editor);\n  \n        editor.on('change', function() {\n          console.log('content changed!');\n        });\n      }\n    });\n    ```\n  \n    In this example, we use `bind` to bind the setupEditor method to the\n    context of the RichTextEditor component and to have the invocation of that\n    method be safely handled and executed by the Ember run loop.\n  \n    @method bind\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Function} returns a new function that will always have a particular context\n    @since 1.4.0\n    @public\n  */\n\n\n  var bind = (...curried) => {\n    (true && !(function (methodOrTarget, methodOrArg) {\n      // Applies the same logic as backburner parseArgs for detecting if a method\n      // is actually being passed.\n      var length = arguments.length;\n\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' || // second argument is a function\n        methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || // second argument is the name of a method in first argument\n        typeof methodOrTarget === 'function' //first argument is a function\n        ;\n      }\n    }(...curried)) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n      var length = arguments.length;\n\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n      }\n    }(...curried)));\n    return (...args) => join(...curried.concat(args));\n  };\n  /**\n    Begins a new RunLoop. Any deferred actions invoked after the begin will\n    be buffered until you invoke a matching call to `end()`. This is\n    a lower-level way to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method begin\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n\n\n  _exports.bind = bind;\n\n  function begin() {\n    backburner.begin();\n  }\n  /**\n    Ends a RunLoop. This must be called sometime after you call\n    `begin()` to flush any deferred actions. This is a lower-level way\n    to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method end\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n\n\n  function end() {\n    backburner.end();\n  }\n  /**\n    Adds the passed target/method and any optional arguments to the named\n    queue to be executed at the end of the RunLoop. If you have not already\n    started a RunLoop when calling this method one will be started for you\n    automatically.\n  \n    At the end of a RunLoop, any methods scheduled in this way will be invoked.\n    Methods will be invoked in an order matching the named queues defined in\n    the `queues` property.\n  \n    ```javascript\n    import { schedule } from '@ember/runloop';\n  \n    schedule('afterRender', this, function() {\n      // this will be executed in the 'afterRender' queue\n      console.log('scheduled on afterRender queue');\n    });\n  \n    schedule('actions', this, function() {\n      // this will be executed in the 'actions' queue\n      console.log('scheduled on actions queue');\n    });\n  \n    // Note the functions will be run in order based on the run queues order.\n    // Output would be:\n    //   scheduled on actions queue\n    //   scheduled on afterRender queue\n    ```\n  \n    @method schedule\n    @static\n    @for @ember/runloop\n    @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n    @param {Object} [target] target object to use as the context when invoking a method.\n    @param {String|Function} method The method to invoke. If you pass a string it\n      will be resolved on the target object at the time the scheduled item is\n      invoked allowing you to change the target function.\n    @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function schedule()\n  /* queue, target, method */\n  {\n    return backburner.schedule(...arguments);\n  } // Used by global test teardown\n\n\n  function hasScheduledTimers() {\n    return backburner.hasTimers();\n  } // Used by global test teardown\n\n\n  function cancelTimers() {\n    backburner.cancelTimers();\n  }\n  /**\n    Invokes the passed target/method and optional arguments after a specified\n    period of time. The last parameter of this method must always be a number\n    of milliseconds.\n  \n    You should use this method whenever you need to run some action after a\n    period of time instead of using `setTimeout()`. This method will ensure that\n    items that expire during the same script execution cycle all execute\n    together, which is often more efficient than using a real setTimeout.\n  \n    ```javascript\n    import { later } from '@ember/runloop';\n  \n    later(myContext, function() {\n      // code here will execute within a RunLoop in about 500ms with this == myContext\n    }, 500);\n    ```\n  \n    @method later\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function later()\n  /*target, method*/\n  {\n    return backburner.later(...arguments);\n  }\n  /**\n   Schedule a function to run one time during the current RunLoop. This is equivalent\n    to calling `scheduleOnce` with the \"actions\" queue.\n  \n    @method once\n    @static\n    @for @ember/runloop\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function once(...args) {\n    args.unshift('actions');\n    return backburner.scheduleOnce(...args);\n  }\n  /**\n    Schedules a function to run one time in a given queue of the current RunLoop.\n    Calling this method with the same queue/target/method combination will have\n    no effect (past the initial call).\n  \n    Note that although you can pass optional arguments these will not be\n    considered when looking for duplicates. New arguments will replace previous\n    calls.\n  \n    ```javascript\n    import { run, scheduleOnce } from '@ember/runloop';\n  \n    function sayHi() {\n      console.log('hi');\n    }\n  \n    run(function() {\n      scheduleOnce('afterRender', myContext, sayHi);\n      scheduleOnce('afterRender', myContext, sayHi);\n      // sayHi will only be executed once, in the afterRender queue of the RunLoop\n    });\n    ```\n  \n    Also note that for `scheduleOnce` to prevent additional calls, you need to\n    pass the same function instance. The following case works as expected:\n  \n    ```javascript\n    function log() {\n      console.log('Logging only once');\n    }\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, log);\n    }\n  \n    scheduleIt();\n    scheduleIt();\n    ```\n  \n    But this other case will schedule the function multiple times:\n  \n    ```javascript\n    import { scheduleOnce } from '@ember/runloop';\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, function() {\n        console.log('Closure');\n      });\n    }\n  \n    scheduleIt();\n    scheduleIt();\n  \n    // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n    // because the function we pass to it won't match the\n    // previously scheduled operation.\n    ```\n  \n    Available queues, and their order, can be found at `queues`\n  \n    @method scheduleOnce\n    @static\n    @for @ember/runloop\n    @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function scheduleOnce()\n  /* queue, target, method*/\n  {\n    return backburner.scheduleOnce(...arguments);\n  }\n  /**\n    Schedules an item to run from within a separate run loop, after\n    control has been returned to the system. This is equivalent to calling\n    `later` with a wait time of 1ms.\n  \n    ```javascript\n    import { next } from '@ember/runloop';\n  \n    next(myContext, function() {\n      // code to be executed in the next run loop,\n      // which will be scheduled after the current one\n    });\n    ```\n  \n    Multiple operations scheduled with `next` will coalesce\n    into the same later run loop, along with any other operations\n    scheduled by `later` that expire right around the same\n    time that `next` operations will fire.\n  \n    Note that there are often alternatives to using `next`.\n    For instance, if you'd like to schedule an operation to happen\n    after all DOM element operations have completed within the current\n    run loop, you can make use of the `afterRender` run loop queue (added\n    by the `ember-views` package, along with the preceding `render` queue\n    where all the DOM element operations happen).\n  \n    Example:\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { scheduleOnce } from '@ember/runloop';\n  \n    export Component.extend({\n      didInsertElement() {\n        this._super(...arguments);\n        scheduleOnce('afterRender', this, 'processChildElements');\n      },\n  \n      processChildElements() {\n        // ... do something with component's child component\n        // elements after they've finished rendering, which\n        // can't be done within this component's\n        // `didInsertElement` hook because that gets run\n        // before the child elements have been added to the DOM.\n      }\n    });\n    ```\n  \n    One benefit of the above approach compared to using `next` is\n    that you will be able to perform DOM/CSS operations before unprocessed\n    elements are rendered to the screen, which may prevent flickering or\n    other artifacts caused by delaying processing until after rendering.\n  \n    The other major benefit to the above approach is that `next`\n    introduces an element of non-determinism, which can make things much\n    harder to test, due to its reliance on `setTimeout`; it's much harder\n    to guarantee the order of scheduled operations when they are scheduled\n    outside of the current run loop, i.e. with `next`.\n  \n    @method next\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function next(...args) {\n    args.push(1);\n    return backburner.later(...args);\n  }\n  /**\n    Cancels a scheduled item. Must be a value returned by `later()`,\n    `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n    `throttle()`.\n  \n    ```javascript\n    import {\n      next,\n      cancel,\n      later,\n      scheduleOnce,\n      once,\n      throttle,\n      debounce\n    } from '@ember/runloop';\n  \n    let runNext = next(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runNext);\n  \n    let runLater = later(myContext, function() {\n      // will not be executed\n    }, 500);\n  \n    cancel(runLater);\n  \n    let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runScheduleOnce);\n  \n    let runOnce = once(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runOnce);\n  \n    let throttle = throttle(myContext, function() {\n      // will not be executed\n    }, 1, false);\n  \n    cancel(throttle);\n  \n    let debounce = debounce(myContext, function() {\n      // will not be executed\n    }, 1);\n  \n    cancel(debounce);\n  \n    let debounceImmediate = debounce(myContext, function() {\n      // will be executed since we passed in true (immediate)\n    }, 100, true);\n  \n    // the 100ms delay until this method can be called again will be canceled\n    cancel(debounceImmediate);\n    ```\n  \n    @method cancel\n    @static\n    @for @ember/runloop\n    @param {Object} timer Timer object to cancel\n    @return {Boolean} true if canceled or false/undefined if it wasn't found\n    @public\n  */\n\n\n  function cancel(timer) {\n    return backburner.cancel(timer);\n  }\n  /**\n    Delay calling the target method until the debounce period has elapsed\n    with no additional debounce calls. If `debounce` is called again before\n    the specified time has elapsed, the timer is reset and the entire period\n    must pass again before the target method is called.\n  \n    This method should be used when an event may be called multiple times\n    but the action should only be called once when the event is done firing.\n    A common example is for scroll events where you only want updates to\n    happen once scrolling has ceased.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150);\n  \n    // less than 150ms passes\n    debounce(myContext, whoRan, 150);\n  \n    // 150ms passes\n    // whoRan is invoked with context myContext\n    // console logs 'debounce ran.' one time.\n    ```\n  \n    Immediate allows you to run the function immediately, but debounce\n    other calls for this function until the wait time has elapsed. If\n    `debounce` is called again before the specified time has elapsed,\n    the timer is reset and the entire period must pass again before\n    the method can be called again.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 100ms passes\n    debounce(myContext, whoRan, 150, true);\n  \n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    ```\n  \n    @method debounce\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to false.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function debounce() {\n    return backburner.debounce(...arguments);\n  }\n  /**\n    Ensure that the target method is never called more frequently than\n    the specified spacing period. The target method is called immediately.\n  \n    ```javascript\n    import { throttle } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'throttle' };\n  \n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 150ms passes\n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n    ```\n  \n    @method throttle\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} spacing Number of milliseconds to space out requests.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to true.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n\n  function throttle() {\n    return backburner.throttle(...arguments);\n  }\n});","define(\"@ember/service/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\"], function (_exports, _runtime, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.inject = inject;\n  _exports.default = void 0;\n\n  /**\n   @module @ember/service\n   @public\n   */\n\n  /**\n    Creates a property that lazily looks up a service in the container. There are\n    no restrictions as to what objects a service can be injected into.\n  \n    Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default class ApplicationRoute extends Route {\n      @service('auth') authManager;\n  \n      model() {\n        return this.authManager.findCurrentUser();\n      }\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default Route.extend({\n      authManager: service('auth'),\n  \n      model() {\n        return this.get('authManager').findCurrentUser();\n      }\n    });\n    ```\n  \n    This example will create an `authManager` property on the application route\n    that looks up the `auth` service in the container, making it easily accessible\n    in the `model` hook.\n  \n    @method inject\n    @static\n    @since 1.10.0\n    @for @ember/service\n    @param {String} name (optional) name of the service to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n  function inject() {\n    return (0, _metal.inject)('service', ...arguments);\n  }\n  /**\n    @class Service\n    @extends EmberObject\n    @since 1.10.0\n    @public\n  */\n\n\n  var Service = _runtime.FrameworkObject.extend();\n\n  Service.reopenClass({\n    isServiceFactory: true\n  });\n  (0, _runtime.setFrameworkClass)(Service);\n  var _default = Service;\n  _exports.default = _default;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/lib/string_registry\", \"@ember/-internals/environment\", \"@ember/-internals/utils\"], function (_exports, _string_registry, _environment, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.loc = loc;\n  _exports.w = w;\n  _exports.decamelize = decamelize;\n  _exports.dasherize = dasherize;\n  _exports.camelize = camelize;\n  _exports.classify = classify;\n  _exports.underscore = underscore;\n  _exports.capitalize = capitalize;\n  Object.defineProperty(_exports, \"_getStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.getStrings;\n    }\n  });\n  Object.defineProperty(_exports, \"_setStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.setStrings;\n    }\n  });\n\n  /**\n  @module @ember/string\n  */\n  var STRING_DASHERIZE_REGEXP = /[ _]/g;\n  var STRING_DASHERIZE_CACHE = new _utils.Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  var STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  var CAMELIZE_CACHE = new _utils.Cache(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n  /*, separator, chr */\n  ) => match.toLowerCase()));\n  var STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  var STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  var STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  var CLASSIFY_CACHE = new _utils.Cache(1000, str => {\n    var replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n\n    var replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n\n    var parts = str.split('/');\n\n    for (var i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */\n    ) => match.toUpperCase());\n  });\n  var STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  var STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  var UNDERSCORE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  var CAPITALIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n  /*, separator, chr */\n  ) => match.toUpperCase()));\n  var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  var DECAMELIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n  /**\n    Defines string helper methods including string formatting and localization.\n    Unless `EmberENV.EXTEND_PROTOTYPES.String` is `false` these methods will also be\n    added to the `String.prototype` as well.\n  \n    @class String\n    @public\n  */\n\n  function _fmt(str, formats) {\n    // first, replace any ORDERED replacements.\n    var idx = 0; // the current index for non-numerical replacements\n\n    return str.replace(/%@([0-9]+)?/g, (_s, argIndex) => {\n      var i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      var r = i < formats.length ? formats[i] : undefined;\n      return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : String(r);\n    });\n  }\n  /**\n    Formats the passed string, but first looks up the string in the localized\n    strings hash. This is a convenient way to localize text.\n  \n    Note that it is traditional but not required to prefix localized string\n    keys with an underscore or other character so you can easily identify\n    localized strings.\n  \n    ```javascript\n    import { loc } from '@ember/string';\n  \n    Ember.STRINGS = {\n      '_Hello World': 'Bonjour le monde',\n      '_Hello %@ %@': 'Bonjour %@ %@'\n    };\n  \n    loc(\"_Hello World\");  // 'Bonjour le monde';\n    loc(\"_Hello %@ %@\", [\"John\", \"Smith\"]);  // \"Bonjour John Smith\";\n    ```\n  \n    @method loc\n    @param {String} str The string to format\n    @param {Array} formats Optional array of parameters to interpolate into string.\n    @return {String} formatted string\n    @public\n  */\n\n\n  function loc(str, formats) {\n    if (!Array.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\n\n    str = (0, _string_registry.getString)(str) || str;\n    return _fmt(str, formats);\n  }\n  /**\n    Splits a string into separate units separated by spaces, eliminating any\n    empty strings in the process. This is a convenience method for split that\n    is mostly useful when applied to the `String.prototype`.\n  \n    ```javascript\n    import { w } from '@ember/string';\n  \n    w(\"alpha beta gamma\").forEach(function(key) {\n      console.log(key);\n    });\n  \n    // > alpha\n    // > beta\n    // > gamma\n    ```\n  \n    @method w\n    @param {String} str The string to split\n    @return {Array} array containing the split strings\n    @public\n  */\n\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    import { decamelize } from '@ember/string';\n  \n    decamelize('innerHTML');          // 'inner_html'\n    decamelize('action_name');        // 'action_name'\n    decamelize('css-class-name');     // 'css-class-name'\n    decamelize('my favorite items');  // 'my favorite items'\n    ```\n  \n    @method decamelize\n    @param {String} str The string to decamelize.\n    @return {String} the decamelized string.\n    @public\n  */\n\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    import { dasherize } from '@ember/string';\n  \n    dasherize('innerHTML');                // 'inner-html'\n    dasherize('action_name');              // 'action-name'\n    dasherize('css-class-name');           // 'css-class-name'\n    dasherize('my favorite items');        // 'my-favorite-items'\n    dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n    ```\n  \n    @method dasherize\n    @param {String} str The string to dasherize.\n    @return {String} the dasherized string.\n    @public\n  */\n\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    import { camelize } from '@ember/string';\n  \n    camelize('innerHTML');                   // 'innerHTML'\n    camelize('action_name');                 // 'actionName'\n    camelize('css-class-name');              // 'cssClassName'\n    camelize('my favorite items');           // 'myFavoriteItems'\n    camelize('My Favorite Items');           // 'myFavoriteItems'\n    camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n    ```\n  \n    @method camelize\n    @param {String} str The string to camelize.\n    @return {String} the camelized string.\n    @public\n  */\n\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    import { classify } from '@ember/string';\n  \n    classify('innerHTML');                   // 'InnerHTML'\n    classify('action_name');                 // 'ActionName'\n    classify('css-class-name');              // 'CssClassName'\n    classify('my favorite items');           // 'MyFavoriteItems'\n    classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n    ```\n  \n    @method classify\n    @param {String} str the string to classify\n    @return {String} the classified string\n    @public\n  */\n\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    import { underscore } from '@ember/string';\n  \n    underscore('innerHTML');                 // 'inner_html'\n    underscore('action_name');               // 'action_name'\n    underscore('css-class-name');            // 'css_class_name'\n    underscore('my favorite items');         // 'my_favorite_items'\n    underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n    ```\n  \n    @method underscore\n    @param {String} str The string to underscore.\n    @return {String} the underscored string.\n    @public\n  */\n\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    import { capitalize } from '@ember/string';\n  \n    capitalize('innerHTML')                 // 'InnerHTML'\n    capitalize('action_name')               // 'Action_name'\n    capitalize('css-class-name')            // 'Css-class-name'\n    capitalize('my favorite items')         // 'My favorite items'\n    capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n    ```\n  \n    @method capitalize\n    @param {String} str The string to capitalize.\n    @return {String} The capitalized string.\n    @public\n  */\n\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    Object.defineProperties(String.prototype, {\n      /**\n        See [String.w](/ember/release/classes/String/methods/w?anchor=w).\n             @method w\n        @for @ember/string\n        @static\n        @private\n      */\n      w: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return w(this);\n        }\n\n      },\n\n      /**\n        See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc).\n             @method loc\n        @for @ember/string\n        @static\n        @private\n      */\n      loc: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value(...args) {\n          return loc(this, args);\n        }\n\n      },\n\n      /**\n        See [String.camelize](/ember/release/classes/String/methods/camelize?anchor=camelize).\n             @method camelize\n        @for @ember/string\n        @static\n        @private\n      */\n      camelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return camelize(this);\n        }\n\n      },\n\n      /**\n        See [String.decamelize](/ember/release/classes/String/methods/decamelize?anchor=decamelize).\n             @method decamelize\n        @for @ember/string\n        @static\n        @private\n      */\n      decamelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return decamelize(this);\n        }\n\n      },\n\n      /**\n        See [String.dasherize](/ember/release/classes/String/methods/dasherize?anchor=dasherize).\n             @method dasherize\n        @for @ember/string\n        @static\n        @private\n      */\n      dasherize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return dasherize(this);\n        }\n\n      },\n\n      /**\n        See [String.underscore](/ember/release/classes/String/methods/underscore?anchor=underscore).\n             @method underscore\n        @for @ember/string\n        @static\n        @private\n      */\n      underscore: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return underscore(this);\n        }\n\n      },\n\n      /**\n        See [String.classify](/ember/release/classes/String/methods/classify?anchor=classify).\n             @method classify\n        @for @ember/string\n        @static\n        @private\n      */\n      classify: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return classify(this);\n        }\n\n      },\n\n      /**\n        See [String.capitalize](/ember/release/classes/String/methods/capitalize?anchor=capitalize).\n             @method capitalize\n        @for @ember/string\n        @static\n        @private\n      */\n      capitalize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n\n        value() {\n          return capitalize(this);\n        }\n\n      }\n    });\n  }\n});","define(\"@ember/string/lib/string_registry\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setStrings = setStrings;\n  _exports.getStrings = getStrings;\n  _exports.getString = getString;\n  // STATE within a module is frowned upon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  var STRINGS = {};\n\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n\n  function getStrings() {\n    return STRINGS;\n  }\n\n  function getString(name) {\n    return STRINGS[name];\n  }\n});","define(\"@glimmer/encoder\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.InstructionEncoder = void 0;\n\n  class InstructionEncoder {\n    constructor(buffer) {\n      this.buffer = buffer;\n      this.typePos = 0;\n      this.size = 0;\n    }\n\n    encode(type, machine) {\n      if (type > 255\n      /* TYPE_SIZE */\n      ) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n\n      this.buffer.push(type | machine | arguments.length - 2 << 8\n      /* ARG_SHIFT */\n      );\n      this.typePos = this.buffer.length - 1;\n\n      for (var i = 2; i < arguments.length; i++) {\n        var op = arguments[i];\n\n        if (typeof op === 'number' && op > 4294967295\n        /* MAX_SIZE */\n        ) {\n          throw new Error(`Operand over 32-bits. Got ${op}.`);\n        }\n\n        this.buffer.push(op);\n      }\n\n      this.size = this.buffer.length;\n    }\n\n    patch(position, target) {\n      if (this.buffer[position + 1] === -1) {\n        this.buffer[position + 1] = target;\n      } else {\n        throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n      }\n    }\n\n    patchWith(position, target, operand) {\n      if (this.buffer[position + 1] === -1) {\n        this.buffer[position + 1] = target;\n        this.buffer[position + 2] = operand;\n      } else {\n        throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n      }\n    }\n\n  }\n\n  _exports.InstructionEncoder = InstructionEncoder;\n});","define(\"@glimmer/low-level\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Stack = _exports.Storage = void 0;\n\n  class Storage {\n    constructor() {\n      this.array = [];\n      this.next = 0;\n    }\n\n    add(element) {\n      var {\n        next: slot,\n        array\n      } = this;\n\n      if (slot === array.length) {\n        this.next++;\n      } else {\n        var prev = array[slot];\n        this.next = prev;\n      }\n\n      this.array[slot] = element;\n      return slot;\n    }\n\n    deref(pointer) {\n      return this.array[pointer];\n    }\n\n    drop(pointer) {\n      this.array[pointer] = this.next;\n      this.next = pointer;\n    }\n\n  }\n\n  _exports.Storage = Storage;\n\n  class Stack {\n    constructor(vec = []) {\n      this.vec = vec;\n    }\n\n    clone() {\n      return new Stack(this.vec.slice());\n    }\n\n    sliceFrom(start) {\n      return new Stack(this.vec.slice(start));\n    }\n\n    slice(start, end) {\n      return new Stack(this.vec.slice(start, end));\n    }\n\n    copy(from, to) {\n      this.vec[to] = this.vec[from];\n    } // TODO: how to model u64 argument?\n\n\n    writeRaw(pos, value) {\n      // TODO: Grow?\n      this.vec[pos] = value;\n    } // TODO: partially decoded enum?\n\n\n    getRaw(pos) {\n      return this.vec[pos];\n    }\n\n    reset() {\n      this.vec.length = 0;\n    }\n\n    len() {\n      return this.vec.length;\n    }\n\n  }\n\n  _exports.Stack = Stack;\n});","define(\"@glimmer/node\", [\"exports\", \"@glimmer/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.serializeBuilder = serializeBuilder;\n  _exports.NodeDOMTreeConstruction = void 0;\n\n  class NodeDOMTreeConstruction extends _runtime.DOMTreeConstruction {\n    constructor(doc) {\n      super(doc);\n    } // override to prevent usage of `this.document` until after the constructor\n\n\n    setupUselessElement() {} // override to avoid SVG detection/work when in node (this is not needed in SSR)\n\n\n    createElement(tag) {\n      return this.document.createElement(tag);\n    } // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n\n\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n\n  }\n\n  _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n  var TEXT_NODE = 3;\n\n  function currentNode(cursor) {\n    var {\n      element,\n      nextSibling\n    } = cursor;\n\n    if (nextSibling === null) {\n      return element.lastChild;\n    } else {\n      return nextSibling.previousSibling;\n    }\n  }\n\n  class SerializeBuilder extends _runtime.NewElementBuilder {\n    constructor() {\n      super(...arguments);\n      this.serializeBlockDepth = 0;\n    }\n\n    __openBlock() {\n      var {\n        tagName\n      } = this.element;\n\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = this.serializeBlockDepth++;\n\n        this.__appendComment(`%+b:${depth}%`);\n      }\n\n      super.__openBlock();\n    }\n\n    __closeBlock() {\n      var {\n        tagName\n      } = this.element;\n\n      super.__closeBlock();\n\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = --this.serializeBlockDepth;\n\n        this.__appendComment(`%-b:${depth}%`);\n      }\n    }\n\n    __appendHTML(html) {\n      var {\n        tagName\n      } = this.element;\n\n      if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n        return super.__appendHTML(html);\n      } // Do we need to run the html tokenizer here?\n\n\n      var first = this.__appendComment('%glmr%');\n\n      if (tagName === 'TABLE') {\n        var openIndex = html.indexOf('<');\n\n        if (openIndex > -1) {\n          var tr = html.slice(openIndex + 1, openIndex + 3);\n\n          if (tr === 'tr') {\n            html = `<tbody>${html}</tbody>`;\n          }\n        }\n      }\n\n      if (html === '') {\n        this.__appendComment('% %');\n      } else {\n        super.__appendHTML(html);\n      }\n\n      var last = this.__appendComment('%glmr%');\n\n      return new _runtime.ConcreteBounds(this.element, first, last);\n    }\n\n    __appendText(string) {\n      var {\n        tagName\n      } = this.element;\n      var current = currentNode(this);\n\n      if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n        return super.__appendText(string);\n      } else if (string === '') {\n        return this.__appendComment('% %');\n      } else if (current && current.nodeType === TEXT_NODE) {\n        this.__appendComment('%|%');\n      }\n\n      return super.__appendText(string);\n    }\n\n    closeElement() {\n      if (this.element['needsExtraClose'] === true) {\n        this.element['needsExtraClose'] = false;\n        super.closeElement();\n      }\n\n      return super.closeElement();\n    }\n\n    openElement(tag) {\n      if (tag === 'tr') {\n        if (this.element.tagName !== 'TBODY' && this.element.tagName !== 'THEAD' && this.element.tagName !== 'TFOOT') {\n          this.openElement('tbody'); // This prevents the closeBlock comment from being re-parented\n          // under the auto inserted tbody. Rehydration builder needs to\n          // account for the insertion since it is injected here and not\n          // really in the template.\n\n          this.constructing['needsExtraClose'] = true;\n          this.flushElement(null);\n        }\n      }\n\n      return super.openElement(tag);\n    }\n\n    pushRemoteElement(element, cursorId, nextSibling = null) {\n      var {\n        dom\n      } = this;\n      var script = dom.createElement('script');\n      script.setAttribute('glmr', cursorId);\n      dom.insertBefore(element, script, nextSibling);\n      super.pushRemoteElement(element, cursorId, nextSibling);\n    }\n\n  }\n\n  function serializeBuilder(env, cursor) {\n    return SerializeBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/opcode-compiler\", [\"exports\", \"@ember/polyfills\", \"@glimmer/util\", \"@glimmer/vm\", \"@glimmer/wire-format\", \"@glimmer/encoder\", \"@glimmer/program\"], function (_exports, _polyfills, _util, _vm, _wireFormat, _encoder, _program) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compile = compile;\n  _exports.templateFactory = templateFactory;\n  _exports.debug = debug;\n  _exports.debugSlice = debugSlice;\n  _exports.logOpcode = logOpcode;\n  _exports.PLACEHOLDER_HANDLE = _exports.WrappedBuilder = _exports.PartialDefinition = _exports.StdOpcodeBuilder = _exports.OpcodeBuilder = _exports.EagerOpcodeBuilder = _exports.LazyOpcodeBuilder = _exports.CompilableProgram = _exports.CompilableBlock = _exports.debugCompiler = _exports.AbstractCompiler = _exports.LazyCompiler = _exports.Macros = _exports.ATTRS_BLOCK = void 0;\n  var PLACEHOLDER_HANDLE = -1;\n  _exports.PLACEHOLDER_HANDLE = PLACEHOLDER_HANDLE;\n  var Ops$1;\n\n  (function (Ops$$1) {\n    Ops$$1[Ops$$1[\"OpenComponentElement\"] = 0] = \"OpenComponentElement\";\n    Ops$$1[Ops$$1[\"DidCreateElement\"] = 1] = \"DidCreateElement\";\n    Ops$$1[Ops$$1[\"DidRenderLayout\"] = 2] = \"DidRenderLayout\";\n    Ops$$1[Ops$$1[\"Debugger\"] = 3] = \"Debugger\";\n  })(Ops$1 || (Ops$1 = {}));\n\n  var Ops$2 = _wireFormat.Ops;\n  var ATTRS_BLOCK = '&attrs';\n  _exports.ATTRS_BLOCK = ATTRS_BLOCK;\n\n  class Compilers {\n    constructor(offset = 0) {\n      this.offset = offset;\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    }\n\n    compile(sexp, builder) {\n      var name = sexp[this.offset];\n      var index = this.names[name];\n      var func = this.funcs[index];\n      func(sexp, builder);\n    }\n\n  }\n\n  var _statementCompiler;\n\n  function statementCompiler() {\n    if (_statementCompiler) {\n      return _statementCompiler;\n    }\n\n    var STATEMENTS = _statementCompiler = new Compilers();\n    STATEMENTS.add(Ops$2.Text, (sexp, builder) => {\n      builder.text(sexp[1]);\n    });\n    STATEMENTS.add(Ops$2.Comment, (sexp, builder) => {\n      builder.comment(sexp[1]);\n    });\n    STATEMENTS.add(Ops$2.CloseElement, (_sexp, builder) => {\n      builder.closeElement();\n    });\n    STATEMENTS.add(Ops$2.FlushElement, (_sexp, builder) => {\n      builder.flushElement();\n    });\n    STATEMENTS.add(Ops$2.Modifier, (sexp, builder) => {\n      var {\n        referrer\n      } = builder;\n      var [, name, params, hash] = sexp;\n      var handle = builder.compiler.resolveModifier(name, referrer);\n\n      if (handle !== null) {\n        builder.modifier(handle, params, hash);\n      } else {\n        throw new Error(`Compile Error ${name} is not a modifier: Helpers may not be used in the element form.`);\n      }\n    });\n    STATEMENTS.add(Ops$2.StaticAttr, (sexp, builder) => {\n      var [, name, value, namespace] = sexp;\n      builder.staticAttr(name, namespace, value);\n    });\n    STATEMENTS.add(Ops$2.DynamicAttr, (sexp, builder) => {\n      dynamicAttr(sexp, false, builder);\n    });\n    STATEMENTS.add(Ops$2.ComponentAttr, (sexp, builder) => {\n      componentAttr(sexp, false, builder);\n    });\n    STATEMENTS.add(Ops$2.TrustingAttr, (sexp, builder) => {\n      dynamicAttr(sexp, true, builder);\n    });\n    STATEMENTS.add(Ops$2.TrustingComponentAttr, (sexp, builder) => {\n      componentAttr(sexp, true, builder);\n    });\n    STATEMENTS.add(Ops$2.OpenElement, (sexp, builder) => {\n      var [, tag, simple] = sexp;\n\n      if (!simple) {\n        builder.putComponentOperations();\n      }\n\n      builder.openPrimitiveElement(tag);\n    });\n    STATEMENTS.add(Ops$2.DynamicComponent, (sexp, builder) => {\n      var [, definition, attrs, args, template] = sexp;\n      var block = builder.template(template);\n      var attrsBlock = null;\n\n      if (attrs.length > 0) {\n        attrsBlock = builder.inlineBlock({\n          statements: attrs,\n          parameters: _util.EMPTY_ARRAY\n        });\n      }\n\n      builder.dynamicComponent(definition, attrsBlock, null, args, false, block, null);\n    });\n    STATEMENTS.add(Ops$2.Component, (sexp, builder) => {\n      var [, tag, attrs, args, block] = sexp;\n      var {\n        referrer\n      } = builder;\n      var {\n        handle,\n        capabilities,\n        compilable\n      } = builder.compiler.resolveLayoutForTag(tag, referrer);\n\n      if (handle !== null && capabilities !== null) {\n        var attrsBlock = null;\n\n        if (attrs.length > 0) {\n          attrsBlock = builder.inlineBlock({\n            statements: attrs,\n            parameters: _util.EMPTY_ARRAY\n          });\n        }\n\n        var child = builder.template(block);\n\n        if (compilable) {\n          builder.pushComponentDefinition(handle);\n          builder.invokeStaticComponent(capabilities, compilable, attrsBlock, null, args, false, child && child);\n        } else {\n          builder.pushComponentDefinition(handle);\n          builder.invokeComponent(capabilities, attrsBlock, null, args, false, child && child);\n        }\n      } else {\n        throw new Error(`Compile Error: Cannot find component ${tag}`);\n      }\n    });\n    STATEMENTS.add(Ops$2.Partial, (sexp, builder) => {\n      var [, name, evalInfo] = sexp;\n      var {\n        referrer\n      } = builder;\n      builder.replayableIf({\n        args() {\n          builder.expr(name);\n          builder.dup();\n          return 2;\n        },\n\n        ifTrue() {\n          builder.invokePartial(referrer, builder.evalSymbols(), evalInfo);\n          builder.popScope();\n          builder.popFrame(); // FIXME: WAT\n        }\n\n      });\n    });\n    STATEMENTS.add(Ops$2.Yield, (sexp, builder) => {\n      var [, to, params] = sexp;\n      builder.yield(to, params);\n    });\n    STATEMENTS.add(Ops$2.AttrSplat, (sexp, builder) => {\n      var [, to] = sexp;\n      builder.yield(to, []);\n    });\n    STATEMENTS.add(Ops$2.Debugger, (sexp, builder) => {\n      var [, evalInfo] = sexp;\n      builder.debugger(builder.evalSymbols(), evalInfo);\n    });\n    STATEMENTS.add(Ops$2.ClientSideStatement, (sexp, builder) => {\n      CLIENT_SIDE.compile(sexp, builder);\n    });\n    STATEMENTS.add(Ops$2.Append, (sexp, builder) => {\n      var [, value, trusting] = sexp;\n      var returned = builder.compileInline(sexp) || value;\n      if (returned === true) return;\n      builder.guardedAppend(value, trusting);\n    });\n    STATEMENTS.add(Ops$2.Block, (sexp, builder) => {\n      var [, name, params, hash, _template, _inverse] = sexp;\n      var template = builder.template(_template);\n      var inverse = builder.template(_inverse);\n      var templateBlock = template && template;\n      var inverseBlock = inverse && inverse;\n      builder.compileBlock(name, params, hash, templateBlock, inverseBlock);\n    });\n    var CLIENT_SIDE = new Compilers(1);\n    CLIENT_SIDE.add(Ops$1.OpenComponentElement, (sexp, builder) => {\n      builder.putComponentOperations();\n      builder.openPrimitiveElement(sexp[2]);\n    });\n    CLIENT_SIDE.add(Ops$1.DidCreateElement, (_sexp, builder) => {\n      builder.didCreateElement(_vm.Register.s0);\n    });\n    CLIENT_SIDE.add(Ops$1.Debugger, () => {\n      // tslint:disable-next-line:no-debugger\n      debugger;\n    });\n    CLIENT_SIDE.add(Ops$1.DidRenderLayout, (_sexp, builder) => {\n      builder.didRenderLayout(_vm.Register.s0);\n    });\n    return STATEMENTS;\n  }\n\n  function componentAttr(sexp, trusting, builder) {\n    var [, name, value, namespace] = sexp;\n    builder.expr(value);\n\n    if (namespace) {\n      builder.componentAttr(name, namespace, trusting);\n    } else {\n      builder.componentAttr(name, null, trusting);\n    }\n  }\n\n  function dynamicAttr(sexp, trusting, builder) {\n    var [, name, value, namespace] = sexp;\n    builder.expr(value);\n\n    if (namespace) {\n      builder.dynamicAttr(name, namespace, trusting);\n    } else {\n      builder.dynamicAttr(name, null, trusting);\n    }\n  }\n\n  var _expressionCompiler;\n\n  function expressionCompiler() {\n    if (_expressionCompiler) {\n      return _expressionCompiler;\n    }\n\n    var EXPRESSIONS = _expressionCompiler = new Compilers();\n    EXPRESSIONS.add(Ops$2.Unknown, (sexp, builder) => {\n      var {\n        compiler,\n        referrer,\n        containingLayout: {\n          asPartial\n        }\n      } = builder;\n      var name = sexp[1];\n      var handle = compiler.resolveHelper(name, referrer);\n\n      if (handle !== null) {\n        builder.helper(handle, null, null);\n      } else if (asPartial) {\n        builder.resolveMaybeLocal(name);\n      } else {\n        builder.getVariable(0);\n        builder.getProperty(name);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Concat, (sexp, builder) => {\n      var parts = sexp[1];\n\n      for (var i = 0; i < parts.length; i++) {\n        builder.expr(parts[i]);\n      }\n\n      builder.concat(parts.length);\n    });\n    EXPRESSIONS.add(Ops$2.Helper, (sexp, builder) => {\n      var {\n        compiler,\n        referrer\n      } = builder;\n      var [, name, params, hash] = sexp; // TODO: triage this in the WF compiler\n\n      if (name === 'component') {\n        var [definition, ...restArgs] = params;\n        builder.curryComponent(definition, restArgs, hash, true);\n        return;\n      }\n\n      var handle = compiler.resolveHelper(name, referrer);\n\n      if (handle !== null) {\n        builder.helper(handle, params, hash);\n      } else {\n        throw new Error(`Compile Error: ${name} is not a helper`);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Get, (sexp, builder) => {\n      var [, head, path] = sexp;\n      builder.getVariable(head);\n\n      for (var i = 0; i < path.length; i++) {\n        builder.getProperty(path[i]);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.MaybeLocal, (sexp, builder) => {\n      var [, path] = sexp;\n\n      if (builder.containingLayout.asPartial) {\n        var head = path[0];\n        path = path.slice(1);\n        builder.resolveMaybeLocal(head);\n      } else {\n        builder.getVariable(0);\n      }\n\n      for (var i = 0; i < path.length; i++) {\n        builder.getProperty(path[i]);\n      }\n    });\n    EXPRESSIONS.add(Ops$2.Undefined, (_sexp, builder) => {\n      return builder.pushPrimitiveReference(undefined);\n    });\n    EXPRESSIONS.add(Ops$2.HasBlock, (sexp, builder) => {\n      builder.hasBlock(sexp[1]);\n    });\n    EXPRESSIONS.add(Ops$2.HasBlockParams, (sexp, builder) => {\n      builder.hasBlockParams(sexp[1]);\n    });\n    return EXPRESSIONS;\n  }\n\n  class Macros {\n    constructor() {\n      var {\n        blocks,\n        inlines\n      } = populateBuiltins();\n      this.blocks = blocks;\n      this.inlines = inlines;\n    }\n\n  }\n\n  _exports.Macros = Macros;\n\n  class Blocks {\n    constructor() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    }\n\n    addMissing(func) {\n      this.missing = func;\n    }\n\n    compile(name, params, hash, template, inverse, builder) {\n      var index = this.names[name];\n\n      if (index === undefined) {\n        var func = this.missing;\n        var handled = func(name, params, hash, template, inverse, builder);\n      } else {\n        var _func = this.funcs[index];\n\n        _func(params, hash, template, inverse, builder);\n      }\n    }\n\n  }\n\n  class Inlines {\n    constructor() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    }\n\n    addMissing(func) {\n      this.missing = func;\n    }\n\n    compile(sexp, builder) {\n      var value = sexp[1]; // TODO: Fix this so that expression macros can return\n      // things like components, so that {{component foo}}\n      // is the same as {{(component foo)}}\n\n      if (!Array.isArray(value)) return ['expr', value];\n      var name;\n      var params;\n      var hash;\n\n      if (value[0] === Ops$2.Helper) {\n        name = value[1];\n        params = value[2];\n        hash = value[3];\n      } else if (value[0] === Ops$2.Unknown) {\n        name = value[1];\n        params = hash = null;\n      } else {\n        return ['expr', value];\n      }\n\n      var index = this.names[name];\n\n      if (index === undefined && this.missing) {\n        var func = this.missing;\n        var returned = func(name, params, hash, builder);\n        return returned === false ? ['expr', value] : returned;\n      } else if (index !== undefined) {\n        var _func2 = this.funcs[index];\n\n        var _returned = _func2(name, params, hash, builder);\n\n        return _returned === false ? ['expr', value] : _returned;\n      } else {\n        return ['expr', value];\n      }\n    }\n\n  }\n\n  function populateBuiltins(blocks = new Blocks(), inlines = new Inlines()) {\n    blocks.add('if', (params, _hash, template, inverse, builder) => {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #if requires a single argument`);\n      }\n\n      builder.replayableIf({\n        args() {\n          builder.expr(params[0]);\n          builder.toBoolean();\n          return 1;\n        },\n\n        ifTrue() {\n          builder.invokeStaticBlock(template);\n        },\n\n        ifFalse() {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n\n      });\n    });\n    blocks.add('unless', (params, _hash, template, inverse, builder) => {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #unless requires a single argument`);\n      }\n\n      builder.replayableIf({\n        args() {\n          builder.expr(params[0]);\n          builder.toBoolean();\n          return 1;\n        },\n\n        ifTrue() {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        },\n\n        ifFalse() {\n          builder.invokeStaticBlock(template);\n        }\n\n      });\n    });\n    blocks.add('with', (params, _hash, template, inverse, builder) => {\n      //        PutArgs\n      //        Test(Environment)\n      //        Enter(BEGIN, END)\n      // BEGIN: Noop\n      //        JumpUnless(ELSE)\n      //        Evaluate(default)\n      //        Jump(END)\n      // ELSE:  Noop\n      //        Evalulate(inverse)\n      // END:   Noop\n      //        Exit\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #with requires a single argument`);\n      }\n\n      builder.replayableIf({\n        args() {\n          builder.expr(params[0]);\n          builder.dup();\n          builder.toBoolean();\n          return 2;\n        },\n\n        ifTrue() {\n          builder.invokeStaticBlock(template, 1);\n        },\n\n        ifFalse() {\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n\n      });\n    });\n    blocks.add('each', (params, hash, template, inverse, builder) => {\n      //         Enter(BEGIN, END)\n      // BEGIN:  Noop\n      //         PutArgs\n      //         PutIterable\n      //         JumpUnless(ELSE)\n      //         EnterList(BEGIN2, END2)\n      // ITER:   Noop\n      //         NextIter(BREAK)\n      // BEGIN2: Noop\n      //         PushChildScope\n      //         Evaluate(default)\n      //         PopScope\n      // END2:   Noop\n      //         Exit\n      //         Jump(ITER)\n      // BREAK:  Noop\n      //         ExitList\n      //         Jump(END)\n      // ELSE:   Noop\n      //         Evalulate(inverse)\n      // END:    Noop\n      //         Exit\n      builder.replayable({\n        args() {\n          if (hash && hash[0][0] === 'key') {\n            builder.expr(hash[1][0]);\n          } else {\n            builder.pushPrimitiveReference(null);\n          }\n\n          builder.expr(params[0]);\n          return 2;\n        },\n\n        body() {\n          builder.putIterator();\n          builder.jumpUnless('ELSE');\n          builder.pushFrame();\n          builder.dup(_vm.Register.fp, 1);\n          builder.returnTo('ITER');\n          builder.enterList('BODY');\n          builder.label('ITER');\n          builder.iterate('BREAK');\n          builder.label('BODY');\n          builder.invokeStaticBlock(template, 2);\n          builder.pop(2);\n          builder.jump('FINALLY');\n          builder.label('BREAK');\n          builder.exitList();\n          builder.popFrame();\n          builder.jump('FINALLY');\n          builder.label('ELSE');\n\n          if (inverse) {\n            builder.invokeStaticBlock(inverse);\n          }\n        }\n\n      });\n    });\n    blocks.add('in-element', (params, hash, template, _inverse, builder) => {\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #in-element requires a single argument`);\n      }\n\n      builder.replayableIf({\n        args() {\n          var [keys, values] = hash;\n\n          for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n\n            if (key === 'nextSibling' || key === 'guid') {\n              builder.expr(values[i]);\n            } else {\n              throw new Error(`SYNTAX ERROR: #in-element does not take a \\`${keys[0]}\\` option`);\n            }\n          }\n\n          builder.expr(params[0]);\n          builder.dup();\n          return 4;\n        },\n\n        ifTrue() {\n          builder.pushRemoteElement();\n          builder.invokeStaticBlock(template);\n          builder.popRemoteElement();\n        }\n\n      });\n    });\n    blocks.add('-with-dynamic-vars', (_params, hash, template, _inverse, builder) => {\n      if (hash) {\n        var [names, expressions] = hash;\n        builder.compileParams(expressions);\n        builder.pushDynamicScope();\n        builder.bindDynamicScope(names);\n        builder.invokeStaticBlock(template);\n        builder.popDynamicScope();\n      } else {\n        builder.invokeStaticBlock(template);\n      }\n    });\n    blocks.add('component', (_params, hash, template, inverse, builder) => {\n      var tag = _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = builder.staticComponentHelper(_params[0], hash, template);\n        if (returned) return;\n      }\n\n      var [definition, ...params] = _params;\n      builder.dynamicComponent(definition, null, params, hash, true, template, inverse);\n    });\n    inlines.add('component', (_name, _params, hash, builder) => {\n      var tag = _params && _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = builder.staticComponentHelper(tag, hash, null);\n        if (returned) return true;\n      }\n\n      var [definition, ...params] = _params;\n      builder.dynamicComponent(definition, null, params, hash, true, null, null);\n      return true;\n    });\n    return {\n      blocks,\n      inlines\n    };\n  }\n\n  var PLACEHOLDER_HANDLE$1 = -1;\n\n  class CompilableProgram {\n    constructor(compiler, layout) {\n      this.compiler = compiler;\n      this.layout = layout;\n      this.compiled = null;\n    }\n\n    get symbolTable() {\n      return this.layout.block;\n    }\n\n    compile() {\n      if (this.compiled !== null) return this.compiled;\n      this.compiled = PLACEHOLDER_HANDLE$1;\n      var {\n        block: {\n          statements\n        }\n      } = this.layout;\n      return this.compiled = this.compiler.add(statements, this.layout);\n    }\n\n  }\n\n  _exports.CompilableProgram = CompilableProgram;\n\n  class CompilableBlock {\n    constructor(compiler, parsed) {\n      this.compiler = compiler;\n      this.parsed = parsed;\n      this.compiled = null;\n    }\n\n    get symbolTable() {\n      return this.parsed.block;\n    }\n\n    compile() {\n      if (this.compiled !== null) return this.compiled; // Track that compilation has started but not yet finished by temporarily\n      // using a placeholder handle. In eager compilation mode, where compile()\n      // may be called recursively, we use this as a signal that the handle cannot\n      // be known synchronously and must be linked lazily.\n\n      this.compiled = PLACEHOLDER_HANDLE$1;\n      var {\n        block: {\n          statements\n        },\n        containingLayout\n      } = this.parsed;\n      return this.compiled = this.compiler.add(statements, containingLayout);\n    }\n\n  }\n\n  _exports.CompilableBlock = CompilableBlock;\n\n  function compile(statements, builder, compiler) {\n    var sCompiler = statementCompiler();\n\n    for (var i = 0; i < statements.length; i++) {\n      sCompiler.compile(statements[i], builder);\n    }\n\n    var handle = builder.commit();\n    return handle;\n  }\n\n  function debugSlice(program, start, end) {}\n\n  function logOpcode(type, params) {\n    var out = type;\n\n    if (params) {\n      var args = Object.keys(params).map(p => ` ${p}=${json(params[p])}`).join('');\n      out += args;\n    }\n\n    return `(${out})`;\n  }\n\n  function json(param) {}\n\n  function debug(pos, c, op, ...operands) {\n    var metadata = null;\n\n    if (!metadata) {\n      throw (0, _util.unreachable)(`Missing Opcode Metadata for ${op}`);\n    }\n\n    var out = (0, _util.dict)();\n    metadata.ops.forEach((operand, index) => {\n      var op = operands[index];\n\n      switch (operand.type) {\n        case 'to':\n          out[operand.name] = pos + op;\n          break;\n\n        case 'i32':\n        case 'symbol':\n        case 'block':\n          out[operand.name] = op;\n          break;\n\n        case 'handle':\n          out[operand.name] = c.resolveHandle(op);\n          break;\n\n        case 'str':\n          out[operand.name] = c.getString(op);\n          break;\n\n        case 'option-str':\n          out[operand.name] = op ? c.getString(op) : null;\n          break;\n\n        case 'str-array':\n          out[operand.name] = c.getStringArray(op);\n          break;\n\n        case 'array':\n          out[operand.name] = c.getArray(op);\n          break;\n\n        case 'bool':\n          out[operand.name] = !!op;\n          break;\n\n        case 'primitive':\n          out[operand.name] = decodePrimitive(op, c);\n          break;\n\n        case 'register':\n          out[operand.name] = _vm.Register[op];\n          break;\n\n        case 'serializable':\n          out[operand.name] = c.getSerializable(op);\n          break;\n\n        case 'lazy-constant':\n          out[operand.name] = c.getOther(op);\n          break;\n      }\n    });\n    return [metadata.name, out];\n  }\n\n  function decodePrimitive(primitive, constants) {\n    var flag = primitive & 7; // 111\n\n    var value = primitive >> 3;\n\n    switch (flag) {\n      case 0\n      /* NUMBER */\n      :\n        return value;\n\n      case 1\n      /* FLOAT */\n      :\n        return constants.getNumber(value);\n\n      case 2\n      /* STRING */\n      :\n        return constants.getString(value);\n\n      case 3\n      /* BOOLEAN_OR_VOID */\n      :\n        switch (value) {\n          case 0:\n            return false;\n\n          case 1:\n            return true;\n\n          case 2:\n            return null;\n\n          case 3:\n            return undefined;\n        }\n\n      case 4\n      /* NEGATIVE */\n      :\n      case 5\n      /* BIG_NUM */\n      :\n        return constants.getNumber(value);\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  class StdLib {\n    constructor(main, trustingGuardedAppend, cautiousGuardedAppend) {\n      this.main = main;\n      this.trustingGuardedAppend = trustingGuardedAppend;\n      this.cautiousGuardedAppend = cautiousGuardedAppend;\n    }\n\n    static compile(compiler) {\n      var main = this.std(compiler, b => b.main());\n      var trustingGuardedAppend = this.std(compiler, b => b.stdAppend(true));\n      var cautiousGuardedAppend = this.std(compiler, b => b.stdAppend(false));\n      return new StdLib(main, trustingGuardedAppend, cautiousGuardedAppend);\n    }\n\n    static std(compiler, callback) {\n      return StdOpcodeBuilder.build(compiler, callback);\n    }\n\n    getAppend(trusting) {\n      return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n    }\n\n  }\n\n  class AbstractCompiler {\n    constructor(macros, program, resolver) {\n      this.macros = macros;\n      this.program = program;\n      this.resolver = resolver;\n      this.initialize();\n    }\n\n    initialize() {\n      this.stdLib = StdLib.compile(this);\n    }\n\n    get constants() {\n      return this.program.constants;\n    }\n\n    compileInline(sexp, builder) {\n      var {\n        inlines\n      } = this.macros;\n      return inlines.compile(sexp, builder);\n    }\n\n    compileBlock(name, params, hash, template, inverse, builder) {\n      var {\n        blocks\n      } = this.macros;\n      blocks.compile(name, params, hash, template, inverse, builder);\n    }\n\n    add(statements, containingLayout) {\n      return compile(statements, this.builderFor(containingLayout), this);\n    }\n\n    commit(scopeSize, buffer) {\n      var heap = this.program.heap; // TODO: change the whole malloc API and do something more efficient\n\n      var handle = heap.malloc();\n\n      for (var i = 0; i < buffer.length; i++) {\n        var value = buffer[i];\n\n        if (typeof value === 'function') {\n          heap.pushPlaceholder(value);\n        } else {\n          heap.push(value);\n        }\n      }\n\n      heap.finishMalloc(handle, scopeSize);\n      return handle;\n    }\n\n    resolveLayoutForTag(tag, referrer) {\n      var {\n        resolver\n      } = this;\n      var handle = resolver.lookupComponentDefinition(tag, referrer);\n      if (handle === null) return {\n        handle: null,\n        capabilities: null,\n        compilable: null\n      };\n      return this.resolveLayoutForHandle(handle);\n    }\n\n    resolveLayoutForHandle(handle) {\n      var {\n        resolver\n      } = this;\n      var capabilities = resolver.getCapabilities(handle);\n      var compilable = null;\n\n      if (!capabilities.dynamicLayout) {\n        compilable = resolver.getLayout(handle);\n      }\n\n      return {\n        handle,\n        capabilities,\n        compilable\n      };\n    }\n\n    resolveModifier(name, referrer) {\n      return this.resolver.lookupModifier(name, referrer);\n    }\n\n    resolveHelper(name, referrer) {\n      return this.resolver.lookupHelper(name, referrer);\n    }\n\n  }\n\n  _exports.AbstractCompiler = AbstractCompiler;\n  var debugCompiler;\n  _exports.debugCompiler = debugCompiler;\n\n  class WrappedBuilder {\n    constructor(compiler, layout) {\n      this.compiler = compiler;\n      this.layout = layout;\n      this.compiled = null;\n      var {\n        block\n      } = layout;\n      var symbols = block.symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n      var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n\n      if (attrsBlockIndex === -1) {\n        this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n      } else {\n        this.attrsBlockNumber = attrsBlockIndex + 1;\n      }\n\n      this.symbolTable = {\n        hasEval: block.hasEval,\n        symbols\n      };\n    }\n\n    compile() {\n      if (this.compiled !== null) return this.compiled; //========DYNAMIC\n      //        PutValue(TagExpr)\n      //        Test\n      //        JumpUnless(BODY)\n      //        PutComponentOperations\n      //        OpenDynamicPrimitiveElement\n      //        DidCreateElement\n      //        ...attr statements...\n      //        FlushElement\n      // BODY:  Noop\n      //        ...body statements...\n      //        PutValue(TagExpr)\n      //        Test\n      //        JumpUnless(END)\n      //        CloseElement\n      // END:   Noop\n      //        DidRenderLayout\n      //        Exit\n      //\n      //========STATIC\n      //        OpenPrimitiveElementOpcode\n      //        DidCreateElement\n      //        ...attr statements...\n      //        FlushElement\n      //        ...body statements...\n      //        CloseElement\n      //        DidRenderLayout\n      //        Exit\n\n      var {\n        compiler,\n        layout\n      } = this;\n      var b = compiler.builderFor(layout);\n      b.startLabels();\n      b.fetch(_vm.Register.s1);\n      b.getComponentTagName(_vm.Register.s0);\n      b.primitiveReference();\n      b.dup();\n      b.load(_vm.Register.s1);\n      b.jumpUnless('BODY');\n      b.fetch(_vm.Register.s1);\n      b.putComponentOperations();\n      b.openDynamicElement();\n      b.didCreateElement(_vm.Register.s0);\n      b.yield(this.attrsBlockNumber, []);\n      b.flushElement();\n      b.label('BODY');\n      b.invokeStaticBlock(blockFor(layout, compiler));\n      b.fetch(_vm.Register.s1);\n      b.jumpUnless('END');\n      b.closeElement();\n      b.label('END');\n      b.load(_vm.Register.s1);\n      b.stopLabels();\n      var handle = b.commit();\n      return this.compiled = handle;\n    }\n\n  }\n\n  _exports.WrappedBuilder = WrappedBuilder;\n\n  function blockFor(layout, compiler) {\n    return new CompilableBlock(compiler, {\n      block: {\n        statements: layout.block.statements,\n        parameters: _util.EMPTY_ARRAY\n      },\n      containingLayout: layout\n    });\n  }\n\n  class ComponentBuilder {\n    constructor(builder) {\n      this.builder = builder;\n    }\n\n    static(handle, args) {\n      var [params, hash, _default, inverse] = args;\n      var {\n        builder\n      } = this;\n\n      if (handle !== null) {\n        var {\n          capabilities,\n          compilable\n        } = builder.compiler.resolveLayoutForHandle(handle);\n\n        if (compilable) {\n          builder.pushComponentDefinition(handle);\n          builder.invokeStaticComponent(capabilities, compilable, null, params, hash, false, _default, inverse);\n        } else {\n          builder.pushComponentDefinition(handle);\n          builder.invokeComponent(capabilities, null, params, hash, false, _default, inverse);\n        }\n      }\n    }\n\n  }\n\n  class Labels {\n    constructor() {\n      this.labels = (0, _util.dict)();\n      this.targets = [];\n    }\n\n    label(name, index) {\n      this.labels[name] = index;\n    }\n\n    target(at, target) {\n      this.targets.push({\n        at,\n        target\n      });\n    }\n\n    patch(encoder) {\n      var {\n        targets,\n        labels\n      } = this;\n\n      for (var i = 0; i < targets.length; i++) {\n        var {\n          at,\n          target\n        } = targets[i];\n        var address = labels[target] - at;\n        encoder.patch(at, address);\n      }\n    }\n\n  }\n\n  class StdOpcodeBuilder {\n    constructor(compiler, size = 0) {\n      this.size = size;\n      this.encoder = new _encoder.InstructionEncoder([]);\n      this.labelsStack = new _util.Stack();\n      this.compiler = compiler;\n    }\n\n    static build(compiler, callback) {\n      var builder = new StdOpcodeBuilder(compiler);\n      callback(builder);\n      return builder.commit();\n    }\n\n    push(name) {\n      switch (arguments.length) {\n        case 1:\n          return this.encoder.encode(name, 0);\n\n        case 2:\n          return this.encoder.encode(name, 0, arguments[1]);\n\n        case 3:\n          return this.encoder.encode(name, 0, arguments[1], arguments[2]);\n\n        default:\n          return this.encoder.encode(name, 0, arguments[1], arguments[2], arguments[3]);\n      }\n    }\n\n    pushMachine(name) {\n      switch (arguments.length) {\n        case 1:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          );\n\n        case 2:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1]);\n\n        case 3:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1], arguments[2]);\n\n        default:\n          return this.encoder.encode(name, 1024\n          /* MACHINE_MASK */\n          , arguments[1], arguments[2], arguments[3]);\n      }\n    }\n\n    commit() {\n      this.pushMachine(24\n      /* Return */\n      );\n      return this.compiler.commit(this.size, this.encoder.buffer);\n    }\n\n    reserve(name) {\n      this.encoder.encode(name, 0, -1);\n    }\n\n    reserveWithOperand(name, operand) {\n      this.encoder.encode(name, 0, -1, operand);\n    }\n\n    reserveMachine(name) {\n      this.encoder.encode(name, 1024\n      /* MACHINE_MASK */\n      , -1);\n    } ///\n\n\n    main() {\n      this.push(68\n      /* Main */\n      , _vm.Register.s0);\n      this.invokePreparedComponent(false, false, true);\n    }\n\n    appendHTML() {\n      this.push(28\n      /* AppendHTML */\n      );\n    }\n\n    appendSafeHTML() {\n      this.push(29\n      /* AppendSafeHTML */\n      );\n    }\n\n    appendDocumentFragment() {\n      this.push(30\n      /* AppendDocumentFragment */\n      );\n    }\n\n    appendNode() {\n      this.push(31\n      /* AppendNode */\n      );\n    }\n\n    appendText() {\n      this.push(32\n      /* AppendText */\n      );\n    }\n\n    beginComponentTransaction() {\n      this.push(91\n      /* BeginComponentTransaction */\n      );\n    }\n\n    commitComponentTransaction() {\n      this.push(92\n      /* CommitComponentTransaction */\n      );\n    }\n\n    pushDynamicScope() {\n      this.push(44\n      /* PushDynamicScope */\n      );\n    }\n\n    popDynamicScope() {\n      this.push(45\n      /* PopDynamicScope */\n      );\n    }\n\n    pushRemoteElement() {\n      this.push(41\n      /* PushRemoteElement */\n      );\n    }\n\n    popRemoteElement() {\n      this.push(42\n      /* PopRemoteElement */\n      );\n    }\n\n    pushRootScope(symbols, bindCallerScope) {\n      this.push(20\n      /* RootScope */\n      , symbols, bindCallerScope ? 1 : 0);\n    }\n\n    pushVirtualRootScope(register) {\n      this.push(21\n      /* VirtualRootScope */\n      , register);\n    }\n\n    pushChildScope() {\n      this.push(22\n      /* ChildScope */\n      );\n    }\n\n    popScope() {\n      this.push(23\n      /* PopScope */\n      );\n    }\n\n    prepareArgs(state) {\n      this.push(79\n      /* PrepareArgs */\n      , state);\n    }\n\n    createComponent(state, hasDefault) {\n      var flag = hasDefault | 0;\n      this.push(81\n      /* CreateComponent */\n      , flag, state);\n    }\n\n    registerComponentDestructor(state) {\n      this.push(82\n      /* RegisterComponentDestructor */\n      , state);\n    }\n\n    putComponentOperations() {\n      this.push(83\n      /* PutComponentOperations */\n      );\n    }\n\n    getComponentSelf(state) {\n      this.push(84\n      /* GetComponentSelf */\n      , state);\n    }\n\n    getComponentTagName(state) {\n      this.push(85\n      /* GetComponentTagName */\n      , state);\n    }\n\n    getComponentLayout(state) {\n      this.push(86\n      /* GetComponentLayout */\n      , state);\n    }\n\n    setupForEval(state) {\n      this.push(87\n      /* SetupForEval */\n      , state);\n    }\n\n    invokeComponentLayout(state) {\n      this.push(90\n      /* InvokeComponentLayout */\n      , state);\n    }\n\n    didCreateElement(state) {\n      this.push(93\n      /* DidCreateElement */\n      , state);\n    }\n\n    didRenderLayout(state) {\n      this.push(94\n      /* DidRenderLayout */\n      , state);\n    }\n\n    pushFrame() {\n      this.pushMachine(57\n      /* PushFrame */\n      );\n    }\n\n    popFrame() {\n      this.pushMachine(58\n      /* PopFrame */\n      );\n    }\n\n    pushSmallFrame() {\n      this.pushMachine(59\n      /* PushSmallFrame */\n      );\n    }\n\n    popSmallFrame() {\n      this.pushMachine(60\n      /* PopSmallFrame */\n      );\n    }\n\n    invokeVirtual() {\n      this.pushMachine(49\n      /* InvokeVirtual */\n      );\n    }\n\n    invokeYield() {\n      this.push(51\n      /* InvokeYield */\n      );\n    }\n\n    toBoolean() {\n      this.push(63\n      /* ToBoolean */\n      );\n    }\n\n    invokePreparedComponent(hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n      this.beginComponentTransaction();\n      this.pushDynamicScope();\n      this.createComponent(_vm.Register.s0, hasBlock); // this has to run after createComponent to allow\n      // for late-bound layouts, but a caller is free\n      // to populate the layout earlier if it wants to\n      // and do nothing here.\n\n      if (populateLayout) populateLayout();\n      this.registerComponentDestructor(_vm.Register.s0);\n      this.getComponentSelf(_vm.Register.s0);\n      this.pushVirtualRootScope(_vm.Register.s0);\n      this.setVariable(0);\n      this.setupForEval(_vm.Register.s0);\n      if (bindableAtNames) this.setNamedVariables(_vm.Register.s0);\n      if (bindableBlocks) this.setBlocks(_vm.Register.s0);\n      this.pop();\n      this.invokeComponentLayout(_vm.Register.s0);\n      this.didRenderLayout(_vm.Register.s0);\n      this.popFrame();\n      this.popScope();\n      this.popDynamicScope();\n      this.commitComponentTransaction();\n    }\n\n    get pos() {\n      return this.encoder.typePos;\n    }\n\n    get nextPos() {\n      return this.encoder.size;\n    } ///\n\n\n    compileInline(sexp) {\n      return this.compiler.compileInline(sexp, this);\n    }\n\n    compileBlock(name, params, hash, template, inverse) {\n      this.compiler.compileBlock(name, params, hash, template, inverse, this);\n    }\n\n    label(name) {\n      this.labels.label(name, this.nextPos);\n    } // helpers\n\n\n    get labels() {\n      return this.labelsStack.current;\n    }\n\n    startLabels() {\n      this.labelsStack.push(new Labels());\n    }\n\n    stopLabels() {\n      var label = this.labelsStack.pop();\n      label.patch(this.encoder);\n    } // components\n\n\n    pushCurriedComponent() {\n      this.push(74\n      /* PushCurriedComponent */\n      );\n    }\n\n    pushDynamicComponentInstance() {\n      this.push(73\n      /* PushDynamicComponentInstance */\n      );\n    } // dom\n\n\n    openDynamicElement() {\n      this.push(34\n      /* OpenDynamicElement */\n      );\n    }\n\n    flushElement() {\n      this.push(38\n      /* FlushElement */\n      );\n    }\n\n    closeElement() {\n      this.push(39\n      /* CloseElement */\n      );\n    } // lists\n\n\n    putIterator() {\n      this.push(66\n      /* PutIterator */\n      );\n    }\n\n    enterList(start) {\n      this.reserve(64\n      /* EnterList */\n      );\n      this.labels.target(this.pos, start);\n    }\n\n    exitList() {\n      this.push(65\n      /* ExitList */\n      );\n    }\n\n    iterate(breaks) {\n      this.reserve(67\n      /* Iterate */\n      );\n      this.labels.target(this.pos, breaks);\n    } // expressions\n\n\n    setNamedVariables(state) {\n      this.push(2\n      /* SetNamedVariables */\n      , state);\n    }\n\n    setBlocks(state) {\n      this.push(3\n      /* SetBlocks */\n      , state);\n    }\n\n    setVariable(symbol) {\n      this.push(4\n      /* SetVariable */\n      , symbol);\n    }\n\n    setBlock(symbol) {\n      this.push(5\n      /* SetBlock */\n      , symbol);\n    }\n\n    getVariable(symbol) {\n      this.push(6\n      /* GetVariable */\n      , symbol);\n    }\n\n    getBlock(symbol) {\n      this.push(8\n      /* GetBlock */\n      , symbol);\n    }\n\n    hasBlock(symbol) {\n      this.push(9\n      /* HasBlock */\n      , symbol);\n    }\n\n    concat(size) {\n      this.push(11\n      /* Concat */\n      , size);\n    }\n\n    load(register) {\n      this.push(18\n      /* Load */\n      , register);\n    }\n\n    fetch(register) {\n      this.push(19\n      /* Fetch */\n      , register);\n    }\n\n    dup(register = _vm.Register.sp, offset = 0) {\n      return this.push(16\n      /* Dup */\n      , register, offset);\n    }\n\n    pop(count = 1) {\n      return this.push(17\n      /* Pop */\n      , count);\n    } // vm\n\n\n    returnTo(label) {\n      this.reserveMachine(25\n      /* ReturnTo */\n      );\n      this.labels.target(this.pos, label);\n    }\n\n    primitiveReference() {\n      this.push(14\n      /* PrimitiveReference */\n      );\n    }\n\n    reifyU32() {\n      this.push(15\n      /* ReifyU32 */\n      );\n    }\n\n    enter(args) {\n      this.push(61\n      /* Enter */\n      , args);\n    }\n\n    exit() {\n      this.push(62\n      /* Exit */\n      );\n    }\n\n    return() {\n      this.pushMachine(24\n      /* Return */\n      );\n    }\n\n    jump(target) {\n      this.reserveMachine(52\n      /* Jump */\n      );\n      this.labels.target(this.pos, target);\n    }\n\n    jumpIf(target) {\n      this.reserve(53\n      /* JumpIf */\n      );\n      this.labels.target(this.pos, target);\n    }\n\n    jumpUnless(target) {\n      this.reserve(54\n      /* JumpUnless */\n      );\n      this.labels.target(this.pos, target);\n    }\n\n    jumpEq(value, target) {\n      this.reserveWithOperand(55\n      /* JumpEq */\n      , value);\n      this.labels.target(this.pos, target);\n    }\n\n    assertSame() {\n      this.push(56\n      /* AssertSame */\n      );\n    }\n\n    pushEmptyArgs() {\n      this.push(77\n      /* PushEmptyArgs */\n      );\n    }\n\n    switch(_opcode, callback) {\n      // Setup the switch DSL\n      var clauses = [];\n      var count = 0;\n\n      function when(match, callback) {\n        clauses.push({\n          match,\n          callback,\n          label: `CLAUSE${count++}`\n        });\n      } // Call the callback\n\n\n      callback(when); // Emit the opcodes for the switch\n\n      this.enter(2);\n      this.assertSame();\n      this.reifyU32();\n      this.startLabels(); // First, emit the jump opcodes. We don't need a jump for the last\n      // opcode, since it bleeds directly into its clause.\n\n      clauses.slice(0, -1).forEach(clause => this.jumpEq(clause.match, clause.label)); // Enumerate the clauses in reverse order. Earlier matches will\n      // require fewer checks.\n\n      for (var i = clauses.length - 1; i >= 0; i--) {\n        var clause = clauses[i];\n        this.label(clause.label);\n        this.pop(2);\n        clause.callback(); // The first match is special: it is placed directly before the END\n        // label, so no additional jump is needed at the end of it.\n\n        if (i !== 0) {\n          this.jump('END');\n        }\n      }\n\n      this.label('END');\n      this.stopLabels();\n      this.exit();\n    }\n\n    stdAppend(trusting) {\n      this.switch(this.contentType(), when => {\n        when(1\n        /* String */\n        , () => {\n          if (trusting) {\n            this.assertSame();\n            this.appendHTML();\n          } else {\n            this.appendText();\n          }\n        });\n        when(0\n        /* Component */\n        , () => {\n          this.pushCurriedComponent();\n          this.pushDynamicComponentInstance();\n          this.invokeBareComponent();\n        });\n        when(3\n        /* SafeString */\n        , () => {\n          this.assertSame();\n          this.appendSafeHTML();\n        });\n        when(4\n        /* Fragment */\n        , () => {\n          this.assertSame();\n          this.appendDocumentFragment();\n        });\n        when(5\n        /* Node */\n        , () => {\n          this.assertSame();\n          this.appendNode();\n        });\n      });\n    }\n\n    populateLayout(state) {\n      this.push(89\n      /* PopulateLayout */\n      , state);\n    }\n\n    invokeBareComponent() {\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      this.pushFrame();\n      this.pushEmptyArgs();\n      this.prepareArgs(_vm.Register.s0);\n      this.invokePreparedComponent(false, false, true, () => {\n        this.getComponentLayout(_vm.Register.s0);\n        this.populateLayout(_vm.Register.s0);\n      });\n      this.load(_vm.Register.s0);\n    }\n\n    isComponent() {\n      this.push(69\n      /* IsComponent */\n      );\n    }\n\n    contentType() {\n      this.push(70\n      /* ContentType */\n      );\n    }\n\n    pushBlockScope() {\n      this.push(47\n      /* PushBlockScope */\n      );\n    }\n\n  }\n\n  _exports.StdOpcodeBuilder = StdOpcodeBuilder;\n\n  class OpcodeBuilder extends StdOpcodeBuilder {\n    constructor(compiler, containingLayout) {\n      super(compiler, containingLayout ? containingLayout.block.symbols.length : 0);\n      this.containingLayout = containingLayout;\n      this.component = new ComponentBuilder(this);\n      this.expressionCompiler = expressionCompiler();\n      this.constants = compiler.constants;\n      this.stdLib = compiler.stdLib;\n    } /// MECHANICS\n\n\n    get referrer() {\n      return this.containingLayout && this.containingLayout.referrer;\n    }\n\n    expr(expression) {\n      if (Array.isArray(expression)) {\n        this.expressionCompiler.compile(expression, this);\n      } else {\n        this.pushPrimitiveReference(expression);\n      }\n    } ///\n    // args\n\n\n    pushArgs(names, flags) {\n      var serialized = this.constants.stringArray(names);\n      this.push(76\n      /* PushArgs */\n      , serialized, flags);\n    }\n\n    pushYieldableBlock(block) {\n      this.pushSymbolTable(block && block.symbolTable);\n      this.pushBlockScope();\n      this.pushBlock(block);\n    }\n\n    curryComponent(definition,\n    /* TODO: attrs: Option<RawInlineBlock>, */\n    params, hash, synthetic) {\n      var referrer = this.containingLayout.referrer;\n      this.pushFrame();\n      this.compileArgs(params, hash, null, synthetic);\n      this.push(80\n      /* CaptureArgs */\n      );\n      this.expr(definition);\n      this.push(71\n      /* CurryComponent */\n      , this.constants.serializable(referrer));\n      this.popFrame();\n      this.fetch(_vm.Register.v0);\n    }\n\n    pushSymbolTable(table) {\n      if (table) {\n        var constant = this.constants.serializable(table);\n        this.push(48\n        /* PushSymbolTable */\n        , constant);\n      } else {\n        this.primitive(null);\n      }\n    }\n\n    invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse = null, layout) {\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      this.pushFrame();\n      var bindableBlocks = !!(block || inverse || attrs);\n      var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n      var blocks = {\n        main: block,\n        else: inverse,\n        attrs\n      };\n      this.compileArgs(params, hash, blocks, synthetic);\n      this.prepareArgs(_vm.Register.s0);\n      this.invokePreparedComponent(block !== null, bindableBlocks, bindableAtNames, () => {\n        if (layout) {\n          this.pushSymbolTable(layout.symbolTable);\n          this.pushLayout(layout);\n          this.resolveLayout();\n        } else {\n          this.getComponentLayout(_vm.Register.s0);\n        }\n\n        this.populateLayout(_vm.Register.s0);\n      });\n      this.load(_vm.Register.s0);\n    }\n\n    invokeStaticComponent(capabilities, layout, attrs, params, hash, synthetic, block, inverse = null) {\n      var {\n        symbolTable\n      } = layout;\n      var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n\n      if (bailOut) {\n        this.invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse, layout);\n        return;\n      }\n\n      this.fetch(_vm.Register.s0);\n      this.dup(_vm.Register.sp, 1);\n      this.load(_vm.Register.s0);\n      var {\n        symbols\n      } = symbolTable;\n\n      if (capabilities.createArgs) {\n        this.pushFrame();\n        this.compileArgs(params, hash, null, synthetic);\n      }\n\n      this.beginComponentTransaction();\n\n      if (capabilities.dynamicScope) {\n        this.pushDynamicScope();\n      }\n\n      if (capabilities.createInstance) {\n        this.createComponent(_vm.Register.s0, block !== null);\n      }\n\n      if (capabilities.createArgs) {\n        this.popFrame();\n      }\n\n      this.pushFrame();\n      this.registerComponentDestructor(_vm.Register.s0);\n      var bindings = [];\n      this.getComponentSelf(_vm.Register.s0);\n      bindings.push({\n        symbol: 0,\n        isBlock: false\n      });\n\n      for (var i = 0; i < symbols.length; i++) {\n        var symbol = symbols[i];\n\n        switch (symbol.charAt(0)) {\n          case '&':\n            var callerBlock = null;\n\n            if (symbol === '&default') {\n              callerBlock = block;\n            } else if (symbol === '&inverse') {\n              callerBlock = inverse;\n            } else if (symbol === ATTRS_BLOCK) {\n              callerBlock = attrs;\n            } else {\n              throw (0, _util.unreachable)();\n            }\n\n            if (callerBlock) {\n              this.pushYieldableBlock(callerBlock);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: true\n              });\n            } else {\n              this.pushYieldableBlock(null);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: true\n              });\n            }\n\n            break;\n\n          case '@':\n            if (!hash) {\n              break;\n            }\n\n            var [keys, values] = hash;\n            var lookupName = symbol;\n\n            if (synthetic) {\n              lookupName = symbol.slice(1);\n            }\n\n            var index = keys.indexOf(lookupName);\n\n            if (index !== -1) {\n              this.expr(values[index]);\n              bindings.push({\n                symbol: i + 1,\n                isBlock: false\n              });\n            }\n\n            break;\n        }\n      }\n\n      this.pushRootScope(symbols.length + 1, !!(block || inverse || attrs));\n\n      for (var _i = bindings.length - 1; _i >= 0; _i--) {\n        var {\n          symbol: _symbol,\n          isBlock\n        } = bindings[_i];\n\n        if (isBlock) {\n          this.setBlock(_symbol);\n        } else {\n          this.setVariable(_symbol);\n        }\n      }\n\n      this.invokeStatic(layout);\n\n      if (capabilities.createInstance) {\n        this.didRenderLayout(_vm.Register.s0);\n      }\n\n      this.popFrame();\n      this.popScope();\n\n      if (capabilities.dynamicScope) {\n        this.popDynamicScope();\n      }\n\n      this.commitComponentTransaction();\n      this.load(_vm.Register.s0);\n    }\n\n    dynamicComponent(definition, attrs, params, hash, synthetic, block, inverse = null) {\n      this.replayable({\n        args: () => {\n          this.expr(definition);\n          this.dup();\n          return 2;\n        },\n        body: () => {\n          this.jumpUnless('ELSE');\n          this.resolveDynamicComponent(this.containingLayout.referrer);\n          this.pushDynamicComponentInstance();\n          this.invokeComponent(true, attrs, params, hash, synthetic, block, inverse);\n          this.label('ELSE');\n        }\n      });\n    }\n\n    yield(to, params) {\n      this.compileArgs(params, null, null, false);\n      this.getBlock(to);\n      this.resolveBlock();\n      this.invokeYield();\n      this.popScope();\n      this.popFrame();\n    }\n\n    guardedAppend(expression, trusting) {\n      this.pushFrame();\n      this.expr(expression);\n      this.pushMachine(50\n      /* InvokeStatic */\n      , this.stdLib.getAppend(trusting));\n      this.popFrame();\n    }\n\n    invokeStaticBlock(block, callerCount = 0) {\n      var {\n        parameters\n      } = block.symbolTable;\n      var calleeCount = parameters.length;\n      var count = Math.min(callerCount, calleeCount);\n      this.pushFrame();\n\n      if (count) {\n        this.pushChildScope();\n\n        for (var i = 0; i < count; i++) {\n          this.dup(_vm.Register.fp, callerCount - i);\n          this.setVariable(parameters[i]);\n        }\n      }\n\n      this.pushBlock(block);\n      this.resolveBlock();\n      this.invokeVirtual();\n\n      if (count) {\n        this.popScope();\n      }\n\n      this.popFrame();\n    } /// CONVENIENCE\n    // internal helpers\n\n\n    string(_string) {\n      return this.constants.string(_string);\n    }\n\n    names(_names) {\n      var names = [];\n\n      for (var i = 0; i < _names.length; i++) {\n        var n = _names[i];\n        names[i] = this.constants.string(n);\n      }\n\n      return this.constants.array(names);\n    }\n\n    symbols(symbols) {\n      return this.constants.array(symbols);\n    } // vm\n\n\n    primitive(_primitive) {\n      var type = 0\n      /* NUMBER */\n      ;\n      var primitive;\n\n      switch (typeof _primitive) {\n        case 'number':\n          if (_primitive % 1 === 0) {\n            if (_primitive > -1) {\n              primitive = _primitive;\n            } else {\n              primitive = this.constants.number(_primitive);\n              type = 4\n              /* NEGATIVE */\n              ;\n            }\n          } else {\n            primitive = this.constants.number(_primitive);\n            type = 1\n            /* FLOAT */\n            ;\n          }\n\n          break;\n\n        case 'string':\n          primitive = this.string(_primitive);\n          type = 2\n          /* STRING */\n          ;\n          break;\n\n        case 'boolean':\n          primitive = _primitive | 0;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        case 'object':\n          // assume null\n          primitive = 2;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        case 'undefined':\n          primitive = 3;\n          type = 3\n          /* BOOLEAN_OR_VOID */\n          ;\n          break;\n\n        default:\n          throw new Error('Invalid primitive passed to pushPrimitive');\n      }\n\n      var immediate = this.sizeImmediate(primitive << 3 | type, primitive);\n      this.push(13\n      /* Primitive */\n      , immediate);\n    }\n\n    sizeImmediate(shifted, primitive) {\n      if (shifted >= 4294967295\n      /* MAX_SIZE */\n      || shifted < 0) {\n        return this.constants.number(primitive) << 3 | 5\n        /* BIG_NUM */\n        ;\n      }\n\n      return shifted;\n    }\n\n    pushPrimitiveReference(primitive) {\n      this.primitive(primitive);\n      this.primitiveReference();\n    } // components\n\n\n    pushComponentDefinition(handle) {\n      this.push(72\n      /* PushComponentDefinition */\n      , this.constants.handle(handle));\n    }\n\n    resolveDynamicComponent(referrer) {\n      this.push(75\n      /* ResolveDynamicComponent */\n      , this.constants.serializable(referrer));\n    }\n\n    staticComponentHelper(tag, hash, template) {\n      var {\n        handle,\n        capabilities,\n        compilable\n      } = this.compiler.resolveLayoutForTag(tag, this.referrer);\n\n      if (handle !== null && capabilities !== null) {\n        if (compilable) {\n          if (hash) {\n            for (var i = 0; i < hash.length; i = i + 2) {\n              hash[i][0] = `@${hash[i][0]}`;\n            }\n          }\n\n          this.pushComponentDefinition(handle);\n          this.invokeStaticComponent(capabilities, compilable, null, null, hash, false, template && template);\n          return true;\n        }\n      }\n\n      return false;\n    } // partial\n\n\n    invokePartial(referrer, symbols, evalInfo) {\n      var _meta = this.constants.serializable(referrer);\n\n      var _symbols = this.constants.stringArray(symbols);\n\n      var _evalInfo = this.constants.array(evalInfo);\n\n      this.push(95\n      /* InvokePartial */\n      , _meta, _symbols, _evalInfo);\n    }\n\n    resolveMaybeLocal(name) {\n      this.push(96\n      /* ResolveMaybeLocal */\n      , this.string(name));\n    } // debugger\n\n\n    debugger(symbols, evalInfo) {\n      this.push(97\n      /* Debugger */\n      , this.constants.stringArray(symbols), this.constants.array(evalInfo));\n    } // dom\n\n\n    text(text) {\n      this.push(26\n      /* Text */\n      , this.constants.string(text));\n    }\n\n    openPrimitiveElement(tag) {\n      this.push(33\n      /* OpenElement */\n      , this.constants.string(tag));\n    }\n\n    modifier(locator, params, hash) {\n      this.pushFrame();\n      this.compileArgs(params, hash, null, true);\n      this.push(40\n      /* Modifier */\n      , this.constants.handle(locator));\n      this.popFrame();\n    }\n\n    comment(_comment) {\n      var comment = this.constants.string(_comment);\n      this.push(27\n      /* Comment */\n      , comment);\n    }\n\n    dynamicAttr(_name, _namespace, trusting) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      this.push(36\n      /* DynamicAttr */\n      , name, trusting === true ? 1 : 0, namespace);\n    }\n\n    componentAttr(_name, _namespace, trusting) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      this.push(37\n      /* ComponentAttr */\n      , name, trusting === true ? 1 : 0, namespace);\n    }\n\n    staticAttr(_name, _namespace, _value) {\n      var name = this.constants.string(_name);\n      var namespace = _namespace ? this.constants.string(_namespace) : 0;\n      var value = this.constants.string(_value);\n      this.push(35\n      /* StaticAttr */\n      , name, value, namespace);\n    } // expressions\n\n\n    hasBlockParams(to) {\n      this.getBlock(to);\n      this.resolveBlock();\n      this.push(10\n      /* HasBlockParams */\n      );\n    }\n\n    getProperty(key) {\n      this.push(7\n      /* GetProperty */\n      , this.string(key));\n    }\n\n    helper(helper, params, hash) {\n      this.pushFrame();\n      this.compileArgs(params, hash, null, true);\n      this.push(1\n      /* Helper */\n      , this.constants.handle(helper));\n      this.popFrame();\n      this.fetch(_vm.Register.v0);\n    }\n\n    bindDynamicScope(_names) {\n      this.push(43\n      /* BindDynamicScope */\n      , this.names(_names));\n    } // convenience methods\n\n    /**\n     * A convenience for pushing some arguments on the stack and\n     * running some code if the code needs to be re-executed during\n     * updating execution if some of the arguments have changed.\n     *\n     * # Initial Execution\n     *\n     * The `args` function should push zero or more arguments onto\n     * the stack and return the number of arguments pushed.\n     *\n     * The `body` function provides the instructions to execute both\n     * during initial execution and during updating execution.\n     *\n     * Internally, this function starts by pushing a new frame, so\n     * that the body can return and sets the return point ($ra) to\n     * the ENDINITIAL label.\n     *\n     * It then executes the `args` function, which adds instructions\n     * responsible for pushing the arguments for the block to the\n     * stack. These arguments will be restored to the stack before\n     * updating execution.\n     *\n     * Next, it adds the Enter opcode, which marks the current position\n     * in the DOM, and remembers the current $pc (the next instruction)\n     * as the first instruction to execute during updating execution.\n     *\n     * Next, it runs `body`, which adds the opcodes that should\n     * execute both during initial execution and during updating execution.\n     * If the `body` wishes to finish early, it should Jump to the\n     * `FINALLY` label.\n     *\n     * Next, it adds the FINALLY label, followed by:\n     *\n     * - the Exit opcode, which finalizes the marked DOM started by the\n     *   Enter opcode.\n     * - the Return opcode, which returns to the current return point\n     *   ($ra).\n     *\n     * Finally, it adds the ENDINITIAL label followed by the PopFrame\n     * instruction, which restores $fp, $sp and $ra.\n     *\n     * # Updating Execution\n     *\n     * Updating execution for this `replayable` occurs if the `body` added an\n     * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n     *\n     * If, during updating executon, the assertion fails, the initial VM is\n     * restored, and the stored arguments are pushed onto the stack. The DOM\n     * between the starting and ending markers is cleared, and the VM's cursor\n     * is set to the area just cleared.\n     *\n     * The return point ($ra) is set to -1, the exit instruction.\n     *\n     * Finally, the $pc is set to to the instruction saved off by the\n     * Enter opcode during initial execution, and execution proceeds as\n     * usual.\n     *\n     * The only difference is that when a `Return` instruction is\n     * encountered, the program jumps to -1 rather than the END label,\n     * and the PopFrame opcode is not needed.\n     */\n\n\n    replayable({\n      args,\n      body\n    }) {\n      // Start a new label frame, to give END and RETURN\n      // a unique meaning.\n      this.startLabels();\n      this.pushFrame(); // If the body invokes a block, its return will return to\n      // END. Otherwise, the return in RETURN will return to END.\n\n      this.returnTo('ENDINITIAL'); // Push the arguments onto the stack. The args() function\n      // tells us how many stack elements to retain for re-execution\n      // when updating.\n\n      var count = args(); // Start a new updating closure, remembering `count` elements\n      // from the stack. Everything after this point, and before END,\n      // will execute both initially and to update the block.\n      //\n      // The enter and exit opcodes also track the area of the DOM\n      // associated with this block. If an assertion inside the block\n      // fails (for example, the test value changes from true to false\n      // in an #if), the DOM is cleared and the program is re-executed,\n      // restoring `count` elements to the stack and executing the\n      // instructions between the enter and exit.\n\n      this.enter(count); // Evaluate the body of the block. The body of the block may\n      // return, which will jump execution to END during initial\n      // execution, and exit the updating routine.\n\n      body(); // All execution paths in the body should run the FINALLY once\n      // they are done. It is executed both during initial execution\n      // and during updating execution.\n\n      this.label('FINALLY'); // Finalize the DOM.\n\n      this.exit(); // In initial execution, this is a noop: it returns to the\n      // immediately following opcode. In updating execution, this\n      // exits the updating routine.\n\n      this.return(); // Cleanup code for the block. Runs on initial execution\n      // but not on updating.\n\n      this.label('ENDINITIAL');\n      this.popFrame();\n      this.stopLabels();\n    }\n    /**\n     * A specialized version of the `replayable` convenience that allows the\n     * caller to provide different code based upon whether the item at\n     * the top of the stack is true or false.\n     *\n     * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n     *\n     * During the initial execution, a `return` will continue execution\n     * in the cleanup code, which finalizes the current DOM block and pops\n     * the current frame.\n     *\n     * During the updating execution, a `return` will exit the updating\n     * routine, as it can reuse the DOM block and is always only a single\n     * frame deep.\n     */\n\n\n    replayableIf({\n      args,\n      ifTrue,\n      ifFalse\n    }) {\n      this.replayable({\n        args,\n        body: () => {\n          // If the conditional is false, jump to the ELSE label.\n          this.jumpUnless('ELSE'); // Otherwise, execute the code associated with the true branch.\n\n          ifTrue(); // We're done, so return. In the initial execution, this runs\n          // the cleanup code. In the updating VM, it exits the updating\n          // routine.\n\n          this.jump('FINALLY');\n          this.label('ELSE'); // If the conditional is false, and code associatied ith the\n          // false branch was provided, execute it. If there was no code\n          // associated with the false branch, jumping to the else statement\n          // has no other behavior.\n\n          if (ifFalse) {\n            ifFalse();\n          }\n        }\n      });\n    }\n\n    inlineBlock(block) {\n      return new CompilableBlock(this.compiler, {\n        block,\n        containingLayout: this.containingLayout\n      });\n    }\n\n    evalSymbols() {\n      var {\n        containingLayout: {\n          block\n        }\n      } = this;\n      return block.hasEval ? block.symbols : null;\n    }\n\n    compileParams(params) {\n      if (!params) return 0;\n\n      for (var i = 0; i < params.length; i++) {\n        this.expr(params[i]);\n      }\n\n      return params.length;\n    }\n\n    compileArgs(params, hash, blocks, synthetic) {\n      if (blocks) {\n        this.pushYieldableBlock(blocks.main);\n        this.pushYieldableBlock(blocks.else);\n        this.pushYieldableBlock(blocks.attrs);\n      }\n\n      var count = this.compileParams(params);\n      var flags = count << 4;\n      if (synthetic) flags |= 0b1000;\n\n      if (blocks) {\n        flags |= 0b111;\n      }\n\n      var names = _util.EMPTY_ARRAY;\n\n      if (hash) {\n        names = hash[0];\n        var val = hash[1];\n\n        for (var i = 0; i < val.length; i++) {\n          this.expr(val[i]);\n        }\n      }\n\n      this.pushArgs(names, flags);\n    }\n\n    template(block) {\n      if (!block) return null;\n      return this.inlineBlock(block);\n    }\n\n  }\n\n  _exports.OpcodeBuilder = OpcodeBuilder;\n\n  class LazyOpcodeBuilder extends OpcodeBuilder {\n    pushBlock(block) {\n      if (block) {\n        this.pushOther(block);\n      } else {\n        this.primitive(null);\n      }\n    }\n\n    resolveBlock() {\n      this.push(46\n      /* CompileBlock */\n      );\n    }\n\n    pushLayout(layout) {\n      if (layout) {\n        this.pushOther(layout);\n      } else {\n        this.primitive(null);\n      }\n    }\n\n    resolveLayout() {\n      this.push(46\n      /* CompileBlock */\n      );\n    }\n\n    invokeStatic(compilable) {\n      this.pushOther(compilable);\n      this.push(46\n      /* CompileBlock */\n      );\n      this.pushMachine(49\n      /* InvokeVirtual */\n      );\n    }\n\n    pushOther(value) {\n      this.push(12\n      /* Constant */\n      , this.other(value));\n    }\n\n    other(value) {\n      return this.constants.other(value);\n    }\n\n  }\n\n  _exports.LazyOpcodeBuilder = LazyOpcodeBuilder;\n\n  class EagerOpcodeBuilder extends OpcodeBuilder {\n    pushBlock(block) {\n      var handle = block ? block.compile() : null;\n      this.primitive(handle);\n    }\n\n    resolveBlock() {\n      return;\n    }\n\n    pushLayout(layout) {\n      if (layout) {\n        this.primitive(layout.compile());\n      } else {\n        this.primitive(null);\n      }\n    }\n\n    resolveLayout() {}\n\n    invokeStatic(compilable) {\n      var handle = compilable.compile(); // If the handle for the invoked component is not yet known (for example,\n      // because this is a recursive invocation and we're still compiling), push a\n      // function that will produce the correct handle when the heap is\n      // serialized.\n\n      if (handle === PLACEHOLDER_HANDLE$1) {\n        this.pushMachine(50\n        /* InvokeStatic */\n        , () => compilable.compile());\n      } else {\n        this.pushMachine(50\n        /* InvokeStatic */\n        , handle);\n      }\n    }\n\n  }\n\n  _exports.EagerOpcodeBuilder = EagerOpcodeBuilder;\n\n  class LazyCompiler extends AbstractCompiler {\n    // FIXME: turn to static method\n    constructor(lookup, resolver, macros) {\n      var constants = new _program.LazyConstants(resolver);\n      var program = new _program.Program(constants);\n      super(macros, program, lookup);\n    }\n\n    builderFor(containingLayout) {\n      return new LazyOpcodeBuilder(this, containingLayout);\n    }\n\n  }\n\n  _exports.LazyCompiler = LazyCompiler;\n\n  class PartialDefinition {\n    constructor(name, // for debugging\n    template) {\n      this.name = name;\n      this.template = template;\n    }\n\n    getPartial() {\n      var partial = this.template.asPartial();\n      var handle = partial.compile();\n      return {\n        symbolTable: partial.symbolTable,\n        handle\n      };\n    }\n\n  }\n\n  _exports.PartialDefinition = PartialDefinition;\n  var clientId = 0;\n\n  function templateFactory({\n    id: templateId,\n    meta,\n    block\n  }) {\n    var parsedBlock;\n    var id = templateId || `client-${clientId++}`;\n\n    var create = (compiler, envMeta) => {\n      var newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n\n      if (!parsedBlock) {\n        parsedBlock = JSON.parse(block);\n      }\n\n      return new TemplateImpl(compiler, {\n        id,\n        block: parsedBlock,\n        referrer: newMeta\n      });\n    };\n\n    return {\n      id,\n      meta,\n      create\n    };\n  }\n\n  class TemplateImpl {\n    constructor(compiler, parsedLayout) {\n      this.compiler = compiler;\n      this.parsedLayout = parsedLayout;\n      this.layout = null;\n      this.partial = null;\n      this.wrappedLayout = null;\n      var {\n        block\n      } = parsedLayout;\n      this.symbols = block.symbols;\n      this.hasEval = block.hasEval;\n      this.referrer = parsedLayout.referrer;\n      this.id = parsedLayout.id || `client-${clientId++}`;\n    }\n\n    asLayout() {\n      if (this.layout) return this.layout;\n      return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }));\n    }\n\n    asPartial() {\n      if (this.partial) return this.partial;\n      return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: true\n      }));\n    }\n\n    asWrappedLayout() {\n      if (this.wrappedLayout) return this.wrappedLayout;\n      return this.wrappedLayout = new WrappedBuilder(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }));\n    }\n\n  }\n});","define(\"@glimmer/program\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Opcode = _exports.Program = _exports.RuntimeProgram = _exports.WriteOnlyProgram = _exports.Heap = _exports.LazyConstants = _exports.Constants = _exports.RuntimeConstants = _exports.WriteOnlyConstants = _exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = void 0;\n  var UNRESOLVED = {};\n  var WELL_KNOWN_EMPTY_ARRAY_POSITION = 0;\n  _exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = WELL_KNOWN_EMPTY_ARRAY_POSITION;\n  var WELL_KNOW_EMPTY_ARRAY = Object.freeze([]);\n\n  class WriteOnlyConstants {\n    constructor() {\n      // `0` means NULL\n      this.strings = [];\n      this.arrays = [WELL_KNOW_EMPTY_ARRAY];\n      this.tables = [];\n      this.handles = [];\n      this.resolved = [];\n      this.numbers = [];\n    }\n\n    string(value) {\n      var index = this.strings.indexOf(value);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.strings.push(value) - 1;\n    }\n\n    stringArray(strings) {\n      var _strings = new Array(strings.length);\n\n      for (var i = 0; i < strings.length; i++) {\n        _strings[i] = this.string(strings[i]);\n      }\n\n      return this.array(_strings);\n    }\n\n    array(values) {\n      if (values.length === 0) {\n        return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n      }\n\n      var index = this.arrays.indexOf(values);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.arrays.push(values) - 1;\n    }\n\n    handle(handle) {\n      var index = this.handles.indexOf(handle);\n\n      if (index > -1) {\n        return index;\n      }\n\n      this.resolved.push(UNRESOLVED);\n      return this.handles.push(handle) - 1;\n    }\n\n    serializable(value) {\n      var str = JSON.stringify(value);\n      var index = this.strings.indexOf(str);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.strings.push(str) - 1;\n    }\n\n    number(number) {\n      var index = this.numbers.indexOf(number);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.numbers.push(number) - 1;\n    }\n\n    toPool() {\n      return {\n        strings: this.strings,\n        arrays: this.arrays,\n        handles: this.handles,\n        numbers: this.numbers\n      };\n    }\n\n  }\n\n  _exports.WriteOnlyConstants = WriteOnlyConstants;\n\n  class RuntimeConstants {\n    constructor(resolver, pool) {\n      this.resolver = resolver;\n      this.strings = pool.strings;\n      this.arrays = pool.arrays;\n      this.handles = pool.handles;\n      this.resolved = this.handles.map(() => UNRESOLVED);\n      this.numbers = pool.numbers;\n    }\n\n    getString(value) {\n      return this.strings[value];\n    }\n\n    getNumber(value) {\n      return this.numbers[value];\n    }\n\n    getStringArray(value) {\n      var names = this.getArray(value);\n\n      var _names = new Array(names.length);\n\n      for (var i = 0; i < names.length; i++) {\n        var n = names[i];\n        _names[i] = this.getString(n);\n      }\n\n      return _names;\n    }\n\n    getArray(value) {\n      return this.arrays[value];\n    }\n\n    resolveHandle(index) {\n      var resolved = this.resolved[index];\n\n      if (resolved === UNRESOLVED) {\n        var handle = this.handles[index];\n        resolved = this.resolved[index] = this.resolver.resolve(handle);\n      }\n\n      return resolved;\n    }\n\n    getSerializable(s) {\n      return JSON.parse(this.strings[s]);\n    }\n\n  }\n\n  _exports.RuntimeConstants = RuntimeConstants;\n\n  class Constants extends WriteOnlyConstants {\n    constructor(resolver, pool) {\n      super();\n      this.resolver = resolver;\n\n      if (pool) {\n        this.strings = pool.strings;\n        this.arrays = pool.arrays;\n        this.handles = pool.handles;\n        this.resolved = this.handles.map(() => UNRESOLVED);\n        this.numbers = pool.numbers;\n      }\n    }\n\n    getNumber(value) {\n      return this.numbers[value];\n    }\n\n    getString(value) {\n      return this.strings[value];\n    }\n\n    getStringArray(value) {\n      var names = this.getArray(value);\n\n      var _names = new Array(names.length);\n\n      for (var i = 0; i < names.length; i++) {\n        var n = names[i];\n        _names[i] = this.getString(n);\n      }\n\n      return _names;\n    }\n\n    getArray(value) {\n      return this.arrays[value];\n    }\n\n    resolveHandle(index) {\n      var resolved = this.resolved[index];\n\n      if (resolved === UNRESOLVED) {\n        var handle = this.handles[index];\n        resolved = this.resolved[index] = this.resolver.resolve(handle);\n      }\n\n      return resolved;\n    }\n\n    getSerializable(s) {\n      return JSON.parse(this.strings[s]);\n    }\n\n  }\n\n  _exports.Constants = Constants;\n\n  class LazyConstants extends Constants {\n    constructor() {\n      super(...arguments);\n      this.others = [];\n      this.serializables = [];\n    }\n\n    serializable(value) {\n      var index = this.serializables.indexOf(value);\n\n      if (index > -1) {\n        return index;\n      }\n\n      return this.serializables.push(value) - 1;\n    }\n\n    getSerializable(s) {\n      return this.serializables[s];\n    }\n\n    getOther(value) {\n      return this.others[value - 1];\n    }\n\n    other(other) {\n      return this.others.push(other);\n    }\n\n  }\n\n  _exports.LazyConstants = LazyConstants;\n\n  class Opcode {\n    constructor(heap) {\n      this.heap = heap;\n      this.offset = 0;\n    }\n\n    get size() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return ((rawType & 768\n      /* OPERAND_LEN_MASK */\n      ) >> 8\n      /* ARG_SHIFT */\n      ) + 1;\n    }\n\n    get isMachine() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return rawType & 1024\n      /* MACHINE_MASK */\n      ;\n    }\n\n    get type() {\n      return this.heap.getbyaddr(this.offset) & 255\n      /* TYPE_MASK */\n      ;\n    }\n\n    get op1() {\n      return this.heap.getbyaddr(this.offset + 1);\n    }\n\n    get op2() {\n      return this.heap.getbyaddr(this.offset + 2);\n    }\n\n    get op3() {\n      return this.heap.getbyaddr(this.offset + 3);\n    }\n\n  }\n\n  _exports.Opcode = Opcode;\n\n  function encodeTableInfo(scopeSize, state) {\n    return state | scopeSize << 2;\n  }\n\n  function changeState(info, newState) {\n    return info | newState << 30;\n  }\n\n  var PAGE_SIZE = 0x100000;\n  /**\n   * The Heap is responsible for dynamically allocating\n   * memory in which we read/write the VM's instructions\n   * from/to. When we malloc we pass out a VMHandle, which\n   * is used as an indirect way of accessing the memory during\n   * execution of the VM. Internally we track the different\n   * regions of the memory in an int array known as the table.\n   *\n   * The table 32-bit aligned and has the following layout:\n   *\n   * | ... | hp (u32) |       info (u32)   | size (u32) |\n   * | ... |  Handle  | Scope Size | State | Size       |\n   * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n   *\n   * With this information we effectively have the ability to\n   * control when we want to free memory. That being said you\n   * can not free during execution as raw address are only\n   * valid during the execution. This means you cannot close\n   * over them as you will have a bad memory access exception.\n   */\n\n  class Heap {\n    constructor(serializedHeap) {\n      this.placeholders = [];\n      this.offset = 0;\n      this.handle = 0;\n      this.capacity = PAGE_SIZE;\n\n      if (serializedHeap) {\n        var {\n          buffer,\n          table,\n          handle\n        } = serializedHeap;\n        this.heap = new Uint32Array(buffer);\n        this.table = table;\n        this.offset = this.heap.length;\n        this.handle = handle;\n        this.capacity = 0;\n      } else {\n        this.heap = new Uint32Array(PAGE_SIZE);\n        this.table = [];\n      }\n    }\n\n    push(item) {\n      this.sizeCheck();\n      this.heap[this.offset++] = item;\n    }\n\n    sizeCheck() {\n      if (this.capacity === 0) {\n        var heap = slice(this.heap, 0, this.offset);\n        this.heap = new Uint32Array(heap.length + PAGE_SIZE);\n        this.heap.set(heap, 0);\n        this.capacity = PAGE_SIZE;\n      }\n\n      this.capacity--;\n    }\n\n    getbyaddr(address) {\n      return this.heap[address];\n    }\n\n    setbyaddr(address, value) {\n      this.heap[address] = value;\n    }\n\n    malloc() {\n      // push offset, info, size\n      this.table.push(this.offset, 0, 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    }\n\n    finishMalloc(handle, scopeSize) {\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = encodeTableInfo(scopeSize, 0\n      /* Allocated */\n      );\n    }\n\n    size() {\n      return this.offset;\n    } // It is illegal to close over this address, as compaction\n    // may move it. However, it is legal to use this address\n    // multiple times between compactions.\n\n\n    getaddr(handle) {\n      return this.table[handle];\n    }\n\n    gethandle(address) {\n      this.table.push(address, encodeTableInfo(0, 3\n      /* Pointer */\n      ), 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    }\n\n    sizeof(handle) {\n      return -1;\n    }\n\n    scopesizeof(handle) {\n      var info = this.table[handle + 1\n      /* INFO_OFFSET */\n      ];\n      return info >> 2;\n    }\n\n    free(handle) {\n      var info = this.table[handle + 1\n      /* INFO_OFFSET */\n      ];\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = changeState(info, 1\n      /* Freed */\n      );\n    }\n\n    pushPlaceholder(valueFunc) {\n      this.sizeCheck();\n      var address = this.offset++;\n      this.heap[address] = 2147483647\n      /* MAX_SIZE */\n      ;\n      this.placeholders.push([address, valueFunc]);\n    }\n\n    patchPlaceholders() {\n      var {\n        placeholders\n      } = this;\n\n      for (var i = 0; i < placeholders.length; i++) {\n        var [address, getValue] = placeholders[i];\n        this.setbyaddr(address, getValue());\n      }\n    }\n\n    capture(offset = this.offset) {\n      this.patchPlaceholders(); // Only called in eager mode\n\n      var buffer = slice(this.heap, 0, offset).buffer;\n      return {\n        handle: this.handle,\n        table: this.table,\n        buffer: buffer\n      };\n    }\n\n  }\n\n  _exports.Heap = Heap;\n\n  class WriteOnlyProgram {\n    constructor(constants = new WriteOnlyConstants(), heap = new Heap()) {\n      this.constants = constants;\n      this.heap = heap;\n      this._opcode = new Opcode(this.heap);\n    }\n\n    opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    }\n\n  }\n\n  _exports.WriteOnlyProgram = WriteOnlyProgram;\n\n  class RuntimeProgram {\n    constructor(constants, heap) {\n      this.constants = constants;\n      this.heap = heap;\n      this._opcode = new Opcode(this.heap);\n    }\n\n    static hydrate(rawHeap, pool, resolver) {\n      var heap = new Heap(rawHeap);\n      var constants = new RuntimeConstants(resolver, pool);\n      return new RuntimeProgram(constants, heap);\n    }\n\n    opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    }\n\n  }\n\n  _exports.RuntimeProgram = RuntimeProgram;\n\n  class Program extends WriteOnlyProgram {}\n\n  _exports.Program = Program;\n\n  function slice(arr, start, end) {\n    if (arr.slice !== undefined) {\n      return arr.slice(start, end);\n    }\n\n    var ret = new Uint32Array(end);\n\n    for (; start < end; start++) {\n      ret[start] = arr[start];\n    }\n\n    return ret;\n  }\n});","define(\"@glimmer/reference\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.map = map;\n  _exports.isModified = isModified;\n  _exports.bump = bump;\n  _exports.value = value;\n  _exports.validate = validate;\n  _exports.createTag = createTag;\n  _exports.createUpdatableTag = createUpdatableTag;\n  _exports.isConst = isConst;\n  _exports.isConstTag = isConstTag;\n  _exports.combineTagged = combineTagged;\n  _exports.combineSlice = combineSlice;\n  _exports.combine = combine;\n  _exports.CURRENT_TAG = _exports.VOLATILE_TAG = _exports.CONSTANT_TAG = _exports.update = _exports.dirty = _exports.MonomorphicTagImpl = _exports.ALLOW_CYCLES = _exports.COMPUTE = _exports.VOLATILE = _exports.INITIAL = _exports.CONSTANT = _exports.IteratorSynchronizer = _exports.ReferenceIterator = _exports.IterationArtifacts = _exports.ListItem = _exports.ConstReference = _exports.ReferenceCache = _exports.CachedReference = void 0;\n  var symbol = typeof Symbol !== 'undefined' ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n  var CONSTANT = 0;\n  _exports.CONSTANT = CONSTANT;\n  var INITIAL = 1;\n  _exports.INITIAL = INITIAL;\n  var VOLATILE = 9007199254740991; // MAX_INT\n\n  _exports.VOLATILE = VOLATILE;\n  var $REVISION = INITIAL;\n\n  function bump() {\n    $REVISION++;\n  } //////////\n\n\n  var COMPUTE = symbol('TAG_COMPUTE'); //////////\n\n  /**\n   * `value` receives a tag and returns an opaque Revision based on that tag. This\n   * snapshot can then later be passed to `validate` with the same tag to\n   * determine if the tag has changed at all since the time that `value` was\n   * called.\n   *\n   * The current implementation returns the global revision count directly for\n   * performance reasons. This is an implementation detail, and should not be\n   * relied on directly by users of these APIs. Instead, Revisions should be\n   * treated as if they are opaque/unknown, and should only be interacted with via\n   * the `value`/`validate` API.\n   *\n   * @param tag\n   */\n\n  _exports.COMPUTE = COMPUTE;\n\n  function value(_tag) {\n    return $REVISION;\n  }\n  /**\n   * `validate` receives a tag and a snapshot from a previous call to `value` with\n   * the same tag, and determines if the tag is still valid compared to the\n   * snapshot. If the tag's state has changed at all since then, `validate` will\n   * return false, otherwise it will return true. This is used to determine if a\n   * calculation related to the tags should be rerun.\n   *\n   * @param tag\n   * @param snapshot\n   */\n\n\n  function validate(tag, snapshot) {\n    return snapshot >= tag[COMPUTE]();\n  }\n\n  var TYPE = symbol('TAG_TYPE');\n  var ALLOW_CYCLES;\n  _exports.ALLOW_CYCLES = ALLOW_CYCLES;\n\n  class MonomorphicTagImpl {\n    constructor(type) {\n      this.revision = INITIAL;\n      this.lastChecked = INITIAL;\n      this.lastValue = INITIAL;\n      this.isUpdating = false;\n      this.subtags = null;\n      this.subtag = null;\n      this.subtagBufferCache = null;\n      this[TYPE] = type;\n    }\n\n    [COMPUTE]() {\n      var {\n        lastChecked\n      } = this;\n\n      if (lastChecked !== $REVISION) {\n        this.isUpdating = true;\n        this.lastChecked = $REVISION;\n\n        try {\n          var {\n            subtags,\n            subtag,\n            subtagBufferCache,\n            lastValue,\n            revision\n          } = this;\n\n          if (subtag !== null) {\n            var subtagValue = subtag[COMPUTE]();\n\n            if (subtagValue === subtagBufferCache) {\n              revision = Math.max(revision, lastValue);\n            } else {\n              // Clear the temporary buffer cache\n              this.subtagBufferCache = null;\n              revision = Math.max(revision, subtagValue);\n            }\n          }\n\n          if (subtags !== null) {\n            for (var i = 0; i < subtags.length; i++) {\n              var _value = subtags[i][COMPUTE]();\n\n              revision = Math.max(_value, revision);\n            }\n          }\n\n          this.lastValue = revision;\n        } finally {\n          this.isUpdating = false;\n        }\n      }\n\n      if (this.isUpdating === true) {\n        this.lastChecked = ++$REVISION;\n      }\n\n      return this.lastValue;\n    }\n\n    static update(_tag, _subtag) {\n      // TODO: TS 3.7 should allow us to do this via assertion\n      var tag = _tag;\n      var subtag = _subtag;\n\n      if (subtag === CONSTANT_TAG) {\n        tag.subtag = null;\n      } else {\n        // There are two different possibilities when updating a subtag:\n        //\n        // 1. subtag[COMPUTE]() <= tag[COMPUTE]();\n        // 2. subtag[COMPUTE]() > tag[COMPUTE]();\n        //\n        // The first possibility is completely fine within our caching model, but\n        // the second possibility presents a problem. If the parent tag has\n        // already been read, then it's value is cached and will not update to\n        // reflect the subtag's greater value. Next time the cache is busted, the\n        // subtag's value _will_ be read, and it's value will be _greater_ than\n        // the saved snapshot of the parent, causing the resulting calculation to\n        // be rerun erroneously.\n        //\n        // In order to prevent this, when we first update to a new subtag we store\n        // its computed value, and then check against that computed value on\n        // subsequent updates. If its value hasn't changed, then we return the\n        // parent's previous value. Once the subtag changes for the first time,\n        // we clear the cache and everything is finally in sync with the parent.\n        tag.subtagBufferCache = subtag[COMPUTE]();\n        tag.subtag = subtag;\n      }\n    }\n\n    static dirty(tag) {\n      tag.revision = ++$REVISION;\n    }\n\n  }\n\n  _exports.MonomorphicTagImpl = MonomorphicTagImpl;\n  var dirty = MonomorphicTagImpl.dirty;\n  _exports.dirty = dirty;\n  var update = MonomorphicTagImpl.update; //////////\n\n  _exports.update = update;\n\n  function createTag() {\n    return new MonomorphicTagImpl(0\n    /* Dirtyable */\n    );\n  }\n\n  function createUpdatableTag() {\n    return new MonomorphicTagImpl(1\n    /* Updatable */\n    );\n  } //////////\n\n\n  var CONSTANT_TAG = new MonomorphicTagImpl(3\n  /* Constant */\n  );\n  _exports.CONSTANT_TAG = CONSTANT_TAG;\n\n  function isConst({\n    tag\n  }) {\n    return tag === CONSTANT_TAG;\n  }\n\n  function isConstTag(tag) {\n    return tag === CONSTANT_TAG;\n  } //////////\n\n\n  class VolatileTag {\n    [COMPUTE]() {\n      return VOLATILE;\n    }\n\n  }\n\n  var VOLATILE_TAG = new VolatileTag(); //////////\n\n  _exports.VOLATILE_TAG = VOLATILE_TAG;\n\n  class CurrentTag {\n    [COMPUTE]() {\n      return $REVISION;\n    }\n\n  }\n\n  var CURRENT_TAG = new CurrentTag(); //////////\n\n  _exports.CURRENT_TAG = CURRENT_TAG;\n\n  function combineTagged(tagged) {\n    var optimized = [];\n\n    for (var i = 0, l = tagged.length; i < l; i++) {\n      var tag = tagged[i].tag;\n      if (tag === CONSTANT_TAG) continue;\n      optimized.push(tag);\n    }\n\n    return _combine(optimized);\n  }\n\n  function combineSlice(slice) {\n    var optimized = [];\n    var node = slice.head();\n\n    while (node !== null) {\n      var tag = node.tag;\n      if (tag !== CONSTANT_TAG) optimized.push(tag);\n      node = slice.nextNode(node);\n    }\n\n    return _combine(optimized);\n  }\n\n  function combine(tags) {\n    var optimized = [];\n\n    for (var i = 0, l = tags.length; i < l; i++) {\n      var tag = tags[i];\n      if (tag === CONSTANT_TAG) continue;\n      optimized.push(tag);\n    }\n\n    return _combine(optimized);\n  }\n\n  function _combine(tags) {\n    switch (tags.length) {\n      case 0:\n        return CONSTANT_TAG;\n\n      case 1:\n        return tags[0];\n\n      default:\n        var tag = new MonomorphicTagImpl(2\n        /* Combinator */\n        );\n        tag.subtags = tags;\n        return tag;\n    }\n  }\n\n  class CachedReference {\n    constructor() {\n      this.lastRevision = null;\n      this.lastValue = null;\n    }\n\n    value() {\n      var {\n        tag,\n        lastRevision,\n        lastValue\n      } = this;\n\n      if (lastRevision === null || !validate(tag, lastRevision)) {\n        lastValue = this.lastValue = this.compute();\n        this.lastRevision = value(tag);\n      }\n\n      return lastValue;\n    }\n\n    invalidate() {\n      this.lastRevision = null;\n    }\n\n  }\n\n  _exports.CachedReference = CachedReference;\n\n  class MapperReference extends CachedReference {\n    constructor(reference, mapper) {\n      super();\n      this.tag = reference.tag;\n      this.reference = reference;\n      this.mapper = mapper;\n    }\n\n    compute() {\n      var {\n        reference,\n        mapper\n      } = this;\n      return mapper(reference.value());\n    }\n\n  }\n\n  function map(reference, mapper) {\n    return new MapperReference(reference, mapper);\n  } //////////\n\n\n  class ReferenceCache {\n    constructor(reference) {\n      this.lastValue = null;\n      this.lastRevision = null;\n      this.initialized = false;\n      this.tag = reference.tag;\n      this.reference = reference;\n    }\n\n    peek() {\n      if (!this.initialized) {\n        return this.initialize();\n      }\n\n      return this.lastValue;\n    }\n\n    revalidate() {\n      if (!this.initialized) {\n        return this.initialize();\n      }\n\n      var {\n        reference,\n        lastRevision\n      } = this;\n      var tag = reference.tag;\n      if (validate(tag, lastRevision)) return NOT_MODIFIED;\n      this.lastRevision = value(tag);\n      var {\n        lastValue\n      } = this;\n      var currentValue = reference.value();\n      if (currentValue === lastValue) return NOT_MODIFIED;\n      this.lastValue = currentValue;\n      return currentValue;\n    }\n\n    initialize() {\n      var {\n        reference\n      } = this;\n      var currentValue = this.lastValue = reference.value();\n      this.lastRevision = value(reference.tag);\n      this.initialized = true;\n      return currentValue;\n    }\n\n  }\n\n  _exports.ReferenceCache = ReferenceCache;\n  var NOT_MODIFIED = 'adb3b78e-3d22-4e4b-877a-6317c2c5c145';\n\n  function isModified(value$$1) {\n    return value$$1 !== NOT_MODIFIED;\n  }\n\n  class ConstReference {\n    constructor(inner) {\n      this.inner = inner;\n      this.tag = CONSTANT_TAG;\n    }\n\n    value() {\n      return this.inner;\n    }\n\n  }\n\n  _exports.ConstReference = ConstReference;\n\n  class ListItem extends _util.ListNode {\n    constructor(iterable, result) {\n      super(iterable.valueReferenceFor(result));\n      this.retained = false;\n      this.seen = false;\n      this.key = result.key;\n      this.iterable = iterable;\n      this.memo = iterable.memoReferenceFor(result);\n    }\n\n    update(item) {\n      this.retained = true;\n      this.iterable.updateValueReference(this.value, item);\n      this.iterable.updateMemoReference(this.memo, item);\n    }\n\n    shouldRemove() {\n      return !this.retained;\n    }\n\n    reset() {\n      this.retained = false;\n      this.seen = false;\n    }\n\n  }\n\n  _exports.ListItem = ListItem;\n\n  class IterationArtifacts {\n    constructor(iterable) {\n      this.iterator = null;\n      this.map = (0, _util.dict)();\n      this.list = new _util.LinkedList();\n      this.tag = iterable.tag;\n      this.iterable = iterable;\n    }\n\n    isEmpty() {\n      var iterator = this.iterator = this.iterable.iterate();\n      return iterator.isEmpty();\n    }\n\n    iterate() {\n      var iterator;\n\n      if (this.iterator === null) {\n        iterator = this.iterable.iterate();\n      } else {\n        iterator = this.iterator;\n      }\n\n      this.iterator = null;\n      return iterator;\n    }\n\n    has(key) {\n      return !!this.map[key];\n    }\n\n    get(key) {\n      return this.map[key];\n    }\n\n    wasSeen(key) {\n      var node = this.map[key];\n      return node !== undefined && node.seen;\n    }\n\n    append(item) {\n      var {\n        map,\n        list,\n        iterable\n      } = this;\n      var node = map[item.key] = new ListItem(iterable, item);\n      list.append(node);\n      return node;\n    }\n\n    insertBefore(item, reference) {\n      var {\n        map,\n        list,\n        iterable\n      } = this;\n      var node = map[item.key] = new ListItem(iterable, item);\n      node.retained = true;\n      list.insertBefore(node, reference);\n      return node;\n    }\n\n    move(item, reference) {\n      var {\n        list\n      } = this;\n      item.retained = true;\n      list.remove(item);\n      list.insertBefore(item, reference);\n    }\n\n    remove(item) {\n      var {\n        list\n      } = this;\n      list.remove(item);\n      delete this.map[item.key];\n    }\n\n    nextNode(item) {\n      return this.list.nextNode(item);\n    }\n\n    head() {\n      return this.list.head();\n    }\n\n  }\n\n  _exports.IterationArtifacts = IterationArtifacts;\n\n  class ReferenceIterator {\n    // if anyone needs to construct this object with something other than\n    // an iterable, let @wycats know.\n    constructor(iterable) {\n      this.iterator = null;\n      var artifacts = new IterationArtifacts(iterable);\n      this.artifacts = artifacts;\n    }\n\n    next() {\n      var {\n        artifacts\n      } = this;\n      var iterator = this.iterator = this.iterator || artifacts.iterate();\n      var item = iterator.next();\n      if (item === null) return null;\n      return artifacts.append(item);\n    }\n\n  }\n\n  _exports.ReferenceIterator = ReferenceIterator;\n  var Phase;\n\n  (function (Phase) {\n    Phase[Phase[\"Append\"] = 0] = \"Append\";\n    Phase[Phase[\"Prune\"] = 1] = \"Prune\";\n    Phase[Phase[\"Done\"] = 2] = \"Done\";\n  })(Phase || (Phase = {}));\n\n  class IteratorSynchronizer {\n    constructor({\n      target,\n      artifacts\n    }) {\n      this.target = target;\n      this.artifacts = artifacts;\n      this.iterator = artifacts.iterate();\n      this.current = artifacts.head();\n    }\n\n    sync() {\n      var phase = Phase.Append;\n\n      while (true) {\n        switch (phase) {\n          case Phase.Append:\n            phase = this.nextAppend();\n            break;\n\n          case Phase.Prune:\n            phase = this.nextPrune();\n            break;\n\n          case Phase.Done:\n            this.nextDone();\n            return;\n        }\n      }\n    }\n\n    advanceToKey(key) {\n      var {\n        current,\n        artifacts\n      } = this;\n      var seek = current;\n\n      while (seek !== null && seek.key !== key) {\n        seek.seen = true;\n        seek = artifacts.nextNode(seek);\n      }\n\n      if (seek !== null) {\n        this.current = artifacts.nextNode(seek);\n      }\n    }\n\n    nextAppend() {\n      var {\n        iterator,\n        current,\n        artifacts\n      } = this;\n      var item = iterator.next();\n\n      if (item === null) {\n        return this.startPrune();\n      }\n\n      var {\n        key\n      } = item;\n\n      if (current !== null && current.key === key) {\n        this.nextRetain(item);\n      } else if (artifacts.has(key)) {\n        this.nextMove(item);\n      } else {\n        this.nextInsert(item);\n      }\n\n      return Phase.Append;\n    }\n\n    nextRetain(item) {\n      var {\n        artifacts,\n        current\n      } = this;\n      current = current;\n      current.update(item);\n      this.current = artifacts.nextNode(current);\n      this.target.retain(item.key, current.value, current.memo);\n    }\n\n    nextMove(item) {\n      var {\n        current,\n        artifacts,\n        target\n      } = this;\n      var {\n        key\n      } = item;\n      var found = artifacts.get(item.key);\n      found.update(item);\n\n      if (artifacts.wasSeen(item.key)) {\n        artifacts.move(found, current);\n        target.move(found.key, found.value, found.memo, current ? current.key : null);\n      } else {\n        this.advanceToKey(key);\n      }\n    }\n\n    nextInsert(item) {\n      var {\n        artifacts,\n        target,\n        current\n      } = this;\n      var node = artifacts.insertBefore(item, current);\n      target.insert(node.key, node.value, node.memo, current ? current.key : null);\n    }\n\n    startPrune() {\n      this.current = this.artifacts.head();\n      return Phase.Prune;\n    }\n\n    nextPrune() {\n      var {\n        artifacts,\n        target,\n        current\n      } = this;\n\n      if (current === null) {\n        return Phase.Done;\n      }\n\n      var node = current;\n      this.current = artifacts.nextNode(node);\n\n      if (node.shouldRemove()) {\n        artifacts.remove(node);\n        target.delete(node.key);\n      } else {\n        node.reset();\n      }\n\n      return Phase.Prune;\n    }\n\n    nextDone() {\n      this.target.done();\n    }\n\n  }\n\n  _exports.IteratorSynchronizer = IteratorSynchronizer;\n});","define(\"@glimmer/runtime\", [\"exports\", \"@glimmer/util\", \"@glimmer/reference\", \"@glimmer/vm\", \"@glimmer/low-level\"], function (_exports, _util, _reference2, _vm2, _lowLevel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.renderMain = renderMain;\n  _exports.renderComponent = renderComponent;\n  _exports.setDebuggerCallback = setDebuggerCallback;\n  _exports.resetDebuggerCallback = resetDebuggerCallback;\n  _exports.getDynamicVar = getDynamicVar;\n  _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n  _exports.curry = curry;\n  _exports.isWhitespace = isWhitespace;\n  _exports.normalizeProperty = normalizeProperty;\n  _exports.clientBuilder = clientBuilder;\n  _exports.rehydrationBuilder = rehydrationBuilder;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n  _exports.hasCapability = hasCapability;\n  _exports.Cursor = _exports.ConcreteBounds = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RehydrateBuilder = _exports.NewElementBuilder = _exports.DOMTreeConstruction = _exports.IDOMChanges = _exports.SVG_NAMESPACE = _exports.DOMChanges = _exports.CurriedComponentDefinition = _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.DefaultEnvironment = _exports.Environment = _exports.Scope = _exports.EMPTY_ARGS = _exports.DynamicAttribute = _exports.SimpleDynamicAttribute = _exports.RenderResult = _exports.UpdatingVM = _exports.LowLevelVM = _exports.ConditionalReference = _exports.PrimitiveReference = _exports.UNDEFINED_REFERENCE = _exports.NULL_REFERENCE = void 0;\n\n  // these import bindings will be stripped from build\n  class AppendOpcodes {\n    constructor() {\n      this.evaluateOpcode = (0, _util.fillNulls)(98\n      /* Size */\n      ).slice();\n    }\n\n    add(name, evaluate, kind = 'syscall') {\n      this.evaluateOpcode[name] = {\n        syscall: kind === 'syscall',\n        evaluate\n      };\n    }\n\n    debugBefore(vm, opcode, type) {\n      var sp;\n      var state;\n      return {\n        sp: sp,\n        state\n      };\n    }\n\n    debugAfter(vm, opcode, type, pre) {\n      var expectedChange;\n      var {\n        sp,\n        state\n      } = pre;\n      var metadata = null;\n\n      if (metadata !== null) {\n        if (typeof metadata.stackChange === 'number') {\n          expectedChange = metadata.stackChange;\n        } else {\n          expectedChange = metadata.stackChange({\n            opcode,\n            constants: vm.constants,\n            state\n          });\n          if (isNaN(expectedChange)) throw (0, _util.unreachable)();\n        }\n      }\n    }\n\n    evaluate(vm, opcode, type) {\n      var operation = this.evaluateOpcode[type];\n\n      if (operation.syscall) {\n        operation.evaluate(vm, opcode);\n      } else {\n        operation.evaluate(vm.inner, opcode);\n      }\n    }\n\n  }\n\n  var APPEND_OPCODES = new AppendOpcodes();\n\n  class AbstractOpcode {\n    constructor() {\n      (0, _util.initializeGuid)(this);\n    }\n\n  }\n\n  class UpdatingOpcode extends AbstractOpcode {\n    constructor() {\n      super(...arguments);\n      this.next = null;\n      this.prev = null;\n    }\n\n  }\n\n  class PrimitiveReference extends _reference2.ConstReference {\n    constructor(value$$1) {\n      super(value$$1);\n    }\n\n    static create(value$$1) {\n      if (value$$1 === undefined) {\n        return UNDEFINED_REFERENCE;\n      } else if (value$$1 === null) {\n        return NULL_REFERENCE;\n      } else if (value$$1 === true) {\n        return TRUE_REFERENCE;\n      } else if (value$$1 === false) {\n        return FALSE_REFERENCE;\n      } else if (typeof value$$1 === 'number') {\n        return new ValueReference(value$$1);\n      } else {\n        return new StringReference(value$$1);\n      }\n    }\n\n    get(_key) {\n      return UNDEFINED_REFERENCE;\n    }\n\n  }\n\n  _exports.PrimitiveReference = PrimitiveReference;\n\n  class StringReference extends PrimitiveReference {\n    constructor() {\n      super(...arguments);\n      this.lengthReference = null;\n    }\n\n    get(key) {\n      if (key === 'length') {\n        var {\n          lengthReference\n        } = this;\n\n        if (lengthReference === null) {\n          lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n        }\n\n        return lengthReference;\n      } else {\n        return super.get(key);\n      }\n    }\n\n  }\n\n  class ValueReference extends PrimitiveReference {\n    constructor(value$$1) {\n      super(value$$1);\n    }\n\n  }\n\n  var UNDEFINED_REFERENCE = new ValueReference(undefined);\n  _exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n  var NULL_REFERENCE = new ValueReference(null);\n  _exports.NULL_REFERENCE = NULL_REFERENCE;\n  var TRUE_REFERENCE = new ValueReference(true);\n  var FALSE_REFERENCE = new ValueReference(false);\n\n  class ConditionalReference {\n    constructor(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n    }\n\n    value() {\n      return this.toBool(this.inner.value());\n    }\n\n    toBool(value$$1) {\n      return !!value$$1;\n    }\n\n  }\n\n  _exports.ConditionalReference = ConditionalReference;\n\n  class ConcatReference extends _reference2.CachedReference {\n    constructor(parts) {\n      super();\n      this.parts = parts;\n      this.tag = (0, _reference2.combineTagged)(parts);\n    }\n\n    compute() {\n      var parts = new Array();\n\n      for (var i = 0; i < this.parts.length; i++) {\n        var value$$1 = this.parts[i].value();\n\n        if (value$$1 !== null && value$$1 !== undefined) {\n          parts[i] = castToString(value$$1);\n        }\n      }\n\n      if (parts.length > 0) {\n        return parts.join('');\n      }\n\n      return null;\n    }\n\n  }\n\n  function castToString(value$$1) {\n    if (typeof value$$1.toString !== 'function') {\n      return '';\n    }\n\n    return String(value$$1);\n  }\n\n  APPEND_OPCODES.add(1\n  /* Helper */\n  , (vm, {\n    op1: handle\n  }) => {\n    var stack = vm.stack;\n    var helper = vm.constants.resolveHandle(handle);\n    var args = stack.pop();\n    var value$$1 = helper(vm, args);\n    vm.loadValue(_vm2.Register.v0, value$$1);\n  });\n  APPEND_OPCODES.add(6\n  /* GetVariable */\n  , (vm, {\n    op1: symbol\n  }) => {\n    var expr = vm.referenceForSymbol(symbol);\n    vm.stack.push(expr);\n  });\n  APPEND_OPCODES.add(4\n  /* SetVariable */\n  , (vm, {\n    op1: symbol\n  }) => {\n    var expr = vm.stack.pop();\n    vm.scope().bindSymbol(symbol, expr);\n  });\n  APPEND_OPCODES.add(5\n  /* SetBlock */\n  , (vm, {\n    op1: symbol\n  }) => {\n    var handle = vm.stack.pop();\n    var scope = vm.stack.pop(); // FIXME(mmun): shouldn't need to cast this\n\n    var table = vm.stack.pop();\n    var block = table ? [handle, scope, table] : null;\n    vm.scope().bindBlock(symbol, block);\n  });\n  APPEND_OPCODES.add(96\n  /* ResolveMaybeLocal */\n  , (vm, {\n    op1: _name\n  }) => {\n    var name = vm.constants.getString(_name);\n    var locals = vm.scope().getPartialMap();\n    var ref = locals[name];\n\n    if (ref === undefined) {\n      ref = vm.getSelf().get(name);\n    }\n\n    vm.stack.push(ref);\n  });\n  APPEND_OPCODES.add(20\n  /* RootScope */\n  , (vm, {\n    op1: symbols,\n    op2: bindCallerScope\n  }) => {\n    vm.pushRootScope(symbols, !!bindCallerScope);\n  });\n  APPEND_OPCODES.add(7\n  /* GetProperty */\n  , (vm, {\n    op1: _key\n  }) => {\n    var key = vm.constants.getString(_key);\n    var expr = vm.stack.pop();\n    vm.stack.push(expr.get(key));\n  });\n  APPEND_OPCODES.add(8\n  /* GetBlock */\n  , (vm, {\n    op1: _block\n  }) => {\n    var {\n      stack\n    } = vm;\n    var block = vm.scope().getBlock(_block);\n\n    if (block) {\n      stack.push(block[2]);\n      stack.push(block[1]);\n      stack.push(block[0]);\n    } else {\n      stack.push(null);\n      stack.push(null);\n      stack.push(null);\n    }\n  });\n  APPEND_OPCODES.add(9\n  /* HasBlock */\n  , (vm, {\n    op1: _block\n  }) => {\n    var hasBlock = !!vm.scope().getBlock(_block);\n    vm.stack.push(hasBlock ? TRUE_REFERENCE : FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(10\n  /* HasBlockParams */\n  , vm => {\n    // FIXME(mmun): should only need to push the symbol table\n    var block = vm.stack.pop();\n    var scope = vm.stack.pop();\n    var table = vm.stack.pop();\n    var hasBlockParams = table && table.parameters.length;\n    vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(11\n  /* Concat */\n  , (vm, {\n    op1: count\n  }) => {\n    var out = new Array(count);\n\n    for (var i = count; i > 0; i--) {\n      var offset = i - 1;\n      out[offset] = vm.stack.pop();\n    }\n\n    vm.stack.push(new ConcatReference(out));\n  });\n  var CURRIED_COMPONENT_DEFINITION_BRAND = 'CURRIED COMPONENT DEFINITION [id=6f00feb9-a0ef-4547-99ea-ac328f80acea]';\n\n  function isCurriedComponentDefinition(definition) {\n    return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n  }\n\n  function isComponentDefinition(definition) {\n    return definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND];\n  }\n\n  class CurriedComponentDefinition {\n    /** @internal */\n    constructor(inner, args) {\n      this.inner = inner;\n      this.args = args;\n      this[CURRIED_COMPONENT_DEFINITION_BRAND] = true;\n    }\n\n    unwrap(args) {\n      args.realloc(this.offset);\n      var definition = this;\n\n      while (true) {\n        var {\n          args: curriedArgs,\n          inner\n        } = definition;\n\n        if (curriedArgs) {\n          args.positional.prepend(curriedArgs.positional);\n          args.named.merge(curriedArgs.named);\n        }\n\n        if (!isCurriedComponentDefinition(inner)) {\n          return inner;\n        }\n\n        definition = inner;\n      }\n    }\n    /** @internal */\n\n\n    get offset() {\n      var {\n        inner,\n        args\n      } = this;\n      var length = args ? args.positional.length : 0;\n      return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n    }\n\n  }\n\n  _exports.CurriedComponentDefinition = CurriedComponentDefinition;\n\n  function curry(spec, args = null) {\n    return new CurriedComponentDefinition(spec, args);\n  }\n\n  function normalizeStringValue(value$$1) {\n    if (isEmpty(value$$1)) {\n      return '';\n    }\n\n    return String(value$$1);\n  }\n\n  function shouldCoerce(value$$1) {\n    return isString(value$$1) || isEmpty(value$$1) || typeof value$$1 === 'boolean' || typeof value$$1 === 'number';\n  }\n\n  function isEmpty(value$$1) {\n    return value$$1 === null || value$$1 === undefined || typeof value$$1.toString !== 'function';\n  }\n\n  function isSafeString(value$$1) {\n    return typeof value$$1 === 'object' && value$$1 !== null && typeof value$$1.toHTML === 'function';\n  }\n\n  function isNode(value$$1) {\n    return typeof value$$1 === 'object' && value$$1 !== null && typeof value$$1.nodeType === 'number';\n  }\n\n  function isFragment(value$$1) {\n    return isNode(value$$1) && value$$1.nodeType === 11;\n  }\n\n  function isString(value$$1) {\n    return typeof value$$1 === 'string';\n  }\n\n  class DynamicTextContent extends UpdatingOpcode {\n    constructor(node, reference, lastValue) {\n      super();\n      this.node = node;\n      this.reference = reference;\n      this.lastValue = lastValue;\n      this.type = 'dynamic-text';\n      this.tag = reference.tag;\n      this.lastRevision = (0, _reference2.value)(this.tag);\n    }\n\n    evaluate() {\n      var {\n        reference,\n        tag\n      } = this;\n\n      if (!(0, _reference2.validate)(tag, this.lastRevision)) {\n        this.lastRevision = (0, _reference2.value)(tag);\n        this.update(reference.value());\n      }\n    }\n\n    update(value$$1) {\n      var {\n        lastValue\n      } = this;\n      if (value$$1 === lastValue) return;\n      var normalized;\n\n      if (isEmpty(value$$1)) {\n        normalized = '';\n      } else if (isString(value$$1)) {\n        normalized = value$$1;\n      } else {\n        normalized = String(value$$1);\n      }\n\n      if (normalized !== lastValue) {\n        var textNode = this.node;\n        textNode.nodeValue = this.lastValue = normalized;\n      }\n    }\n\n  }\n\n  class IsCurriedComponentDefinitionReference extends ConditionalReference {\n    static create(inner) {\n      return new IsCurriedComponentDefinitionReference(inner);\n    }\n\n    toBool(value$$1) {\n      return isCurriedComponentDefinition(value$$1);\n    }\n\n  }\n\n  class ContentTypeReference {\n    constructor(inner) {\n      this.inner = inner;\n      this.tag = inner.tag;\n    }\n\n    value() {\n      var value$$1 = this.inner.value();\n\n      if (shouldCoerce(value$$1)) {\n        return 1\n        /* String */\n        ;\n      } else if (isComponentDefinition(value$$1)) {\n        return 0\n        /* Component */\n        ;\n      } else if (isSafeString(value$$1)) {\n        return 3\n        /* SafeString */\n        ;\n      } else if (isFragment(value$$1)) {\n        return 4\n        /* Fragment */\n        ;\n      } else if (isNode(value$$1)) {\n        return 5\n        /* Node */\n        ;\n      } else {\n        return 1\n        /* String */\n        ;\n      }\n    }\n\n  }\n\n  APPEND_OPCODES.add(28\n  /* AppendHTML */\n  , vm => {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value();\n    var value$$1 = isEmpty(rawValue) ? '' : String(rawValue);\n    vm.elements().appendDynamicHTML(value$$1);\n  });\n  APPEND_OPCODES.add(29\n  /* AppendSafeHTML */\n  , vm => {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value().toHTML();\n    var value$$1 = isEmpty(rawValue) ? '' : rawValue;\n    vm.elements().appendDynamicHTML(value$$1);\n  });\n  APPEND_OPCODES.add(32\n  /* AppendText */\n  , vm => {\n    var reference = vm.stack.pop();\n    var rawValue = reference.value();\n    var value$$1 = isEmpty(rawValue) ? '' : String(rawValue);\n    var node = vm.elements().appendDynamicText(value$$1);\n\n    if (!(0, _reference2.isConst)(reference)) {\n      vm.updateWith(new DynamicTextContent(node, reference, value$$1));\n    }\n  });\n  APPEND_OPCODES.add(30\n  /* AppendDocumentFragment */\n  , vm => {\n    var reference = vm.stack.pop();\n    var value$$1 = reference.value();\n    vm.elements().appendDynamicFragment(value$$1);\n  });\n  APPEND_OPCODES.add(31\n  /* AppendNode */\n  , vm => {\n    var reference = vm.stack.pop();\n    var value$$1 = reference.value();\n    vm.elements().appendDynamicNode(value$$1);\n  });\n  APPEND_OPCODES.add(22\n  /* ChildScope */\n  , vm => vm.pushChildScope());\n  APPEND_OPCODES.add(23\n  /* PopScope */\n  , vm => vm.popScope());\n  APPEND_OPCODES.add(44\n  /* PushDynamicScope */\n  , vm => vm.pushDynamicScope());\n  APPEND_OPCODES.add(45\n  /* PopDynamicScope */\n  , vm => vm.popDynamicScope());\n  APPEND_OPCODES.add(12\n  /* Constant */\n  , (vm, {\n    op1: other\n  }) => {\n    vm.stack.push(vm.constants.getOther(other));\n  });\n  APPEND_OPCODES.add(13\n  /* Primitive */\n  , (vm, {\n    op1: primitive\n  }) => {\n    var stack = vm.stack;\n    var flag = primitive & 7; // 111\n\n    var value$$1 = primitive >> 3;\n\n    switch (flag) {\n      case 0\n      /* NUMBER */\n      :\n        stack.push(value$$1);\n        break;\n\n      case 1\n      /* FLOAT */\n      :\n        stack.push(vm.constants.getNumber(value$$1));\n        break;\n\n      case 2\n      /* STRING */\n      :\n        stack.push(vm.constants.getString(value$$1));\n        break;\n\n      case 3\n      /* BOOLEAN_OR_VOID */\n      :\n        stack.pushEncodedImmediate(primitive);\n        break;\n\n      case 4\n      /* NEGATIVE */\n      :\n        stack.push(vm.constants.getNumber(value$$1));\n        break;\n\n      case 5\n      /* BIG_NUM */\n      :\n        stack.push(vm.constants.getNumber(value$$1));\n        break;\n    }\n  });\n  APPEND_OPCODES.add(14\n  /* PrimitiveReference */\n  , vm => {\n    var stack = vm.stack;\n    stack.push(PrimitiveReference.create(stack.pop()));\n  });\n  APPEND_OPCODES.add(15\n  /* ReifyU32 */\n  , vm => {\n    var stack = vm.stack;\n    stack.push(stack.peek().value());\n  });\n  APPEND_OPCODES.add(16\n  /* Dup */\n  , (vm, {\n    op1: register,\n    op2: offset\n  }) => {\n    var position = vm.fetchValue(register) - offset;\n    vm.stack.dup(position);\n  });\n  APPEND_OPCODES.add(17\n  /* Pop */\n  , (vm, {\n    op1: count\n  }) => {\n    vm.stack.pop(count);\n  });\n  APPEND_OPCODES.add(18\n  /* Load */\n  , (vm, {\n    op1: register\n  }) => {\n    vm.load(register);\n  });\n  APPEND_OPCODES.add(19\n  /* Fetch */\n  , (vm, {\n    op1: register\n  }) => {\n    vm.fetch(register);\n  });\n  APPEND_OPCODES.add(43\n  /* BindDynamicScope */\n  , (vm, {\n    op1: _names\n  }) => {\n    var names = vm.constants.getArray(_names);\n    vm.bindDynamicScope(names);\n  });\n  APPEND_OPCODES.add(61\n  /* Enter */\n  , (vm, {\n    op1: args\n  }) => {\n    vm.enter(args);\n  });\n  APPEND_OPCODES.add(62\n  /* Exit */\n  , vm => {\n    vm.exit();\n  });\n  APPEND_OPCODES.add(48\n  /* PushSymbolTable */\n  , (vm, {\n    op1: _table\n  }) => {\n    var stack = vm.stack;\n    stack.push(vm.constants.getSerializable(_table));\n  });\n  APPEND_OPCODES.add(47\n  /* PushBlockScope */\n  , vm => {\n    var stack = vm.stack;\n    stack.push(vm.scope());\n  });\n  APPEND_OPCODES.add(46\n  /* CompileBlock */\n  , vm => {\n    var stack = vm.stack;\n    var block = stack.pop();\n\n    if (block) {\n      stack.push(block.compile());\n    } else {\n      stack.pushNull();\n    }\n  });\n  APPEND_OPCODES.add(51\n  /* InvokeYield */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var handle = stack.pop();\n    var scope = stack.pop(); // FIXME(mmun): shouldn't need to cast this\n\n    var table = stack.pop();\n    var args = stack.pop();\n\n    if (table === null) {\n      // To balance the pop{Frame,Scope}\n      vm.pushFrame();\n      vm.pushScope(scope); // Could be null but it doesnt matter as it is immediatelly popped.\n\n      return;\n    }\n\n    var invokingScope = scope; // If necessary, create a child scope\n\n    {\n      var locals = table.parameters;\n      var localsCount = locals.length;\n\n      if (localsCount > 0) {\n        invokingScope = invokingScope.child();\n\n        for (var i = 0; i < localsCount; i++) {\n          invokingScope.bindSymbol(locals[i], args.at(i));\n        }\n      }\n    }\n    vm.pushFrame();\n    vm.pushScope(invokingScope);\n    vm.call(handle);\n  });\n  APPEND_OPCODES.add(53\n  /* JumpIf */\n  , (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.pop();\n\n    if ((0, _reference2.isConst)(reference)) {\n      if (reference.value()) {\n        vm.goto(target);\n      }\n    } else {\n      var cache = new _reference2.ReferenceCache(reference);\n\n      if (cache.peek()) {\n        vm.goto(target);\n      }\n\n      vm.updateWith(new Assert(cache));\n    }\n  });\n  APPEND_OPCODES.add(54\n  /* JumpUnless */\n  , (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.pop();\n\n    if ((0, _reference2.isConst)(reference)) {\n      if (!reference.value()) {\n        vm.goto(target);\n      }\n    } else {\n      var cache = new _reference2.ReferenceCache(reference);\n\n      if (!cache.peek()) {\n        vm.goto(target);\n      }\n\n      vm.updateWith(new Assert(cache));\n    }\n  });\n  APPEND_OPCODES.add(55\n  /* JumpEq */\n  , (vm, {\n    op1: target,\n    op2: comparison\n  }) => {\n    var other = vm.stack.peek();\n\n    if (other === comparison) {\n      vm.goto(target);\n    }\n  });\n  APPEND_OPCODES.add(56\n  /* AssertSame */\n  , vm => {\n    var reference = vm.stack.peek();\n\n    if (!(0, _reference2.isConst)(reference)) {\n      vm.updateWith(Assert.initialize(new _reference2.ReferenceCache(reference)));\n    }\n  });\n  APPEND_OPCODES.add(63\n  /* ToBoolean */\n  , vm => {\n    var {\n      env,\n      stack\n    } = vm;\n    stack.push(env.toConditionalReference(stack.pop()));\n  });\n\n  class Assert extends UpdatingOpcode {\n    constructor(cache) {\n      super();\n      this.type = 'assert';\n      this.tag = cache.tag;\n      this.cache = cache;\n    }\n\n    static initialize(cache) {\n      var assert = new Assert(cache);\n      cache.peek();\n      return assert;\n    }\n\n    evaluate(vm) {\n      var {\n        cache\n      } = this;\n\n      if ((0, _reference2.isModified)(cache.revalidate())) {\n        vm.throw();\n      }\n    }\n\n  }\n\n  class JumpIfNotModifiedOpcode extends UpdatingOpcode {\n    constructor(tag, target) {\n      super();\n      this.target = target;\n      this.type = 'jump-if-not-modified';\n      this.tag = tag;\n      this.lastRevision = (0, _reference2.value)(tag);\n    }\n\n    evaluate(vm) {\n      var {\n        tag,\n        target,\n        lastRevision\n      } = this;\n\n      if (!vm.alwaysRevalidate && (0, _reference2.validate)(tag, lastRevision)) {\n        vm.goto(target);\n      }\n    }\n\n    didModify() {\n      this.lastRevision = (0, _reference2.value)(this.tag);\n    }\n\n  }\n\n  class DidModifyOpcode extends UpdatingOpcode {\n    constructor(target) {\n      super();\n      this.target = target;\n      this.type = 'did-modify';\n      this.tag = _reference2.CONSTANT_TAG;\n    }\n\n    evaluate() {\n      this.target.didModify();\n    }\n\n  }\n\n  class LabelOpcode {\n    constructor(label) {\n      this.tag = _reference2.CONSTANT_TAG;\n      this.type = 'label';\n      this.label = null;\n      this.prev = null;\n      this.next = null;\n      (0, _util.initializeGuid)(this);\n      this.label = label;\n    }\n\n    evaluate() {}\n\n    inspect() {\n      return `${this.label} [${this._guid}]`;\n    }\n\n  }\n\n  APPEND_OPCODES.add(26\n  /* Text */\n  , (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendText(vm.constants.getString(text));\n  });\n  APPEND_OPCODES.add(27\n  /* Comment */\n  , (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendComment(vm.constants.getString(text));\n  });\n  APPEND_OPCODES.add(33\n  /* OpenElement */\n  , (vm, {\n    op1: tag\n  }) => {\n    vm.elements().openElement(vm.constants.getString(tag));\n  });\n  APPEND_OPCODES.add(34\n  /* OpenDynamicElement */\n  , vm => {\n    var tagName = vm.stack.pop().value();\n    vm.elements().openElement(tagName);\n  });\n  APPEND_OPCODES.add(41\n  /* PushRemoteElement */\n  , vm => {\n    var elementRef = vm.stack.pop();\n    var nextSiblingRef = vm.stack.pop();\n    var guidRef = vm.stack.pop();\n    var element;\n    var nextSibling;\n    var guid = guidRef.value();\n\n    if ((0, _reference2.isConst)(elementRef)) {\n      element = elementRef.value();\n    } else {\n      var cache = new _reference2.ReferenceCache(elementRef);\n      element = cache.peek();\n      vm.updateWith(new Assert(cache));\n    }\n\n    if ((0, _reference2.isConst)(nextSiblingRef)) {\n      nextSibling = nextSiblingRef.value();\n    } else {\n      var _cache = new _reference2.ReferenceCache(nextSiblingRef);\n\n      nextSibling = _cache.peek();\n      vm.updateWith(new Assert(_cache));\n    }\n\n    vm.elements().pushRemoteElement(element, guid, nextSibling);\n  });\n  APPEND_OPCODES.add(42\n  /* PopRemoteElement */\n  , vm => {\n    vm.elements().popRemoteElement();\n  });\n  APPEND_OPCODES.add(38\n  /* FlushElement */\n  , vm => {\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    var modifiers = null;\n\n    if (operations) {\n      modifiers = operations.flush(vm);\n      vm.loadValue(_vm2.Register.t0, null);\n    }\n\n    vm.elements().flushElement(modifiers);\n  });\n  APPEND_OPCODES.add(39\n  /* CloseElement */\n  , vm => {\n    var modifiers = vm.elements().closeElement();\n\n    if (modifiers) {\n      modifiers.forEach(([manager, modifier]) => {\n        vm.env.scheduleInstallModifier(modifier, manager);\n        var destructor = manager.getDestructor(modifier);\n\n        if (destructor) {\n          vm.newDestroyable(destructor);\n        }\n      });\n    }\n  });\n  APPEND_OPCODES.add(40\n  /* Modifier */\n  , (vm, {\n    op1: handle\n  }) => {\n    var {\n      manager,\n      state\n    } = vm.constants.resolveHandle(handle);\n    var stack = vm.stack;\n    var args = stack.pop();\n    var {\n      constructing,\n      updateOperations\n    } = vm.elements();\n    var dynamicScope = vm.dynamicScope();\n    var modifier = manager.create(constructing, state, args, dynamicScope, updateOperations);\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    operations.addModifier(manager, modifier);\n    var tag = manager.getTag(modifier);\n\n    if (!(0, _reference2.isConstTag)(tag)) {\n      vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n    }\n  });\n\n  class UpdateModifierOpcode extends UpdatingOpcode {\n    constructor(tag, manager, modifier) {\n      super();\n      this.tag = tag;\n      this.manager = manager;\n      this.modifier = modifier;\n      this.type = 'update-modifier';\n      this.lastUpdated = (0, _reference2.value)(tag);\n    }\n\n    evaluate(vm) {\n      var {\n        manager,\n        modifier,\n        tag,\n        lastUpdated\n      } = this;\n\n      if (!(0, _reference2.validate)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(modifier, manager);\n        this.lastUpdated = (0, _reference2.value)(tag);\n      }\n    }\n\n  }\n\n  APPEND_OPCODES.add(35\n  /* StaticAttr */\n  , (vm, {\n    op1: _name,\n    op2: _value,\n    op3: _namespace\n  }) => {\n    var name = vm.constants.getString(_name);\n    var value$$1 = vm.constants.getString(_value);\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    vm.elements().setStaticAttribute(name, value$$1, namespace);\n  });\n  APPEND_OPCODES.add(36\n  /* DynamicAttr */\n  , (vm, {\n    op1: _name,\n    op2: trusting,\n    op3: _namespace\n  }) => {\n    var name = vm.constants.getString(_name);\n    var reference = vm.stack.pop();\n    var value$$1 = reference.value();\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    var attribute = vm.elements().setDynamicAttribute(name, value$$1, !!trusting, namespace);\n\n    if (!(0, _reference2.isConst)(reference)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n    }\n  });\n\n  class UpdateDynamicAttributeOpcode extends UpdatingOpcode {\n    constructor(reference, attribute) {\n      super();\n      this.reference = reference;\n      this.attribute = attribute;\n      this.type = 'patch-element';\n      var {\n        tag\n      } = reference;\n      this.tag = tag;\n      this.lastRevision = (0, _reference2.value)(tag);\n    }\n\n    evaluate(vm) {\n      var {\n        attribute,\n        reference,\n        tag\n      } = this;\n\n      if (!(0, _reference2.validate)(tag, this.lastRevision)) {\n        this.lastRevision = (0, _reference2.value)(tag);\n        attribute.update(reference.value(), vm.env);\n      }\n    }\n\n  }\n\n  function resolveComponent(resolver, name, meta) {\n    var definition = resolver.lookupComponentDefinition(name, meta);\n    return definition;\n  }\n\n  class CurryComponentReference {\n    constructor(inner, resolver, meta, args) {\n      this.inner = inner;\n      this.resolver = resolver;\n      this.meta = meta;\n      this.args = args;\n      this.tag = inner.tag;\n      this.lastValue = null;\n      this.lastDefinition = null;\n    }\n\n    value() {\n      var {\n        inner,\n        lastValue\n      } = this;\n      var value$$1 = inner.value();\n\n      if (value$$1 === lastValue) {\n        return this.lastDefinition;\n      }\n\n      var definition = null;\n\n      if (isCurriedComponentDefinition(value$$1)) {\n        definition = value$$1;\n      } else if (typeof value$$1 === 'string' && value$$1) {\n        var {\n          resolver,\n          meta\n        } = this;\n        definition = resolveComponent(resolver, value$$1, meta);\n      }\n\n      definition = this.curry(definition);\n      this.lastValue = value$$1;\n      this.lastDefinition = definition;\n      return definition;\n    }\n\n    get() {\n      return UNDEFINED_REFERENCE;\n    }\n\n    curry(definition) {\n      var {\n        args\n      } = this;\n\n      if (!args && isCurriedComponentDefinition(definition)) {\n        return definition;\n      } else if (!definition) {\n        return null;\n      } else {\n        return new CurriedComponentDefinition(definition, args);\n      }\n    }\n\n  }\n\n  class ClassListReference {\n    constructor(list) {\n      this.list = list;\n      this.tag = (0, _reference2.combineTagged)(list);\n      this.list = list;\n    }\n\n    value() {\n      var ret = [];\n      var {\n        list\n      } = this;\n\n      for (var i = 0; i < list.length; i++) {\n        var value$$1 = normalizeStringValue(list[i].value());\n        if (value$$1) ret.push(value$$1);\n      }\n\n      return ret.length === 0 ? null : ret.join(' ');\n    }\n\n  }\n  /**\n   * Converts a ComponentCapabilities object into a 32-bit integer representation.\n   */\n\n\n  function capabilityFlagsFrom(capabilities) {\n    return 0 | (capabilities.dynamicLayout ? 1\n    /* DynamicLayout */\n    : 0) | (capabilities.dynamicTag ? 2\n    /* DynamicTag */\n    : 0) | (capabilities.prepareArgs ? 4\n    /* PrepareArgs */\n    : 0) | (capabilities.createArgs ? 8\n    /* CreateArgs */\n    : 0) | (capabilities.attributeHook ? 16\n    /* AttributeHook */\n    : 0) | (capabilities.elementHook ? 32\n    /* ElementHook */\n    : 0) | (capabilities.dynamicScope ? 64\n    /* DynamicScope */\n    : 0) | (capabilities.createCaller ? 128\n    /* CreateCaller */\n    : 0) | (capabilities.updateHook ? 256\n    /* UpdateHook */\n    : 0) | (capabilities.createInstance ? 512\n    /* CreateInstance */\n    : 0);\n  }\n\n  function hasCapability(capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n\n  APPEND_OPCODES.add(69\n  /* IsComponent */\n  , vm => {\n    var stack = vm.stack;\n    var ref = stack.pop();\n    stack.push(IsCurriedComponentDefinitionReference.create(ref));\n  });\n  APPEND_OPCODES.add(70\n  /* ContentType */\n  , vm => {\n    var stack = vm.stack;\n    var ref = stack.peek();\n    stack.push(new ContentTypeReference(ref));\n  });\n  APPEND_OPCODES.add(71\n  /* CurryComponent */\n  , (vm, {\n    op1: _meta\n  }) => {\n    var stack = vm.stack;\n    var definition = stack.pop();\n    var capturedArgs = stack.pop();\n    var meta = vm.constants.getSerializable(_meta);\n    var resolver = vm.constants.resolver;\n    vm.loadValue(_vm2.Register.v0, new CurryComponentReference(definition, resolver, meta, capturedArgs)); // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n  });\n  APPEND_OPCODES.add(72\n  /* PushComponentDefinition */\n  , (vm, {\n    op1: handle\n  }) => {\n    var definition = vm.constants.resolveHandle(handle);\n    var {\n      manager\n    } = definition;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var instance = {\n      definition,\n      manager,\n      capabilities,\n      state: null,\n      handle: null,\n      table: null,\n      lookup: null\n    };\n    vm.stack.push(instance);\n  });\n  APPEND_OPCODES.add(75\n  /* ResolveDynamicComponent */\n  , (vm, {\n    op1: _meta\n  }) => {\n    var stack = vm.stack;\n    var component = stack.pop().value();\n    var meta = vm.constants.getSerializable(_meta);\n    vm.loadValue(_vm2.Register.t1, null); // Clear the temp register\n\n    var definition;\n\n    if (typeof component === 'string') {\n      var {\n        constants: {\n          resolver\n        }\n      } = vm;\n      var resolvedDefinition = resolveComponent(resolver, component, meta);\n      definition = resolvedDefinition;\n    } else if (isCurriedComponentDefinition(component)) {\n      definition = component;\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(73\n  /* PushDynamicComponentInstance */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var definition = stack.pop();\n    var capabilities, manager;\n\n    if (isCurriedComponentDefinition(definition)) {\n      manager = capabilities = null;\n    } else {\n      manager = definition.manager;\n      capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    }\n\n    stack.push({\n      definition,\n      capabilities,\n      manager,\n      state: null,\n      handle: null,\n      table: null\n    });\n  });\n  APPEND_OPCODES.add(74\n  /* PushCurriedComponent */\n  , (vm, {}) => {\n    var stack = vm.stack;\n    var component = stack.pop().value();\n    var definition;\n\n    if (isCurriedComponentDefinition(component)) {\n      definition = component;\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(76\n  /* PushArgs */\n  , (vm, {\n    op1: _names,\n    op2: flags\n  }) => {\n    var stack = vm.stack;\n    var names = vm.constants.getStringArray(_names);\n    var positionalCount = flags >> 4;\n    var synthetic = flags & 0b1000;\n    var blockNames = [];\n    if (flags & 0b0100) blockNames.push('main');\n    if (flags & 0b0010) blockNames.push('else');\n    if (flags & 0b0001) blockNames.push('attrs');\n    vm.args.setup(stack, names, blockNames, positionalCount, !!synthetic);\n    stack.push(vm.args);\n  });\n  APPEND_OPCODES.add(77\n  /* PushEmptyArgs */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    stack.push(vm.args.empty(stack));\n  });\n  APPEND_OPCODES.add(80\n  /* CaptureArgs */\n  , vm => {\n    var stack = vm.stack;\n    var args = stack.pop();\n    var capturedArgs = args.capture();\n    stack.push(capturedArgs);\n  });\n  APPEND_OPCODES.add(79\n  /* PrepareArgs */\n  , (vm, {\n    op1: _state\n  }) => {\n    var stack = vm.stack;\n    var instance = vm.fetchValue(_state);\n    var args = stack.pop();\n    var {\n      definition\n    } = instance;\n\n    if (isCurriedComponentDefinition(definition)) {\n      definition = resolveCurriedComponentDefinition(instance, definition, args);\n    }\n\n    var {\n      manager,\n      state\n    } = definition;\n    var capabilities = instance.capabilities;\n\n    if (hasCapability(capabilities, 4\n    /* PrepareArgs */\n    ) !== true) {\n      stack.push(args);\n      return;\n    }\n\n    var blocks = args.blocks.values;\n    var blockNames = args.blocks.names;\n    var preparedArgs = manager.prepareArgs(state, args);\n\n    if (preparedArgs) {\n      args.clear();\n\n      for (var i = 0; i < blocks.length; i++) {\n        stack.push(blocks[i]);\n      }\n\n      var {\n        positional,\n        named\n      } = preparedArgs;\n      var positionalCount = positional.length;\n\n      for (var _i = 0; _i < positionalCount; _i++) {\n        stack.push(positional[_i]);\n      }\n\n      var names = Object.keys(named);\n\n      for (var _i2 = 0; _i2 < names.length; _i2++) {\n        stack.push(named[names[_i2]]);\n      }\n\n      args.setup(stack, names, blockNames, positionalCount, true);\n    }\n\n    stack.push(args);\n  });\n\n  function resolveCurriedComponentDefinition(instance, definition, args) {\n    var unwrappedDefinition = instance.definition = definition.unwrap(args);\n    var {\n      manager,\n      state\n    } = unwrappedDefinition;\n    instance.manager = manager;\n    instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n    return unwrappedDefinition;\n  }\n\n  APPEND_OPCODES.add(81\n  /* CreateComponent */\n  , (vm, {\n    op1: flags,\n    op2: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      definition,\n      manager\n    } = instance;\n    var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var dynamicScope = null;\n\n    if (hasCapability(capabilities, 64\n    /* DynamicScope */\n    )) {\n      dynamicScope = vm.dynamicScope();\n    }\n\n    var hasDefaultBlock = flags & 1;\n    var args = null;\n\n    if (hasCapability(capabilities, 8\n    /* CreateArgs */\n    )) {\n      args = vm.stack.peek();\n    }\n\n    var self = null;\n\n    if (hasCapability(capabilities, 128\n    /* CreateCaller */\n    )) {\n      self = vm.getSelf();\n    }\n\n    var state = manager.create(vm.env, definition.state, args, dynamicScope, self, !!hasDefaultBlock); // We want to reuse the `state` POJO here, because we know that the opcodes\n    // only transition at exactly one place.\n\n    instance.state = state;\n    var tag = manager.getTag(state);\n\n    if (hasCapability(capabilities, 256\n    /* UpdateHook */\n    ) && !(0, _reference2.isConstTag)(tag)) {\n      vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n    }\n  });\n  APPEND_OPCODES.add(82\n  /* RegisterComponentDestructor */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      manager,\n      state\n    } = vm.fetchValue(_state);\n    var destructor = manager.getDestructor(state);\n    if (destructor) vm.newDestroyable(destructor);\n  });\n  APPEND_OPCODES.add(91\n  /* BeginComponentTransaction */\n  , vm => {\n    vm.beginCacheGroup();\n    vm.elements().pushSimpleBlock();\n  });\n  APPEND_OPCODES.add(83\n  /* PutComponentOperations */\n  , vm => {\n    vm.loadValue(_vm2.Register.t0, new ComponentElementOperations());\n  });\n  APPEND_OPCODES.add(37\n  /* ComponentAttr */\n  , (vm, {\n    op1: _name,\n    op2: trusting,\n    op3: _namespace\n  }) => {\n    var name = vm.constants.getString(_name);\n    var reference = vm.stack.pop();\n    var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n    vm.fetchValue(_vm2.Register.t0).setAttribute(name, reference, !!trusting, namespace);\n  });\n\n  class ComponentElementOperations {\n    constructor() {\n      this.attributes = (0, _util.dict)();\n      this.classes = [];\n      this.modifiers = [];\n    }\n\n    setAttribute(name, value$$1, trusting, namespace) {\n      var deferred = {\n        value: value$$1,\n        namespace,\n        trusting\n      };\n\n      if (name === 'class') {\n        this.classes.push(value$$1);\n      }\n\n      this.attributes[name] = deferred;\n    }\n\n    addModifier(manager, modifier) {\n      this.modifiers.push([manager, modifier]);\n    }\n\n    flush(vm) {\n      for (var name in this.attributes) {\n        var attr = this.attributes[name];\n        var {\n          value: reference,\n          namespace,\n          trusting\n        } = attr;\n\n        if (name === 'class') {\n          reference = new ClassListReference(this.classes);\n        }\n\n        if (name === 'type') {\n          continue;\n        }\n\n        var attribute = vm.elements().setDynamicAttribute(name, reference.value(), trusting, namespace);\n\n        if (!(0, _reference2.isConst)(reference)) {\n          vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n        }\n      }\n\n      if ('type' in this.attributes) {\n        var type = this.attributes.type;\n        var {\n          value: _reference,\n          namespace: _namespace2,\n          trusting: _trusting\n        } = type;\n\n        var _attribute = vm.elements().setDynamicAttribute('type', _reference.value(), _trusting, _namespace2);\n\n        if (!(0, _reference2.isConst)(_reference)) {\n          vm.updateWith(new UpdateDynamicAttributeOpcode(_reference, _attribute));\n        }\n      }\n\n      return this.modifiers;\n    }\n\n  }\n\n  APPEND_OPCODES.add(93\n  /* DidCreateElement */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      definition,\n      state\n    } = vm.fetchValue(_state);\n    var {\n      manager\n    } = definition;\n    var operations = vm.fetchValue(_vm2.Register.t0);\n    var action = 'DidCreateElementOpcode#evaluate';\n    manager.didCreateElement(state, vm.elements().expectConstructing(action), operations);\n  });\n  APPEND_OPCODES.add(84\n  /* GetComponentSelf */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      definition,\n      state\n    } = vm.fetchValue(_state);\n    var {\n      manager\n    } = definition;\n    vm.stack.push(manager.getSelf(state));\n  });\n  APPEND_OPCODES.add(85\n  /* GetComponentTagName */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      definition,\n      state\n    } = vm.fetchValue(_state);\n    var {\n      manager\n    } = definition;\n    vm.stack.push(manager.getTagName(state));\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(86\n  /* GetComponentLayout */\n  , (vm, {\n    op1: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      manager,\n      definition\n    } = instance;\n    var {\n      constants: {\n        resolver\n      },\n      stack\n    } = vm;\n    var {\n      state: instanceState,\n      capabilities\n    } = instance;\n    var {\n      state: definitionState\n    } = definition;\n    var invoke;\n\n    if (hasStaticLayoutCapability(capabilities, manager)) {\n      invoke = manager.getLayout(definitionState, resolver);\n    } else if (hasDynamicLayoutCapability(capabilities, manager)) {\n      invoke = manager.getDynamicLayout(instanceState, resolver);\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.push(invoke.symbolTable);\n    stack.push(invoke.handle);\n  });\n\n  function hasStaticLayoutCapability(capabilities, _manager) {\n    return hasCapability(capabilities, 1\n    /* DynamicLayout */\n    ) === false;\n  }\n\n  function hasDynamicLayoutCapability(capabilities, _manager) {\n    return hasCapability(capabilities, 1\n    /* DynamicLayout */\n    ) === true;\n  }\n\n  APPEND_OPCODES.add(68\n  /* Main */\n  , (vm, {\n    op1: register\n  }) => {\n    var definition = vm.stack.pop();\n    var invocation = vm.stack.pop();\n    var {\n      manager\n    } = definition;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var state = {\n      definition,\n      manager,\n      capabilities,\n      state: null,\n      handle: invocation.handle,\n      table: invocation.symbolTable,\n      lookup: null\n    };\n    vm.loadValue(register, state);\n  });\n  APPEND_OPCODES.add(89\n  /* PopulateLayout */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      stack\n    } = vm;\n    var handle = stack.pop();\n    var table = stack.pop();\n    var state = vm.fetchValue(_state);\n    state.handle = handle;\n    state.table = table;\n  });\n  APPEND_OPCODES.add(21\n  /* VirtualRootScope */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      symbols\n    } = vm.fetchValue(_state).table;\n    vm.pushRootScope(symbols.length + 1, true);\n  });\n  APPEND_OPCODES.add(87\n  /* SetupForEval */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n\n    if (state.table.hasEval) {\n      var lookup = state.lookup = (0, _util.dict)();\n      vm.scope().bindEvalScope(lookup);\n    }\n  });\n  APPEND_OPCODES.add(2\n  /* SetNamedVariables */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var scope = vm.scope();\n    var args = vm.stack.peek();\n    var callerNames = args.named.atNames;\n\n    for (var i = callerNames.length - 1; i >= 0; i--) {\n      var atName = callerNames[i];\n      var symbol = state.table.symbols.indexOf(callerNames[i]);\n      var value$$1 = args.named.get(atName, false);\n      if (symbol !== -1) scope.bindSymbol(symbol + 1, value$$1);\n      if (state.lookup) state.lookup[atName] = value$$1;\n    }\n  });\n\n  function bindBlock(symbolName, blockName, state, blocks, vm) {\n    var symbol = state.table.symbols.indexOf(symbolName);\n    var block = blocks.get(blockName);\n\n    if (symbol !== -1) {\n      vm.scope().bindBlock(symbol + 1, block);\n    }\n\n    if (state.lookup) state.lookup[symbolName] = block;\n  }\n\n  APPEND_OPCODES.add(3\n  /* SetBlocks */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var {\n      blocks\n    } = vm.stack.peek();\n    bindBlock('&attrs', 'attrs', state, blocks, vm);\n    bindBlock('&inverse', 'else', state, blocks, vm);\n    bindBlock('&default', 'main', state, blocks, vm);\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(90\n  /* InvokeComponentLayout */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    vm.call(state.handle);\n  });\n  APPEND_OPCODES.add(94\n  /* DidRenderLayout */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      manager,\n      state\n    } = vm.fetchValue(_state);\n    var bounds = vm.elements().popBlock();\n    var mgr = manager;\n    mgr.didRenderLayout(state, bounds);\n    vm.env.didCreate(state, manager);\n    vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n  });\n  APPEND_OPCODES.add(92\n  /* CommitComponentTransaction */\n  , vm => {\n    vm.commitCacheGroup();\n  });\n\n  class UpdateComponentOpcode extends UpdatingOpcode {\n    constructor(tag, component, manager, dynamicScope) {\n      super();\n      this.tag = tag;\n      this.component = component;\n      this.manager = manager;\n      this.dynamicScope = dynamicScope;\n      this.type = 'update-component';\n    }\n\n    evaluate(_vm) {\n      var {\n        component,\n        manager,\n        dynamicScope\n      } = this;\n      manager.update(component, dynamicScope);\n    }\n\n  }\n\n  class DidUpdateLayoutOpcode extends UpdatingOpcode {\n    constructor(manager, component, bounds) {\n      super();\n      this.manager = manager;\n      this.component = component;\n      this.bounds = bounds;\n      this.type = 'did-update-layout';\n      this.tag = _reference2.CONSTANT_TAG;\n    }\n\n    evaluate(vm) {\n      var {\n        manager,\n        component,\n        bounds\n      } = this;\n      manager.didUpdateLayout(component, bounds);\n      vm.env.didUpdate(component, manager);\n    }\n\n  }\n  /* tslint:disable */\n\n\n  function debugCallback(context, get) {\n    console.info('Use `context`, and `get(<path>)` to debug this template.'); // for example...\n\n    context === get('this');\n    debugger;\n  }\n  /* tslint:enable */\n\n\n  var callback = debugCallback; // For testing purposes\n\n  function setDebuggerCallback(cb) {\n    callback = cb;\n  }\n\n  function resetDebuggerCallback() {\n    callback = debugCallback;\n  }\n\n  class ScopeInspector {\n    constructor(scope, symbols, evalInfo) {\n      this.scope = scope;\n      this.locals = (0, _util.dict)();\n\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        var name = symbols[slot - 1];\n        var ref = scope.getSymbol(slot);\n        this.locals[name] = ref;\n      }\n    }\n\n    get(path) {\n      var {\n        scope,\n        locals\n      } = this;\n      var parts = path.split('.');\n      var [head, ...tail] = path.split('.');\n      var evalScope = scope.getEvalScope();\n      var ref;\n\n      if (head === 'this') {\n        ref = scope.getSelf();\n      } else if (locals[head]) {\n        ref = locals[head];\n      } else if (head.indexOf('@') === 0 && evalScope[head]) {\n        ref = evalScope[head];\n      } else {\n        ref = this.scope.getSelf();\n        tail = parts;\n      }\n\n      return tail.reduce((r, part) => r.get(part), ref);\n    }\n\n  }\n\n  APPEND_OPCODES.add(97\n  /* Debugger */\n  , (vm, {\n    op1: _symbols,\n    op2: _evalInfo\n  }) => {\n    var symbols = vm.constants.getStringArray(_symbols);\n    var evalInfo = vm.constants.getArray(_evalInfo);\n    var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n    callback(vm.getSelf().value(), path => inspector.get(path).value());\n  });\n  APPEND_OPCODES.add(95\n  /* InvokePartial */\n  , (vm, {\n    op1: _meta,\n    op2: _symbols,\n    op3: _evalInfo\n  }) => {\n    var {\n      constants,\n      constants: {\n        resolver\n      },\n      stack\n    } = vm;\n    var name = stack.pop().value();\n    var meta = constants.getSerializable(_meta);\n    var outerSymbols = constants.getStringArray(_symbols);\n    var evalInfo = constants.getArray(_evalInfo);\n    var handle = resolver.lookupPartial(name, meta);\n    var definition = resolver.resolve(handle);\n    var {\n      symbolTable,\n      handle: vmHandle\n    } = definition.getPartial();\n    {\n      var partialSymbols = symbolTable.symbols;\n      var outerScope = vm.scope();\n      var partialScope = vm.pushRootScope(partialSymbols.length, false);\n      var evalScope = outerScope.getEvalScope();\n      partialScope.bindCallerScope(outerScope.getCallerScope());\n      partialScope.bindEvalScope(evalScope);\n      partialScope.bindSelf(outerScope.getSelf());\n      var locals = Object.create(outerScope.getPartialMap());\n\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        var _name2 = outerSymbols[slot - 1];\n        var ref = outerScope.getSymbol(slot);\n        locals[_name2] = ref;\n      }\n\n      if (evalScope) {\n        for (var _i3 = 0; _i3 < partialSymbols.length; _i3++) {\n          var _name3 = partialSymbols[_i3];\n          var symbol = _i3 + 1;\n          var value$$1 = evalScope[_name3];\n          if (value$$1 !== undefined) partialScope.bind(symbol, value$$1);\n        }\n      }\n\n      partialScope.bindPartialMap(locals);\n      vm.pushFrame(); // sp += 2\n\n      vm.call(vmHandle);\n    }\n  });\n\n  class IterablePresenceReference {\n    constructor(artifacts) {\n      this.tag = artifacts.tag;\n      this.artifacts = artifacts;\n    }\n\n    value() {\n      return !this.artifacts.isEmpty();\n    }\n\n  }\n\n  APPEND_OPCODES.add(66\n  /* PutIterator */\n  , vm => {\n    var stack = vm.stack;\n    var listRef = stack.pop();\n    var key = stack.pop();\n    var iterable = vm.env.iterableFor(listRef, key.value());\n    var iterator = new _reference2.ReferenceIterator(iterable);\n    stack.push(iterator);\n    stack.push(new IterablePresenceReference(iterator.artifacts));\n  });\n  APPEND_OPCODES.add(64\n  /* EnterList */\n  , (vm, {\n    op1: relativeStart\n  }) => {\n    vm.enterList(relativeStart);\n  });\n  APPEND_OPCODES.add(65\n  /* ExitList */\n  , vm => {\n    vm.exitList();\n  });\n  APPEND_OPCODES.add(67\n  /* Iterate */\n  , (vm, {\n    op1: breaks\n  }) => {\n    var stack = vm.stack;\n    var item = stack.peek().next();\n\n    if (item) {\n      var tryOpcode = vm.iterate(item.memo, item.value);\n      vm.enterItem(item.key, tryOpcode);\n    } else {\n      vm.goto(breaks);\n    }\n  });\n\n  class Cursor {\n    constructor(element, nextSibling) {\n      this.element = element;\n      this.nextSibling = nextSibling;\n    }\n\n  }\n\n  _exports.Cursor = Cursor;\n\n  class ConcreteBounds {\n    constructor(parentNode, first, last) {\n      this.parentNode = parentNode;\n      this.first = first;\n      this.last = last;\n    }\n\n    parentElement() {\n      return this.parentNode;\n    }\n\n    firstNode() {\n      return this.first;\n    }\n\n    lastNode() {\n      return this.last;\n    }\n\n  }\n\n  _exports.ConcreteBounds = ConcreteBounds;\n\n  class SingleNodeBounds {\n    constructor(parentNode, node) {\n      this.parentNode = parentNode;\n      this.node = node;\n    }\n\n    parentElement() {\n      return this.parentNode;\n    }\n\n    firstNode() {\n      return this.node;\n    }\n\n    lastNode() {\n      return this.node;\n    }\n\n  }\n\n  function move(bounds, reference) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n\n    while (true) {\n      var next = current.nextSibling;\n      parent.insertBefore(current, reference);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\n  }\n\n  function clear(bounds) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n\n    while (true) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\n  } // Patch:    insertAdjacentHTML on SVG Fix\n  // Browsers: Safari, IE, Edge, Firefox ~33-34\n  // Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n  //           present but throws an exception on IE and Edge. Old versions of\n  //           Firefox create nodes in the incorrect namespace.\n  // Fix:      Since IE and Edge silently fail to create SVG nodes using\n  //           innerHTML, and because Firefox may create nodes in the incorrect\n  //           namespace using innerHTML on SVG elements, an HTML-string wrapping\n  //           approach is used. A pre/post SVG tag is added to the string, then\n  //           that whole string is added to a div. The created nodes are plucked\n  //           out and applied to the target location on DOM.\n\n\n  function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n    if (!document) return DOMClass;\n\n    if (!shouldApplyFix(document, svgNamespace)) {\n      return DOMClass;\n    }\n\n    var div = document.createElement('div');\n    return class DOMChangesWithSVGInnerHTMLFix extends DOMClass {\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n\n        if (parent.namespaceURI !== svgNamespace) {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n\n        return fixSVG(parent, div, html, nextSibling);\n      }\n\n    };\n  }\n\n  function fixSVG(parent, div, html, reference) {\n    var source; // This is important, because decendants of the <foreignObject> integration\n    // point are parsed in the HTML namespace\n\n    if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n      div.innerHTML = wrappedHtml;\n      source = div.firstChild.firstChild;\n    } else {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var _wrappedHtml = '<svg>' + html + '</svg>';\n\n      div.innerHTML = _wrappedHtml;\n      source = div.firstChild;\n    }\n\n    return moveNodesBefore(source, parent, reference);\n  }\n\n  function shouldApplyFix(document, svgNamespace) {\n    var svg = document.createElementNS(svgNamespace, 'svg');\n\n    try {\n      svg['insertAdjacentHTML']('beforeend', '<circle></circle>');\n    } catch (e) {// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n      // Safari: Will throw, insertAdjacentHTML is not present on SVG\n    } finally {\n      // FF: Old versions will create a node in the wrong namespace\n      if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === SVG_NAMESPACE) {\n        // The test worked as expected, no fix required\n        return false;\n      }\n\n      return true;\n    }\n  } // Patch:    Adjacent text node merging fix\n  // Browsers: IE, Edge, Firefox w/o inspector open\n  // Reason:   These browsers will merge adjacent text nodes. For exmaple given\n  //           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n  //           with proper behavior will populate div.childNodes with two items.\n  //           These browsers will populate it with one merged node instead.\n  // Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n  //           of that wrapper and move the nodes to their target location. Note\n  //           that potential SVG bugs will have been handled before this fix.\n  //           Note that this fix must only apply to the previous text node, as\n  //           the base implementation of `insertHTMLBefore` already handles\n  //           following text nodes correctly.\n\n\n  function applyTextNodeMergingFix(document, DOMClass) {\n    if (!document) return DOMClass;\n\n    if (!shouldApplyFix$1(document)) {\n      return DOMClass;\n    }\n\n    return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n      constructor(document) {\n        super(document);\n        this.uselessComment = document.createComment('');\n      }\n\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n\n        var didSetUselessComment = false;\n        var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n\n        if (nextPrevious && nextPrevious instanceof Text) {\n          didSetUselessComment = true;\n          parent.insertBefore(this.uselessComment, nextSibling);\n        }\n\n        var bounds = super.insertHTMLBefore(parent, nextSibling, html);\n\n        if (didSetUselessComment) {\n          parent.removeChild(this.uselessComment);\n        }\n\n        return bounds;\n      }\n\n    };\n  }\n\n  function shouldApplyFix$1(document) {\n    var mergingTextDiv = document.createElement('div');\n    mergingTextDiv.innerHTML = 'first';\n    mergingTextDiv.insertAdjacentHTML('beforeend', 'second');\n\n    if (mergingTextDiv.childNodes.length === 2) {\n      // It worked as expected, no fix required\n      return false;\n    }\n\n    return true;\n  }\n\n  var SVG_NAMESPACE = \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  ; // http://www.w3.org/TR/html/syntax.html#html-integration-point\n\n  _exports.SVG_NAMESPACE = SVG_NAMESPACE;\n  var SVG_INTEGRATION_POINTS = {\n    foreignObject: 1,\n    desc: 1,\n    title: 1\n  }; // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n  // TODO: Adjust SVG attributes\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n  // TODO: Adjust SVG elements\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n\n  var BLACKLIST_TABLE = Object.create(null);\n  ['b', 'big', 'blockquote', 'body', 'br', 'center', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'embed', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'i', 'img', 'li', 'listing', 'main', 'meta', 'nobr', 'ol', 'p', 'pre', 'ruby', 's', 'small', 'span', 'strong', 'strike', 'sub', 'sup', 'table', 'tt', 'u', 'ul', 'var'].forEach(tag => BLACKLIST_TABLE[tag] = 1);\n  var WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n  var doc = typeof document === 'undefined' ? null : document;\n\n  function isWhitespace(string) {\n    return WHITESPACE.test(string);\n  }\n\n  function moveNodesBefore(source, target, nextSibling) {\n    var first = source.firstChild;\n    var last = first;\n    var current = first;\n\n    while (current) {\n      var next = current.nextSibling;\n      target.insertBefore(current, nextSibling);\n      last = current;\n      current = next;\n    }\n\n    return new ConcreteBounds(target, first, last);\n  }\n\n  class DOMOperations {\n    constructor(document) {\n      this.document = document;\n      this.setupUselessElement();\n    } // split into seperate method so that NodeDOMTreeConstruction\n    // can override it.\n\n\n    setupUselessElement() {\n      this.uselessElement = this.document.createElement('div');\n    }\n\n    createElement(tag, context) {\n      var isElementInSVGNamespace, isHTMLIntegrationPoint;\n\n      if (context) {\n        isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE || tag === 'svg';\n        isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n      } else {\n        isElementInSVGNamespace = tag === 'svg';\n        isHTMLIntegrationPoint = false;\n      }\n\n      if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n        // FIXME: This does not properly handle <font> with color, face, or\n        // size attributes, which is also disallowed by the spec. We should fix\n        // this.\n        if (BLACKLIST_TABLE[tag]) {\n          throw new Error(`Cannot create a ${tag} inside an SVG context`);\n        }\n\n        return this.document.createElementNS(SVG_NAMESPACE, tag);\n      } else {\n        return this.document.createElement(tag);\n      }\n    }\n\n    insertBefore(parent, node, reference) {\n      parent.insertBefore(node, reference);\n    }\n\n    insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        var comment = this.createComment('');\n        parent.insertBefore(comment, nextSibling);\n        return new ConcreteBounds(parent, comment, comment);\n      }\n\n      var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n      var last;\n\n      if (nextSibling === null) {\n        parent.insertAdjacentHTML(\"beforeend\"\n        /* beforeend */\n        , html);\n        last = parent.lastChild;\n      } else if (nextSibling instanceof HTMLElement) {\n        nextSibling.insertAdjacentHTML(\"beforebegin\"\n        /* beforebegin */\n        , html);\n        last = nextSibling.previousSibling;\n      } else {\n        // Non-element nodes do not support insertAdjacentHTML, so add an\n        // element and call it on that element. Then remove the element.\n        //\n        // This also protects Edge, IE and Firefox w/o the inspector open\n        // from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\n        var {\n          uselessElement\n        } = this;\n        parent.insertBefore(uselessElement, nextSibling);\n        uselessElement.insertAdjacentHTML(\"beforebegin\"\n        /* beforebegin */\n        , html);\n        last = uselessElement.previousSibling;\n        parent.removeChild(uselessElement);\n      }\n\n      var first = prev ? prev.nextSibling : parent.firstChild;\n      return new ConcreteBounds(parent, first, last);\n    }\n\n    createTextNode(text) {\n      return this.document.createTextNode(text);\n    }\n\n    createComment(data) {\n      return this.document.createComment(data);\n    }\n\n  }\n\n  var DOM;\n\n  (function (DOM) {\n    class TreeConstruction extends DOMOperations {\n      createElementNS(namespace, tag) {\n        return this.document.createElementNS(namespace, tag);\n      }\n\n      setAttribute(element, name, value$$1, namespace = null) {\n        if (namespace) {\n          element.setAttributeNS(namespace, name, value$$1);\n        } else {\n          element.setAttribute(name, value$$1);\n        }\n      }\n\n    }\n\n    DOM.TreeConstruction = TreeConstruction;\n    var appliedTreeContruction = TreeConstruction;\n    appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n    appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, SVG_NAMESPACE);\n    DOM.DOMTreeConstruction = appliedTreeContruction;\n  })(DOM || (DOM = {}));\n\n  class DOMChanges extends DOMOperations {\n    constructor(document) {\n      super(document);\n      this.document = document;\n      this.namespace = null;\n    }\n\n    setAttribute(element, name, value$$1) {\n      element.setAttribute(name, value$$1);\n    }\n\n    removeAttribute(element, name) {\n      element.removeAttribute(name);\n    }\n\n    insertAfter(element, node, reference) {\n      this.insertBefore(element, node, reference.nextSibling);\n    }\n\n  }\n\n  _exports.IDOMChanges = DOMChanges;\n  var helper = DOMChanges;\n  helper = applyTextNodeMergingFix(doc, helper);\n  helper = applySVGInnerHTMLFix(doc, helper, SVG_NAMESPACE);\n  var helper$1 = helper;\n  _exports.DOMChanges = helper$1;\n  var DOMTreeConstruction = DOM.DOMTreeConstruction;\n  _exports.DOMTreeConstruction = DOMTreeConstruction;\n  var badProtocols = ['javascript:', 'vbscript:'];\n  var badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n  var badTagsForDataURI = ['EMBED'];\n  var badAttributes = ['href', 'src', 'background', 'action'];\n  var badAttributesForDataURI = ['src'];\n\n  function has(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n\n  function checkURI(tagName, attribute) {\n    return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n  }\n\n  function checkDataURI(tagName, attribute) {\n    if (tagName === null) return false;\n    return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n  }\n\n  function requiresSanitization(tagName, attribute) {\n    return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n  }\n\n  function sanitizeAttributeValue(env, element, attribute, value$$1) {\n    var tagName = null;\n\n    if (value$$1 === null || value$$1 === undefined) {\n      return value$$1;\n    }\n\n    if (isSafeString(value$$1)) {\n      return value$$1.toHTML();\n    }\n\n    if (!element) {\n      tagName = null;\n    } else {\n      tagName = element.tagName.toUpperCase();\n    }\n\n    var str = normalizeStringValue(value$$1);\n\n    if (checkURI(tagName, attribute)) {\n      var protocol = env.protocolForURL(str);\n\n      if (has(badProtocols, protocol)) {\n        return `unsafe:${str}`;\n      }\n    }\n\n    if (checkDataURI(tagName, attribute)) {\n      return `unsafe:${str}`;\n    }\n\n    return str;\n  }\n  /*\n   * @method normalizeProperty\n   * @param element {HTMLElement}\n   * @param slotName {String}\n   * @returns {Object} { name, type }\n   */\n\n\n  function normalizeProperty(element, slotName) {\n    var type, normalized;\n\n    if (slotName in element) {\n      normalized = slotName;\n      type = 'prop';\n    } else {\n      var lower = slotName.toLowerCase();\n\n      if (lower in element) {\n        type = 'prop';\n        normalized = lower;\n      } else {\n        type = 'attr';\n        normalized = slotName;\n      }\n    }\n\n    if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n      type = 'attr';\n    }\n\n    return {\n      normalized,\n      type\n    };\n  } // properties that MUST be set as attributes, due to:\n  // * browser bug\n  // * strange spec outlier\n\n\n  var ATTR_OVERRIDES = {\n    INPUT: {\n      form: true,\n      // Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n      // Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n      // Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\n      autocorrect: true,\n      // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n      // Safari 9.1.3: 'list' in document.createElement('input') === false\n      list: true\n    },\n    // element.form is actually a legitimate readOnly property, that is to be\n    // mutated, but must be mutated by setAttribute...\n    SELECT: {\n      form: true\n    },\n    OPTION: {\n      form: true\n    },\n    TEXTAREA: {\n      form: true\n    },\n    LABEL: {\n      form: true\n    },\n    FIELDSET: {\n      form: true\n    },\n    LEGEND: {\n      form: true\n    },\n    OBJECT: {\n      form: true\n    },\n    BUTTON: {\n      form: true\n    }\n  };\n\n  function preferAttr(tagName, propName) {\n    var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n    return tag && tag[propName.toLowerCase()] || false;\n  }\n\n  function dynamicAttribute(element, attr, namespace) {\n    var {\n      tagName,\n      namespaceURI\n    } = element;\n    var attribute = {\n      element,\n      name: attr,\n      namespace\n    };\n\n    if (namespaceURI === SVG_NAMESPACE) {\n      return buildDynamicAttribute(tagName, attr, attribute);\n    }\n\n    var {\n      type,\n      normalized\n    } = normalizeProperty(element, attr);\n\n    if (type === 'attr') {\n      return buildDynamicAttribute(tagName, normalized, attribute);\n    } else {\n      return buildDynamicProperty(tagName, normalized, attribute);\n    }\n  }\n\n  function buildDynamicAttribute(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicAttribute(attribute);\n    } else {\n      return new SimpleDynamicAttribute(attribute);\n    }\n  }\n\n  function buildDynamicProperty(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicProperty(name, attribute);\n    }\n\n    if (isUserInputValue(tagName, name)) {\n      return new InputValueDynamicAttribute(name, attribute);\n    }\n\n    if (isOptionSelected(tagName, name)) {\n      return new OptionSelectedDynamicAttribute(name, attribute);\n    }\n\n    return new DefaultDynamicProperty(name, attribute);\n  }\n\n  class DynamicAttribute {\n    constructor(attribute) {\n      this.attribute = attribute;\n    }\n\n  }\n\n  _exports.DynamicAttribute = DynamicAttribute;\n\n  class SimpleDynamicAttribute extends DynamicAttribute {\n    set(dom, value$$1, _env) {\n      var normalizedValue = normalizeValue(value$$1);\n\n      if (normalizedValue !== null) {\n        var {\n          name,\n          namespace\n        } = this.attribute;\n\n        dom.__setAttribute(name, normalizedValue, namespace);\n      }\n    }\n\n    update(value$$1, _env) {\n      var normalizedValue = normalizeValue(value$$1);\n      var {\n        element,\n        name\n      } = this.attribute;\n\n      if (normalizedValue === null) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, normalizedValue);\n      }\n    }\n\n  }\n\n  _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n\n  class DefaultDynamicProperty extends DynamicAttribute {\n    constructor(normalizedName, attribute) {\n      super(attribute);\n      this.normalizedName = normalizedName;\n    }\n\n    set(dom, value$$1, _env) {\n      if (value$$1 !== null && value$$1 !== undefined) {\n        this.value = value$$1;\n\n        dom.__setProperty(this.normalizedName, value$$1);\n      }\n    }\n\n    update(value$$1, _env) {\n      var {\n        element\n      } = this.attribute;\n\n      if (this.value !== value$$1) {\n        element[this.normalizedName] = this.value = value$$1;\n\n        if (value$$1 === null || value$$1 === undefined) {\n          this.removeAttribute();\n        }\n      }\n    }\n\n    removeAttribute() {\n      // TODO this sucks but to preserve properties first and to meet current\n      // semantics we must do this.\n      var {\n        element,\n        namespace\n      } = this.attribute;\n\n      if (namespace) {\n        element.removeAttributeNS(namespace, this.normalizedName);\n      } else {\n        element.removeAttribute(this.normalizedName);\n      }\n    }\n\n  }\n\n  class SafeDynamicProperty extends DefaultDynamicProperty {\n    set(dom, value$$1, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(env, element, name, value$$1);\n      super.set(dom, sanitized, env);\n    }\n\n    update(value$$1, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(env, element, name, value$$1);\n      super.update(sanitized, env);\n    }\n\n  }\n\n  class SafeDynamicAttribute extends SimpleDynamicAttribute {\n    set(dom, value$$1, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(env, element, name, value$$1);\n      super.set(dom, sanitized, env);\n    }\n\n    update(value$$1, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(env, element, name, value$$1);\n      super.update(sanitized, env);\n    }\n\n  }\n\n  class InputValueDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value$$1) {\n      dom.__setProperty('value', normalizeStringValue(value$$1));\n    }\n\n    update(value$$1) {\n      var input = this.attribute.element;\n      var currentValue = input.value;\n      var normalizedValue = normalizeStringValue(value$$1);\n\n      if (currentValue !== normalizedValue) {\n        input.value = normalizedValue;\n      }\n    }\n\n  }\n\n  class OptionSelectedDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value$$1) {\n      if (value$$1 !== null && value$$1 !== undefined && value$$1 !== false) {\n        dom.__setProperty('selected', true);\n      }\n    }\n\n    update(value$$1) {\n      var option = this.attribute.element;\n\n      if (value$$1) {\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    }\n\n  }\n\n  function isOptionSelected(tagName, attribute) {\n    return tagName === 'OPTION' && attribute === 'selected';\n  }\n\n  function isUserInputValue(tagName, attribute) {\n    return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n  }\n\n  function normalizeValue(value$$1) {\n    if (value$$1 === false || value$$1 === undefined || value$$1 === null || typeof value$$1.toString === 'undefined') {\n      return null;\n    }\n\n    if (value$$1 === true) {\n      return '';\n    } // onclick function etc in SSR\n\n\n    if (typeof value$$1 === 'function') {\n      return null;\n    }\n\n    return String(value$$1);\n  }\n\n  class Scope {\n    constructor( // the 0th slot is `self`\n    slots, callerScope, // named arguments and blocks passed to a layout that uses eval\n    evalScope, // locals in scope when the partial was invoked\n    partialMap) {\n      this.slots = slots;\n      this.callerScope = callerScope;\n      this.evalScope = evalScope;\n      this.partialMap = partialMap;\n    }\n\n    static root(self, size = 0) {\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = UNDEFINED_REFERENCE;\n      }\n\n      return new Scope(refs, null, null, null).init({\n        self\n      });\n    }\n\n    static sized(size = 0) {\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = UNDEFINED_REFERENCE;\n      }\n\n      return new Scope(refs, null, null, null);\n    }\n\n    init({\n      self\n    }) {\n      this.slots[0] = self;\n      return this;\n    }\n\n    getSelf() {\n      return this.get(0);\n    }\n\n    getSymbol(symbol) {\n      return this.get(symbol);\n    }\n\n    getBlock(symbol) {\n      var block = this.get(symbol);\n      return block === UNDEFINED_REFERENCE ? null : block;\n    }\n\n    getEvalScope() {\n      return this.evalScope;\n    }\n\n    getPartialMap() {\n      return this.partialMap;\n    }\n\n    bind(symbol, value$$1) {\n      this.set(symbol, value$$1);\n    }\n\n    bindSelf(self) {\n      this.set(0, self);\n    }\n\n    bindSymbol(symbol, value$$1) {\n      this.set(symbol, value$$1);\n    }\n\n    bindBlock(symbol, value$$1) {\n      this.set(symbol, value$$1);\n    }\n\n    bindEvalScope(map) {\n      this.evalScope = map;\n    }\n\n    bindPartialMap(map) {\n      this.partialMap = map;\n    }\n\n    bindCallerScope(scope) {\n      this.callerScope = scope;\n    }\n\n    getCallerScope() {\n      return this.callerScope;\n    }\n\n    child() {\n      return new Scope(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\n    }\n\n    get(index) {\n      if (index >= this.slots.length) {\n        throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n      }\n\n      return this.slots[index];\n    }\n\n    set(index, value$$1) {\n      if (index >= this.slots.length) {\n        throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n      }\n\n      this.slots[index] = value$$1;\n    }\n\n  }\n\n  _exports.Scope = Scope;\n\n  class Transaction {\n    constructor() {\n      this.scheduledInstallManagers = [];\n      this.scheduledInstallModifiers = [];\n      this.scheduledUpdateModifierManagers = [];\n      this.scheduledUpdateModifiers = [];\n      this.createdComponents = [];\n      this.createdManagers = [];\n      this.updatedComponents = [];\n      this.updatedManagers = [];\n      this.destructors = [];\n    }\n\n    didCreate(component, manager) {\n      this.createdComponents.push(component);\n      this.createdManagers.push(manager);\n    }\n\n    didUpdate(component, manager) {\n      this.updatedComponents.push(component);\n      this.updatedManagers.push(manager);\n    }\n\n    scheduleInstallModifier(modifier, manager) {\n      this.scheduledInstallModifiers.push(modifier);\n      this.scheduledInstallManagers.push(manager);\n    }\n\n    scheduleUpdateModifier(modifier, manager) {\n      this.scheduledUpdateModifiers.push(modifier);\n      this.scheduledUpdateModifierManagers.push(manager);\n    }\n\n    didDestroy(d) {\n      this.destructors.push(d);\n    }\n\n    commit() {\n      var {\n        createdComponents,\n        createdManagers\n      } = this;\n\n      for (var i = 0; i < createdComponents.length; i++) {\n        var component = createdComponents[i];\n        var manager = createdManagers[i];\n        manager.didCreate(component);\n      }\n\n      var {\n        updatedComponents,\n        updatedManagers\n      } = this;\n\n      for (var _i4 = 0; _i4 < updatedComponents.length; _i4++) {\n        var _component = updatedComponents[_i4];\n        var _manager2 = updatedManagers[_i4];\n\n        _manager2.didUpdate(_component);\n      }\n\n      var {\n        destructors\n      } = this;\n\n      for (var _i5 = 0; _i5 < destructors.length; _i5++) {\n        destructors[_i5].destroy();\n      }\n\n      var {\n        scheduledInstallManagers,\n        scheduledInstallModifiers\n      } = this;\n\n      for (var _i6 = 0; _i6 < scheduledInstallManagers.length; _i6++) {\n        var modifier = scheduledInstallModifiers[_i6];\n        var _manager3 = scheduledInstallManagers[_i6];\n\n        _manager3.install(modifier);\n      }\n\n      var {\n        scheduledUpdateModifierManagers,\n        scheduledUpdateModifiers\n      } = this;\n\n      for (var _i7 = 0; _i7 < scheduledUpdateModifierManagers.length; _i7++) {\n        var _modifier = scheduledUpdateModifiers[_i7];\n        var _manager4 = scheduledUpdateModifierManagers[_i7];\n\n        _manager4.update(_modifier);\n      }\n    }\n\n  }\n\n  class Environment {\n    constructor({\n      appendOperations,\n      updateOperations\n    }) {\n      this._transaction = null;\n      this.appendOperations = appendOperations;\n      this.updateOperations = updateOperations;\n    }\n\n    toConditionalReference(reference) {\n      return new ConditionalReference(reference);\n    }\n\n    getAppendOperations() {\n      return this.appendOperations;\n    }\n\n    getDOM() {\n      return this.updateOperations;\n    }\n\n    begin() {\n      this._transaction = new Transaction();\n    }\n\n    get transaction() {\n      return this._transaction;\n    }\n\n    didCreate(component, manager) {\n      this.transaction.didCreate(component, manager);\n    }\n\n    didUpdate(component, manager) {\n      this.transaction.didUpdate(component, manager);\n    }\n\n    scheduleInstallModifier(modifier, manager) {\n      this.transaction.scheduleInstallModifier(modifier, manager);\n    }\n\n    scheduleUpdateModifier(modifier, manager) {\n      this.transaction.scheduleUpdateModifier(modifier, manager);\n    }\n\n    didDestroy(d) {\n      this.transaction.didDestroy(d);\n    }\n\n    commit() {\n      var transaction = this.transaction;\n      this._transaction = null;\n      transaction.commit();\n    }\n\n    attributeFor(element, attr, _isTrusting, namespace = null) {\n      return dynamicAttribute(element, attr, namespace);\n    }\n\n  }\n\n  _exports.Environment = Environment;\n\n  class DefaultEnvironment extends Environment {\n    constructor(options) {\n      if (!options) {\n        var _document = window.document;\n        var appendOperations = new DOMTreeConstruction(_document);\n        var updateOperations = new DOMChanges(_document);\n        options = {\n          appendOperations,\n          updateOperations\n        };\n      }\n\n      super(options);\n    }\n\n  }\n\n  _exports.DefaultEnvironment = DefaultEnvironment;\n\n  class LowLevelVM {\n    constructor(stack, heap, program, externs, pc = -1, ra = -1) {\n      this.stack = stack;\n      this.heap = heap;\n      this.program = program;\n      this.externs = externs;\n      this.pc = pc;\n      this.ra = ra;\n      this.currentOpSize = 0;\n    } // Start a new frame and save $ra and $fp on the stack\n\n\n    pushFrame() {\n      this.stack.push(this.ra);\n      this.stack.push(this.stack.fp);\n      this.stack.fp = this.stack.sp - 1;\n    } // Restore $ra, $sp and $fp\n\n\n    popFrame() {\n      this.stack.sp = this.stack.fp - 1;\n      this.ra = this.stack.get(0);\n      this.stack.fp = this.stack.get(1);\n    }\n\n    pushSmallFrame() {\n      this.stack.push(this.ra);\n    }\n\n    popSmallFrame() {\n      this.ra = this.stack.popSmi();\n    } // Jump to an address in `program`\n\n\n    goto(offset) {\n      var addr = this.pc + offset - this.currentOpSize;\n      this.pc = addr;\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n\n    call(handle) {\n      this.ra = this.pc;\n      this.pc = this.heap.getaddr(handle);\n    } // Put a specific `program` address in $ra\n\n\n    returnTo(offset) {\n      var addr = this.pc + offset - this.currentOpSize;\n      this.ra = addr;\n    } // Return to the `program` address stored in $ra\n\n\n    return() {\n      this.pc = this.ra;\n    }\n\n    nextStatement() {\n      var {\n        pc,\n        program\n      } = this;\n\n      if (pc === -1) {\n        return null;\n      } // We have to save off the current operations size so that\n      // when we do a jump we can calculate the correct offset\n      // to where we are going. We can't simply ask for the size\n      // in a jump because we have have already incremented the\n      // program counter to the next instruction prior to executing.\n\n\n      var {\n        size\n      } = this.program.opcode(pc);\n      var operationSize = this.currentOpSize = size;\n      this.pc += operationSize;\n      return program.opcode(pc);\n    }\n\n    evaluateOuter(opcode, vm) {\n      {\n        this.evaluateInner(opcode, vm);\n      }\n    }\n\n    evaluateInner(opcode, vm) {\n      if (opcode.isMachine) {\n        this.evaluateMachine(opcode);\n      } else {\n        this.evaluateSyscall(opcode, vm);\n      }\n    }\n\n    evaluateMachine(opcode) {\n      switch (opcode.type) {\n        case 57\n        /* PushFrame */\n        :\n          return this.pushFrame();\n\n        case 58\n        /* PopFrame */\n        :\n          return this.popFrame();\n\n        case 59\n        /* PushSmallFrame */\n        :\n          return this.pushSmallFrame();\n\n        case 60\n        /* PopSmallFrame */\n        :\n          return this.popSmallFrame();\n\n        case 50\n        /* InvokeStatic */\n        :\n          return this.call(opcode.op1);\n\n        case 49\n        /* InvokeVirtual */\n        :\n          return this.call(this.stack.popSmi());\n\n        case 52\n        /* Jump */\n        :\n          return this.goto(opcode.op1);\n\n        case 24\n        /* Return */\n        :\n          return this.return();\n\n        case 25\n        /* ReturnTo */\n        :\n          return this.returnTo(opcode.op1);\n      }\n    }\n\n    evaluateSyscall(opcode, vm) {\n      APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n    }\n\n  }\n\n  class First {\n    constructor(node) {\n      this.node = node;\n    }\n\n    firstNode() {\n      return this.node;\n    }\n\n  }\n\n  class Last {\n    constructor(node) {\n      this.node = node;\n    }\n\n    lastNode() {\n      return this.node;\n    }\n\n  }\n\n  class NewElementBuilder {\n    constructor(env, parentNode, nextSibling) {\n      this.constructing = null;\n      this.operations = null;\n      this.cursorStack = new _util.Stack();\n      this.modifierStack = new _util.Stack();\n      this.blockStack = new _util.Stack();\n      this.pushElement(parentNode, nextSibling);\n      this.env = env;\n      this.dom = env.getAppendOperations();\n      this.updateOperations = env.getDOM();\n    }\n\n    static forInitialRender(env, cursor) {\n      var builder = new this(env, cursor.element, cursor.nextSibling);\n      builder.pushSimpleBlock();\n      return builder;\n    }\n\n    static resume(env, tracker, nextSibling) {\n      var parentNode = tracker.parentElement();\n      var stack = new this(env, parentNode, nextSibling);\n      stack.pushSimpleBlock();\n      stack.pushBlockTracker(tracker);\n      return stack;\n    }\n\n    get element() {\n      return this.cursorStack.current.element;\n    }\n\n    get nextSibling() {\n      return this.cursorStack.current.nextSibling;\n    }\n\n    get hasBlocks() {\n      return this.blockStack.size > 0;\n    }\n\n    expectConstructing(method) {\n      return this.constructing;\n    }\n\n    block() {\n      return this.blockStack.current;\n    }\n\n    popElement() {\n      this.cursorStack.pop();\n      this.cursorStack.current;\n    }\n\n    pushSimpleBlock() {\n      return this.pushBlockTracker(new SimpleBlockTracker(this.element));\n    }\n\n    pushUpdatableBlock() {\n      return this.pushBlockTracker(new UpdatableBlockTracker(this.element));\n    }\n\n    pushBlockList(list) {\n      return this.pushBlockTracker(new BlockListTracker(this.element, list));\n    }\n\n    pushBlockTracker(tracker, isRemote = false) {\n      var current = this.blockStack.current;\n\n      if (current !== null) {\n        current.newDestroyable(tracker);\n\n        if (!isRemote) {\n          current.didAppendBounds(tracker);\n        }\n      }\n\n      this.__openBlock();\n\n      this.blockStack.push(tracker);\n      return tracker;\n    }\n\n    popBlock() {\n      this.block().finalize(this);\n\n      this.__closeBlock();\n\n      return this.blockStack.pop();\n    }\n\n    __openBlock() {}\n\n    __closeBlock() {} // todo return seems unused\n\n\n    openElement(tag) {\n      var element = this.__openElement(tag);\n\n      this.constructing = element;\n      return element;\n    }\n\n    __openElement(tag) {\n      return this.dom.createElement(tag, this.element);\n    }\n\n    flushElement(modifiers) {\n      var parent = this.element;\n      var element = this.constructing;\n\n      this.__flushElement(parent, element);\n\n      this.constructing = null;\n      this.operations = null;\n      this.pushModifiers(modifiers);\n      this.pushElement(element, null);\n      this.didOpenElement(element);\n    }\n\n    __flushElement(parent, constructing) {\n      this.dom.insertBefore(parent, constructing, this.nextSibling);\n    }\n\n    closeElement() {\n      this.willCloseElement();\n      this.popElement();\n      return this.popModifiers();\n    }\n\n    pushRemoteElement(element, guid, nextSibling = null) {\n      this.__pushRemoteElement(element, guid, nextSibling);\n    }\n\n    __pushRemoteElement(element, _guid, nextSibling) {\n      this.pushElement(element, nextSibling);\n      var tracker = new RemoteBlockTracker(element);\n      this.pushBlockTracker(tracker, true);\n    }\n\n    popRemoteElement() {\n      this.popBlock();\n      this.popElement();\n    }\n\n    pushElement(element, nextSibling) {\n      this.cursorStack.push(new Cursor(element, nextSibling));\n    }\n\n    pushModifiers(modifiers) {\n      this.modifierStack.push(modifiers);\n    }\n\n    popModifiers() {\n      return this.modifierStack.pop();\n    }\n\n    didAddDestroyable(d) {\n      this.block().newDestroyable(d);\n    }\n\n    didAppendBounds(bounds) {\n      this.block().didAppendBounds(bounds);\n      return bounds;\n    }\n\n    didAppendNode(node) {\n      this.block().didAppendNode(node);\n      return node;\n    }\n\n    didOpenElement(element) {\n      this.block().openElement(element);\n      return element;\n    }\n\n    willCloseElement() {\n      this.block().closeElement();\n    }\n\n    appendText(string) {\n      return this.didAppendNode(this.__appendText(string));\n    }\n\n    __appendText(text) {\n      var {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      var node = dom.createTextNode(text);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n\n    __appendNode(node) {\n      this.dom.insertBefore(this.element, node, this.nextSibling);\n      return node;\n    }\n\n    __appendFragment(fragment) {\n      var first = fragment.firstChild;\n\n      if (first) {\n        var ret = new ConcreteBounds(this.element, first, fragment.lastChild);\n        this.dom.insertBefore(this.element, fragment, this.nextSibling);\n        return ret;\n      } else {\n        return new SingleNodeBounds(this.element, this.__appendComment(''));\n      }\n    }\n\n    __appendHTML(html) {\n      return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n    }\n\n    appendDynamicHTML(value$$1) {\n      var bounds = this.trustedContent(value$$1);\n      this.didAppendBounds(bounds);\n    }\n\n    appendDynamicText(value$$1) {\n      var node = this.untrustedContent(value$$1);\n      this.didAppendNode(node);\n      return node;\n    }\n\n    appendDynamicFragment(value$$1) {\n      var bounds = this.__appendFragment(value$$1);\n\n      this.didAppendBounds(bounds);\n    }\n\n    appendDynamicNode(value$$1) {\n      var node = this.__appendNode(value$$1);\n\n      var bounds = new SingleNodeBounds(this.element, node);\n      this.didAppendBounds(bounds);\n    }\n\n    trustedContent(value$$1) {\n      return this.__appendHTML(value$$1);\n    }\n\n    untrustedContent(value$$1) {\n      return this.__appendText(value$$1);\n    }\n\n    appendComment(string) {\n      return this.didAppendNode(this.__appendComment(string));\n    }\n\n    __appendComment(string) {\n      var {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      var node = dom.createComment(string);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n\n    __setAttribute(name, value$$1, namespace) {\n      this.dom.setAttribute(this.constructing, name, value$$1, namespace);\n    }\n\n    __setProperty(name, value$$1) {\n      this.constructing[name] = value$$1;\n    }\n\n    setStaticAttribute(name, value$$1, namespace) {\n      this.__setAttribute(name, value$$1, namespace);\n    }\n\n    setDynamicAttribute(name, value$$1, trusting, namespace) {\n      var element = this.constructing;\n      var attribute = this.env.attributeFor(element, name, trusting, namespace);\n      attribute.set(this, value$$1, this.env);\n      return attribute;\n    }\n\n  }\n\n  _exports.NewElementBuilder = NewElementBuilder;\n\n  class SimpleBlockTracker {\n    constructor(parent) {\n      this.parent = parent;\n      this.first = null;\n      this.last = null;\n      this.destroyables = null;\n      this.nesting = 0;\n    }\n\n    destroy() {\n      var {\n        destroyables\n      } = this;\n\n      if (destroyables && destroyables.length) {\n        for (var i = 0; i < destroyables.length; i++) {\n          destroyables[i].destroy();\n        }\n      }\n    }\n\n    parentElement() {\n      return this.parent;\n    }\n\n    firstNode() {\n      var first = this.first;\n      return first.firstNode();\n    }\n\n    lastNode() {\n      var last = this.last;\n      return last.lastNode();\n    }\n\n    openElement(element) {\n      this.didAppendNode(element);\n      this.nesting++;\n    }\n\n    closeElement() {\n      this.nesting--;\n    }\n\n    didAppendNode(node) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = new First(node);\n      }\n\n      this.last = new Last(node);\n    }\n\n    didAppendBounds(bounds) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = bounds;\n      }\n\n      this.last = bounds;\n    }\n\n    newDestroyable(d) {\n      this.destroyables = this.destroyables || [];\n      this.destroyables.push(d);\n    }\n\n    finalize(stack) {\n      if (this.first === null) {\n        stack.appendComment('');\n      }\n    }\n\n  }\n\n  class RemoteBlockTracker extends SimpleBlockTracker {\n    destroy() {\n      super.destroy();\n      clear(this);\n    }\n\n  }\n\n  class UpdatableBlockTracker extends SimpleBlockTracker {\n    reset(env) {\n      var {\n        destroyables\n      } = this;\n\n      if (destroyables && destroyables.length) {\n        for (var i = 0; i < destroyables.length; i++) {\n          env.didDestroy(destroyables[i]);\n        }\n      }\n\n      var nextSibling = clear(this);\n      this.first = null;\n      this.last = null;\n      this.destroyables = null;\n      this.nesting = 0;\n      return nextSibling;\n    }\n\n  }\n\n  class BlockListTracker {\n    constructor(parent, boundList) {\n      this.parent = parent;\n      this.boundList = boundList;\n      this.parent = parent;\n      this.boundList = boundList;\n    }\n\n    destroy() {\n      this.boundList.forEachNode(node => node.destroy());\n    }\n\n    parentElement() {\n      return this.parent;\n    }\n\n    firstNode() {\n      var head = this.boundList.head();\n      return head.firstNode();\n    }\n\n    lastNode() {\n      var tail = this.boundList.tail();\n      return tail.lastNode();\n    }\n\n    openElement(_element) {}\n\n    closeElement() {}\n\n    didAppendNode(_node) {}\n\n    didAppendBounds(_bounds) {}\n\n    newDestroyable(_d) {}\n\n    finalize(_stack) {}\n\n  }\n\n  function clientBuilder(env, cursor) {\n    return NewElementBuilder.forInitialRender(env, cursor);\n  }\n\n  var MAX_SMI = 0xfffffff;\n\n  class InnerStack {\n    constructor(inner = new _lowLevel.Stack(), js = []) {\n      this.inner = inner;\n      this.js = js;\n    }\n\n    slice(start, end) {\n      var inner;\n\n      if (typeof start === 'number' && typeof end === 'number') {\n        inner = this.inner.slice(start, end);\n      } else if (typeof start === 'number' && end === undefined) {\n        inner = this.inner.sliceFrom(start);\n      } else {\n        inner = this.inner.clone();\n      }\n\n      return new InnerStack(inner, this.js.slice(start, end));\n    }\n\n    sliceInner(start, end) {\n      var out = [];\n\n      for (var i = start; i < end; i++) {\n        out.push(this.get(i));\n      }\n\n      return out;\n    }\n\n    copy(from, to) {\n      this.inner.copy(from, to);\n    }\n\n    write(pos, value$$1) {\n      if (isImmediate(value$$1)) {\n        this.inner.writeRaw(pos, encodeImmediate(value$$1));\n      } else {\n        var idx = this.js.length;\n        this.js.push(value$$1);\n        this.inner.writeRaw(pos, ~idx);\n      }\n    }\n\n    writeRaw(pos, value$$1) {\n      this.inner.writeRaw(pos, value$$1);\n    }\n\n    get(pos) {\n      var value$$1 = this.inner.getRaw(pos);\n\n      if (value$$1 < 0) {\n        return this.js[~value$$1];\n      } else {\n        return decodeImmediate(value$$1);\n      }\n    }\n\n    reset() {\n      this.inner.reset();\n      this.js.length = 0;\n    }\n\n    get length() {\n      return this.inner.len();\n    }\n\n  }\n\n  class EvaluationStack {\n    constructor(stack, fp, sp) {\n      this.stack = stack;\n      this.fp = fp;\n      this.sp = sp;\n    }\n\n    static empty() {\n      return new this(new InnerStack(), 0, -1);\n    }\n\n    static restore(snapshot) {\n      var stack = new InnerStack();\n\n      for (var i = 0; i < snapshot.length; i++) {\n        stack.write(i, snapshot[i]);\n      }\n\n      return new this(stack, 0, snapshot.length - 1);\n    }\n\n    push(value$$1) {\n      this.stack.write(++this.sp, value$$1);\n    }\n\n    pushEncodedImmediate(value$$1) {\n      this.stack.writeRaw(++this.sp, value$$1);\n    }\n\n    pushNull() {\n      this.stack.write(++this.sp, null);\n    }\n\n    dup(position = this.sp) {\n      this.stack.copy(position, ++this.sp);\n    }\n\n    copy(from, to) {\n      this.stack.copy(from, to);\n    }\n\n    pop(n = 1) {\n      var top = this.stack.get(this.sp);\n      this.sp -= n;\n      return top;\n    }\n\n    popSmi() {\n      return this.stack.get(this.sp--);\n    }\n\n    peek(offset = 0) {\n      return this.stack.get(this.sp - offset);\n    }\n\n    get(offset, base = this.fp) {\n      return this.stack.get(base + offset);\n    }\n\n    set(value$$1, offset, base = this.fp) {\n      this.stack.write(base + offset, value$$1);\n    }\n\n    slice(start, end) {\n      return this.stack.slice(start, end);\n    }\n\n    sliceArray(start, end) {\n      return this.stack.sliceInner(start, end);\n    }\n\n    capture(items) {\n      var end = this.sp + 1;\n      var start = end - items;\n      return this.stack.sliceInner(start, end);\n    }\n\n    reset() {\n      this.stack.reset();\n    }\n\n    toArray() {\n      return this.stack.sliceInner(this.fp, this.sp + 1);\n    }\n\n  }\n\n  function isImmediate(value$$1) {\n    var type = typeof value$$1;\n    if (value$$1 === null || value$$1 === undefined) return true;\n\n    switch (type) {\n      case 'boolean':\n      case 'undefined':\n        return true;\n\n      case 'number':\n        // not an integer\n        if (value$$1 % 1 !== 0) return false;\n        var abs = Math.abs(value$$1);\n        if (abs > MAX_SMI) return false;\n        return true;\n\n      default:\n        return false;\n    }\n  }\n\n  function encodeSmi(primitive) {\n    if (primitive < 0) {\n      var abs = Math.abs(primitive);\n      if (abs > MAX_SMI) throw new Error('not smi');\n      return Math.abs(primitive) << 3 | 4\n      /* NEGATIVE */\n      ;\n    } else {\n      if (primitive > MAX_SMI) throw new Error('not smi');\n      return primitive << 3 | 0\n      /* NUMBER */\n      ;\n    }\n  }\n\n  function encodeImmediate(primitive) {\n    switch (typeof primitive) {\n      case 'number':\n        return encodeSmi(primitive);\n\n      case 'boolean':\n        return primitive ? 11\n        /* True */\n        : 3\n        /* False */\n        ;\n\n      case 'object':\n        // assume null\n        return 19\n        /* Null */\n        ;\n\n      case 'undefined':\n        return 27\n        /* Undef */\n        ;\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  function decodeSmi(smi) {\n    switch (smi & 0b111) {\n      case 0\n      /* NUMBER */\n      :\n        return smi >> 3;\n\n      case 4\n      /* NEGATIVE */\n      :\n        return -(smi >> 3);\n\n      default:\n        throw (0, _util.unreachable)();\n    }\n  }\n\n  function decodeImmediate(immediate) {\n    switch (immediate) {\n      case 3\n      /* False */\n      :\n        return false;\n\n      case 11\n      /* True */\n      :\n        return true;\n\n      case 19\n      /* Null */\n      :\n        return null;\n\n      case 27\n      /* Undef */\n      :\n        return undefined;\n\n      default:\n        return decodeSmi(immediate);\n    }\n  }\n\n  class UpdatingVM {\n    constructor(env, program, {\n      alwaysRevalidate = false\n    }) {\n      this.frameStack = new _util.Stack();\n      this.env = env;\n      this.constants = program.constants;\n      this.dom = env.getDOM();\n      this.alwaysRevalidate = alwaysRevalidate;\n    }\n\n    execute(opcodes, handler) {\n      var {\n        frameStack\n      } = this;\n      this.try(opcodes, handler);\n\n      while (true) {\n        if (frameStack.isEmpty()) break;\n        var opcode = this.frame.nextStatement();\n\n        if (opcode === null) {\n          this.frameStack.pop();\n          continue;\n        }\n\n        opcode.evaluate(this);\n      }\n    }\n\n    get frame() {\n      return this.frameStack.current;\n    }\n\n    goto(op) {\n      this.frame.goto(op);\n    }\n\n    try(ops, handler) {\n      this.frameStack.push(new UpdatingVMFrame(ops, handler));\n    }\n\n    throw() {\n      this.frame.handleException();\n      this.frameStack.pop();\n    }\n\n  }\n\n  _exports.UpdatingVM = UpdatingVM;\n\n  class BlockOpcode extends UpdatingOpcode {\n    constructor(start, state, runtime, bounds, children) {\n      super();\n      this.start = start;\n      this.state = state;\n      this.runtime = runtime;\n      this.type = 'block';\n      this.next = null;\n      this.prev = null;\n      this.children = children;\n      this.bounds = bounds;\n    }\n\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n\n    evaluate(vm) {\n      vm.try(this.children, null);\n    }\n\n    destroy() {\n      this.bounds.destroy();\n    }\n\n    didDestroy() {\n      this.runtime.env.didDestroy(this.bounds);\n    }\n\n  }\n\n  class TryOpcode extends BlockOpcode {\n    constructor(start, state, runtime, bounds, children) {\n      super(start, state, runtime, bounds, children);\n      this.type = 'try';\n      this.tag = this._tag = (0, _reference2.createUpdatableTag)();\n    }\n\n    didInitializeChildren() {\n      (0, _reference2.update)(this._tag, (0, _reference2.combineSlice)(this.children));\n    }\n\n    evaluate(vm) {\n      vm.try(this.children, this);\n    }\n\n    handleException() {\n      var {\n        state,\n        bounds,\n        children,\n        start,\n        prev,\n        next,\n        runtime\n      } = this;\n      children.clear();\n      var elementStack = NewElementBuilder.resume(runtime.env, bounds, bounds.reset(runtime.env));\n      var vm = VM.resume(state, runtime, elementStack);\n      var updating = new _util.LinkedList();\n      vm.execute(start, vm => {\n        vm.stack = EvaluationStack.restore(state.stack);\n        vm.updatingOpcodeStack.push(updating);\n        vm.updateWith(this);\n        vm.updatingOpcodeStack.push(children);\n      });\n      this.prev = prev;\n      this.next = next;\n    }\n\n  }\n\n  class ListRevalidationDelegate {\n    constructor(opcode, marker) {\n      this.opcode = opcode;\n      this.marker = marker;\n      this.didInsert = false;\n      this.didDelete = false;\n      this.map = opcode.map;\n      this.updating = opcode['children'];\n    }\n\n    insert(key, item, memo, before) {\n      var {\n        map,\n        opcode,\n        updating\n      } = this;\n      var nextSibling = null;\n      var reference = null;\n\n      if (typeof before === 'string') {\n        reference = map[before];\n        nextSibling = reference['bounds'].firstNode();\n      } else {\n        nextSibling = this.marker;\n      }\n\n      var vm = opcode.vmForInsertion(nextSibling);\n      var tryOpcode = null;\n      var {\n        start\n      } = opcode;\n      vm.execute(start, vm => {\n        map[key] = tryOpcode = vm.iterate(memo, item);\n        vm.updatingOpcodeStack.push(new _util.LinkedList());\n        vm.updateWith(tryOpcode);\n        vm.updatingOpcodeStack.push(tryOpcode.children);\n      });\n      updating.insertBefore(tryOpcode, reference);\n      this.didInsert = true;\n    }\n\n    retain(_key, _item, _memo) {}\n\n    move(key, _item, _memo, before) {\n      var {\n        map,\n        updating\n      } = this;\n      var entry = map[key];\n      var reference = map[before] || null;\n\n      if (typeof before === 'string') {\n        move(entry, reference.firstNode());\n      } else {\n        move(entry, this.marker);\n      }\n\n      updating.remove(entry);\n      updating.insertBefore(entry, reference);\n    }\n\n    delete(key) {\n      var {\n        map\n      } = this;\n      var opcode = map[key];\n      opcode.didDestroy();\n      clear(opcode);\n      this.updating.remove(opcode);\n      delete map[key];\n      this.didDelete = true;\n    }\n\n    done() {\n      this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n    }\n\n  }\n\n  class ListBlockOpcode extends BlockOpcode {\n    constructor(start, state, runtime, bounds, children, artifacts) {\n      super(start, state, runtime, bounds, children);\n      this.type = 'list-block';\n      this.map = (0, _util.dict)();\n      this.lastIterated = _reference2.INITIAL;\n      this.artifacts = artifacts;\n\n      var _tag = this._tag = (0, _reference2.createUpdatableTag)();\n\n      this.tag = (0, _reference2.combine)([artifacts.tag, _tag]);\n    }\n\n    didInitializeChildren(listDidChange = true) {\n      this.lastIterated = (0, _reference2.value)(this.artifacts.tag);\n\n      if (listDidChange) {\n        (0, _reference2.update)(this._tag, (0, _reference2.combineSlice)(this.children));\n      }\n    }\n\n    evaluate(vm) {\n      var {\n        artifacts,\n        lastIterated\n      } = this;\n\n      if (!(0, _reference2.validate)(artifacts.tag, lastIterated)) {\n        var {\n          bounds\n        } = this;\n        var {\n          dom\n        } = vm;\n        var marker = dom.createComment('');\n        dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n        var target = new ListRevalidationDelegate(this, marker);\n        var synchronizer = new _reference2.IteratorSynchronizer({\n          target,\n          artifacts\n        });\n        synchronizer.sync();\n        this.parentElement().removeChild(marker);\n      } // Run now-updated updating opcodes\n\n\n      super.evaluate(vm);\n    }\n\n    vmForInsertion(nextSibling) {\n      var {\n        bounds,\n        state,\n        runtime\n      } = this;\n      var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n        element: bounds.parentElement(),\n        nextSibling\n      });\n      return VM.resume(state, runtime, elementStack);\n    }\n\n  }\n\n  class UpdatingVMFrame {\n    constructor(ops, exceptionHandler) {\n      this.ops = ops;\n      this.exceptionHandler = exceptionHandler;\n      this.current = ops.head();\n    }\n\n    goto(op) {\n      this.current = op;\n    }\n\n    nextStatement() {\n      var {\n        current,\n        ops\n      } = this;\n      if (current) this.current = ops.nextNode(current);\n      return current;\n    }\n\n    handleException() {\n      if (this.exceptionHandler) {\n        this.exceptionHandler.handleException();\n      }\n    }\n\n  }\n\n  class RenderResult {\n    constructor(env, program, updating, bounds) {\n      this.env = env;\n      this.program = program;\n      this.updating = updating;\n      this.bounds = bounds;\n    }\n\n    rerender({\n      alwaysRevalidate = false\n    } = {\n      alwaysRevalidate: false\n    }) {\n      var {\n        env,\n        program,\n        updating\n      } = this;\n      var vm = new UpdatingVM(env, program, {\n        alwaysRevalidate\n      });\n      vm.execute(updating, this);\n    }\n\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n\n    handleException() {\n      throw 'this should never happen';\n    }\n\n    destroy() {\n      this.bounds.destroy();\n      clear(this.bounds);\n    }\n\n  }\n\n  _exports.RenderResult = RenderResult;\n\n  class Arguments {\n    constructor() {\n      this.stack = null;\n      this.positional = new PositionalArguments();\n      this.named = new NamedArguments();\n      this.blocks = new BlockArguments();\n    }\n\n    empty(stack) {\n      var base = stack.sp + 1;\n      this.named.empty(stack, base);\n      this.positional.empty(stack, base);\n      this.blocks.empty(stack, base);\n      return this;\n    }\n\n    setup(stack, names, blockNames, positionalCount, synthetic) {\n      this.stack = stack;\n      /*\n             | ... | blocks      | positional  | named |\n             | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n       index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                     ^             ^             ^  ^\n                   bbase         pbase       nbase  sp\n      */\n\n      var named = this.named;\n      var namedCount = names.length;\n      var namedBase = stack.sp - namedCount + 1;\n      named.setup(stack, namedBase, namedCount, names, synthetic);\n      var positional = this.positional;\n      var positionalBase = namedBase - positionalCount;\n      positional.setup(stack, positionalBase, positionalCount);\n      var blocks = this.blocks;\n      var blocksCount = blockNames.length;\n      var blocksBase = positionalBase - blocksCount * 3;\n      blocks.setup(stack, blocksBase, blocksCount, blockNames);\n    }\n\n    get tag() {\n      return (0, _reference2.combineTagged)([this.positional, this.named]);\n    }\n\n    get base() {\n      return this.blocks.base;\n    }\n\n    get length() {\n      return this.positional.length + this.named.length + this.blocks.length * 3;\n    }\n\n    at(pos) {\n      return this.positional.at(pos);\n    }\n\n    realloc(offset) {\n      var {\n        stack\n      } = this;\n\n      if (offset > 0 && stack !== null) {\n        var {\n          positional,\n          named\n        } = this;\n        var newBase = positional.base + offset;\n        var length = positional.length + named.length;\n\n        for (var i = length - 1; i >= 0; i--) {\n          stack.copy(i + positional.base, i + newBase);\n        }\n\n        positional.base += offset;\n        named.base += offset;\n        stack.sp += offset;\n      }\n    }\n\n    capture() {\n      var positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n      var named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n      return new CapturedArguments(this.tag, positional, named, this.length);\n    }\n\n    clear() {\n      var {\n        stack,\n        length\n      } = this;\n      if (length > 0 && stack !== null) stack.pop(length);\n    }\n\n  }\n\n  class CapturedArguments {\n    constructor(tag, positional, named, length) {\n      this.tag = tag;\n      this.positional = positional;\n      this.named = named;\n      this.length = length;\n    }\n\n    value() {\n      return {\n        named: this.named.value(),\n        positional: this.positional.value()\n      };\n    }\n\n  }\n\n  class PositionalArguments {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this.stack = null;\n      this._tag = null;\n      this._references = null;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._tag = _reference2.CONSTANT_TAG;\n      this._references = _util.EMPTY_ARRAY;\n    }\n\n    setup(stack, base, length) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._tag = _reference2.CONSTANT_TAG;\n        this._references = _util.EMPTY_ARRAY;\n      } else {\n        this._tag = null;\n        this._references = null;\n      }\n    }\n\n    get tag() {\n      var tag = this._tag;\n\n      if (!tag) {\n        tag = this._tag = (0, _reference2.combineTagged)(this.references);\n      }\n\n      return tag;\n    }\n\n    at(position) {\n      var {\n        base,\n        length,\n        stack\n      } = this;\n\n      if (position < 0 || position >= length) {\n        return UNDEFINED_REFERENCE;\n      }\n\n      return stack.get(position, base);\n    }\n\n    capture() {\n      return new CapturedPositionalArguments(this.tag, this.references);\n    }\n\n    prepend(other) {\n      var additions = other.length;\n\n      if (additions > 0) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        this.base = base = base - additions;\n        this.length = length + additions;\n\n        for (var i = 0; i < additions; i++) {\n          stack.set(other.at(i), i, base);\n        }\n\n        this._tag = null;\n        this._references = null;\n      }\n    }\n\n    get references() {\n      var references = this._references;\n\n      if (!references) {\n        var {\n          stack,\n          base,\n          length\n        } = this;\n        references = this._references = stack.sliceArray(base, base + length);\n      }\n\n      return references;\n    }\n\n  }\n\n  class CapturedPositionalArguments {\n    constructor(tag, references, length = references.length) {\n      this.tag = tag;\n      this.references = references;\n      this.length = length;\n    }\n\n    static empty() {\n      return new CapturedPositionalArguments(_reference2.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n    }\n\n    at(position) {\n      return this.references[position];\n    }\n\n    value() {\n      return this.references.map(this.valueOf);\n    }\n\n    get(name) {\n      var {\n        references,\n        length\n      } = this;\n\n      if (name === 'length') {\n        return PrimitiveReference.create(length);\n      } else {\n        var idx = parseInt(name, 10);\n\n        if (idx < 0 || idx >= length) {\n          return UNDEFINED_REFERENCE;\n        } else {\n          return references[idx];\n        }\n      }\n    }\n\n    valueOf(reference) {\n      return reference.value();\n    }\n\n  }\n\n  class NamedArguments {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this._references = null;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = _util.EMPTY_ARRAY;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    }\n\n    setup(stack, base, length, names, synthetic) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._references = _util.EMPTY_ARRAY;\n        this._names = _util.EMPTY_ARRAY;\n        this._atNames = _util.EMPTY_ARRAY;\n      } else {\n        this._references = null;\n\n        if (synthetic) {\n          this._names = names;\n          this._atNames = null;\n        } else {\n          this._names = null;\n          this._atNames = names;\n        }\n      }\n    }\n\n    get tag() {\n      return (0, _reference2.combineTagged)(this.references);\n    }\n\n    get names() {\n      var names = this._names;\n\n      if (!names) {\n        names = this._names = this._atNames.map(this.toSyntheticName);\n      }\n\n      return names;\n    }\n\n    get atNames() {\n      var atNames = this._atNames;\n\n      if (!atNames) {\n        atNames = this._atNames = this._names.map(this.toAtName);\n      }\n\n      return atNames;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n\n    get(name, synthetic = true) {\n      var {\n        base,\n        stack\n      } = this;\n      var names = synthetic ? this.names : this.atNames;\n      var idx = names.indexOf(name);\n\n      if (idx === -1) {\n        return UNDEFINED_REFERENCE;\n      }\n\n      return stack.get(idx, base);\n    }\n\n    capture() {\n      return new CapturedNamedArguments(this.tag, this.names, this.references);\n    }\n\n    merge(other) {\n      var {\n        length: extras\n      } = other;\n\n      if (extras > 0) {\n        var {\n          names,\n          length,\n          stack\n        } = this;\n        var {\n          names: extraNames\n        } = other;\n\n        if (Object.isFrozen(names) && names.length === 0) {\n          names = [];\n        }\n\n        for (var i = 0; i < extras; i++) {\n          var name = extraNames[i];\n          var idx = names.indexOf(name);\n\n          if (idx === -1) {\n            length = names.push(name);\n            stack.push(other.references[i]);\n          }\n        }\n\n        this.length = length;\n        this._references = null;\n        this._names = names;\n        this._atNames = null;\n      }\n    }\n\n    get references() {\n      var references = this._references;\n\n      if (!references) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        references = this._references = stack.sliceArray(base, base + length);\n      }\n\n      return references;\n    }\n\n    toSyntheticName(name) {\n      return name.slice(1);\n    }\n\n    toAtName(name) {\n      return `@${name}`;\n    }\n\n  }\n\n  class CapturedNamedArguments {\n    constructor(tag, names, references) {\n      this.tag = tag;\n      this.names = names;\n      this.references = references;\n      this.length = names.length;\n      this._map = null;\n    }\n\n    get map() {\n      var map = this._map;\n\n      if (!map) {\n        var {\n          names,\n          references\n        } = this;\n        map = this._map = (0, _util.dict)();\n\n        for (var i = 0; i < names.length; i++) {\n          var name = names[i];\n          map[name] = references[i];\n        }\n      }\n\n      return map;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n\n    get(name) {\n      var {\n        names,\n        references\n      } = this;\n      var idx = names.indexOf(name);\n\n      if (idx === -1) {\n        return UNDEFINED_REFERENCE;\n      } else {\n        return references[idx];\n      }\n    }\n\n    value() {\n      var {\n        names,\n        references\n      } = this;\n      var out = (0, _util.dict)();\n\n      for (var i = 0; i < names.length; i++) {\n        var name = names[i];\n        out[name] = references[i].value();\n      }\n\n      return out;\n    }\n\n  }\n\n  class BlockArguments {\n    constructor() {\n      this.internalValues = null;\n      this.internalTag = null;\n      this.names = _util.EMPTY_ARRAY;\n      this.length = 0;\n      this.base = 0;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.names = _util.EMPTY_ARRAY;\n      this.base = base;\n      this.length = 0;\n      this.internalTag = _reference2.CONSTANT_TAG;\n      this.internalValues = _util.EMPTY_ARRAY;\n    }\n\n    setup(stack, base, length, names) {\n      this.stack = stack;\n      this.names = names;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this.internalTag = _reference2.CONSTANT_TAG;\n        this.internalValues = _util.EMPTY_ARRAY;\n      } else {\n        this.internalTag = null;\n        this.internalValues = null;\n      }\n    }\n\n    get values() {\n      var values = this.internalValues;\n\n      if (!values) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        values = this.internalValues = stack.sliceArray(base, base + length * 3);\n      }\n\n      return values;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n\n    get(name) {\n      var {\n        base,\n        stack,\n        names\n      } = this;\n      var idx = names.indexOf(name);\n\n      if (names.indexOf(name) === -1) {\n        return null;\n      }\n\n      var table = stack.get(idx * 3, base);\n      var scope = stack.get(idx * 3 + 1, base); // FIXME(mmun): shouldn't need to cast this\n\n      var handle = stack.get(idx * 3 + 2, base);\n      return handle === null ? null : [handle, scope, table];\n    }\n\n    capture() {\n      return new CapturedBlockArguments(this.names, this.values);\n    }\n\n  }\n\n  class CapturedBlockArguments {\n    constructor(names, values) {\n      this.names = names;\n      this.values = values;\n      this.length = names.length;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n\n    get(name) {\n      var idx = this.names.indexOf(name);\n      if (idx === -1) return null;\n      return [this.values[idx * 3 + 2], this.values[idx * 3 + 1], this.values[idx * 3]];\n    }\n\n  }\n\n  var EMPTY_NAMED = new CapturedNamedArguments(_reference2.CONSTANT_TAG, _util.EMPTY_ARRAY, _util.EMPTY_ARRAY);\n  var EMPTY_POSITIONAL = new CapturedPositionalArguments(_reference2.CONSTANT_TAG, _util.EMPTY_ARRAY);\n  var EMPTY_ARGS = new CapturedArguments(_reference2.CONSTANT_TAG, EMPTY_POSITIONAL, EMPTY_NAMED, 0);\n  _exports.EMPTY_ARGS = EMPTY_ARGS;\n\n  class VM {\n    constructor(runtime, scope, dynamicScope, elementStack) {\n      this.runtime = runtime;\n      this.elementStack = elementStack;\n      this.dynamicScopeStack = new _util.Stack();\n      this.scopeStack = new _util.Stack();\n      this.updatingOpcodeStack = new _util.Stack();\n      this.cacheGroups = new _util.Stack();\n      this.listBlockStack = new _util.Stack();\n      this.s0 = null;\n      this.s1 = null;\n      this.t0 = null;\n      this.t1 = null;\n      this.v0 = null;\n      this.heap = this.program.heap;\n      this.constants = this.program.constants;\n      this.elementStack = elementStack;\n      this.scopeStack.push(scope);\n      this.dynamicScopeStack.push(dynamicScope);\n      this.args = new Arguments();\n      this.inner = new LowLevelVM(EvaluationStack.empty(), this.heap, runtime.program, {\n        debugBefore: opcode => {\n          return APPEND_OPCODES.debugBefore(this, opcode, opcode.type);\n        },\n        debugAfter: (opcode, state) => {\n          APPEND_OPCODES.debugAfter(this, opcode, opcode.type, state);\n        }\n      });\n    }\n\n    get stack() {\n      return this.inner.stack;\n    }\n\n    set stack(value$$1) {\n      this.inner.stack = value$$1;\n    }\n    /* Registers */\n\n\n    set currentOpSize(value$$1) {\n      this.inner.currentOpSize = value$$1;\n    }\n\n    get currentOpSize() {\n      return this.inner.currentOpSize;\n    }\n\n    get pc() {\n      return this.inner.pc;\n    }\n\n    set pc(value$$1) {\n      this.inner.pc = value$$1;\n    }\n\n    get ra() {\n      return this.inner.ra;\n    }\n\n    set ra(value$$1) {\n      this.inner.ra = value$$1;\n    }\n\n    get fp() {\n      return this.stack.fp;\n    }\n\n    set fp(fp) {\n      this.stack.fp = fp;\n    }\n\n    get sp() {\n      return this.stack.sp;\n    }\n\n    set sp(sp) {\n      this.stack.sp = sp;\n    } // Fetch a value from a register onto the stack\n\n\n    fetch(register) {\n      this.stack.push(this[_vm2.Register[register]]);\n    } // Load a value from the stack into a register\n\n\n    load(register) {\n      this[_vm2.Register[register]] = this.stack.pop();\n    } // Fetch a value from a register\n\n\n    fetchValue(register) {\n      return this[_vm2.Register[register]];\n    } // Load a value into a register\n\n\n    loadValue(register, value$$1) {\n      this[_vm2.Register[register]] = value$$1;\n    }\n    /**\n     * Migrated to Inner\n     */\n    // Start a new frame and save $ra and $fp on the stack\n\n\n    pushFrame() {\n      this.inner.pushFrame();\n    } // Restore $ra, $sp and $fp\n\n\n    popFrame() {\n      this.inner.popFrame();\n    } // Jump to an address in `program`\n\n\n    goto(offset) {\n      this.inner.goto(offset);\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n\n    call(handle) {\n      this.inner.call(handle);\n    } // Put a specific `program` address in $ra\n\n\n    returnTo(offset) {\n      this.inner.returnTo(offset);\n    } // Return to the `program` address stored in $ra\n\n\n    return() {\n      this.inner.return();\n    }\n    /**\n     * End of migrated.\n     */\n\n\n    static initial(program, env, self, dynamicScope, elementStack, handle) {\n      var scopeSize = program.heap.scopesizeof(handle);\n      var scope = Scope.root(self, scopeSize);\n      var vm = new VM({\n        program,\n        env\n      }, scope, dynamicScope, elementStack);\n      vm.pc = vm.heap.getaddr(handle);\n      vm.updatingOpcodeStack.push(new _util.LinkedList());\n      return vm;\n    }\n\n    static empty(program, env, elementStack, handle) {\n      var dynamicScope = {\n        get() {\n          return UNDEFINED_REFERENCE;\n        },\n\n        set() {\n          return UNDEFINED_REFERENCE;\n        },\n\n        child() {\n          return dynamicScope;\n        }\n\n      };\n      var vm = new VM({\n        program,\n        env\n      }, Scope.root(UNDEFINED_REFERENCE, 0), dynamicScope, elementStack);\n      vm.updatingOpcodeStack.push(new _util.LinkedList());\n      vm.pc = vm.heap.getaddr(handle);\n      return vm;\n    }\n\n    static resume({\n      scope,\n      dynamicScope\n    }, runtime, stack) {\n      return new VM(runtime, scope, dynamicScope, stack);\n    }\n\n    get program() {\n      return this.runtime.program;\n    }\n\n    get env() {\n      return this.runtime.env;\n    }\n\n    capture(args) {\n      return {\n        dynamicScope: this.dynamicScope(),\n        scope: this.scope(),\n        stack: this.stack.capture(args)\n      };\n    }\n\n    beginCacheGroup() {\n      this.cacheGroups.push(this.updating().tail());\n    }\n\n    commitCacheGroup() {\n      //        JumpIfNotModified(END)\n      //        (head)\n      //        (....)\n      //        (tail)\n      //        DidModify\n      // END:   Noop\n      var END = new LabelOpcode('END');\n      var opcodes = this.updating();\n      var marker = this.cacheGroups.pop();\n      var head = marker ? opcodes.nextNode(marker) : opcodes.head();\n      var tail = opcodes.tail();\n      var tag = (0, _reference2.combineSlice)(new _util.ListSlice(head, tail));\n      var guard = new JumpIfNotModifiedOpcode(tag, END);\n      opcodes.insertBefore(guard, head);\n      opcodes.append(new DidModifyOpcode(guard));\n      opcodes.append(END);\n    }\n\n    enter(args) {\n      var updating = new _util.LinkedList();\n      var state = this.capture(args);\n      var tracker = this.elements().pushUpdatableBlock();\n      var tryOpcode = new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, updating);\n      this.didEnter(tryOpcode);\n    }\n\n    iterate(memo, value$$1) {\n      var stack = this.stack;\n      stack.push(value$$1);\n      stack.push(memo);\n      var state = this.capture(2);\n      var tracker = this.elements().pushUpdatableBlock(); // let ip = this.ip;\n      // this.ip = end + 4;\n      // this.frames.push(ip);\n\n      return new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, new _util.LinkedList());\n    }\n\n    enterItem(key, opcode) {\n      this.listBlock().map[key] = opcode;\n      this.didEnter(opcode);\n    }\n\n    enterList(relativeStart) {\n      var updating = new _util.LinkedList();\n      var state = this.capture(0);\n      var tracker = this.elements().pushBlockList(updating);\n      var artifacts = this.stack.peek().artifacts;\n      var addr = this.pc + relativeStart - this.currentOpSize;\n      var start = this.heap.gethandle(addr);\n      var opcode = new ListBlockOpcode(start, state, this.runtime, tracker, updating, artifacts);\n      this.listBlockStack.push(opcode);\n      this.didEnter(opcode);\n    }\n\n    didEnter(opcode) {\n      this.updateWith(opcode);\n      this.updatingOpcodeStack.push(opcode.children);\n    }\n\n    exit() {\n      this.elements().popBlock();\n      this.updatingOpcodeStack.pop();\n      var parent = this.updating().tail();\n      parent.didInitializeChildren();\n    }\n\n    exitList() {\n      this.exit();\n      this.listBlockStack.pop();\n    }\n\n    updateWith(opcode) {\n      this.updating().append(opcode);\n    }\n\n    listBlock() {\n      return this.listBlockStack.current;\n    }\n\n    updating() {\n      return this.updatingOpcodeStack.current;\n    }\n\n    elements() {\n      return this.elementStack;\n    }\n\n    scope() {\n      return this.scopeStack.current;\n    }\n\n    dynamicScope() {\n      return this.dynamicScopeStack.current;\n    }\n\n    pushChildScope() {\n      this.scopeStack.push(this.scope().child());\n    }\n\n    pushDynamicScope() {\n      var child = this.dynamicScope().child();\n      this.dynamicScopeStack.push(child);\n      return child;\n    }\n\n    pushRootScope(size, bindCaller) {\n      var scope = Scope.sized(size);\n      if (bindCaller) scope.bindCallerScope(this.scope());\n      this.scopeStack.push(scope);\n      return scope;\n    }\n\n    pushScope(scope) {\n      this.scopeStack.push(scope);\n    }\n\n    popScope() {\n      this.scopeStack.pop();\n    }\n\n    popDynamicScope() {\n      this.dynamicScopeStack.pop();\n    }\n\n    newDestroyable(d) {\n      this.elements().didAddDestroyable(d);\n    } /// SCOPE HELPERS\n\n\n    getSelf() {\n      return this.scope().getSelf();\n    }\n\n    referenceForSymbol(symbol) {\n      return this.scope().getSymbol(symbol);\n    } /// EXECUTION\n\n\n    execute(start, initialize) {\n      this.pc = this.heap.getaddr(start);\n      if (initialize) initialize(this);\n      var result;\n\n      try {\n        while (true) {\n          result = this.next();\n          if (result.done) break;\n        }\n      } finally {\n        // If any existing blocks are open, due to an error or something like\n        // that, we need to close them all and clean things up properly.\n        var elements = this.elements();\n\n        while (elements.hasBlocks) {\n          elements.popBlock();\n        }\n      }\n\n      return result.value;\n    }\n\n    next() {\n      var {\n        env,\n        program,\n        updatingOpcodeStack,\n        elementStack\n      } = this;\n      var opcode = this.inner.nextStatement();\n      var result;\n\n      if (opcode !== null) {\n        this.inner.evaluateOuter(opcode, this);\n        result = {\n          done: false,\n          value: null\n        };\n      } else {\n        // Unload the stack\n        this.stack.reset();\n        result = {\n          done: true,\n          value: new RenderResult(env, program, updatingOpcodeStack.pop(), elementStack.popBlock())\n        };\n      }\n\n      return result;\n    }\n\n    bindDynamicScope(names) {\n      var scope = this.dynamicScope();\n\n      for (var i = names.length - 1; i >= 0; i--) {\n        var name = this.constants.getString(names[i]);\n        scope.set(name, this.stack.pop());\n      }\n    }\n\n  }\n\n  _exports.LowLevelVM = VM;\n\n  class TemplateIteratorImpl {\n    constructor(vm) {\n      this.vm = vm;\n    }\n\n    next() {\n      return this.vm.next();\n    }\n\n  }\n\n  function renderMain(program, env, self, dynamicScope, builder, handle) {\n    var vm = VM.initial(program, env, self, dynamicScope, builder, handle);\n    return new TemplateIteratorImpl(vm);\n  }\n  /**\n   * Returns a TemplateIterator configured to render a root component.\n   */\n\n\n  function renderComponent(program, env, builder, main, name, args = {}) {\n    var vm = VM.empty(program, env, builder, main);\n    var {\n      resolver\n    } = vm.constants;\n    var definition = resolveComponent(resolver, name, null);\n    var {\n      manager,\n      state\n    } = definition;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n    var invocation;\n\n    if (hasStaticLayoutCapability(capabilities, manager)) {\n      invocation = manager.getLayout(state, resolver);\n    } else {\n      throw new Error('Cannot invoke components with dynamic layouts as a root component.');\n    } // Get a list of tuples of argument names and references, like\n    // [['title', reference], ['name', reference]]\n\n\n    var argList = Object.keys(args).map(key => [key, args[key]]);\n    var blockNames = ['main', 'else', 'attrs']; // Prefix argument names with `@` symbol\n\n    var argNames = argList.map(([name]) => `@${name}`);\n    vm.pushFrame(); // Push blocks on to the stack, three stack values per block\n\n    for (var i = 0; i < 3 * blockNames.length; i++) {\n      vm.stack.push(null);\n    }\n\n    vm.stack.push(null); // For each argument, push its backing reference on to the stack\n\n    argList.forEach(([, reference]) => {\n      vm.stack.push(reference);\n    }); // Configure VM based on blocks and args just pushed on to the stack.\n\n    vm.args.setup(vm.stack, argNames, blockNames, 0, false); // Needed for the Op.Main opcode: arguments, component invocation object, and\n    // component definition.\n\n    vm.stack.push(vm.args);\n    vm.stack.push(invocation);\n    vm.stack.push(definition);\n    return new TemplateIteratorImpl(vm);\n  }\n\n  class DynamicVarReference {\n    constructor(scope, nameRef) {\n      this.scope = scope;\n      this.nameRef = nameRef;\n      var varTag = this.varTag = (0, _reference2.createUpdatableTag)();\n      this.tag = (0, _reference2.combine)([nameRef.tag, varTag]);\n    }\n\n    value() {\n      return this.getVar().value();\n    }\n\n    get(key) {\n      return this.getVar().get(key);\n    }\n\n    getVar() {\n      var name = String(this.nameRef.value());\n      var ref = this.scope.get(name);\n      (0, _reference2.update)(this.varTag, ref.tag);\n      return ref;\n    }\n\n  }\n\n  function getDynamicVar(vm, args) {\n    var scope = vm.dynamicScope();\n    var nameRef = args.positional.at(0);\n    return new DynamicVarReference(scope, nameRef);\n  }\n  /** @internal */\n\n\n  var DEFAULT_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: true,\n    createCaller: false,\n    updateHook: true,\n    createInstance: true\n  };\n  _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n  var MINIMAL_CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: false,\n    createCaller: false,\n    updateHook: false,\n    createInstance: false\n  };\n  _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n  var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n\n  class RehydratingCursor extends Cursor {\n    constructor(element, nextSibling, startingBlockDepth) {\n      super(element, nextSibling);\n      this.startingBlockDepth = startingBlockDepth;\n      this.candidate = null;\n      this.injectedOmittedNode = false;\n      this.openBlockDepth = startingBlockDepth - 1;\n    }\n\n  }\n\n  class RehydrateBuilder extends NewElementBuilder {\n    // private candidate: Option<Simple.Node> = null;\n    constructor(env, parentNode, nextSibling) {\n      super(env, parentNode, nextSibling);\n      this.unmatchedAttributes = null;\n      this.blockDepth = 0;\n      if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n      var node = this.currentCursor.element.firstChild;\n\n      while (node !== null) {\n        if (isComment(node) && isSerializationFirstNode(node)) {\n          break;\n        }\n\n        node = node.nextSibling;\n      }\n\n      this.candidate = node;\n    }\n\n    get currentCursor() {\n      return this.cursorStack.current;\n    }\n\n    get candidate() {\n      if (this.currentCursor) {\n        return this.currentCursor.candidate;\n      }\n\n      return null;\n    }\n\n    set candidate(node) {\n      this.currentCursor.candidate = node;\n    }\n\n    pushElement(element, nextSibling) {\n      var {\n        blockDepth = 0\n      } = this;\n      var cursor = new RehydratingCursor(element, nextSibling, blockDepth);\n      var currentCursor = this.currentCursor;\n\n      if (currentCursor) {\n        if (currentCursor.candidate) {\n          /**\n           * <div>   <---------------  currentCursor.element\n           *   <!--%+b:1%-->\n           *   <div> <---------------  currentCursor.candidate -> cursor.element\n           *     <!--%+b:2%--> <-  currentCursor.candidate.firstChild -> cursor.candidate\n           *     Foo\n           *     <!--%-b:2%-->\n           *   </div>\n           *   <!--%-b:1%-->  <--  becomes currentCursor.candidate\n           */\n          // where to rehydrate from if we are in rehydration mode\n          cursor.candidate = element.firstChild; // where to continue when we pop\n\n          currentCursor.candidate = element.nextSibling;\n        }\n      }\n\n      this.cursorStack.push(cursor);\n    }\n\n    clearMismatch(candidate) {\n      var current = candidate;\n      var currentCursor = this.currentCursor;\n\n      if (currentCursor !== null) {\n        var openBlockDepth = currentCursor.openBlockDepth;\n\n        if (openBlockDepth >= currentCursor.startingBlockDepth) {\n          while (current && !(isComment(current) && getCloseBlockDepth(current) === openBlockDepth)) {\n            current = this.remove(current);\n          }\n        } else {\n          while (current !== null) {\n            current = this.remove(current);\n          }\n        } // current cursor parentNode should be openCandidate if element\n        // or openCandidate.parentNode if comment\n\n\n        currentCursor.nextSibling = current; // disable rehydration until we popElement or closeBlock for openBlockDepth\n\n        currentCursor.candidate = null;\n      }\n    }\n\n    __openBlock() {\n      var {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return;\n      var blockDepth = this.blockDepth;\n      this.blockDepth++;\n      var {\n        candidate\n      } = currentCursor;\n      if (candidate === null) return;\n      var {\n        tagName\n      } = currentCursor.element;\n\n      if (isComment(candidate) && getOpenBlockDepth(candidate) === blockDepth) {\n        currentCursor.candidate = this.remove(candidate);\n        currentCursor.openBlockDepth = blockDepth;\n      } else if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        this.clearMismatch(candidate);\n      }\n    }\n\n    __closeBlock() {\n      var {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return; // openBlock is the last rehydrated open block\n\n      var openBlockDepth = currentCursor.openBlockDepth; // this currently is the expected next open block depth\n\n      this.blockDepth--;\n      var {\n        candidate\n      } = currentCursor; // rehydrating\n\n      if (candidate !== null) {\n        if (isComment(candidate) && getCloseBlockDepth(candidate) === openBlockDepth) {\n          currentCursor.candidate = this.remove(candidate);\n          currentCursor.openBlockDepth--;\n        } else {\n          this.clearMismatch(candidate);\n        } // if the openBlockDepth matches the blockDepth we just closed to\n        // then restore rehydration\n\n      }\n\n      if (currentCursor.openBlockDepth === this.blockDepth) {\n        currentCursor.candidate = this.remove(currentCursor.nextSibling);\n        currentCursor.openBlockDepth--;\n      }\n    }\n\n    __appendNode(node) {\n      var {\n        candidate\n      } = this; // This code path is only used when inserting precisely one node. It needs more\n      // comparison logic, but we can probably lean on the cases where this code path\n      // is actually used.\n\n      if (candidate) {\n        return candidate;\n      } else {\n        return super.__appendNode(node);\n      }\n    }\n\n    __appendHTML(html) {\n      var candidateBounds = this.markerBounds();\n\n      if (candidateBounds) {\n        var first = candidateBounds.firstNode();\n        var last = candidateBounds.lastNode();\n        var newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n        var possibleEmptyMarker = this.remove(first);\n        this.remove(last);\n\n        if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n          this.candidate = this.remove(possibleEmptyMarker);\n\n          if (this.candidate !== null) {\n            this.clearMismatch(this.candidate);\n          }\n        }\n\n        return newBounds;\n      } else {\n        return super.__appendHTML(html);\n      }\n    }\n\n    remove(node) {\n      var element = node.parentNode;\n      var next = node.nextSibling;\n      element.removeChild(node);\n      return next;\n    }\n\n    markerBounds() {\n      var _candidate = this.candidate;\n\n      if (_candidate && isMarker(_candidate)) {\n        var first = _candidate;\n        var last = first.nextSibling;\n\n        while (last && !isMarker(last)) {\n          last = last.nextSibling;\n        }\n\n        return new ConcreteBounds(this.element, first, last);\n      } else {\n        return null;\n      }\n    }\n\n    __appendText(string) {\n      var {\n        candidate\n      } = this;\n\n      if (candidate) {\n        if (isTextNode(candidate)) {\n          if (candidate.nodeValue !== string) {\n            candidate.nodeValue = string;\n          }\n\n          this.candidate = candidate.nextSibling;\n          return candidate;\n        } else if (candidate && (isSeparator(candidate) || isEmpty$1(candidate))) {\n          this.candidate = candidate.nextSibling;\n          this.remove(candidate);\n          return this.__appendText(string);\n        } else if (isEmpty$1(candidate)) {\n          var next = this.remove(candidate);\n          this.candidate = next;\n          var text = this.dom.createTextNode(string);\n          this.dom.insertBefore(this.element, text, next);\n          return text;\n        } else {\n          this.clearMismatch(candidate);\n          return super.__appendText(string);\n        }\n      } else {\n        return super.__appendText(string);\n      }\n    }\n\n    __appendComment(string) {\n      var _candidate = this.candidate;\n\n      if (_candidate && isComment(_candidate)) {\n        if (_candidate.nodeValue !== string) {\n          _candidate.nodeValue = string;\n        }\n\n        this.candidate = _candidate.nextSibling;\n        return _candidate;\n      } else if (_candidate) {\n        this.clearMismatch(_candidate);\n      }\n\n      return super.__appendComment(string);\n    }\n\n    __openElement(tag) {\n      var _candidate = this.candidate;\n\n      if (_candidate && isElement(_candidate) && isSameNodeType(_candidate, tag)) {\n        this.unmatchedAttributes = [].slice.call(_candidate.attributes);\n        return _candidate;\n      } else if (_candidate) {\n        if (isElement(_candidate) && _candidate.tagName === 'TBODY') {\n          this.pushElement(_candidate, null);\n          this.currentCursor.injectedOmittedNode = true;\n          return this.__openElement(tag);\n        }\n\n        this.clearMismatch(_candidate);\n      }\n\n      return super.__openElement(tag);\n    }\n\n    __setAttribute(name, value$$1, namespace) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value$$1) {\n            attr.value = value$$1;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return super.__setAttribute(name, value$$1, namespace);\n    }\n\n    __setProperty(name, value$$1) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value$$1) {\n            attr.value = value$$1;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return super.__setProperty(name, value$$1);\n    }\n\n    __flushElement(parent, constructing) {\n      var {\n        unmatchedAttributes: unmatched\n      } = this;\n\n      if (unmatched) {\n        for (var i = 0; i < unmatched.length; i++) {\n          this.constructing.removeAttribute(unmatched[i].name);\n        }\n\n        this.unmatchedAttributes = null;\n      } else {\n        super.__flushElement(parent, constructing);\n      }\n    }\n\n    willCloseElement() {\n      var {\n        candidate,\n        currentCursor\n      } = this;\n\n      if (candidate !== null) {\n        this.clearMismatch(candidate);\n      }\n\n      if (currentCursor && currentCursor.injectedOmittedNode) {\n        this.popElement();\n      }\n\n      super.willCloseElement();\n    }\n\n    getMarker(element, guid) {\n      var marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n\n      if (marker) {\n        return marker;\n      }\n\n      throw new Error('Cannot find serialized cursor for `in-element`');\n    }\n\n    __pushRemoteElement(element, cursorId, nextSibling = null) {\n      var marker = this.getMarker(element, cursorId);\n\n      if (marker.parentNode === element) {\n        var currentCursor = this.currentCursor;\n        var candidate = currentCursor.candidate;\n        this.pushElement(element, nextSibling);\n        currentCursor.candidate = candidate;\n        this.candidate = this.remove(marker);\n        var tracker = new RemoteBlockTracker(element);\n        this.pushBlockTracker(tracker, true);\n      }\n    }\n\n    didAppendBounds(bounds) {\n      super.didAppendBounds(bounds);\n\n      if (this.candidate) {\n        var last = bounds.lastNode();\n        this.candidate = last && last.nextSibling;\n      }\n\n      return bounds;\n    }\n\n  }\n\n  _exports.RehydrateBuilder = RehydrateBuilder;\n\n  function isTextNode(node) {\n    return node.nodeType === 3;\n  }\n\n  function isComment(node) {\n    return node.nodeType === 8;\n  }\n\n  function getOpenBlockDepth(node) {\n    var boundsDepth = node.nodeValue.match(/^%\\+b:(\\d+)%$/);\n\n    if (boundsDepth && boundsDepth[1]) {\n      return Number(boundsDepth[1]);\n    } else {\n      return null;\n    }\n  }\n\n  function getCloseBlockDepth(node) {\n    var boundsDepth = node.nodeValue.match(/^%\\-b:(\\d+)%$/);\n\n    if (boundsDepth && boundsDepth[1]) {\n      return Number(boundsDepth[1]);\n    } else {\n      return null;\n    }\n  }\n\n  function isElement(node) {\n    return node.nodeType === 1;\n  }\n\n  function isMarker(node) {\n    return node.nodeType === 8 && node.nodeValue === '%glmr%';\n  }\n\n  function isSeparator(node) {\n    return node.nodeType === 8 && node.nodeValue === '%|%';\n  }\n\n  function isEmpty$1(node) {\n    return node.nodeType === 8 && node.nodeValue === '% %';\n  }\n\n  function isSameNodeType(candidate, tag) {\n    if (candidate.namespaceURI === SVG_NAMESPACE) {\n      return candidate.tagName === tag;\n    }\n\n    return candidate.tagName === tag.toUpperCase();\n  }\n\n  function findByName(array, name) {\n    for (var i = 0; i < array.length; i++) {\n      var attr = array[i];\n      if (attr.name === name) return attr;\n    }\n\n    return undefined;\n  }\n\n  function rehydrationBuilder(env, cursor) {\n    return RehydrateBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assert = debugAssert;\n  _exports.assign = assign;\n  _exports.fillNulls = fillNulls;\n  _exports.ensureGuid = ensureGuid;\n  _exports.initializeGuid = initializeGuid;\n  _exports.dict = dict;\n  _exports.unwrap = unwrap;\n  _exports.expect = expect;\n  _exports.unreachable = unreachable;\n  _exports.EMPTY_ARRAY = _exports.ListSlice = _exports.ListNode = _exports.LinkedList = _exports.EMPTY_SLICE = _exports.DictSet = _exports.Stack = void 0;\n\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n\n  function expect(val, message) {\n    if (val === null || val === undefined) throw new Error(message);\n    return val;\n  }\n\n  function unreachable(message = 'unreachable') {\n    return new Error(message);\n  } // import Logger from './logger';\n  // let alreadyWarned = false;\n\n\n  function debugAssert(test, msg) {\n    // if (!alreadyWarned) {\n    //   alreadyWarned = true;\n    //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n    // }\n    if (!test) {\n      throw new Error(msg || 'assertion failure');\n    }\n  }\n\n  var {\n    keys: objKeys\n  } = Object;\n\n  function assign(obj) {\n    for (var i = 1; i < arguments.length; i++) {\n      var assignment = arguments[i];\n      if (assignment === null || typeof assignment !== 'object') continue;\n      var keys = objKeys(assignment);\n\n      for (var j = 0; j < keys.length; j++) {\n        var key = keys[j];\n        obj[key] = assignment[key];\n      }\n    }\n\n    return obj;\n  }\n\n  function fillNulls(count) {\n    var arr = new Array(count);\n\n    for (var i = 0; i < count; i++) {\n      arr[i] = null;\n    }\n\n    return arr;\n  }\n\n  var GUID = 0;\n\n  function initializeGuid(object) {\n    return object._guid = ++GUID;\n  }\n\n  function ensureGuid(object) {\n    return object._guid || initializeGuid(object);\n  }\n\n  function dict() {\n    return Object.create(null);\n  }\n\n  class DictSet {\n    constructor() {\n      this.dict = dict();\n    }\n\n    add(obj) {\n      if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n      return this;\n    }\n\n    delete(obj) {\n      if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n    }\n\n  }\n\n  _exports.DictSet = DictSet;\n\n  class Stack {\n    constructor() {\n      this.stack = [];\n      this.current = null;\n    }\n\n    get size() {\n      return this.stack.length;\n    }\n\n    push(item) {\n      this.current = item;\n      this.stack.push(item);\n    }\n\n    pop() {\n      var item = this.stack.pop();\n      var len = this.stack.length;\n      this.current = len === 0 ? null : this.stack[len - 1];\n      return item === undefined ? null : item;\n    }\n\n    isEmpty() {\n      return this.stack.length === 0;\n    }\n\n  }\n\n  _exports.Stack = Stack;\n\n  class ListNode {\n    constructor(value) {\n      this.next = null;\n      this.prev = null;\n      this.value = value;\n    }\n\n  }\n\n  _exports.ListNode = ListNode;\n\n  class LinkedList {\n    constructor() {\n      this.clear();\n    }\n\n    head() {\n      return this._head;\n    }\n\n    tail() {\n      return this._tail;\n    }\n\n    clear() {\n      this._head = this._tail = null;\n    }\n\n    toArray() {\n      var out = [];\n      this.forEachNode(n => out.push(n));\n      return out;\n    }\n\n    nextNode(node) {\n      return node.next;\n    }\n\n    forEachNode(callback) {\n      var node = this._head;\n\n      while (node !== null) {\n        callback(node);\n        node = node.next;\n      }\n    }\n\n    insertBefore(node, reference = null) {\n      if (reference === null) return this.append(node);\n      if (reference.prev) reference.prev.next = node;else this._head = node;\n      node.prev = reference.prev;\n      node.next = reference;\n      reference.prev = node;\n      return node;\n    }\n\n    append(node) {\n      var tail = this._tail;\n\n      if (tail) {\n        tail.next = node;\n        node.prev = tail;\n        node.next = null;\n      } else {\n        this._head = node;\n      }\n\n      return this._tail = node;\n    }\n\n    remove(node) {\n      if (node.prev) node.prev.next = node.next;else this._head = node.next;\n      if (node.next) node.next.prev = node.prev;else this._tail = node.prev;\n      return node;\n    }\n\n  }\n\n  _exports.LinkedList = LinkedList;\n\n  class ListSlice {\n    constructor(head, tail) {\n      this._head = head;\n      this._tail = tail;\n    }\n\n    forEachNode(callback) {\n      var node = this._head;\n\n      while (node !== null) {\n        callback(node);\n        node = this.nextNode(node);\n      }\n    }\n\n    head() {\n      return this._head;\n    }\n\n    tail() {\n      return this._tail;\n    }\n\n    toArray() {\n      var out = [];\n      this.forEachNode(n => out.push(n));\n      return out;\n    }\n\n    nextNode(node) {\n      if (node === this._tail) return null;\n      return node.next;\n    }\n\n  }\n\n  _exports.ListSlice = ListSlice;\n  var EMPTY_SLICE = new ListSlice(null, null);\n  _exports.EMPTY_SLICE = EMPTY_SLICE;\n  var EMPTY_ARRAY = Object.freeze([]);\n  _exports.EMPTY_ARRAY = EMPTY_ARRAY;\n});","define(\"@glimmer/vm\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Register = void 0;\n\n  /**\n   * Registers\n   *\n   * For the most part, these follows MIPS naming conventions, however the\n   * register numbers are different.\n   */\n  var Register;\n  _exports.Register = Register;\n\n  (function (Register) {\n    // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n    Register[Register[\"pc\"] = 0] = \"pc\"; // $1 or $ra (return address): pointer into `program` for the return\n\n    Register[Register[\"ra\"] = 1] = \"ra\"; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\n    Register[Register[\"fp\"] = 2] = \"fp\"; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\n    Register[Register[\"sp\"] = 3] = \"sp\"; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\n    Register[Register[\"s0\"] = 4] = \"s0\";\n    Register[Register[\"s1\"] = 5] = \"s1\"; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\n    Register[Register[\"t0\"] = 6] = \"t0\";\n    Register[Register[\"t1\"] = 7] = \"t1\"; // $8 or $v0 (return value)\n\n    Register[Register[\"v0\"] = 8] = \"v0\";\n  })(Register || (_exports.Register = Register = {}));\n});","define(\"@glimmer/wire-format\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.is = is;\n  _exports.isAttribute = isAttribute;\n  _exports.isArgument = isArgument;\n  _exports.isMaybeLocal = _exports.isGet = _exports.isFlushElement = _exports.Ops = void 0;\n  var Opcodes;\n  _exports.Ops = Opcodes;\n\n  (function (Opcodes) {\n    // Statements\n    Opcodes[Opcodes[\"Text\"] = 0] = \"Text\";\n    Opcodes[Opcodes[\"Append\"] = 1] = \"Append\";\n    Opcodes[Opcodes[\"Comment\"] = 2] = \"Comment\";\n    Opcodes[Opcodes[\"Modifier\"] = 3] = \"Modifier\";\n    Opcodes[Opcodes[\"Block\"] = 4] = \"Block\";\n    Opcodes[Opcodes[\"Component\"] = 5] = \"Component\";\n    Opcodes[Opcodes[\"DynamicComponent\"] = 6] = \"DynamicComponent\";\n    Opcodes[Opcodes[\"OpenElement\"] = 7] = \"OpenElement\";\n    Opcodes[Opcodes[\"FlushElement\"] = 8] = \"FlushElement\";\n    Opcodes[Opcodes[\"CloseElement\"] = 9] = \"CloseElement\";\n    Opcodes[Opcodes[\"StaticAttr\"] = 10] = \"StaticAttr\";\n    Opcodes[Opcodes[\"DynamicAttr\"] = 11] = \"DynamicAttr\";\n    Opcodes[Opcodes[\"ComponentAttr\"] = 12] = \"ComponentAttr\";\n    Opcodes[Opcodes[\"AttrSplat\"] = 13] = \"AttrSplat\";\n    Opcodes[Opcodes[\"Yield\"] = 14] = \"Yield\";\n    Opcodes[Opcodes[\"Partial\"] = 15] = \"Partial\";\n    Opcodes[Opcodes[\"DynamicArg\"] = 16] = \"DynamicArg\";\n    Opcodes[Opcodes[\"StaticArg\"] = 17] = \"StaticArg\";\n    Opcodes[Opcodes[\"TrustingAttr\"] = 18] = \"TrustingAttr\";\n    Opcodes[Opcodes[\"TrustingComponentAttr\"] = 19] = \"TrustingComponentAttr\";\n    Opcodes[Opcodes[\"Debugger\"] = 20] = \"Debugger\";\n    Opcodes[Opcodes[\"ClientSideStatement\"] = 21] = \"ClientSideStatement\"; // Expressions\n\n    Opcodes[Opcodes[\"Unknown\"] = 22] = \"Unknown\";\n    Opcodes[Opcodes[\"Get\"] = 23] = \"Get\";\n    Opcodes[Opcodes[\"MaybeLocal\"] = 24] = \"MaybeLocal\";\n    Opcodes[Opcodes[\"HasBlock\"] = 25] = \"HasBlock\";\n    Opcodes[Opcodes[\"HasBlockParams\"] = 26] = \"HasBlockParams\";\n    Opcodes[Opcodes[\"Undefined\"] = 27] = \"Undefined\";\n    Opcodes[Opcodes[\"Helper\"] = 28] = \"Helper\";\n    Opcodes[Opcodes[\"Concat\"] = 29] = \"Concat\";\n    Opcodes[Opcodes[\"ClientSideExpression\"] = 30] = \"ClientSideExpression\";\n  })(Opcodes || (_exports.Ops = Opcodes = {}));\n\n  function is(variant) {\n    return function (value) {\n      return Array.isArray(value) && value[0] === variant;\n    };\n  } // Statements\n\n\n  var isFlushElement = is(Opcodes.FlushElement);\n  _exports.isFlushElement = isFlushElement;\n\n  function isAttribute(val) {\n    return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr || val[0] === Opcodes.ComponentAttr || val[0] === Opcodes.TrustingAttr || val[0] === Opcodes.TrustingComponentAttr || val[0] === Opcodes.AttrSplat || val[0] === Opcodes.Modifier;\n  }\n\n  function isArgument(val) {\n    return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n  } // Expressions\n\n\n  var isGet = is(Opcodes.Get);\n  _exports.isGet = isGet;\n  var isMaybeLocal = is(Opcodes.MaybeLocal);\n  _exports.isMaybeLocal = isMaybeLocal;\n});","define(\"backburner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.buildPlatform = buildPlatform;\n  _exports.default = void 0;\n  var SET_TIMEOUT = setTimeout;\n\n  var NOOP = () => {};\n\n  function buildNext(flush) {\n    // Using \"promises first\" here to:\n    //\n    // 1) Ensure more consistent experience on browsers that\n    //    have differently queued microtasks (separate queues for\n    //    MutationObserver vs Promises).\n    // 2) Ensure better debugging experiences (it shows up in Chrome\n    //    call stack as \"Promise.then (async)\") which is more consistent\n    //    with user expectations\n    //\n    // When Promise is unavailable use MutationObserver (mostly so that we\n    // still get microtasks on IE11), and when neither MutationObserver and\n    // Promise are present use a plain old setTimeout.\n    if (typeof Promise === 'function') {\n      var autorunPromise = Promise.resolve();\n      return () => autorunPromise.then(flush);\n    } else if (typeof MutationObserver === 'function') {\n      var iterations = 0;\n      var observer = new MutationObserver(flush);\n      var node = document.createTextNode('');\n      observer.observe(node, {\n        characterData: true\n      });\n      return () => {\n        iterations = ++iterations % 2;\n        node.data = '' + iterations;\n        return iterations;\n      };\n    } else {\n      return () => SET_TIMEOUT(flush, 0);\n    }\n  }\n\n  function buildPlatform(flush) {\n    var clearNext = NOOP;\n    return {\n      setTimeout(fn, ms) {\n        return setTimeout(fn, ms);\n      },\n\n      clearTimeout(timerId) {\n        return clearTimeout(timerId);\n      },\n\n      now() {\n        return Date.now();\n      },\n\n      next: buildNext(flush),\n      clearNext\n    };\n  }\n\n  var NUMBER = /\\d+/;\n  var TIMERS_OFFSET = 6;\n\n  function isCoercableNumber(suspect) {\n    var type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n  }\n\n  function getOnError(options) {\n    return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n  }\n\n  function findItem(target, method, collection) {\n    var index = -1;\n\n    for (var i = 0, l = collection.length; i < l; i += 4) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i;\n        break;\n      }\n    }\n\n    return index;\n  }\n\n  function findTimerItem(target, method, collection) {\n    var index = -1;\n\n    for (var i = 2, l = collection.length; i < l; i += 6) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i - 2;\n        break;\n      }\n    }\n\n    return index;\n  }\n\n  function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n    var queueItems = [];\n\n    for (var i = 0; i < items.length; i += queueItemLength) {\n      var maybeError = items[i + 3\n      /* stack */\n      + queueItemPositionOffset];\n      var queueItem = {\n        target: items[i + 0\n        /* target */\n        + queueItemPositionOffset],\n        method: items[i + 1\n        /* method */\n        + queueItemPositionOffset],\n        args: items[i + 2\n        /* args */\n        + queueItemPositionOffset],\n        stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n      };\n      queueItems.push(queueItem);\n    }\n\n    return queueItems;\n  }\n\n  function binarySearch(time, timers) {\n    var start = 0;\n    var end = timers.length - TIMERS_OFFSET;\n    var middle;\n    var l;\n\n    while (start < end) {\n      // since timers is an array of pairs 'l' will always\n      // be an integer\n      l = (end - start) / TIMERS_OFFSET; // compensate for the index in case even number\n      // of pairs inside timers\n\n      middle = start + l - l % TIMERS_OFFSET;\n\n      if (time >= timers[middle]) {\n        start = middle + TIMERS_OFFSET;\n      } else {\n        end = middle;\n      }\n    }\n\n    return time >= timers[start] ? start + TIMERS_OFFSET : start;\n  }\n\n  var QUEUE_ITEM_LENGTH = 4;\n\n  class Queue {\n    constructor(name, options = {}, globalOptions = {}) {\n      this._queueBeingFlushed = [];\n      this.targetQueues = new Map();\n      this.index = 0;\n      this._queue = [];\n      this.name = name;\n      this.options = options;\n      this.globalOptions = globalOptions;\n    }\n\n    stackFor(index) {\n      if (index < this._queue.length) {\n        var entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n\n        if (entry) {\n          return entry.stack;\n        } else {\n          return null;\n        }\n      }\n    }\n\n    flush(sync) {\n      var {\n        before,\n        after\n      } = this.options;\n      var target;\n      var method;\n      var args;\n      var errorRecordedForStack;\n      this.targetQueues.clear();\n\n      if (this._queueBeingFlushed.length === 0) {\n        this._queueBeingFlushed = this._queue;\n        this._queue = [];\n      }\n\n      if (before !== undefined) {\n        before();\n      }\n\n      var invoke;\n      var queueItems = this._queueBeingFlushed;\n\n      if (queueItems.length > 0) {\n        var onError = getOnError(this.globalOptions);\n        invoke = onError ? this.invokeWithOnError : this.invoke;\n\n        for (var i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n          this.index += QUEUE_ITEM_LENGTH;\n          method = queueItems[i + 1]; // method could have been nullified / canceled during flush\n\n          if (method !== null) {\n            //\n            //    ** Attention intrepid developer **\n            //\n            //    To find out the stack of this task when it was scheduled onto\n            //    the run loop, add the following to your app.js:\n            //\n            //    Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n            //\n            //    Once that is in place, when you are at a breakpoint and navigate\n            //    here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n            //    which will be the captured stack when this job was scheduled.\n            //\n            //    One possible long-term solution is the following Chrome issue:\n            //       https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n            //\n            target = queueItems[i];\n            args = queueItems[i + 2];\n            errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n\n            invoke(target, method, args, onError, errorRecordedForStack);\n          }\n\n          if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n            return 1\n            /* Pause */\n            ;\n          }\n        }\n      }\n\n      if (after !== undefined) {\n        after();\n      }\n\n      this._queueBeingFlushed.length = 0;\n      this.index = 0;\n\n      if (sync !== false && this._queue.length > 0) {\n        // check if new items have been added\n        this.flush(true);\n      }\n    }\n\n    hasWork() {\n      return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    }\n\n    cancel({\n      target,\n      method\n    }) {\n      var queue = this._queue;\n      var targetQueueMap = this.targetQueues.get(target);\n\n      if (targetQueueMap !== undefined) {\n        targetQueueMap.delete(method);\n      }\n\n      var index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue.splice(index, QUEUE_ITEM_LENGTH);\n        return true;\n      } // if not found in current queue\n      // could be in the queue that is being flushed\n\n\n      queue = this._queueBeingFlushed;\n      index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n\n      return false;\n    }\n\n    push(target, method, args, stack) {\n      this._queue.push(target, method, args, stack);\n\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n\n    pushUnique(target, method, args, stack) {\n      var localQueueMap = this.targetQueues.get(target);\n\n      if (localQueueMap === undefined) {\n        localQueueMap = new Map();\n        this.targetQueues.set(target, localQueueMap);\n      }\n\n      var index = localQueueMap.get(method);\n\n      if (index === undefined) {\n        var queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n        localQueueMap.set(method, queueIndex);\n      } else {\n        var queue = this._queue;\n        queue[index + 2] = args; // replace args\n\n        queue[index + 3] = stack; // replace stack\n      }\n\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n        return debugInfo;\n      }\n\n      return undefined;\n    }\n\n    invoke(target, method, args\n    /*, onError, errorRecordedForStack */\n    ) {\n      if (args === undefined) {\n        method.call(target);\n      } else {\n        method.apply(target, args);\n      }\n    }\n\n    invokeWithOnError(target, method, args, onError, errorRecordedForStack) {\n      try {\n        if (args === undefined) {\n          method.call(target);\n        } else {\n          method.apply(target, args);\n        }\n      } catch (error) {\n        onError(error, errorRecordedForStack);\n      }\n    }\n\n  }\n\n  class DeferredActionQueues {\n    constructor(queueNames = [], options) {\n      this.queues = {};\n      this.queueNameIndex = 0;\n      this.queueNames = queueNames;\n      queueNames.reduce(function (queues, queueName) {\n        queues[queueName] = new Queue(queueName, options[queueName], options);\n        return queues;\n      }, this.queues);\n    }\n    /**\n     * @method schedule\n     * @param {String} queueName\n     * @param {Any} target\n     * @param {Any} method\n     * @param {Any} args\n     * @param {Boolean} onceFlag\n     * @param {Any} stack\n     * @return queue\n     */\n\n\n    schedule(queueName, target, method, args, onceFlag, stack) {\n      var queues = this.queues;\n      var queue = queues[queueName];\n\n      if (queue === undefined) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n      }\n\n      if (method === undefined || method === null) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);\n      }\n\n      this.queueNameIndex = 0;\n\n      if (onceFlag) {\n        return queue.pushUnique(target, method, args, stack);\n      } else {\n        return queue.push(target, method, args, stack);\n      }\n    }\n    /**\n     * DeferredActionQueues.flush() calls Queue.flush()\n     *\n     * @method flush\n     * @param {Boolean} fromAutorun\n     */\n\n\n    flush(fromAutorun = false) {\n      var queue;\n      var queueName;\n      var numberOfQueues = this.queueNames.length;\n\n      while (this.queueNameIndex < numberOfQueues) {\n        queueName = this.queueNames[this.queueNameIndex];\n        queue = this.queues[queueName];\n\n        if (queue.hasWork() === false) {\n          this.queueNameIndex++;\n\n          if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n            return 1\n            /* Pause */\n            ;\n          }\n        } else {\n          if (queue.flush(false\n          /* async */\n          ) === 1\n          /* Pause */\n          ) {\n            return 1\n            /* Pause */\n            ;\n          }\n        }\n      }\n    }\n    /**\n     * Returns debug information for the current queues.\n     *\n     * @method _getDebugInfo\n     * @param {Boolean} debugEnabled\n     * @returns {IDebugInfo | undefined}\n     */\n\n\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = {};\n        var queue;\n        var queueName;\n        var numberOfQueues = this.queueNames.length;\n        var i = 0;\n\n        while (i < numberOfQueues) {\n          queueName = this.queueNames[i];\n          queue = this.queues[queueName];\n          debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n          i++;\n        }\n\n        return debugInfo;\n      }\n\n      return;\n    }\n\n  }\n\n  function iteratorDrain(fn) {\n    var iterator = fn();\n    var result = iterator.next();\n\n    while (result.done === false) {\n      result.value();\n      result = iterator.next();\n    }\n  }\n\n  var noop = function () {};\n\n  var DISABLE_SCHEDULE = Object.freeze([]);\n\n  function parseArgs() {\n    var length = arguments.length;\n    var args;\n    var method;\n    var target;\n\n    if (length === 0) {} else if (length === 1) {\n      target = null;\n      method = arguments[0];\n    } else {\n      var argsIndex = 2;\n      var methodOrTarget = arguments[0];\n      var methodOrArgs = arguments[1];\n      var type = typeof methodOrArgs;\n\n      if (type === 'function') {\n        target = methodOrTarget;\n        method = methodOrArgs;\n      } else if (methodOrTarget !== null && type === 'string' && methodOrArgs in methodOrTarget) {\n        target = methodOrTarget;\n        method = target[methodOrArgs];\n      } else if (typeof methodOrTarget === 'function') {\n        argsIndex = 1;\n        target = null;\n        method = methodOrTarget;\n      }\n\n      if (length > argsIndex) {\n        var len = length - argsIndex;\n        args = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          args[i] = arguments[i + argsIndex];\n        }\n      }\n    }\n\n    return [target, method, args];\n  }\n\n  function parseTimerArgs() {\n    var [target, method, args] = parseArgs(...arguments);\n    var wait = 0;\n    var length = args !== undefined ? args.length : 0;\n\n    if (length > 0) {\n      var last = args[length - 1];\n\n      if (isCoercableNumber(last)) {\n        wait = parseInt(args.pop(), 10);\n      }\n    }\n\n    return [target, method, args, wait];\n  }\n\n  function parseDebounceArgs() {\n    var target;\n    var method;\n    var isImmediate;\n    var args;\n    var wait;\n\n    if (arguments.length === 2) {\n      method = arguments[0];\n      wait = arguments[1];\n      target = null;\n    } else {\n      [target, method, args] = parseArgs(...arguments);\n\n      if (args === undefined) {\n        wait = 0;\n      } else {\n        wait = args.pop();\n\n        if (!isCoercableNumber(wait)) {\n          isImmediate = wait === true;\n          wait = args.pop();\n        }\n      }\n    }\n\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n  }\n\n  var UUID = 0;\n  var beginCount = 0;\n  var endCount = 0;\n  var beginEventCount = 0;\n  var endEventCount = 0;\n  var runCount = 0;\n  var joinCount = 0;\n  var deferCount = 0;\n  var scheduleCount = 0;\n  var scheduleIterableCount = 0;\n  var deferOnceCount = 0;\n  var scheduleOnceCount = 0;\n  var setTimeoutCount = 0;\n  var laterCount = 0;\n  var throttleCount = 0;\n  var debounceCount = 0;\n  var cancelTimersCount = 0;\n  var cancelCount = 0;\n  var autorunsCreatedCount = 0;\n  var autorunsCompletedCount = 0;\n  var deferredActionQueuesCreatedCount = 0;\n  var nestedDeferredActionQueuesCreated = 0;\n\n  class Backburner {\n    constructor(queueNames, options) {\n      this.DEBUG = false;\n      this.currentInstance = null;\n      this.instanceStack = [];\n      this._eventCallbacks = {\n        end: [],\n        begin: []\n      };\n      this._timerTimeoutId = null;\n      this._timers = [];\n      this._autorun = false;\n      this._autorunStack = null;\n      this.queueNames = queueNames;\n      this.options = options || {};\n\n      if (typeof this.options.defaultQueue === 'string') {\n        this._defaultQueue = this.options.defaultQueue;\n      } else {\n        this._defaultQueue = this.queueNames[0];\n      }\n\n      this._onBegin = this.options.onBegin || noop;\n      this._onEnd = this.options.onEnd || noop;\n      this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n\n      this._boundAutorunEnd = () => {\n        autorunsCompletedCount++; // if the autorun was already flushed, do nothing\n\n        if (this._autorun === false) {\n          return;\n        }\n\n        this._autorun = false;\n        this._autorunStack = null;\n\n        this._end(true\n        /* fromAutorun */\n        );\n      };\n\n      var builder = this.options._buildPlatform || buildPlatform;\n      this._platform = builder(this._boundAutorunEnd);\n    }\n\n    get counters() {\n      return {\n        begin: beginCount,\n        end: endCount,\n        events: {\n          begin: beginEventCount,\n          end: endEventCount\n        },\n        autoruns: {\n          created: autorunsCreatedCount,\n          completed: autorunsCompletedCount\n        },\n        run: runCount,\n        join: joinCount,\n        defer: deferCount,\n        schedule: scheduleCount,\n        scheduleIterable: scheduleIterableCount,\n        deferOnce: deferOnceCount,\n        scheduleOnce: scheduleOnceCount,\n        setTimeout: setTimeoutCount,\n        later: laterCount,\n        throttle: throttleCount,\n        debounce: debounceCount,\n        cancelTimers: cancelTimersCount,\n        cancel: cancelCount,\n        loops: {\n          total: deferredActionQueuesCreatedCount,\n          nested: nestedDeferredActionQueuesCreated\n        }\n      };\n    }\n\n    get defaultQueue() {\n      return this._defaultQueue;\n    }\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n\n\n    begin() {\n      beginCount++;\n      var options = this.options;\n      var previousInstance = this.currentInstance;\n      var current;\n\n      if (this._autorun !== false) {\n        current = previousInstance;\n\n        this._cancelAutorun();\n      } else {\n        if (previousInstance !== null) {\n          nestedDeferredActionQueuesCreated++;\n          this.instanceStack.push(previousInstance);\n        }\n\n        deferredActionQueuesCreatedCount++;\n        current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n        beginEventCount++;\n\n        this._trigger('begin', current, previousInstance);\n      }\n\n      this._onBegin(current, previousInstance);\n\n      return current;\n    }\n\n    end() {\n      endCount++;\n\n      this._end(false);\n    }\n\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError(`Callback must be a function`);\n      }\n\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (callbacks !== undefined) {\n        callbacks.push(callback);\n      } else {\n        throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);\n      }\n    }\n\n    off(eventName, callback) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (!eventName || callbacks === undefined) {\n        throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n      }\n\n      var callbackFound = false;\n\n      if (callback) {\n        for (var i = 0; i < callbacks.length; i++) {\n          if (callbacks[i] === callback) {\n            callbackFound = true;\n            callbacks.splice(i, 1);\n            i--;\n          }\n        }\n      }\n\n      if (!callbackFound) {\n        throw new TypeError(`Cannot off() callback that does not exist`);\n      }\n    }\n\n    run() {\n      runCount++;\n      var [target, method, args] = parseArgs(...arguments);\n      return this._run(target, method, args);\n    }\n\n    join() {\n      joinCount++;\n      var [target, method, args] = parseArgs(...arguments);\n      return this._join(target, method, args);\n    }\n    /**\n     * @deprecated please use schedule instead.\n     */\n\n\n    defer(queueName, target, method, ...args) {\n      deferCount++;\n      return this.schedule(queueName, target, method, ...args);\n    }\n\n    schedule(queueName, ..._args) {\n      scheduleCount++;\n      var [target, method, args] = parseArgs(..._args);\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n    }\n    /*\n      Defer the passed iterable of functions to run inside the specified queue.\n         @method scheduleIterable\n      @param {String} queueName\n      @param {Iterable} an iterable of functions to execute\n      @return method result\n    */\n\n\n    scheduleIterable(queueName, iterable) {\n      scheduleIterableCount++;\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, null, iteratorDrain, [iterable], false, stack);\n    }\n    /**\n     * @deprecated please use scheduleOnce instead.\n     */\n\n\n    deferOnce(queueName, target, method, ...args) {\n      deferOnceCount++;\n      return this.scheduleOnce(queueName, target, method, ...args);\n    }\n\n    scheduleOnce(queueName, ..._args) {\n      scheduleOnceCount++;\n      var [target, method, args] = parseArgs(..._args);\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n    }\n\n    setTimeout() {\n      setTimeoutCount++;\n      return this.later(...arguments);\n    }\n\n    later() {\n      laterCount++;\n      var [target, method, args, wait] = parseTimerArgs(...arguments);\n      return this._later(target, method, args, wait);\n    }\n\n    throttle() {\n      throttleCount++;\n      var [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n      var index = findTimerItem(target, method, this._timers);\n      var timerId;\n\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        timerId = this._timers[index + 1];\n        var argIndex = index + 4;\n\n        if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n          this._timers[argIndex] = args;\n        }\n      }\n\n      return timerId;\n    }\n\n    debounce() {\n      debounceCount++;\n      var [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n      var _timers = this._timers;\n      var index = findTimerItem(target, method, _timers);\n      var timerId;\n\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        var executeAt = this._platform.now() + wait;\n        var argIndex = index + 4;\n\n        if (_timers[argIndex] === DISABLE_SCHEDULE) {\n          args = DISABLE_SCHEDULE;\n        }\n\n        timerId = _timers[index + 1];\n        var i = binarySearch(executeAt, _timers);\n\n        if (index + TIMERS_OFFSET === i) {\n          _timers[index] = executeAt;\n          _timers[argIndex] = args;\n        } else {\n          var stack = this._timers[index + 5];\n\n          this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n\n          this._timers.splice(index, TIMERS_OFFSET);\n        }\n\n        if (index === 0) {\n          this._reinstallTimerTimeout();\n        }\n      }\n\n      return timerId;\n    }\n\n    cancelTimers() {\n      cancelTimersCount++;\n\n      this._clearTimerTimeout();\n\n      this._timers = [];\n\n      this._cancelAutorun();\n    }\n\n    hasTimers() {\n      return this._timers.length > 0 || this._autorun;\n    }\n\n    cancel(timer) {\n      cancelCount++;\n\n      if (timer === null || timer === undefined) {\n        return false;\n      }\n\n      var timerType = typeof timer;\n\n      if (timerType === 'number') {\n        // we're cancelling a setTimeout or throttle or debounce\n        return this._cancelLaterTimer(timer);\n      } else if (timerType === 'object' && timer.queue && timer.method) {\n        // we're cancelling a deferOnce\n        return timer.queue.cancel(timer);\n      }\n\n      return false;\n    }\n\n    ensureInstance() {\n      this._ensureInstance();\n    }\n    /**\n     * Returns debug information related to the current instance of Backburner\n     *\n     * @method getDebugInfo\n     * @returns {Object | undefined} Will return and Object containing debug information if\n     * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n     */\n\n\n    getDebugInfo() {\n      if (this.DEBUG) {\n        return {\n          autorun: this._autorunStack,\n          counters: this.counters,\n          timers: getQueueItems(this._timers, TIMERS_OFFSET, 2),\n          instanceStack: [this.currentInstance, ...this.instanceStack].map(deferredActionQueue => deferredActionQueue && deferredActionQueue._getDebugInfo(this.DEBUG))\n        };\n      }\n\n      return undefined;\n    }\n\n    _end(fromAutorun) {\n      var currentInstance = this.currentInstance;\n      var nextInstance = null;\n\n      if (currentInstance === null) {\n        throw new Error(`end called without begin`);\n      } // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n      // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n\n\n      var finallyAlreadyCalled = false;\n      var result;\n\n      try {\n        result = currentInstance.flush(fromAutorun);\n      } finally {\n        if (!finallyAlreadyCalled) {\n          finallyAlreadyCalled = true;\n\n          if (result === 1\n          /* Pause */\n          ) {\n            var plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n\n            this._scheduleAutorun(plannedNextQueue);\n          } else {\n            this.currentInstance = null;\n\n            if (this.instanceStack.length > 0) {\n              nextInstance = this.instanceStack.pop();\n              this.currentInstance = nextInstance;\n            }\n\n            this._trigger('end', currentInstance, nextInstance);\n\n            this._onEnd(currentInstance, nextInstance);\n          }\n        }\n      }\n    }\n\n    _join(target, method, args) {\n      if (this.currentInstance === null) {\n        return this._run(target, method, args);\n      }\n\n      if (target === undefined && args === undefined) {\n        return method();\n      } else {\n        return method.apply(target, args);\n      }\n    }\n\n    _run(target, method, args) {\n      var onError = getOnError(this.options);\n      this.begin();\n\n      if (onError) {\n        try {\n          return method.apply(target, args);\n        } catch (error) {\n          onError(error);\n        } finally {\n          this.end();\n        }\n      } else {\n        try {\n          return method.apply(target, args);\n        } finally {\n          this.end();\n        }\n      }\n    }\n\n    _cancelAutorun() {\n      if (this._autorun) {\n        this._platform.clearNext();\n\n        this._autorun = false;\n        this._autorunStack = null;\n      }\n    }\n\n    _later(target, method, args, wait) {\n      var stack = this.DEBUG ? new Error() : undefined;\n      var executeAt = this._platform.now() + wait;\n      var id = UUID++;\n\n      if (this._timers.length === 0) {\n        this._timers.push(executeAt, id, target, method, args, stack);\n\n        this._installTimerTimeout();\n      } else {\n        // find position to insert\n        var i = binarySearch(executeAt, this._timers);\n\n        this._timers.splice(i, 0, executeAt, id, target, method, args, stack); // always reinstall since it could be out of sync\n\n\n        this._reinstallTimerTimeout();\n      }\n\n      return id;\n    }\n\n    _cancelLaterTimer(timer) {\n      for (var i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n        if (this._timers[i] === timer) {\n          this._timers.splice(i - 1, TIMERS_OFFSET);\n\n          if (i === 1) {\n            this._reinstallTimerTimeout();\n          }\n\n          return true;\n        }\n      }\n\n      return false;\n    }\n    /**\n     Trigger an event. Supports up to two arguments. Designed around\n     triggering transition events from one run loop instance to the\n     next, which requires an argument for the  instance and then\n     an argument for the next instance.\n        @private\n     @method _trigger\n     @param {String} eventName\n     @param {any} arg1\n     @param {any} arg2\n     */\n\n\n    _trigger(eventName, arg1, arg2) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (callbacks !== undefined) {\n        for (var i = 0; i < callbacks.length; i++) {\n          callbacks[i](arg1, arg2);\n        }\n      }\n    }\n\n    _runExpiredTimers() {\n      this._timerTimeoutId = null;\n\n      if (this._timers.length > 0) {\n        this.begin();\n\n        this._scheduleExpiredTimers();\n\n        this.end();\n      }\n    }\n\n    _scheduleExpiredTimers() {\n      var timers = this._timers;\n      var i = 0;\n      var l = timers.length;\n      var defaultQueue = this._defaultQueue;\n\n      var n = this._platform.now();\n\n      for (; i < l; i += TIMERS_OFFSET) {\n        var executeAt = timers[i];\n\n        if (executeAt > n) {\n          break;\n        }\n\n        var args = timers[i + 4];\n\n        if (args !== DISABLE_SCHEDULE) {\n          var target = timers[i + 2];\n          var method = timers[i + 3];\n          var stack = timers[i + 5];\n          this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n        }\n      }\n\n      timers.splice(0, i);\n\n      this._installTimerTimeout();\n    }\n\n    _reinstallTimerTimeout() {\n      this._clearTimerTimeout();\n\n      this._installTimerTimeout();\n    }\n\n    _clearTimerTimeout() {\n      if (this._timerTimeoutId === null) {\n        return;\n      }\n\n      this._platform.clearTimeout(this._timerTimeoutId);\n\n      this._timerTimeoutId = null;\n    }\n\n    _installTimerTimeout() {\n      if (this._timers.length === 0) {\n        return;\n      }\n\n      var minExpiresAt = this._timers[0];\n\n      var n = this._platform.now();\n\n      var wait = Math.max(0, minExpiresAt - n);\n      this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    }\n\n    _ensureInstance() {\n      var currentInstance = this.currentInstance;\n\n      if (currentInstance === null) {\n        this._autorunStack = this.DEBUG ? new Error() : undefined;\n        currentInstance = this.begin();\n\n        this._scheduleAutorun(this.queueNames[0]);\n      }\n\n      return currentInstance;\n    }\n\n    _scheduleAutorun(plannedNextQueue) {\n      autorunsCreatedCount++;\n      var next = this._platform.next;\n      var flush = this.options.flush;\n\n      if (flush) {\n        flush(plannedNextQueue, next);\n      } else {\n        next();\n      }\n\n      this._autorun = true;\n    }\n\n  }\n\n  Backburner.Queue = Queue;\n  Backburner.buildPlatform = buildPlatform;\n  Backburner.buildNext = buildNext;\n  var _default = Backburner;\n  _exports.default = _default;\n});","define(\"dag-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n   *\n   * Edges can forward reference keys that have not been added yet (the forward reference will\n   * map the key to undefined).\n   */\n  var DAG = function () {\n    function DAG() {\n      this._vertices = new Vertices();\n    }\n    /**\n     * Adds a key/value pair with dependencies on other key/value pairs.\n     *\n     * @public\n     * @param key    The key of the vertex to be added.\n     * @param value  The value of that vertex.\n     * @param before A key or array of keys of the vertices that must\n     *               be visited before this vertex.\n     * @param after  An string or array of strings with the keys of the\n     *               vertices that must be after this vertex is visited.\n     */\n\n\n    DAG.prototype.add = function (key, value, before, after) {\n      if (!key) throw new Error('argument `key` is required');\n      var vertices = this._vertices;\n      var v = vertices.add(key);\n      v.val = value;\n\n      if (before) {\n        if (typeof before === \"string\") {\n          vertices.addEdge(v, vertices.add(before));\n        } else {\n          for (var i = 0; i < before.length; i++) {\n            vertices.addEdge(v, vertices.add(before[i]));\n          }\n        }\n      }\n\n      if (after) {\n        if (typeof after === \"string\") {\n          vertices.addEdge(vertices.add(after), v);\n        } else {\n          for (var i = 0; i < after.length; i++) {\n            vertices.addEdge(vertices.add(after[i]), v);\n          }\n        }\n      }\n    };\n    /**\n     * @deprecated please use add.\n     */\n\n\n    DAG.prototype.addEdges = function (key, value, before, after) {\n      this.add(key, value, before, after);\n    };\n    /**\n     * Visits key/value pairs in topological order.\n     *\n     * @public\n     * @param callback The function to be invoked with each key/value.\n     */\n\n\n    DAG.prototype.each = function (callback) {\n      this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n\n\n    DAG.prototype.topsort = function (callback) {\n      this.each(callback);\n    };\n\n    return DAG;\n  }();\n\n  var _default = DAG;\n  /** @private */\n\n  _exports.default = _default;\n\n  var Vertices = function () {\n    function Vertices() {\n      this.length = 0;\n      this.stack = new IntStack();\n      this.path = new IntStack();\n      this.result = new IntStack();\n    }\n\n    Vertices.prototype.add = function (key) {\n      if (!key) throw new Error(\"missing key\");\n      var l = this.length | 0;\n      var vertex;\n\n      for (var i = 0; i < l; i++) {\n        vertex = this[i];\n        if (vertex.key === key) return vertex;\n      }\n\n      this.length = l + 1;\n      return this[l] = {\n        idx: l,\n        key: key,\n        val: undefined,\n        out: false,\n        flag: false,\n        length: 0\n      };\n    };\n\n    Vertices.prototype.addEdge = function (v, w) {\n      this.check(v, w.key);\n      var l = w.length | 0;\n\n      for (var i = 0; i < l; i++) {\n        if (w[i] === v.idx) return;\n      }\n\n      w.length = l + 1;\n      w[l] = v.idx;\n      v.out = true;\n    };\n\n    Vertices.prototype.walk = function (cb) {\n      this.reset();\n\n      for (var i = 0; i < this.length; i++) {\n        var vertex = this[i];\n        if (vertex.out) continue;\n        this.visit(vertex, \"\");\n      }\n\n      this.each(this.result, cb);\n    };\n\n    Vertices.prototype.check = function (v, w) {\n      if (v.key === w) {\n        throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n      } // quick check\n\n\n      if (v.length === 0) return; // shallow check\n\n      for (var i = 0; i < v.length; i++) {\n        var key = this[v[i]].key;\n\n        if (key === w) {\n          throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n        }\n      } // deep check\n\n\n      this.reset();\n      this.visit(v, w);\n\n      if (this.path.length > 0) {\n        var msg_1 = \"cycle detected: \" + w;\n        this.each(this.path, function (key) {\n          msg_1 += \" <- \" + key;\n        });\n        throw new Error(msg_1);\n      }\n    };\n\n    Vertices.prototype.reset = function () {\n      this.stack.length = 0;\n      this.path.length = 0;\n      this.result.length = 0;\n\n      for (var i = 0, l = this.length; i < l; i++) {\n        this[i].flag = false;\n      }\n    };\n\n    Vertices.prototype.visit = function (start, search) {\n      var _a = this,\n          stack = _a.stack,\n          path = _a.path,\n          result = _a.result;\n\n      stack.push(start.idx);\n\n      while (stack.length) {\n        var index = stack.pop() | 0;\n\n        if (index >= 0) {\n          // enter\n          var vertex = this[index];\n          if (vertex.flag) continue;\n          vertex.flag = true;\n          path.push(index);\n          if (search === vertex.key) break; // push exit\n\n          stack.push(~index);\n          this.pushIncoming(vertex);\n        } else {\n          // exit\n          path.pop();\n          result.push(~index);\n        }\n      }\n    };\n\n    Vertices.prototype.pushIncoming = function (incomming) {\n      var stack = this.stack;\n\n      for (var i = incomming.length - 1; i >= 0; i--) {\n        var index = incomming[i];\n\n        if (!this[index].flag) {\n          stack.push(index);\n        }\n      }\n    };\n\n    Vertices.prototype.each = function (indices, cb) {\n      for (var i = 0, l = indices.length; i < l; i++) {\n        var vertex = this[indices[i]];\n        cb(vertex.key, vertex.val);\n      }\n    };\n\n    return Vertices;\n  }();\n  /** @private */\n\n\n  var IntStack = function () {\n    function IntStack() {\n      this.length = 0;\n    }\n\n    IntStack.prototype.push = function (n) {\n      this[this.length++] = n | 0;\n    };\n\n    IntStack.prototype.pop = function () {\n      return this[--this.length] | 0;\n    };\n\n    return IntStack;\n  }();\n});","define(\"ember-babel\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.wrapNativeSuper = wrapNativeSuper;\n  _exports.classCallCheck = classCallCheck;\n  _exports.inheritsLoose = inheritsLoose;\n  _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n  _exports.createClass = createClass;\n  _exports.assertThisInitialized = assertThisInitialized;\n  _exports.possibleConstructorReturn = possibleConstructorReturn;\n  _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n  _exports.createSuper = createSuper;\n  _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;\n\n  /* globals Reflect */\n  var setPrototypeOf = Object.setPrototypeOf;\n  var getPrototypeOf = Object.getPrototypeOf;\n  var hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';\n  var nativeWrapperCache = new Map(); // Super minimal version of Babel's wrapNativeSuper. We only use this for\n  // extending Function, for ComputedDecoratorImpl and AliasDecoratorImpl. We know\n  // we will never directly create an instance of these classes so no need to\n  // include `construct` code or other helpers.\n\n  function wrapNativeSuper(Class) {\n    if (nativeWrapperCache.has(Class)) {\n      return nativeWrapperCache.get(Class);\n    }\n\n    function Wrapper() {}\n\n    Wrapper.prototype = Object.create(Class.prototype, {\n      constructor: {\n        value: Wrapper,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    nativeWrapperCache.set(Class, Wrapper);\n    return setPrototypeOf(Wrapper, Class);\n  }\n\n  function classCallCheck(instance, Constructor) {\n    if (true\n    /* DEBUG */\n    ) {\n      if (!(instance instanceof Constructor)) {\n        throw new TypeError('Cannot call a class as a function');\n      }\n    }\n  }\n  /*\n    Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.\n    This is needed so that we can use `loose` option with the\n    `@babel/plugin-transform-classes` (because we want simple assignment to the\n    prototype whereever possible) but also keep our constructor based prototypal\n    inheritance working properly\n  */\n\n\n  function inheritsLoose(subClass, superClass) {\n    if (true\n    /* DEBUG */\n    ) {\n      if (typeof superClass !== 'function' && superClass !== null) {\n        throw new TypeError('Super expression must either be null or a function');\n      }\n    }\n\n    subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n\n    if (superClass !== null) {\n      setPrototypeOf(subClass, superClass);\n    }\n  }\n\n  function taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    strings.raw = raw;\n    return strings;\n  }\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if ('value' in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n  /*\n    Differs from default implementation by avoiding boolean coercion of\n    `protoProps` and `staticProps`.\n  */\n\n\n  function createClass(Constructor, protoProps, staticProps) {\n    if (protoProps !== null && protoProps !== undefined) {\n      _defineProperties(Constructor.prototype, protoProps);\n    }\n\n    if (staticProps !== null && staticProps !== undefined) {\n      _defineProperties(Constructor, staticProps);\n    }\n\n    return Constructor;\n  }\n\n  function assertThisInitialized(self) {\n    if (true\n    /* DEBUG */\n    && self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n  /*\n    Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n  */\n\n\n  function possibleConstructorReturn(self, call) {\n    if (typeof call === 'object' && call !== null || typeof call === 'function') {\n      return call;\n    }\n\n    return assertThisInitialized(self);\n  }\n\n  function objectDestructuringEmpty(obj) {\n    if (true\n    /* DEBUG */\n    && (obj === null || obj === undefined)) {\n      throw new TypeError('Cannot destructure undefined');\n    }\n  }\n  /*\n    Differs from default implementation by checking for _any_ `Reflect.construct`\n    (the default implementation tries to ensure that `Reflect.construct` is truly\n    the native one).\n  \n    Original source: https://github.com/babel/babel/blob/v7.9.2/packages/babel-helpers/src/helpers.js#L738-L757\n  */\n\n\n  function createSuper(Derived) {\n    return function () {\n      var Super = getPrototypeOf(Derived);\n      var result;\n\n      if (hasReflectConstruct) {\n        // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n        var NewTarget = getPrototypeOf(this).constructor;\n        result = Reflect.construct(Super, arguments, NewTarget);\n      } else {\n        result = Super.apply(this, arguments);\n      }\n\n      return possibleConstructorReturn(this, result);\n    };\n  }\n  /*\n    Does not differ from default implementation.\n  */\n\n\n  function arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n    var arr2 = new Array(len);\n\n    for (var i = 0; i < len; i++) {\n      arr2[i] = arr[i];\n    }\n\n    return arr2;\n  }\n  /*\n    Does not differ from default implementation.\n  */\n\n\n  function unsupportedIterableToArray(o, minLen) {\n    if (!o) return;\n    if (typeof o === 'string') return arrayLikeToArray(o, minLen);\n    var n = Object.prototype.toString.call(o).slice(8, -1);\n    if (n === 'Object' && o.constructor) n = o.constructor.name;\n    if (n === 'Map' || n === 'Set') return Array.from(n);\n    if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n  }\n  /*\n    Does not differ from default implementation.\n  */\n\n\n  function createForOfIteratorHelperLoose(o) {\n    var i = 0;\n\n    if (typeof Symbol === 'undefined' || o[Symbol.iterator] == null) {\n      // Fallback for engines without symbol support\n      if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) return function () {\n        if (i >= o.length) return {\n          done: true\n        };\n        return {\n          done: false,\n          value: o[i++]\n        };\n      };\n      throw new TypeError('Invalid attempt to iterate non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');\n    }\n\n    i = o[Symbol.iterator]();\n    return i.next.bind(i);\n  }\n});","define(\"ember-testing/index\", [\"exports\", \"ember-testing/lib/test\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/adapters/qunit\", \"ember-testing/lib/support\", \"ember-testing/lib/ext/application\", \"ember-testing/lib/ext/rsvp\", \"ember-testing/lib/helpers\", \"ember-testing/lib/initializers\"], function (_exports, _test, _adapter, _setup_for_testing, _qunit, _support, _application, _rsvp, _helpers, _initializers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Test\", {\n    enumerable: true,\n    get: function () {\n      return _test.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Adapter\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setupForTesting\", {\n    enumerable: true,\n    get: function () {\n      return _setup_for_testing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QUnitAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _qunit.default;\n    }\n  });\n});","define(\"ember-testing/lib/adapters/adapter\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function K() {\n    return this;\n  }\n  /**\n   @module @ember/test\n  */\n\n  /**\n    The primary purpose of this class is to create hooks that can be implemented\n    by an adapter for various test frameworks.\n  \n    @class TestAdapter\n    @public\n  */\n\n\n  var _default = _runtime.Object.extend({\n    /**\n      This callback will be called whenever an async operation is about to start.\n       Override this to call your framework's methods that handle async\n      operations.\n       @public\n      @method asyncStart\n    */\n    asyncStart: K,\n\n    /**\n      This callback will be called whenever an async operation has completed.\n       @public\n      @method asyncEnd\n    */\n    asyncEnd: K,\n\n    /**\n      Override this method with your testing framework's false assertion.\n      This function is called whenever an exception occurs causing the testing\n      promise to fail.\n       QUnit example:\n       ```javascript\n        exception: function(error) {\n          ok(false, error);\n        };\n      ```\n       @public\n      @method exception\n      @param {String} error The exception to be raised.\n    */\n    exception(error) {\n      throw error;\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-testing/lib/adapters/qunit\", [\"exports\", \"@ember/-internals/utils\", \"ember-testing/lib/adapters/adapter\"], function (_exports, _utils, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /* globals QUnit */\n\n  /**\n     @module ember\n  */\n\n  /**\n    This class implements the methods defined by TestAdapter for the\n    QUnit testing framework.\n  \n    @class QUnitAdapter\n    @namespace Ember.Test\n    @extends TestAdapter\n    @public\n  */\n  var _default = _adapter.default.extend({\n    init() {\n      this.doneCallbacks = [];\n    },\n\n    asyncStart() {\n      if (typeof QUnit.stop === 'function') {\n        // very old QUnit version\n        QUnit.stop();\n      } else {\n        this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);\n      }\n    },\n\n    asyncEnd() {\n      // checking for QUnit.stop here (even though we _need_ QUnit.start) because\n      // QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n      // inside a test context)\n      if (typeof QUnit.stop === 'function') {\n        QUnit.start();\n      } else {\n        var done = this.doneCallbacks.pop(); // This can be null if asyncStart() was called outside of a test\n\n        if (done) {\n          done();\n        }\n      }\n    },\n\n    exception(error) {\n      QUnit.config.current.assert.ok(false, (0, _utils.inspect)(error));\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-testing/lib/events\", [\"exports\", \"@ember/runloop\", \"@ember/polyfills\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _runloop, _polyfills, _isFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.focus = focus;\n  _exports.fireEvent = fireEvent;\n  var DEFAULT_EVENT_OPTIONS = {\n    canBubble: true,\n    cancelable: true\n  };\n  var KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup'];\n  var MOUSE_EVENT_TYPES = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];\n\n  function focus(el) {\n    if (!el) {\n      return;\n    }\n\n    if (el.isContentEditable || (0, _isFormControl.default)(el)) {\n      var type = el.getAttribute('type');\n\n      if (type !== 'checkbox' && type !== 'radio' && type !== 'hidden') {\n        (0, _runloop.run)(null, function () {\n          var browserIsNotFocused = document.hasFocus && !document.hasFocus(); // makes `document.activeElement` be `element`. If the browser is focused, it also fires a focus event\n\n          el.focus(); // Firefox does not trigger the `focusin` event if the window\n          // does not have focus. If the document does not have focus then\n          // fire `focusin` event as well.\n\n          if (browserIsNotFocused) {\n            // if the browser is not focused the previous `el.focus()` didn't fire an event, so we simulate it\n            fireEvent(el, 'focus', {\n              bubbles: false\n            });\n            fireEvent(el, 'focusin');\n          }\n        });\n      }\n    }\n  }\n\n  function fireEvent(element, type, options = {}) {\n    if (!element) {\n      return;\n    }\n\n    var event;\n\n    if (KEYBOARD_EVENT_TYPES.indexOf(type) > -1) {\n      event = buildKeyboardEvent(type, options);\n    } else if (MOUSE_EVENT_TYPES.indexOf(type) > -1) {\n      var rect = element.getBoundingClientRect();\n      var x = rect.left + 1;\n      var y = rect.top + 1;\n      var simulatedCoordinates = {\n        screenX: x + 5,\n        screenY: y + 95,\n        clientX: x,\n        clientY: y\n      };\n      event = buildMouseEvent(type, (0, _polyfills.assign)(simulatedCoordinates, options));\n    } else {\n      event = buildBasicEvent(type, options);\n    }\n\n    element.dispatchEvent(event);\n  }\n\n  function buildBasicEvent(type, options = {}) {\n    var event = document.createEvent('Events'); // Event.bubbles is read only\n\n    var bubbles = options.bubbles !== undefined ? options.bubbles : true;\n    var cancelable = options.cancelable !== undefined ? options.cancelable : true;\n    delete options.bubbles;\n    delete options.cancelable;\n    event.initEvent(type, bubbles, cancelable);\n    (0, _polyfills.assign)(event, options);\n    return event;\n  }\n\n  function buildMouseEvent(type, options = {}) {\n    var event;\n\n    try {\n      event = document.createEvent('MouseEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initMouseEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.detail, eventOpts.screenX, eventOpts.screenY, eventOpts.clientX, eventOpts.clientY, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.button, eventOpts.relatedTarget);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n\n    return event;\n  }\n\n  function buildKeyboardEvent(type, options = {}) {\n    var event;\n\n    try {\n      event = document.createEvent('KeyEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initKeyEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.keyCode, eventOpts.charCode);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n\n    return event;\n  }\n});","define(\"ember-testing/lib/ext/application\", [\"@ember/application\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/run\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/adapter\"], function (_application, _setup_for_testing, _helpers, _promise, _run, _on_inject_helpers, _adapter) {\n  \"use strict\";\n\n  _application.default.reopen({\n    /**\n     This property contains the testing helpers for the current application. These\n     are created once you call `injectTestHelpers` on your `Application`\n     instance. The included helpers are also available on the `window` object by\n     default, but can be used from this object on the individual application also.\n       @property testHelpers\n      @type {Object}\n      @default {}\n      @public\n    */\n    testHelpers: {},\n\n    /**\n     This property will contain the original methods that were registered\n     on the `helperContainer` before `injectTestHelpers` is called.\n      When `removeTestHelpers` is called, these methods are restored to the\n     `helperContainer`.\n       @property originalMethods\n      @type {Object}\n      @default {}\n      @private\n      @since 1.3.0\n    */\n    originalMethods: {},\n\n    /**\n    This property indicates whether or not this application is currently in\n    testing mode. This is set when `setupForTesting` is called on the current\n    application.\n     @property testing\n    @type {Boolean}\n    @default false\n    @since 1.3.0\n    @public\n    */\n    testing: false,\n\n    /**\n      This hook defers the readiness of the application, so that you can start\n      the app when your tests are ready to run. It also sets the router's\n      location to 'none', so that the window's location will not be modified\n      (preventing both accidental leaking of state between tests and interference\n      with your testing framework). `setupForTesting` should only be called after\n      setting a custom `router` class (for example `App.Router = Router.extend(`).\n       Example:\n       ```\n      App.setupForTesting();\n      ```\n       @method setupForTesting\n      @public\n    */\n    setupForTesting() {\n      (0, _setup_for_testing.default)();\n      this.testing = true;\n      this.resolveRegistration('router:main').reopen({\n        location: 'none'\n      });\n    },\n\n    /**\n      This will be used as the container to inject the test helpers into. By\n      default the helpers are injected into `window`.\n       @property helperContainer\n      @type {Object} The object to be used for test helpers.\n      @default window\n      @since 1.2.0\n      @private\n    */\n    helperContainer: null,\n\n    /**\n      This injects the test helpers into the `helperContainer` object. If an object is provided\n      it will be used as the helperContainer. If `helperContainer` is not set it will default\n      to `window`. If a function of the same name has already been defined it will be cached\n      (so that it can be reset if the helper is removed with `unregisterHelper` or\n      `removeTestHelpers`).\n       Any callbacks registered with `onInjectHelpers` will be called once the\n      helpers have been injected.\n       Example:\n      ```\n      App.injectTestHelpers();\n      ```\n       @method injectTestHelpers\n      @public\n    */\n    injectTestHelpers(helperContainer) {\n      if (helperContainer) {\n        this.helperContainer = helperContainer;\n      } else {\n        this.helperContainer = window;\n      }\n\n      this.reopen({\n        willDestroy() {\n          this._super(...arguments);\n\n          this.removeTestHelpers();\n        }\n\n      });\n      this.testHelpers = {};\n\n      for (var name in _helpers.helpers) {\n        this.originalMethods[name] = this.helperContainer[name];\n        this.testHelpers[name] = this.helperContainer[name] = helper(this, name);\n        protoWrap(_promise.default.prototype, name, helper(this, name), _helpers.helpers[name].meta.wait);\n      }\n\n      (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\n    },\n\n    /**\n      This removes all helpers that have been registered, and resets and functions\n      that were overridden by the helpers.\n       Example:\n       ```javascript\n      App.removeTestHelpers();\n      ```\n       @public\n      @method removeTestHelpers\n    */\n    removeTestHelpers() {\n      if (!this.helperContainer) {\n        return;\n      }\n\n      for (var name in _helpers.helpers) {\n        this.helperContainer[name] = this.originalMethods[name];\n        delete _promise.default.prototype[name];\n        delete this.testHelpers[name];\n        delete this.originalMethods[name];\n      }\n    }\n\n  }); // This method is no longer needed\n  // But still here for backwards compatibility\n  // of helper chaining\n\n\n  function protoWrap(proto, name, callback, isAsync) {\n    proto[name] = function (...args) {\n      if (isAsync) {\n        return callback.apply(this, args);\n      } else {\n        return this.then(function () {\n          return callback.apply(this, args);\n        });\n      }\n    };\n  }\n\n  function helper(app, name) {\n    var fn = _helpers.helpers[name].method;\n    var meta = _helpers.helpers[name].meta;\n\n    if (!meta.wait) {\n      return (...args) => fn.apply(app, [app, ...args]);\n    }\n\n    return (...args) => {\n      var lastPromise = (0, _run.default)(() => (0, _promise.resolve)((0, _promise.getLastPromise)())); // wait for last helper's promise to resolve and then\n      // execute. To be safe, we need to tell the adapter we're going\n      // asynchronous here, because fn may not be invoked before we\n      // return.\n\n      (0, _adapter.asyncStart)();\n      return lastPromise.then(() => fn.apply(app, [app, ...args])).finally(_adapter.asyncEnd);\n    };\n  }\n});","define(\"ember-testing/lib/ext/rsvp\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/debug\", \"ember-testing/lib/test/adapter\"], function (_exports, _runtime, _runloop, _debug, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  _runtime.RSVP.configure('async', function (callback, promise) {\n    // if schedule will cause autorun, we need to inform adapter\n    if ((0, _debug.isTesting)() && !_runloop.backburner.currentInstance) {\n      (0, _adapter.asyncStart)();\n\n      _runloop.backburner.schedule('actions', () => {\n        (0, _adapter.asyncEnd)();\n        callback(promise);\n      });\n    } else {\n      _runloop.backburner.schedule('actions', () => callback(promise));\n    }\n  });\n\n  var _default = _runtime.RSVP;\n  _exports.default = _default;\n});","define(\"ember-testing/lib/helpers\", [\"ember-testing/lib/test/helpers\", \"ember-testing/lib/helpers/and_then\", \"ember-testing/lib/helpers/click\", \"ember-testing/lib/helpers/current_path\", \"ember-testing/lib/helpers/current_route_name\", \"ember-testing/lib/helpers/current_url\", \"ember-testing/lib/helpers/fill_in\", \"ember-testing/lib/helpers/find\", \"ember-testing/lib/helpers/find_with_assert\", \"ember-testing/lib/helpers/key_event\", \"ember-testing/lib/helpers/pause_test\", \"ember-testing/lib/helpers/trigger_event\", \"ember-testing/lib/helpers/visit\", \"ember-testing/lib/helpers/wait\"], function (_helpers, _and_then, _click, _current_path, _current_route_name, _current_url, _fill_in, _find, _find_with_assert, _key_event, _pause_test, _trigger_event, _visit, _wait) {\n  \"use strict\";\n\n  (0, _helpers.registerAsyncHelper)('visit', _visit.default);\n  (0, _helpers.registerAsyncHelper)('click', _click.default);\n  (0, _helpers.registerAsyncHelper)('keyEvent', _key_event.default);\n  (0, _helpers.registerAsyncHelper)('fillIn', _fill_in.default);\n  (0, _helpers.registerAsyncHelper)('wait', _wait.default);\n  (0, _helpers.registerAsyncHelper)('andThen', _and_then.default);\n  (0, _helpers.registerAsyncHelper)('pauseTest', _pause_test.pauseTest);\n  (0, _helpers.registerAsyncHelper)('triggerEvent', _trigger_event.default);\n  (0, _helpers.registerHelper)('find', _find.default);\n  (0, _helpers.registerHelper)('findWithAssert', _find_with_assert.default);\n  (0, _helpers.registerHelper)('currentRouteName', _current_route_name.default);\n  (0, _helpers.registerHelper)('currentPath', _current_path.default);\n  (0, _helpers.registerHelper)('currentURL', _current_url.default);\n  (0, _helpers.registerHelper)('resumeTest', _pause_test.resumeTest);\n});","define(\"ember-testing/lib/helpers/-is-form-control\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isFormControl;\n  var FORM_CONTROL_TAGS = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'];\n  /**\n    @private\n    @param {Element} element the element to check\n    @returns {boolean} `true` when the element is a form control, `false` otherwise\n  */\n\n  function isFormControl(element) {\n    var {\n      tagName,\n      type\n    } = element;\n\n    if (type === 'hidden') {\n      return false;\n    }\n\n    return FORM_CONTROL_TAGS.indexOf(tagName) > -1;\n  }\n});","define(\"ember-testing/lib/helpers/and_then\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = andThen;\n\n  function andThen(app, callback) {\n    return app.testHelpers.wait(callback(app));\n  }\n});","define(\"ember-testing/lib/helpers/click\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = click;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Clicks an element and triggers any actions triggered by the element's `click`\n    event.\n  \n    Example:\n  \n    ```javascript\n    click('.some-jQuery-selector').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method click\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {Object} context A DOM Element, Document, or jQuery to use as context\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function click(app, selector, context) {\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, 'mousedown');\n    (0, _events.focus)(el);\n    (0, _events.fireEvent)(el, 'mouseup');\n    (0, _events.fireEvent)(el, 'click');\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/current_path\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentPath;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current path.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentPath\n  @return {Object} The currently active path.\n  @since 1.5.0\n  @public\n  */\n  function currentPath(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\n    return (0, _metal.get)(routingService, 'currentPath');\n  }\n});","define(\"ember-testing/lib/helpers/current_route_name\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentRouteName;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the currently active route name.\n  \n  Example:\n  \n  ```javascript\n  function validateRouteName() {\n    equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n  }\n  visit('/some/path').then(validateRouteName)\n  ```\n  \n  @method currentRouteName\n  @return {Object} The name of the currently active route.\n  @since 1.5.0\n  @public\n  */\n  function currentRouteName(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\n    return (0, _metal.get)(routingService, 'currentRouteName');\n  }\n});","define(\"ember-testing/lib/helpers/current_url\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentURL;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current URL.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentURL\n  @return {Object} The currently active URL.\n  @since 1.5.0\n  @public\n  */\n  function currentURL(app) {\n    var router = app.__container__.lookup('router:main');\n\n    return (0, _metal.get)(router, 'location').getURL();\n  }\n});","define(\"ember-testing/lib/helpers/fill_in\", [\"exports\", \"ember-testing/lib/events\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _events, _isFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = fillIn;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Fills in an input element with some text.\n  \n    Example:\n  \n    ```javascript\n    fillIn('#email', 'you@example.com').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method fillIn\n    @param {String} selector jQuery selector finding an input element on the DOM\n    to fill text with\n    @param {String} text text to place inside the input element\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function fillIn(app, selector, contextOrText, text) {\n    var $el, el, context;\n\n    if (text === undefined) {\n      text = contextOrText;\n    } else {\n      context = contextOrText;\n    }\n\n    $el = app.testHelpers.findWithAssert(selector, context);\n    el = $el[0];\n    (0, _events.focus)(el);\n\n    if ((0, _isFormControl.default)(el)) {\n      el.value = text;\n    } else {\n      el.innerHTML = text;\n    }\n\n    (0, _events.fireEvent)(el, 'input');\n    (0, _events.fireEvent)(el, 'change');\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/find\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views\"], function (_exports, _metal, _debug, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = find;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Finds an element in the context of the app's container element. A simple alias\n    for `app.$(selector)`.\n  \n    Example:\n  \n    ```javascript\n    var $el = find('.my-selector');\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = find('.my-selector', '.parent-element-class');\n    ```\n  \n    @method find\n    @param {String} selector jQuery selector for element lookup\n    @param {String} [context] (optional) jQuery selector that will limit the selector\n                              argument to find only within the context's children\n    @return {Object} DOM element representing the results of the query\n    @public\n  */\n  function find(app, selector, context) {\n    if (_views.jQueryDisabled) {\n      (true && !(false) && (0, _debug.assert)('If jQuery is disabled, please import and use helpers from @ember/test-helpers [https://github.com/emberjs/ember-test-helpers]. Note: `find` is not an available helper.'));\n    }\n\n    var $el;\n    context = context || (0, _metal.get)(app, 'rootElement');\n    $el = app.$(selector, context);\n    return $el;\n  }\n});","define(\"ember-testing/lib/helpers/find_with_assert\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = findWithAssert;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Like `find`, but throws an error if the element selector returns no results.\n  \n    Example:\n  \n    ```javascript\n    var $el = findWithAssert('.doesnt-exist'); // throws error\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n    ```\n  \n    @method findWithAssert\n    @param {String} selector jQuery selector string for finding an element within\n    the DOM\n    @param {String} [context] (optional) jQuery selector that will limit the\n    selector argument to find only within the context's children\n    @return {Object} jQuery object representing the results of the query\n    @throws {Error} throws error if object returned has a length of 0\n    @public\n  */\n  function findWithAssert(app, selector, context) {\n    var $el = app.testHelpers.find(selector, context);\n\n    if ($el.length === 0) {\n      throw new Error('Element ' + selector + ' not found.');\n    }\n\n    return $el;\n  }\n});","define(\"ember-testing/lib/helpers/key_event\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = keyEvent;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\n    Example:\n    ```javascript\n    keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n     // assert something\n    });\n    ```\n    @method keyEvent\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup`\n    @param {Number} keyCode the keyCode of the simulated key event\n    @return {RSVP.Promise<undefined>}\n    @since 1.5.0\n    @public\n  */\n  function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) {\n    var context, type;\n\n    if (keyCode === undefined) {\n      context = null;\n      keyCode = typeOrKeyCode;\n      type = contextOrType;\n    } else {\n      context = contextOrType;\n      type = typeOrKeyCode;\n    }\n\n    return app.testHelpers.triggerEvent(selector, context, type, {\n      keyCode,\n      which: keyCode\n    });\n  }\n});","define(\"ember-testing/lib/helpers/pause_test\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _runtime, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.resumeTest = resumeTest;\n  _exports.pauseTest = pauseTest;\n\n  /**\n  @module ember\n  */\n  var resume;\n  /**\n   Resumes a test paused by `pauseTest`.\n  \n   @method resumeTest\n   @return {void}\n   @public\n  */\n\n  function resumeTest() {\n    (true && !(resume) && (0, _debug.assert)('Testing has not been paused. There is nothing to resume.', resume));\n    resume();\n    resume = undefined;\n  }\n  /**\n   Pauses the current test - this is useful for debugging while testing or for test-driving.\n   It allows you to inspect the state of your application at any point.\n   Example (The test will pause before clicking the button):\n  \n   ```javascript\n   visit('/')\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   You may want to turn off the timeout before pausing.\n  \n   qunit (timeout available to use as of 2.4.0):\n  \n   ```\n   visit('/');\n   assert.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   mocha (timeout happens automatically as of ember-mocha v0.14.0):\n  \n   ```\n   visit('/');\n   this.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n  \n   @since 1.9.0\n   @method pauseTest\n   @return {Object} A promise that will never resolve\n   @public\n  */\n\n\n  function pauseTest() {\n    (0, _debug.info)('Testing paused. Use `resumeTest()` to continue.');\n    return new _runtime.RSVP.Promise(resolve => {\n      resume = resolve;\n    }, 'TestAdapter paused promise');\n  }\n});","define(\"ember-testing/lib/helpers/trigger_event\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = triggerEvent;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Triggers the given DOM event on the element identified by the provided selector.\n    Example:\n    ```javascript\n    triggerEvent('#some-elem-id', 'blur');\n    ```\n    This is actually used internally by the `keyEvent` helper like so:\n    ```javascript\n    triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n    ```\n   @method triggerEvent\n   @param {String} selector jQuery selector for finding element on the DOM\n   @param {String} [context] jQuery selector that will limit the selector\n                             argument to find only within the context's children\n   @param {String} type The event type to be triggered.\n   @param {Object} [options] The options to be passed to jQuery.Event.\n   @return {RSVP.Promise<undefined>}\n   @since 1.5.0\n   @public\n  */\n  function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n    var arity = arguments.length;\n    var context, type, options;\n\n    if (arity === 3) {\n      // context and options are optional, so this is\n      // app, selector, type\n      context = null;\n      type = contextOrType;\n      options = {};\n    } else if (arity === 4) {\n      // context and options are optional, so this is\n      if (typeof typeOrOptions === 'object') {\n        // either\n        // app, selector, type, options\n        context = null;\n        type = contextOrType;\n        options = typeOrOptions;\n      } else {\n        // or\n        // app, selector, context, type\n        context = contextOrType;\n        type = typeOrOptions;\n        options = {};\n      }\n    } else {\n      context = contextOrType;\n      type = typeOrOptions;\n      options = possibleOptions;\n    }\n\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, type, options);\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/visit\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = visit;\n\n  /**\n    Loads a route, sets up any controllers, and renders any templates associated\n    with the route as though a real user had triggered the route change while\n    using your app.\n  \n    Example:\n  \n    ```javascript\n    visit('posts/index').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method visit\n    @param {String} url the name of the route\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n  function visit(app, url) {\n    var router = app.__container__.lookup('router:main');\n\n    var shouldHandleURL = false;\n    app.boot().then(() => {\n      router.location.setURL(url);\n\n      if (shouldHandleURL) {\n        (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n      }\n    });\n\n    if (app._readinessDeferrals > 0) {\n      router.initialURL = url;\n      (0, _runloop.run)(app, 'advanceReadiness');\n      delete router.initialURL;\n    } else {\n      shouldHandleURL = true;\n    }\n\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/wait\", [\"exports\", \"ember-testing/lib/test/waiters\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"ember-testing/lib/test/pending_requests\"], function (_exports, _waiters, _runtime, _runloop, _pending_requests) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = wait;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Causes the run loop to process any pending events. This is used to ensure that\n    any async operations from other helpers (or your assertions) have been processed.\n  \n    This is most often used as the return value for the helper functions (see 'click',\n    'fillIn','visit',etc). However, there is a method to register a test helper which\n    utilizes this method without the need to actually call `wait()` in your helpers.\n  \n    The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n    to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n  \n    Example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('loginUser', function(app, username, password) {\n      visit('secured/path/here')\n        .fillIn('#username', username)\n        .fillIn('#password', password)\n        .click('.submit');\n    });\n    ```\n  \n    @method wait\n    @param {Object} value The value to be returned.\n    @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n    @public\n    @since 1.0.0\n  */\n  function wait(app, value) {\n    return new _runtime.RSVP.Promise(function (resolve) {\n      var router = app.__container__.lookup('router:main'); // Every 10ms, poll for the async thing to have finished\n\n\n      var watcher = setInterval(() => {\n        // 1. If the router is loading, keep polling\n        var routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n\n        if (routerIsLoading) {\n          return;\n        } // 2. If there are pending Ajax requests, keep polling\n\n\n        if ((0, _pending_requests.pendingRequests)()) {\n          return;\n        } // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n\n\n        if ((0, _runloop.hasScheduledTimers)() || (0, _runloop.getCurrentRunLoop)()) {\n          return;\n        }\n\n        if ((0, _waiters.checkWaiters)()) {\n          return;\n        } // Stop polling\n\n\n        clearInterval(watcher); // Synchronously resolve the promise\n\n        (0, _runloop.run)(null, resolve, value);\n      }, 10);\n    });\n  }\n});","define(\"ember-testing/lib/initializers\", [\"@ember/application\"], function (_application) {\n  \"use strict\";\n\n  var name = 'deferReadiness in `testing` mode';\n  (0, _application.onLoad)('Ember.Application', function (Application) {\n    if (!Application.initializers[name]) {\n      Application.initializer({\n        name: name,\n\n        initialize(application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\n        }\n\n      });\n    }\n  });\n});","define(\"ember-testing/lib/setup_for_testing\", [\"exports\", \"@ember/debug\", \"@ember/-internals/views\", \"ember-testing/lib/test/adapter\", \"ember-testing/lib/test/pending_requests\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/adapters/qunit\"], function (_exports, _debug, _views, _adapter, _pending_requests, _adapter2, _qunit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupForTesting;\n\n  /* global self */\n\n  /**\n    Sets Ember up for testing. This is useful to perform\n    basic setup steps in order to unit test.\n  \n    Use `App.setupForTesting` to perform integration tests (full\n    application testing).\n  \n    @method setupForTesting\n    @namespace Ember\n    @since 1.5.0\n    @private\n  */\n  function setupForTesting() {\n    (0, _debug.setTesting)(true);\n    var adapter = (0, _adapter.getAdapter)(); // if adapter is not manually set default to QUnit\n\n    if (!adapter) {\n      (0, _adapter.setAdapter)(typeof self.QUnit === 'undefined' ? _adapter2.default.create() : _qunit.default.create());\n    }\n\n    if (!_views.jQueryDisabled) {\n      (0, _views.jQuery)(document).off('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).off('ajaxComplete', _pending_requests.decrementPendingRequests);\n      (0, _pending_requests.clearPendingRequests)();\n      (0, _views.jQuery)(document).on('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).on('ajaxComplete', _pending_requests.decrementPendingRequests);\n    }\n  }\n});","define(\"ember-testing/lib/support\", [\"@ember/debug\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\"], function (_debug, _views, _browserEnvironment) {\n  \"use strict\";\n\n  /**\n    @module ember\n  */\n  var $ = _views.jQuery;\n  /**\n    This method creates a checkbox and triggers the click event to fire the\n    passed in handler. It is used to correct for a bug in older versions\n    of jQuery (e.g 1.8.3).\n  \n    @private\n    @method testCheckboxClick\n  */\n\n  function testCheckboxClick(handler) {\n    var input = document.createElement('input');\n    $(input).attr('type', 'checkbox').css({\n      position: 'absolute',\n      left: '-1000px',\n      top: '-1000px'\n    }).appendTo('body').on('click', handler).trigger('click').remove();\n  }\n\n  if (_browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n    $(function () {\n      /*\n        Determine whether a checkbox checked using jQuery's \"click\" method will have\n        the correct value for its checked property.\n         If we determine that the current jQuery version exhibits this behavior,\n        patch it to work correctly as in the commit for the actual fix:\n        https://github.com/jquery/jquery/commit/1fb2f92.\n      */\n      testCheckboxClick(function () {\n        if (!this.checked && !$.event.special.click) {\n          $.event.special.click = {\n            // For checkbox, fire native event so checked state will be right\n            trigger() {\n              if (this.nodeName === 'INPUT' && this.type === 'checkbox' && this.click) {\n                this.click();\n                return false;\n              }\n            }\n\n          };\n        }\n      }); // Try again to verify that the patch took effect or blow up.\n\n      testCheckboxClick(function () {\n        (true && (0, _debug.warn)(\"clicked checkboxes should be checked! the jQuery patch didn't work\", this.checked, {\n          id: 'ember-testing.test-checkbox-click'\n        }));\n      });\n    });\n  }\n});","define(\"ember-testing/lib/test\", [\"exports\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/waiters\", \"ember-testing/lib/test/adapter\"], function (_exports, _helpers, _on_inject_helpers, _promise, _waiters, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    @module ember\n  */\n\n  /**\n    This is a container for an assortment of testing related functionality:\n  \n    * Choose your default test adapter (for your framework of choice).\n    * Register/Unregister additional test helpers.\n    * Setup callbacks to be fired when the test helpers are injected into\n      your application.\n  \n    @class Test\n    @namespace Ember\n    @public\n  */\n  var Test = {\n    /**\n      Hash containing all known test helpers.\n       @property _helpers\n      @private\n      @since 1.7.0\n    */\n    _helpers: _helpers.helpers,\n    registerHelper: _helpers.registerHelper,\n    registerAsyncHelper: _helpers.registerAsyncHelper,\n    unregisterHelper: _helpers.unregisterHelper,\n    onInjectHelpers: _on_inject_helpers.onInjectHelpers,\n    Promise: _promise.default,\n    promise: _promise.promise,\n    resolve: _promise.resolve,\n    registerWaiter: _waiters.registerWaiter,\n    unregisterWaiter: _waiters.unregisterWaiter,\n    checkWaiters: _waiters.checkWaiters\n  };\n  /**\n   Used to allow ember-testing to communicate with a specific testing\n   framework.\n  \n   You can manually set it before calling `App.setupForTesting()`.\n  \n   Example:\n  \n   ```javascript\n   Ember.Test.adapter = MyCustomAdapter.create()\n   ```\n  \n   If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n  \n   @public\n   @for Ember.Test\n   @property adapter\n   @type {Class} The adapter to be used.\n   @default Ember.Test.QUnitAdapter\n  */\n\n  Object.defineProperty(Test, 'adapter', {\n    get: _adapter.getAdapter,\n    set: _adapter.setAdapter\n  });\n  var _default = Test;\n  _exports.default = _default;\n});","define(\"ember-testing/lib/test/adapter\", [\"exports\", \"@ember/-internals/error-handling\"], function (_exports, _errorHandling) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getAdapter = getAdapter;\n  _exports.setAdapter = setAdapter;\n  _exports.asyncStart = asyncStart;\n  _exports.asyncEnd = asyncEnd;\n  var adapter;\n\n  function getAdapter() {\n    return adapter;\n  }\n\n  function setAdapter(value) {\n    adapter = value;\n\n    if (value && typeof value.exception === 'function') {\n      (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n    } else {\n      (0, _errorHandling.setDispatchOverride)(null);\n    }\n  }\n\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\n  }\n\n  function adapterDispatch(error) {\n    adapter.exception(error);\n    console.error(error.stack); // eslint-disable-line no-console\n  }\n});","define(\"ember-testing/lib/test/helpers\", [\"exports\", \"ember-testing/lib/test/promise\"], function (_exports, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHelper = registerHelper;\n  _exports.registerAsyncHelper = registerAsyncHelper;\n  _exports.unregisterHelper = unregisterHelper;\n  _exports.helpers = void 0;\n  var helpers = {};\n  /**\n   @module @ember/test\n  */\n\n  /**\n    `registerHelper` is used to register a test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    This helper can later be called without arguments because it will be\n    called with `app` as the first parameter.\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    App = Application.create();\n    App.injectTestHelpers();\n    boot();\n    ```\n  \n    @public\n    @for @ember/test\n    @static\n    @method registerHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @param options {Object}\n  */\n\n  _exports.helpers = helpers;\n\n  function registerHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: false\n      }\n    };\n  }\n  /**\n    `registerAsyncHelper` is used to register an async test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerAsyncHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    The advantage of an async helper is that it will not run\n    until the last async helper has completed.  All async helpers\n    after it will wait for it complete before running.\n  \n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('deletePost', function(app, postId) {\n      click('.delete-' + postId);\n    });\n  \n    // ... in your test\n    visit('/post/2');\n    deletePost(2);\n    visit('/post/3');\n    deletePost(3);\n    ```\n  \n    @public\n    @for @ember/test\n    @method registerAsyncHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @since 1.2.0\n  */\n\n\n  function registerAsyncHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: true\n      }\n    };\n  }\n  /**\n    Remove a previously added helper method.\n  \n    Example:\n  \n    ```javascript\n    import { unregisterHelper } from '@ember/test';\n  \n    unregisterHelper('wait');\n    ```\n  \n    @public\n    @method unregisterHelper\n    @static\n    @for @ember/test\n    @param {String} name The helper to remove.\n  */\n\n\n  function unregisterHelper(name) {\n    delete helpers[name];\n    delete _promise.default.prototype[name];\n  }\n});","define(\"ember-testing/lib/test/on_inject_helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.onInjectHelpers = onInjectHelpers;\n  _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  _exports.callbacks = void 0;\n  var callbacks = [];\n  /**\n    Used to register callbacks to be fired whenever `App.injectTestHelpers`\n    is called.\n  \n    The callback will receive the current application as an argument.\n  \n    Example:\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.Test.onInjectHelpers(function() {\n      $(document).ajaxSend(function() {\n        Test.pendingRequests++;\n      });\n  \n      $(document).ajaxComplete(function() {\n        Test.pendingRequests--;\n      });\n    });\n    ```\n  \n    @public\n    @for Ember.Test\n    @method onInjectHelpers\n    @param {Function} callback The function to be called.\n  */\n\n  _exports.callbacks = callbacks;\n\n  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\n\n  function invokeInjectHelpersCallbacks(app) {\n    for (var i = 0; i < callbacks.length; i++) {\n      callbacks[i](app);\n    }\n  }\n});","define(\"ember-testing/lib/test/pending_requests\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pendingRequests = pendingRequests;\n  _exports.clearPendingRequests = clearPendingRequests;\n  _exports.incrementPendingRequests = incrementPendingRequests;\n  _exports.decrementPendingRequests = decrementPendingRequests;\n  var requests = [];\n\n  function pendingRequests() {\n    return requests.length;\n  }\n\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\n\n  function decrementPendingRequests(_, xhr) {\n    setTimeout(function () {\n      for (var i = 0; i < requests.length; i++) {\n        if (xhr === requests[i]) {\n          requests.splice(i, 1);\n          break;\n        }\n      }\n    }, 0);\n  }\n});","define(\"ember-testing/lib/test/promise\", [\"exports\", \"@ember/-internals/runtime\", \"ember-testing/lib/test/run\"], function (_exports, _runtime, _run) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.promise = promise;\n  _exports.resolve = resolve;\n  _exports.getLastPromise = getLastPromise;\n  _exports.default = void 0;\n  var lastPromise;\n\n  class TestPromise extends _runtime.RSVP.Promise {\n    constructor() {\n      super(...arguments);\n      lastPromise = this;\n    }\n\n    then(_onFulfillment, ...args) {\n      var onFulfillment = typeof _onFulfillment === 'function' ? result => isolate(_onFulfillment, result) : undefined;\n      return super.then(onFulfillment, ...args);\n    }\n\n  }\n  /**\n    This returns a thenable tailored for testing.  It catches failed\n    `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n    callback in the last chained then.\n  \n    This method should be returned by async helpers such as `wait`.\n  \n    @public\n    @for Ember.Test\n    @method promise\n    @param {Function} resolver The function used to resolve the promise.\n    @param {String} label An optional string for identifying the promise.\n  */\n\n\n  _exports.default = TestPromise;\n\n  function promise(resolver, label) {\n    var fullLabel = `Ember.Test.promise: ${label || '<Unknown Promise>'}`;\n    return new TestPromise(resolver, fullLabel);\n  }\n  /**\n    Replacement for `Ember.RSVP.resolve`\n    The only difference is this uses\n    an instance of `Ember.Test.Promise`\n  \n    @public\n    @for Ember.Test\n    @method resolve\n    @param {Mixed} The value to resolve\n    @since 1.2.0\n  */\n\n\n  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\n\n  function getLastPromise() {\n    return lastPromise;\n  } // This method isolates nested async methods\n  // so that they don't conflict with other last promises.\n  //\n  // 1. Set `Ember.Test.lastPromise` to null\n  // 2. Invoke method\n  // 3. Return the last promise created during method\n\n\n  function isolate(onFulfillment, result) {\n    // Reset lastPromise for nested helpers\n    lastPromise = null;\n    var value = onFulfillment(result);\n    var promise = lastPromise;\n    lastPromise = null; // If the method returned a promise\n    // return that promise. If not,\n    // return the last async helper's promise\n\n    if (value && value instanceof TestPromise || !promise) {\n      return value;\n    } else {\n      return (0, _run.default)(() => resolve(promise).then(() => value));\n    }\n  }\n});","define(\"ember-testing/lib/test/run\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = run;\n\n  function run(fn) {\n    if (!(0, _runloop.getCurrentRunLoop)()) {\n      return (0, _runloop.run)(fn);\n    } else {\n      return fn();\n    }\n  }\n});","define(\"ember-testing/lib/test/waiters\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerWaiter = registerWaiter;\n  _exports.unregisterWaiter = unregisterWaiter;\n  _exports.checkWaiters = checkWaiters;\n\n  /**\n   @module @ember/test\n  */\n  var contexts = [];\n  var callbacks = [];\n  /**\n     This allows ember-testing to play nicely with other asynchronous\n     events, such as an application that is waiting for a CSS3\n     transition or an IndexDB transaction. The waiter runs periodically\n     after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n     until the returning result is truthy. After the waiters finish, the next async helper\n     is executed and the process repeats.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(function() {\n       return myPendingTransactions() === 0;\n     });\n     ```\n     The `context` argument allows you to optionally specify the `this`\n     with which your callback will be invoked.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(MyDB, MyDB.hasPendingTransactions);\n     ```\n  \n     @public\n     @for @ember/test\n     @static\n     @method registerWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function registerWaiter(context, callback) {\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n\n    if (indexOf(context, callback) > -1) {\n      return;\n    }\n\n    contexts.push(context);\n    callbacks.push(callback);\n  }\n  /**\n     `unregisterWaiter` is used to unregister a callback that was\n     registered with `registerWaiter`.\n  \n     @public\n     @for @ember/test\n     @static\n     @method unregisterWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n\n  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n\n    var i = indexOf(context, callback);\n\n    if (i === -1) {\n      return;\n    }\n\n    contexts.splice(i, 1);\n    callbacks.splice(i, 1);\n  }\n  /**\n    Iterates through each registered test waiter, and invokes\n    its callback. If any waiter returns false, this method will return\n    true indicating that the waiters have not settled yet.\n  \n    This is generally used internally from the acceptance/integration test\n    infrastructure.\n  \n    @public\n    @for @ember/test\n    @static\n    @method checkWaiters\n  */\n\n\n  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n\n  function indexOf(context, callback) {\n    for (var i = 0; i < callbacks.length; i++) {\n      if (callbacks[i] === callback && contexts[i] === context) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n});","define(\"ember/index\", [\"exports\", \"require\", \"@ember/-internals/environment\", \"node-module\", \"@ember/-internals/utils\", \"@ember/-internals/container\", \"@ember/instrumentation\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/canary-features\", \"@ember/debug\", \"backburner\", \"@ember/-internals/console\", \"@ember/controller\", \"@ember/controller/lib/controller_mixin\", \"@ember/string\", \"@ember/service\", \"@ember/object\", \"@ember/object/compat\", \"@ember/object/computed\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"ember/version\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/error\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/-internals/owner\", \"@ember/application\", \"@ember/application/globals-resolver\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/polyfills\", \"@ember/deprecated-features\", \"@ember/component/template-only\"], function (_exports, _require, _environment, _nodeModule, utils, _container, instrumentation, _meta, metal, _canaryFeatures, EmberDebug, _backburner, _console, _controller, _controller_mixin, _string, _service, _object, _compat, _computed, _runtime, _glimmer, _version, views, routing, extensionSupport, _error, runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _polyfills, _deprecatedFeatures, _templateOnly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // eslint-disable-next-line import/no-unresolved\n  // ****@ember/-internals/environment****\n  var Ember = typeof _environment.context.imports.Ember === 'object' && _environment.context.imports.Ember || {};\n  Ember.isNamespace = true;\n\n  Ember.toString = function () {\n    return 'Ember';\n  };\n\n  Object.defineProperty(Ember, 'ENV', {\n    get: _environment.getENV,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'lookup', {\n    get: _environment.getLookup,\n    set: _environment.setLookup,\n    enumerable: false\n  });\n\n  if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n    Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n      enumerable: false,\n\n      get() {\n        (true && !(false) && (0, EmberDebug.deprecate)('Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES', false, {\n          id: 'ember-env.old-extend-prototypes',\n          until: '4.0.0'\n        }));\n        return _environment.ENV.EXTEND_PROTOTYPES;\n      }\n\n    });\n  } // ****@ember/application****\n\n\n  Ember.getOwner = _owner.getOwner;\n  Ember.setOwner = _owner.setOwner;\n  Ember.Application = _application.default;\n  Ember.ApplicationInstance = _instance.default;\n  Object.defineProperty(Ember, 'Resolver', {\n    get() {\n      (true && !(false) && (0, EmberDebug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n        id: 'ember.globals-resolver',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver'\n      }));\n      return _globalsResolver.default;\n    }\n\n  });\n  Object.defineProperty(Ember, 'DefaultResolver', {\n    get() {\n      return Ember.Resolver;\n    }\n\n  }); // ****@ember/engine****\n\n  Ember.Engine = _engine.default;\n  Ember.EngineInstance = _instance2.default; // ****@ember/polyfills****\n\n  Ember.assign = _polyfills.assign;\n  Ember.merge = _polyfills.merge; // ****@ember/-internals/utils****\n\n  Ember.generateGuid = utils.generateGuid;\n  Ember.GUID_KEY = utils.GUID_KEY;\n  Ember.guidFor = utils.guidFor;\n  Ember.inspect = utils.inspect;\n  Ember.makeArray = utils.makeArray;\n  Ember.canInvoke = utils.canInvoke;\n  Ember.tryInvoke = utils.tryInvoke;\n  Ember.wrap = utils.wrap;\n  Ember.uuid = utils.uuid; // ****@ember/-internals/container****\n\n  Ember.Container = _container.Container;\n  Ember.Registry = _container.Registry; // ****@ember/debug****\n\n  Ember.assert = EmberDebug.assert;\n  Ember.warn = EmberDebug.warn;\n  Ember.debug = EmberDebug.debug;\n  Ember.deprecate = EmberDebug.deprecate;\n  Ember.deprecateFunc = EmberDebug.deprecateFunc;\n  Ember.runInDebug = EmberDebug.runInDebug; // ****@ember/error****\n\n  Ember.Error = _error.default;\n  /**\n    @public\n    @class Ember.Debug\n  */\n\n  Ember.Debug = {\n    registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n    registerWarnHandler: EmberDebug.registerWarnHandler,\n    isComputed: metal.isComputed\n  }; // ****@ember/instrumentation****\n\n  Ember.instrument = instrumentation.instrument;\n  Ember.subscribe = instrumentation.subscribe;\n  Ember.Instrumentation = {\n    instrument: instrumentation.instrument,\n    subscribe: instrumentation.subscribe,\n    unsubscribe: instrumentation.unsubscribe,\n    reset: instrumentation.reset\n  }; // ****@ember/runloop****\n  // Using _globalsRun here so that mutating the function (adding\n  // `next`, `later`, etc to it) is only available in globals builds\n\n  Ember.run = runloop._globalsRun;\n  Ember.run.backburner = runloop.backburner;\n  Ember.run.begin = runloop.begin;\n  Ember.run.bind = runloop.bind;\n  Ember.run.cancel = runloop.cancel;\n  Ember.run.debounce = runloop.debounce;\n  Ember.run.end = runloop.end;\n  Ember.run.hasScheduledTimers = runloop.hasScheduledTimers;\n  Ember.run.join = runloop.join;\n  Ember.run.later = runloop.later;\n  Ember.run.next = runloop.next;\n  Ember.run.once = runloop.once;\n  Ember.run.schedule = runloop.schedule;\n  Ember.run.scheduleOnce = runloop.scheduleOnce;\n  Ember.run.throttle = runloop.throttle;\n  Ember.run.cancelTimers = runloop.cancelTimers;\n  Object.defineProperty(Ember.run, 'currentRunLoop', {\n    get: runloop.getCurrentRunLoop,\n    enumerable: false\n  }); // ****@ember/-internals/metal****\n  // Using _globalsComputed here so that mutating the function is only available\n  // in globals builds\n\n  var computed = metal._globalsComputed;\n  Ember.computed = computed;\n  Ember._descriptor = metal.nativeDescDecorator;\n  Ember._tracked = metal.tracked;\n  computed.alias = metal.alias;\n  Ember.cacheFor = metal.getCachedValueFor;\n  Ember.ComputedProperty = metal.ComputedProperty;\n  Object.defineProperty(Ember, '_setComputedDecorator', {\n    get() {\n      (true && !(false) && (0, EmberDebug.deprecate)('Please migrate from Ember._setComputedDecorator to Ember._setClassicDecorator', false, {\n        id: 'ember._setComputedDecorator',\n        until: '3.13.0'\n      }));\n      return metal.setClassicDecorator;\n    }\n\n  });\n  Ember._setClassicDecorator = metal.setClassicDecorator;\n  Ember.meta = _meta.meta;\n  Ember.get = metal.get;\n  Ember.getWithDefault = metal.getWithDefault;\n  Ember._getPath = metal._getPath;\n  Ember.set = metal.set;\n  Ember.trySet = metal.trySet;\n  Ember.FEATURES = (0, _polyfills.assign)({\n    isEnabled: _canaryFeatures.isEnabled\n  }, _canaryFeatures.FEATURES);\n  Ember._Cache = utils.Cache;\n  Ember.on = metal.on;\n  Ember.addListener = metal.addListener;\n  Ember.removeListener = metal.removeListener;\n  Ember.sendEvent = metal.sendEvent;\n  Ember.hasListeners = metal.hasListeners;\n  Ember.isNone = metal.isNone;\n  Ember.isEmpty = metal.isEmpty;\n  Ember.isBlank = metal.isBlank;\n  Ember.isPresent = metal.isPresent;\n  Ember.notifyPropertyChange = metal.notifyPropertyChange;\n  Ember.beginPropertyChanges = metal.beginPropertyChanges;\n  Ember.endPropertyChanges = metal.endPropertyChanges;\n  Ember.changeProperties = metal.changeProperties;\n  Ember.platform = {\n    defineProperty: true,\n    hasPropertyAccessors: true\n  };\n  Ember.defineProperty = metal.defineProperty;\n  Ember.destroy = metal.destroy;\n  Ember.libraries = metal.libraries;\n  Ember.getProperties = metal.getProperties;\n  Ember.setProperties = metal.setProperties;\n  Ember.expandProperties = metal.expandProperties;\n  Ember.addObserver = metal.addObserver;\n  Ember.removeObserver = metal.removeObserver;\n  Ember.aliasMethod = metal.aliasMethod;\n  Ember.observer = metal.observer;\n  Ember.mixin = metal.mixin;\n  Ember.Mixin = metal.Mixin;\n  /**\n    A function may be assigned to `Ember.onerror` to be called when Ember\n    internals encounter an error. This is useful for specialized error handling\n    and reporting code.\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.onerror = function(error) {\n      $.ajax('/report-error', 'POST', {\n        stack: error.stack,\n        otherInformation: 'whatever app state you want to provide'\n      });\n    };\n    ```\n  \n    Internally, `Ember.onerror` is used as Backburner's error handler.\n  \n    @event onerror\n    @for Ember\n    @param {Exception} error the error object\n    @public\n  */\n\n  Object.defineProperty(Ember, 'onerror', {\n    get: _errorHandling.getOnerror,\n    set: _errorHandling.setOnerror,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'testing', {\n    get: EmberDebug.isTesting,\n    set: EmberDebug.setTesting,\n    enumerable: false\n  });\n  Ember._Backburner = _backburner.default; // ****@ember/-internals/console****\n\n  if (_deprecatedFeatures.LOGGER) {\n    Ember.Logger = _console.default;\n  } // ****@ember/-internals/runtime****\n\n\n  Ember.A = _runtime.A;\n  Ember.String = {\n    loc: _string.loc,\n    w: _string.w,\n    dasherize: _string.dasherize,\n    decamelize: _string.decamelize,\n    camelize: _string.camelize,\n    classify: _string.classify,\n    underscore: _string.underscore,\n    capitalize: _string.capitalize\n  };\n  Ember.Object = _runtime.Object;\n  Ember._RegistryProxyMixin = _runtime.RegistryProxyMixin;\n  Ember._ContainerProxyMixin = _runtime.ContainerProxyMixin;\n  Ember.compare = _runtime.compare;\n  Ember.copy = _runtime.copy;\n  Ember.isEqual = _runtime.isEqual;\n  Ember._setFrameworkClass = _runtime.setFrameworkClass;\n  /**\n  @module ember\n  */\n\n  /**\n    Namespace for injection helper methods.\n  \n    @class inject\n    @namespace Ember\n    @static\n    @public\n  */\n\n  Ember.inject = function inject() {\n    (true && !(false) && (0, EmberDebug.assert)(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`));\n  };\n\n  Ember.inject.service = _service.inject;\n  Ember.inject.controller = _controller.inject;\n  Ember.Array = _runtime.Array;\n  Ember.Comparable = _runtime.Comparable;\n  Ember.Enumerable = _runtime.Enumerable;\n  Ember.ArrayProxy = _runtime.ArrayProxy;\n  Ember.ObjectProxy = _runtime.ObjectProxy;\n  Ember.ActionHandler = _runtime.ActionHandler;\n  Ember.CoreObject = _runtime.CoreObject;\n  Ember.NativeArray = _runtime.NativeArray;\n  Ember.Copyable = _runtime.Copyable;\n  Ember.MutableEnumerable = _runtime.MutableEnumerable;\n  Ember.MutableArray = _runtime.MutableArray;\n  Ember.TargetActionSupport = _runtime.TargetActionSupport;\n  Ember.Evented = _runtime.Evented;\n  Ember.PromiseProxyMixin = _runtime.PromiseProxyMixin;\n  Ember.Observable = _runtime.Observable;\n  Ember.typeOf = _runtime.typeOf;\n  Ember.isArray = _runtime.isArray;\n  Ember.Object = _runtime.Object;\n  Ember.onLoad = _application.onLoad;\n  Ember.runLoadHooks = _application.runLoadHooks;\n  Ember.Controller = _controller.default;\n  Ember.ControllerMixin = _controller_mixin.default;\n  Ember.Service = _service.default;\n  Ember._ProxyMixin = _runtime._ProxyMixin;\n  Ember.RSVP = _runtime.RSVP;\n  Ember.Namespace = _runtime.Namespace;\n  Ember._action = _object.action;\n  Ember._dependentKeyCompat = _compat.dependentKeyCompat;\n  computed.empty = _computed.empty;\n  computed.notEmpty = _computed.notEmpty;\n  computed.none = _computed.none;\n  computed.not = _computed.not;\n  computed.bool = _computed.bool;\n  computed.match = _computed.match;\n  computed.equal = _computed.equal;\n  computed.gt = _computed.gt;\n  computed.gte = _computed.gte;\n  computed.lt = _computed.lt;\n  computed.lte = _computed.lte;\n  computed.oneWay = _computed.oneWay;\n  computed.reads = _computed.oneWay;\n  computed.readOnly = _computed.readOnly;\n  computed.deprecatingAlias = _computed.deprecatingAlias;\n  computed.and = _computed.and;\n  computed.or = _computed.or;\n  computed.sum = _computed.sum;\n  computed.min = _computed.min;\n  computed.max = _computed.max;\n  computed.map = _computed.map;\n  computed.sort = _computed.sort;\n  computed.setDiff = _computed.setDiff;\n  computed.mapBy = _computed.mapBy;\n  computed.filter = _computed.filter;\n  computed.filterBy = _computed.filterBy;\n  computed.uniq = _computed.uniq;\n  computed.uniqBy = _computed.uniqBy;\n  computed.union = _computed.union;\n  computed.intersect = _computed.intersect;\n  computed.collect = _computed.collect;\n  /**\n    Defines the hash of localized strings for the current language. Used by\n    the `String.loc` helper. To localize, add string values to this\n    hash.\n  \n    @property STRINGS\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'STRINGS', {\n    configurable: false,\n    get: _string._getStrings,\n    set: _string._setStrings\n  });\n  /**\n    Whether searching on the global for new Namespace instances is enabled.\n  \n    This is only exported here as to not break any addons.  Given the new\n    visit API, you will have issues if you treat this as a indicator of\n    booted.\n  \n    Internally this is only exposing a flag in Namespace.\n  \n    @property BOOTED\n    @for Ember\n    @type Boolean\n    @private\n  */\n\n  Object.defineProperty(Ember, 'BOOTED', {\n    configurable: false,\n    enumerable: false,\n    get: metal.isNamespaceSearchDisabled,\n    set: metal.setNamespaceSearchDisabled\n  }); // ****@ember/-internals/glimmer****\n\n  Ember.Component = _glimmer.Component;\n  _glimmer.Helper.helper = _glimmer.helper;\n  Ember.Helper = _glimmer.Helper;\n  Ember.Checkbox = _glimmer.Checkbox;\n  Ember.TextField = _glimmer.TextField;\n  Ember.TextArea = _glimmer.TextArea;\n  Ember.LinkComponent = _glimmer.LinkComponent;\n  Ember._setComponentManager = _glimmer.setComponentManager;\n  Ember._componentManagerCapabilities = _glimmer.capabilities;\n  Ember._setModifierManager = _glimmer.setModifierManager;\n  Ember._modifierManagerCapabilities = _glimmer.modifierCapabilities;\n\n  if (true\n  /* EMBER_GLIMMER_SET_COMPONENT_TEMPLATE */\n  ) {\n    Ember._getComponentTemplate = _glimmer.getComponentTemplate;\n    Ember._setComponentTemplate = _glimmer.setComponentTemplate;\n    Ember._templateOnlyComponent = _templateOnly.default;\n  }\n\n  Ember._captureRenderTree = EmberDebug.captureRenderTree;\n  Ember.Handlebars = {\n    template: _glimmer.template,\n    Utils: {\n      escapeExpression: _glimmer.escapeExpression\n    }\n  };\n  Ember.HTMLBars = {\n    template: _glimmer.template\n  };\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    String.prototype.htmlSafe = function () {\n      return (0, _glimmer.htmlSafe)(this);\n    };\n  }\n\n  Ember.String.htmlSafe = _glimmer.htmlSafe;\n  Ember.String.isHTMLSafe = _glimmer.isHTMLSafe;\n  /**\n    Global hash of shared templates. This will automatically be populated\n    by the build tools so that you can store your Handlebars templates in\n    separate files that get loaded into JavaScript at buildtime.\n  \n    @property TEMPLATES\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'TEMPLATES', {\n    get: _glimmer.getTemplates,\n    set: _glimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n  /**\n    The semantic version\n  \n    @property VERSION\n    @type String\n    @public\n  */\n\n  Ember.VERSION = _version.default; // ****@ember/-internals/views****\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && !views.jQueryDisabled) {\n    Object.defineProperty(Ember, '$', {\n      get() {\n        (true && !(false) && (0, EmberDebug.deprecate)(\"Using Ember.$() has been deprecated, use `import jQuery from 'jquery';` instead\", false, {\n          id: 'ember-views.curly-components.jquery-element',\n          until: '4.0.0',\n          url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n        }));\n        return views.jQuery;\n      },\n\n      configurable: true,\n      enumerable: true\n    });\n  }\n\n  Ember.ViewUtils = {\n    isSimpleClick: views.isSimpleClick,\n    getElementView: views.getElementView,\n    getViewElement: views.getViewElement,\n    getViewBounds: views.getViewBounds,\n    getViewClientRects: views.getViewClientRects,\n    getViewBoundingClientRect: views.getViewBoundingClientRect,\n    getRootViews: views.getRootViews,\n    getChildViews: views.getChildViews,\n    isSerializationFirstNode: _glimmer.isSerializationFirstNode\n  };\n  Ember.TextSupport = views.TextSupport;\n  Ember.ComponentLookup = views.ComponentLookup;\n  Ember.EventDispatcher = views.EventDispatcher; // ****@ember/-internals/routing****\n\n  Ember.Location = routing.Location;\n  Ember.AutoLocation = routing.AutoLocation;\n  Ember.HashLocation = routing.HashLocation;\n  Ember.HistoryLocation = routing.HistoryLocation;\n  Ember.NoneLocation = routing.NoneLocation;\n  Ember.controllerFor = routing.controllerFor;\n  Ember.generateControllerFactory = routing.generateControllerFactory;\n  Ember.generateController = routing.generateController;\n  Ember.RouterDSL = routing.RouterDSL;\n  Ember.Router = routing.Router;\n  Ember.Route = routing.Route;\n  (0, _application.runLoadHooks)('Ember.Application', _application.default);\n  Ember.DataAdapter = extensionSupport.DataAdapter;\n  Ember.ContainerDebugAdapter = extensionSupport.ContainerDebugAdapter;\n\n  if ((0, _require.has)('ember-template-compiler')) {\n    (0, _require.default)(\"ember-template-compiler\");\n  } // do this to ensure that Ember.Test is defined properly on the global\n  // if it is present.\n\n\n  if ((0, _require.has)('ember-testing')) {\n    var testing = (0, _require.default)(\"ember-testing\");\n    Ember.Test = testing.Test;\n    Ember.Test.Adapter = testing.Adapter;\n    Ember.Test.QUnitAdapter = testing.QUnitAdapter;\n    Ember.setupForTesting = testing.setupForTesting;\n  }\n\n  (0, _application.runLoadHooks)('Ember');\n  var _default = Ember;\n  _exports.default = _default;\n\n  if (_nodeModule.IS_NODE) {\n    _nodeModule.module.exports = Ember;\n  } else {\n    _environment.context.exports.Ember = _environment.context.exports.Em = Ember;\n  }\n  /**\n   @module jquery\n   @public\n   */\n\n  /**\n   @class jquery\n   @public\n   @static\n   */\n\n  /**\n    Alias for jQuery\n  \n    @for jquery\n    @method $\n    @static\n    @public\n  */\n\n});","define(\"ember/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = \"3.16.10\";\n  _exports.default = _default;\n});","define(\"node-module/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.require = _exports.module = _exports.IS_NODE = void 0;\n\n  /*global module */\n  var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n  _exports.IS_NODE = IS_NODE;\n  var exportModule;\n  _exports.module = exportModule;\n  var exportRequire;\n  _exports.require = exportRequire;\n\n  if (IS_NODE) {\n    _exports.module = exportModule = module;\n    _exports.require = exportRequire = module.require;\n  } else {\n    _exports.module = exportModule = null;\n    _exports.require = exportRequire = null;\n  }\n});","define(\"route-recognizer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var createObject = Object.create;\n\n  function createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n  }\n\n  var Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n  };\n\n  Target.prototype.to = function to(target, callback) {\n    var delegate = this.delegate;\n\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n\n    this.matcher.add(this.path, target);\n\n    if (callback) {\n      if (callback.length === 0) {\n        throw new Error(\"You must have an argument in the function passed to `to`\");\n      }\n\n      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n  };\n\n  var Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n  };\n\n  Matcher.prototype.add = function add(path, target) {\n    this.routes[path] = target;\n  };\n\n  Matcher.prototype.addChild = function addChild(path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n    var match = generateMatch(path, matcher, delegate);\n\n    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n\n    callback(match);\n  };\n\n  function generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n      var fullPath = startingPath + path;\n\n      if (callback) {\n        callback(generateMatch(fullPath, matcher, delegate));\n      } else {\n        return new Target(fullPath, matcher, delegate);\n      }\n    }\n\n    return match;\n  }\n\n  function addRoute(routeArray, path, handler) {\n    var len = 0;\n\n    for (var i = 0; i < routeArray.length; i++) {\n      len += routeArray[i].path.length;\n    }\n\n    path = path.substr(len);\n    var route = {\n      path: path,\n      handler: handler\n    };\n    routeArray.push(route);\n  }\n\n  function eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n\n    for (var i = 0; i < paths.length; i++) {\n      var path = paths[i];\n      var routeArray = baseRoute.slice();\n      addRoute(routeArray, path, routes[path]);\n      var nested = matcher.children[path];\n\n      if (nested) {\n        eachRoute(routeArray, nested, callback, binding);\n      } else {\n        callback.call(binding, routeArray);\n      }\n    }\n  }\n\n  var map = function (callback, addRouteCallback) {\n    var matcher = new Matcher();\n    callback(generateMatch(\"\", matcher, this.delegate));\n    eachRoute([], matcher, function (routes) {\n      if (addRouteCallback) {\n        addRouteCallback(this, routes);\n      } else {\n        this.add(routes);\n      }\n    }, this);\n  }; // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n  // chars are \"/\" and \"%\".\n  // Safe to call multiple times on the same path.\n  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n\n\n  function normalizePath(path) {\n    return path.split(\"/\").map(normalizeSegment).join(\"/\");\n  } // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n  // form when normalizing paths, so replace them with their encoded form after\n  // decoding the rest of the path\n\n\n  var SEGMENT_RESERVED_CHARS = /%|\\//g;\n\n  function normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n      return segment;\n    }\n\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n  } // We do not want to encode these characters when generating dynamic path segments\n  // See https://tools.ietf.org/html/rfc3986#section-3.3\n  // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n  // others allowed by RFC 3986: \":\", \"@\"\n  //\n  // First encode the entire path segment, then decode any of the encoded special chars.\n  //\n  // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n  // so the possible encoded chars are:\n  // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n\n\n  var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n\n  function encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n  }\n\n  var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n  var isArray = Array.isArray;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n  function getParam(params, key) {\n    if (typeof params !== \"object\" || params === null) {\n      throw new Error(\"You must pass an object as the second argument to `generate`.\");\n    }\n\n    if (!hasOwnProperty.call(params, key)) {\n      throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n\n    if (str.length === 0) {\n      throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n\n    return str;\n  }\n\n  var eachChar = [];\n\n  eachChar[0\n  /* Static */\n  ] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n\n    for (var i = 0; i < value.length; i++) {\n      var ch = value.charCodeAt(i);\n      state = state.put(ch, false, false);\n    }\n\n    return state;\n  };\n\n  eachChar[1\n  /* Dynamic */\n  ] = function (_, currentState) {\n    return currentState.put(47\n    /* SLASH */\n    , true, true);\n  };\n\n  eachChar[2\n  /* Star */\n  ] = function (_, currentState) {\n    return currentState.put(-1\n    /* ANY */\n    , false, true);\n  };\n\n  eachChar[4\n  /* Epsilon */\n  ] = function (_, currentState) {\n    return currentState;\n  };\n\n  var regex = [];\n\n  regex[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n  };\n\n  regex[1\n  /* Dynamic */\n  ] = function () {\n    return \"([^/]+)\";\n  };\n\n  regex[2\n  /* Star */\n  ] = function () {\n    return \"(.+)\";\n  };\n\n  regex[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var generate = [];\n\n  generate[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value;\n  };\n\n  generate[1\n  /* Dynamic */\n  ] = function (segment, params) {\n    var value = getParam(params, segment.value);\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  };\n\n  generate[2\n  /* Star */\n  ] = function (segment, params) {\n    return getParam(params, segment.value);\n  };\n\n  generate[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var EmptyObject = Object.freeze({});\n  var EmptyArray = Object.freeze([]); // The `names` will be populated with the paramter name for each dynamic/star\n  // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n  // segment, indicating whether it should be decoded during recognition.\n\n  function parse(segments, route, types) {\n    // normalize route as not starting with a \"/\". Recognition will\n    // also normalize.\n    if (route.length > 0 && route.charCodeAt(0) === 47\n    /* SLASH */\n    ) {\n      route = route.substr(1);\n    }\n\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      var flags = 0;\n      var type = 0;\n\n      if (part === \"\") {\n        type = 4\n        /* Epsilon */\n        ;\n      } else if (part.charCodeAt(0) === 58\n      /* COLON */\n      ) {\n        type = 1\n        /* Dynamic */\n        ;\n      } else if (part.charCodeAt(0) === 42\n      /* STAR */\n      ) {\n        type = 2\n        /* Star */\n        ;\n      } else {\n        type = 0\n        /* Static */\n        ;\n      }\n\n      flags = 2 << type;\n\n      if (flags & 12\n      /* Named */\n      ) {\n        part = part.slice(1);\n        names = names || [];\n        names.push(part);\n        shouldDecodes = shouldDecodes || [];\n        shouldDecodes.push((flags & 4\n        /* Decoded */\n        ) !== 0);\n      }\n\n      if (flags & 14\n      /* Counted */\n      ) {\n        types[type]++;\n      }\n\n      segments.push({\n        type: type,\n        value: normalizeSegment(part)\n      });\n    }\n\n    return {\n      names: names || EmptyArray,\n      shouldDecodes: shouldDecodes || EmptyArray\n    };\n  }\n\n  function isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\n  } // A State has a character specification and (`charSpec`) and a list of possible\n  // subsequent states (`nextStates`).\n  //\n  // If a State is an accepting state, it will also have several additional\n  // properties:\n  //\n  // * `regex`: A regular expression that is used to extract parameters from paths\n  //   that reached this accepting state.\n  // * `handlers`: Information on how to convert the list of captures into calls\n  //   to registered handlers with the specified parameters\n  // * `types`: How many static, dynamic or star segments in this route. Used to\n  //   decide which route to use if multiple registered routes match a path.\n  //\n  // Currently, State is implemented naively by looping over `nextStates` and\n  // comparing a character specification against a character. A more efficient\n  // implementation would use a hash of keys pointing at one or more next states.\n\n\n  var State = function State(states, id, char, negate, repeat) {\n    this.states = states;\n    this.id = id;\n    this.char = char;\n    this.negate = negate;\n    this.nextStates = repeat ? id : null;\n    this.pattern = \"\";\n    this._regex = undefined;\n    this.handlers = undefined;\n    this.types = undefined;\n  };\n\n  State.prototype.regex = function regex$1() {\n    if (!this._regex) {\n      this._regex = new RegExp(this.pattern);\n    }\n\n    return this._regex;\n  };\n\n  State.prototype.get = function get(char, negate) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (nextStates === null) {\n      return;\n    }\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isEqualCharSpec(child, char, negate)) {\n          return child;\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isEqualCharSpec(child$1, char, negate)) {\n        return child$1;\n      }\n    }\n  };\n\n  State.prototype.put = function put(char, negate, repeat) {\n    var state; // If the character specification already exists in a child of the current\n    // state, just return that state.\n\n    if (state = this.get(char, negate)) {\n      return state;\n    } // Make a new state for the character spec\n\n\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state; // Insert the new state as a child of the current state\n\n    if (this.nextStates == null) {\n      this.nextStates = state.id;\n    } else if (isArray(this.nextStates)) {\n      this.nextStates.push(state.id);\n    } else {\n      this.nextStates = [this.nextStates, state.id];\n    } // Return the new state\n\n\n    return state;\n  }; // Find a list of child states matching the next character\n\n\n  State.prototype.match = function match(ch) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (!nextStates) {\n      return [];\n    }\n\n    var returned = [];\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isMatch(child, ch)) {\n          returned.push(child);\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isMatch(child$1, ch)) {\n        returned.push(child$1);\n      }\n    }\n\n    return returned;\n  };\n\n  function isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1\n    /* ANY */\n    : spec.char === char || spec.char === -1\n    /* ANY */\n    ;\n  } // This is a somewhat naive strategy, but should work in a lot of cases\n  // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n  //\n  // This strategy generally prefers more static and less dynamic matching.\n  // Specifically, it\n  //\n  //  * prefers fewer stars to more, then\n  //  * prefers using stars for less of the match to more, then\n  //  * prefers fewer dynamic segments to more, then\n  //  * prefers more static segments to more\n\n\n  function sortSolutions(states) {\n    return states.sort(function (a, b) {\n      var ref = a.types || [0, 0, 0];\n      var astatics = ref[0];\n      var adynamics = ref[1];\n      var astars = ref[2];\n      var ref$1 = b.types || [0, 0, 0];\n      var bstatics = ref$1[0];\n      var bdynamics = ref$1[1];\n      var bstars = ref$1[2];\n\n      if (astars !== bstars) {\n        return astars - bstars;\n      }\n\n      if (astars) {\n        if (astatics !== bstatics) {\n          return bstatics - astatics;\n        }\n\n        if (adynamics !== bdynamics) {\n          return bdynamics - adynamics;\n        }\n      }\n\n      if (adynamics !== bdynamics) {\n        return adynamics - bdynamics;\n      }\n\n      if (astatics !== bstatics) {\n        return bstatics - astatics;\n      }\n\n      return 0;\n    });\n  }\n\n  function recognizeChar(states, ch) {\n    var nextStates = [];\n\n    for (var i = 0, l = states.length; i < l; i++) {\n      var state = states[i];\n      nextStates = nextStates.concat(state.match(ch));\n    }\n\n    return nextStates;\n  }\n\n  var RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n  };\n\n  RecognizeResults.prototype.splice = Array.prototype.splice;\n  RecognizeResults.prototype.slice = Array.prototype.slice;\n  RecognizeResults.prototype.push = Array.prototype.push;\n\n  function findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n\n    if (!regex || !handlers) {\n      throw new Error(\"state not initialized\");\n    }\n\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n\n    for (var i = 0; i < handlers.length; i++) {\n      var handler = handlers[i];\n      var names = handler.names;\n      var shouldDecodes = handler.shouldDecodes;\n      var params = EmptyObject;\n      var isDynamic = false;\n\n      if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n        for (var j = 0; j < names.length; j++) {\n          isDynamic = true;\n          var name = names[j];\n          var capture = captures && captures[currentCapture++];\n\n          if (params === EmptyObject) {\n            params = {};\n          }\n\n          if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n            params[name] = capture && decodeURIComponent(capture);\n          } else {\n            params[name] = capture;\n          }\n        }\n      }\n\n      result[i] = {\n        handler: handler.handler,\n        params: params,\n        isDynamic: isDynamic\n      };\n    }\n\n    return result;\n  }\n\n  function decodeQueryParamPart(part) {\n    // http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\n    part = part.replace(/\\+/gm, \"%20\");\n    var result;\n\n    try {\n      result = decodeURIComponent(part);\n    } catch (error) {\n      result = \"\";\n    }\n\n    return result;\n  }\n\n  var RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1\n    /* ANY */\n    , true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n  };\n\n  RouteRecognizer.prototype.add = function add(routes, options) {\n    var currentState = this.rootState;\n    var pattern = \"^\";\n    var types = [0, 0, 0];\n    var handlers = new Array(routes.length);\n    var allSegments = [];\n    var isEmpty = true;\n    var j = 0;\n\n    for (var i = 0; i < routes.length; i++) {\n      var route = routes[i];\n      var ref = parse(allSegments, route.path, types);\n      var names = ref.names;\n      var shouldDecodes = ref.shouldDecodes; // preserve j so it points to the start of newly added segments\n\n      for (; j < allSegments.length; j++) {\n        var segment = allSegments[j];\n\n        if (segment.type === 4\n        /* Epsilon */\n        ) {\n          continue;\n        }\n\n        isEmpty = false; // Add a \"/\" for the new segment\n\n        currentState = currentState.put(47\n        /* SLASH */\n        , false, false);\n        pattern += \"/\"; // Add a representation of the segment to the NFA and regex\n\n        currentState = eachChar[segment.type](segment, currentState);\n        pattern += regex[segment.type](segment);\n      }\n\n      handlers[i] = {\n        handler: route.handler,\n        names: names,\n        shouldDecodes: shouldDecodes\n      };\n    }\n\n    if (isEmpty) {\n      currentState = currentState.put(47\n      /* SLASH */\n      , false, false);\n      pattern += \"/\";\n    }\n\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n\n    if (typeof options === \"object\" && options !== null && options.as) {\n      name = options.as;\n    }\n\n    if (name) {\n      // if (this.names[name]) {\n      //   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n      // }\n      this.names[name] = {\n        segments: allSegments,\n        handlers: handlers\n      };\n    }\n  };\n\n  RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n    var route = this.names[name];\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var result = new Array(route.handlers.length);\n\n    for (var i = 0; i < route.handlers.length; i++) {\n      var handler = route.handlers[i];\n      result[i] = handler;\n    }\n\n    return result;\n  };\n\n  RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n    return !!this.names[name];\n  };\n\n  RouteRecognizer.prototype.generate = function generate$1(name, params) {\n    var route = this.names[name];\n    var output = \"\";\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var segments = route.segments;\n\n    for (var i = 0; i < segments.length; i++) {\n      var segment = segments[i];\n\n      if (segment.type === 4\n      /* Epsilon */\n      ) {\n        continue;\n      }\n\n      output += \"/\";\n      output += generate[segment.type](segment, params);\n    }\n\n    if (output.charAt(0) !== \"/\") {\n      output = \"/\" + output;\n    }\n\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams);\n    }\n\n    return output;\n  };\n\n  RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = params[key];\n\n      if (value == null) {\n        continue;\n      }\n\n      var pair = encodeURIComponent(key);\n\n      if (isArray(value)) {\n        for (var j = 0; j < value.length; j++) {\n          var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n          pairs.push(arrayPair);\n        }\n      } else {\n        pair += \"=\" + encodeURIComponent(value);\n        pairs.push(pair);\n      }\n    }\n\n    if (pairs.length === 0) {\n      return \"\";\n    }\n\n    return \"?\" + pairs.join(\"&\");\n  };\n\n  RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n\n    for (var i = 0; i < pairs.length; i++) {\n      var pair = pairs[i].split(\"=\"),\n          key = decodeQueryParamPart(pair[0]),\n          keyLength = key.length,\n          isArray = false,\n          value = void 0;\n\n      if (pair.length === 1) {\n        value = \"true\";\n      } else {\n        // Handle arrays\n        if (keyLength > 2 && key.slice(keyLength - 2) === \"[]\") {\n          isArray = true;\n          key = key.slice(0, keyLength - 2);\n\n          if (!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n      }\n\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n\n    return queryParams;\n  };\n\n  RouteRecognizer.prototype.recognize = function recognize(path) {\n    var results;\n    var states = [this.rootState];\n    var queryParams = {};\n    var isSlashDropped = false;\n    var hashStart = path.indexOf(\"#\");\n\n    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n\n    var queryStart = path.indexOf(\"?\");\n\n    if (queryStart !== -1) {\n      var queryString = path.substr(queryStart + 1, path.length);\n      path = path.substr(0, queryStart);\n      queryParams = this.parseQueryString(queryString);\n    }\n\n    if (path.charAt(0) !== \"/\") {\n      path = \"/\" + path;\n    }\n\n    var originalPath = path;\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n\n    var pathLen = path.length;\n\n    if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n      path = path.substr(0, pathLen - 1);\n      originalPath = originalPath.substr(0, originalPath.length - 1);\n      isSlashDropped = true;\n    }\n\n    for (var i = 0; i < path.length; i++) {\n      states = recognizeChar(states, path.charCodeAt(i));\n\n      if (!states.length) {\n        break;\n      }\n    }\n\n    var solutions = [];\n\n    for (var i$1 = 0; i$1 < states.length; i$1++) {\n      if (states[i$1].handlers) {\n        solutions.push(states[i$1]);\n      }\n    }\n\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n\n    if (state && state.handlers) {\n      // if a trailing slash was dropped and a star segment is the last segment\n      // specified, put the trailing slash back\n      if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n        originalPath = originalPath + \"/\";\n      }\n\n      results = findHandler(state, originalPath, queryParams);\n    }\n\n    return results;\n  };\n\n  RouteRecognizer.VERSION = \"0.3.4\"; // Set to false to opt-out of encoding and decoding path segments.\n  // See https://github.com/tildeio/route-recognizer/pull/55\n\n  RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n  RouteRecognizer.Normalizer = {\n    normalizeSegment: normalizeSegment,\n    normalizePath: normalizePath,\n    encodePathSegment: encodePathSegment\n  };\n  RouteRecognizer.prototype.map = map;\n  var _default = RouteRecognizer;\n  _exports.default = _default;\n});","define(\"router_js\", [\"exports\", \"@ember/polyfills\", \"rsvp\", \"route-recognizer\"], function (_exports, _polyfills, _rsvp, _routeRecognizer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.logAbort = logAbort;\n  _exports.InternalRouteInfo = _exports.TransitionError = _exports.TransitionState = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.STATE_SYMBOL = _exports.InternalTransition = _exports.default = void 0;\n\n  var TransitionAbortedError = function () {\n    TransitionAbortedError.prototype = Object.create(Error.prototype);\n    TransitionAbortedError.prototype.constructor = TransitionAbortedError;\n\n    function TransitionAbortedError(message) {\n      var error = Error.call(this, message);\n      this.name = 'TransitionAborted';\n      this.message = message || 'TransitionAborted';\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, TransitionAbortedError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n\n    return TransitionAbortedError;\n  }();\n\n  var slice = Array.prototype.slice;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  /**\n    Determines if an object is Promise by checking if it is \"thenable\".\n  **/\n\n  function isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n  }\n\n  function merge(hash, other) {\n    for (var prop in other) {\n      if (hasOwnProperty.call(other, prop)) {\n        hash[prop] = other[prop];\n      }\n    }\n  }\n  /**\n    @private\n  \n    Extracts query params from the end of an array\n  **/\n\n\n  function extractQueryParams(array) {\n    var len = array && array.length,\n        head,\n        queryParams;\n\n    if (len && len > 0) {\n      var obj = array[len - 1];\n\n      if (isQueryParams(obj)) {\n        queryParams = obj.queryParams;\n        head = slice.call(array, 0, len - 1);\n        return [head, queryParams];\n      }\n    }\n\n    return [array, null];\n  }\n\n  function isQueryParams(obj) {\n    return obj && hasOwnProperty.call(obj, 'queryParams');\n  }\n  /**\n    @private\n  \n    Coerces query param properties and array elements into strings.\n  **/\n\n\n  function coerceQueryParamsToString(queryParams) {\n    for (var key in queryParams) {\n      var val = queryParams[key];\n\n      if (typeof val === 'number') {\n        queryParams[key] = '' + val;\n      } else if (Array.isArray(val)) {\n        for (var i = 0, l = val.length; i < l; i++) {\n          val[i] = '' + val[i];\n        }\n      }\n    }\n  }\n  /**\n    @private\n   */\n\n\n  function log(router, ...args) {\n    if (!router.log) {\n      return;\n    }\n\n    if (args.length === 2) {\n      var [sequence, msg] = args;\n      router.log('Transition #' + sequence + ': ' + msg);\n    } else {\n      var [_msg] = args;\n      router.log(_msg);\n    }\n  }\n\n  function isParam(object) {\n    return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n  }\n\n  function forEach(array, callback) {\n    for (var i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {// empty intentionally\n    }\n  }\n\n  function getChangelist(oldObject, newObject) {\n    var key;\n    var results = {\n      all: {},\n      changed: {},\n      removed: {}\n    };\n    merge(results.all, newObject);\n    var didChange = false;\n    coerceQueryParamsToString(oldObject);\n    coerceQueryParamsToString(newObject); // Calculate removals\n\n    for (key in oldObject) {\n      if (hasOwnProperty.call(oldObject, key)) {\n        if (!hasOwnProperty.call(newObject, key)) {\n          didChange = true;\n          results.removed[key] = oldObject[key];\n        }\n      }\n    } // Calculate changes\n\n\n    for (key in newObject) {\n      if (hasOwnProperty.call(newObject, key)) {\n        var oldElement = oldObject[key];\n        var newElement = newObject[key];\n\n        if (isArray(oldElement) && isArray(newElement)) {\n          if (oldElement.length !== newElement.length) {\n            results.changed[key] = newObject[key];\n            didChange = true;\n          } else {\n            for (var i = 0, l = oldElement.length; i < l; i++) {\n              if (oldElement[i] !== newElement[i]) {\n                results.changed[key] = newObject[key];\n                didChange = true;\n              }\n            }\n          }\n        } else if (oldObject[key] !== newObject[key]) {\n          results.changed[key] = newObject[key];\n          didChange = true;\n        }\n      }\n    }\n\n    return didChange ? results : undefined;\n  }\n\n  function isArray(obj) {\n    return Array.isArray(obj);\n  }\n\n  function promiseLabel(label) {\n    return 'Router: ' + label;\n  }\n\n  var STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n  _exports.STATE_SYMBOL = STATE_SYMBOL;\n  var PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n  _exports.PARAMS_SYMBOL = PARAMS_SYMBOL;\n  var QUERY_PARAMS_SYMBOL = `__QPS__-2619863929824844-32323`;\n  /**\n    A Transition is a thennable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @constructor\n    @param {Object} router\n    @param {Object} intent\n    @param {Object} state\n    @param {Object} error\n    @private\n   */\n\n  _exports.QUERY_PARAMS_SYMBOL = QUERY_PARAMS_SYMBOL;\n\n  class Transition {\n    constructor(router, intent, state, error = undefined, previousTransition = undefined) {\n      this.from = null;\n      this.to = undefined;\n      this.isAborted = false;\n      this.isActive = true;\n      this.urlMethod = 'update';\n      this.resolveIndex = 0;\n      this.queryParamsOnly = false;\n      this.isTransition = true;\n      this.isCausedByAbortingTransition = false;\n      this.isCausedByInitialTransition = false;\n      this.isCausedByAbortingReplaceTransition = false;\n      this._visibleQueryParams = {};\n      this[STATE_SYMBOL] = state || router.state;\n      this.intent = intent;\n      this.router = router;\n      this.data = intent && intent.data || {};\n      this.resolvedModels = {};\n      this[QUERY_PARAMS_SYMBOL] = {};\n      this.promise = undefined;\n      this.error = undefined;\n      this[PARAMS_SYMBOL] = {};\n      this.routeInfos = [];\n      this.targetName = undefined;\n      this.pivotHandler = undefined;\n      this.sequence = -1;\n\n      if (error) {\n        this.promise = _rsvp.Promise.reject(error);\n        this.error = error;\n        return;\n      } // if you're doing multiple redirects, need the new transition to know if it\n      // is actually part of the first transition or not. Any further redirects\n      // in the initial transition also need to know if they are part of the\n      // initial transition\n\n\n      this.isCausedByAbortingTransition = !!previousTransition;\n      this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0); // Every transition in the chain is a replace\n\n      this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\n      if (state) {\n        this[PARAMS_SYMBOL] = state.params;\n        this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n        this.routeInfos = state.routeInfos;\n        var len = state.routeInfos.length;\n\n        if (len) {\n          this.targetName = state.routeInfos[len - 1].name;\n        }\n\n        for (var i = 0; i < len; ++i) {\n          var handlerInfo = state.routeInfos[i]; // TODO: this all seems hacky\n\n          if (!handlerInfo.isResolved) {\n            break;\n          }\n\n          this.pivotHandler = handlerInfo.route;\n        }\n\n        this.sequence = router.currentSequence++;\n        this.promise = state.resolve(() => {\n          if (this.isAborted) {\n            return _rsvp.Promise.reject(false, promiseLabel('Transition aborted - reject'));\n          }\n\n          return _rsvp.Promise.resolve(true);\n        }, this).catch(result => {\n          return _rsvp.Promise.reject(this.router.transitionDidError(result, this));\n        }, promiseLabel('Handle Abort'));\n      } else {\n        this.promise = _rsvp.Promise.resolve(this[STATE_SYMBOL]);\n        this[PARAMS_SYMBOL] = {};\n      }\n    }\n    /**\n      The Transition's internal promise. Calling `.then` on this property\n      is that same as calling `.then` on the Transition object itself, but\n      this property is exposed for when you want to pass around a\n      Transition's promise, but not the Transition object itself, since\n      Transition object can be externally `abort`ed, while the promise\n      cannot.\n         @property promise\n      @type {Object}\n      @public\n     */\n\n    /**\n      Custom state can be stored on a Transition's `data` object.\n      This can be useful for decorating a Transition within an earlier\n      hook and shared with a later hook. Properties set on `data` will\n      be copied to new transitions generated by calling `retry` on this\n      transition.\n         @property data\n      @type {Object}\n      @public\n     */\n\n    /**\n      A standard promise hook that resolves if the transition\n      succeeds and rejects if it fails/redirects/aborts.\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method then\n      @param {Function} onFulfilled\n      @param {Function} onRejected\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n\n\n    then(onFulfilled, onRejected, label) {\n      return this.promise.then(onFulfilled, onRejected, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n\n\n    catch(onRejection, label) {\n      return this.promise.catch(onRejection, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n\n\n    finally(callback, label) {\n      return this.promise.finally(callback, label);\n    }\n    /**\n      Aborts the Transition. Note you can also implicitly abort a transition\n      by initiating another transition while a previous one is underway.\n         @method abort\n      @return {Transition} this transition\n      @public\n     */\n\n\n    abort() {\n      this.rollback();\n      var transition = new Transition(this.router, undefined, undefined, undefined);\n      transition.to = this.from;\n      transition.from = this.from;\n      transition.isAborted = true;\n      this.router.routeWillChange(transition);\n      this.router.routeDidChange(transition);\n      return this;\n    }\n\n    rollback() {\n      if (!this.isAborted) {\n        log(this.router, this.sequence, this.targetName + ': transition was aborted');\n\n        if (this.intent !== undefined && this.intent !== null) {\n          this.intent.preTransitionState = this.router.state;\n        }\n\n        this.isAborted = true;\n        this.isActive = false;\n        this.router.activeTransition = undefined;\n      }\n    }\n\n    redirect(newTransition) {\n      this.rollback();\n      this.router.routeWillChange(newTransition);\n    }\n    /**\n         Retries a previously-aborted transition (making sure to abort the\n      transition if it's still active). Returns a new transition that\n      represents the new attempt to transition.\n         @method retry\n      @return {Transition} new transition\n      @public\n     */\n\n\n    retry() {\n      // TODO: add tests for merged state retry()s\n      this.abort();\n      var newTransition = this.router.transitionByIntent(this.intent, false); // inheriting a `null` urlMethod is not valid\n      // the urlMethod is only set to `null` when\n      // the transition is initiated *after* the url\n      // has been updated (i.e. `router.handleURL`)\n      //\n      // in that scenario, the url method cannot be\n      // inherited for a new transition because then\n      // the url would not update even though it should\n\n      if (this.urlMethod !== null) {\n        newTransition.method(this.urlMethod);\n      }\n\n      return newTransition;\n    }\n    /**\n         Sets the URL-changing method to be employed at the end of a\n      successful transition. By default, a new Transition will just\n      use `updateURL`, but passing 'replace' to this method will\n      cause the URL to update using 'replaceWith' instead. Omitting\n      a parameter will disable the URL change, allowing for transitions\n      that don't update the URL at completion (this is also used for\n      handleURL, since the URL has already changed before the\n      transition took place).\n         @method method\n      @param {String} method the type of URL-changing method to use\n        at the end of a transition. Accepted values are 'replace',\n        falsy values, or any other non-falsy value (which is\n        interpreted as an updateURL transition).\n         @return {Transition} this transition\n      @public\n     */\n\n\n    method(method) {\n      this.urlMethod = method;\n      return this;\n    } // Alias 'trigger' as 'send'\n\n\n    send(ignoreFailure = false, _name, err, transition, handler) {\n      this.trigger(ignoreFailure, _name, err, transition, handler);\n    }\n    /**\n         Fires an event on the current list of resolved/resolving\n      handlers within this transition. Useful for firing events\n      on route hierarchies that haven't fully been entered yet.\n         Note: This method is also aliased as `send`\n         @method trigger\n      @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n      @param {String} name the name of the event to fire\n      @public\n     */\n\n\n    trigger(ignoreFailure = false, name, ...args) {\n      // TODO: Deprecate the current signature\n      if (typeof ignoreFailure === 'string') {\n        name = ignoreFailure;\n        ignoreFailure = false;\n      }\n\n      this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0, this.resolveIndex + 1), ignoreFailure, name, args);\n    }\n    /**\n      Transitions are aborted and their promises rejected\n      when redirects occur; this method returns a promise\n      that will follow any redirects that occur and fulfill\n      with the value fulfilled by any redirecting transitions\n      that occur.\n         @method followRedirects\n      @return {Promise} a promise that fulfills with the same\n        value that the final redirecting transition fulfills with\n      @public\n     */\n\n\n    followRedirects() {\n      var router = this.router;\n      return this.promise.catch(function (reason) {\n        if (router.activeTransition) {\n          return router.activeTransition.followRedirects();\n        }\n\n        return _rsvp.Promise.reject(reason);\n      });\n    }\n\n    toString() {\n      return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n\n\n    log(message) {\n      log(this.router, this.sequence, message);\n    }\n\n  }\n  /**\n    @private\n  \n    Logs and returns an instance of TransitionAborted.\n   */\n\n\n  _exports.InternalTransition = Transition;\n\n  function logAbort(transition) {\n    log(transition.router, transition.sequence, 'detected abort.');\n    return new TransitionAbortedError();\n  }\n\n  function isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n  }\n\n  function prepareResult(obj) {\n    if (isTransition(obj)) {\n      return null;\n    }\n\n    return obj;\n  }\n\n  var ROUTE_INFOS = new WeakMap();\n\n  function toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n    return routeInfos.map((info, i) => {\n      var {\n        name,\n        params,\n        paramNames,\n        context,\n        route\n      } = info;\n\n      if (ROUTE_INFOS.has(info) && includeAttributes) {\n        var _routeInfo = ROUTE_INFOS.get(info);\n\n        _routeInfo = attachMetadata(route, _routeInfo);\n        var routeInfoWithAttribute = createRouteInfoWithAttributes(_routeInfo, context);\n        ROUTE_INFOS.set(info, routeInfoWithAttribute);\n        return routeInfoWithAttribute;\n      }\n\n      var routeInfo = {\n        find(predicate, thisArg) {\n          var publicInfo;\n          var arr = [];\n\n          if (predicate.length === 3) {\n            arr = routeInfos.map(info => ROUTE_INFOS.get(info));\n          }\n\n          for (var _i = 0; routeInfos.length > _i; _i++) {\n            publicInfo = ROUTE_INFOS.get(routeInfos[_i]);\n\n            if (predicate.call(thisArg, publicInfo, _i, arr)) {\n              return publicInfo;\n            }\n          }\n\n          return undefined;\n        },\n\n        get name() {\n          return name;\n        },\n\n        get paramNames() {\n          return paramNames;\n        },\n\n        get metadata() {\n          return buildRouteInfoMetadata(info.route);\n        },\n\n        get parent() {\n          var parent = routeInfos[i - 1];\n\n          if (parent === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(parent);\n        },\n\n        get child() {\n          var child = routeInfos[i + 1];\n\n          if (child === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(child);\n        },\n\n        get localName() {\n          var parts = this.name.split('.');\n          return parts[parts.length - 1];\n        },\n\n        get params() {\n          return params;\n        },\n\n        get queryParams() {\n          return queryParams;\n        }\n\n      };\n\n      if (includeAttributes) {\n        routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n      }\n\n      ROUTE_INFOS.set(info, routeInfo);\n      return routeInfo;\n    });\n  }\n\n  function createRouteInfoWithAttributes(routeInfo, context) {\n    var attributes = {\n      get attributes() {\n        return context;\n      }\n\n    };\n\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, attributes));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, attributes);\n  }\n\n  function buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n      return route.buildRouteInfoMetadata();\n    }\n\n    return null;\n  }\n\n  function attachMetadata(route, routeInfo) {\n    var metadata = {\n      get metadata() {\n        return buildRouteInfoMetadata(route);\n      }\n\n    };\n\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, metadata));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, metadata);\n  }\n\n  class InternalRouteInfo {\n    constructor(router, name, paramNames, route) {\n      this._routePromise = undefined;\n      this._route = null;\n      this.params = {};\n      this.isResolved = false;\n      this.name = name;\n      this.paramNames = paramNames;\n      this.router = router;\n\n      if (route) {\n        this._processRoute(route);\n      }\n    }\n\n    getModel(_transition) {\n      return _rsvp.Promise.resolve(this.context);\n    }\n\n    serialize(_context) {\n      return this.params || {};\n    }\n\n    resolve(shouldContinue, transition) {\n      return _rsvp.Promise.resolve(this.routePromise).then(route => this.checkForAbort(shouldContinue, route)).then(() => this.runBeforeModelHook(transition)).then(() => this.checkForAbort(shouldContinue, null)).then(() => this.getModel(transition)).then(resolvedModel => this.checkForAbort(shouldContinue, resolvedModel)).then(resolvedModel => this.runAfterModelHook(transition, resolvedModel)).then(resolvedModel => this.becomeResolved(transition, resolvedModel));\n    }\n\n    becomeResolved(transition, resolvedContext) {\n      var params = this.serialize(resolvedContext);\n\n      if (transition) {\n        this.stashResolvedModel(transition, resolvedContext);\n        transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n        transition[PARAMS_SYMBOL][this.name] = params;\n      }\n\n      var context;\n      var contextsMatch = resolvedContext === this.context;\n\n      if ('context' in this || !contextsMatch) {\n        context = resolvedContext;\n      }\n\n      var cached = ROUTE_INFOS.get(this);\n      var resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n\n      if (cached !== undefined) {\n        ROUTE_INFOS.set(resolved, cached);\n      }\n\n      return resolved;\n    }\n\n    shouldSupercede(routeInfo) {\n      // Prefer this newer routeInfo over `other` if:\n      // 1) The other one doesn't exist\n      // 2) The names don't match\n      // 3) This route has a context that doesn't match\n      //    the other one (or the other one doesn't have one).\n      // 4) This route has parameters that don't match the other.\n      if (!routeInfo) {\n        return true;\n      }\n\n      var contextsMatch = routeInfo.context === this.context;\n      return routeInfo.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, routeInfo.params);\n    }\n\n    get route() {\n      // _route could be set to either a route object or undefined, so we\n      // compare against null to know when it's been set\n      if (this._route !== null) {\n        return this._route;\n      }\n\n      return this.fetchRoute();\n    }\n\n    set route(route) {\n      this._route = route;\n    }\n\n    get routePromise() {\n      if (this._routePromise) {\n        return this._routePromise;\n      }\n\n      this.fetchRoute();\n      return this._routePromise;\n    }\n\n    set routePromise(routePromise) {\n      this._routePromise = routePromise;\n    }\n\n    log(transition, message) {\n      if (transition.log) {\n        transition.log(this.name + ': ' + message);\n      }\n    }\n\n    updateRoute(route) {\n      route._internalName = this.name;\n      return this.route = route;\n    }\n\n    runBeforeModelHook(transition) {\n      if (transition.trigger) {\n        transition.trigger(true, 'willResolveModel', transition, this.route);\n      }\n\n      var result;\n\n      if (this.route) {\n        if (this.route.beforeModel !== undefined) {\n          result = this.route.beforeModel(transition);\n        }\n      }\n\n      if (isTransition(result)) {\n        result = null;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    }\n\n    runAfterModelHook(transition, resolvedModel) {\n      // Stash the resolved model on the payload.\n      // This makes it possible for users to swap out\n      // the resolved model in afterModel.\n      var name = this.name;\n      this.stashResolvedModel(transition, resolvedModel);\n      var result;\n\n      if (this.route !== undefined) {\n        if (this.route.afterModel !== undefined) {\n          result = this.route.afterModel(resolvedModel, transition);\n        }\n      }\n\n      result = prepareResult(result);\n      return _rsvp.Promise.resolve(result).then(() => {\n        // Ignore the fulfilled value returned from afterModel.\n        // Return the value stashed in resolvedModels, which\n        // might have been swapped out in afterModel.\n        return transition.resolvedModels[name];\n      });\n    }\n\n    checkForAbort(shouldContinue, value) {\n      return _rsvp.Promise.resolve(shouldContinue()).then(function () {\n        // We don't care about shouldContinue's resolve value;\n        // pass along the original value passed to this fn.\n        return value;\n      }, null);\n    }\n\n    stashResolvedModel(transition, resolvedModel) {\n      transition.resolvedModels = transition.resolvedModels || {};\n      transition.resolvedModels[this.name] = resolvedModel;\n    }\n\n    fetchRoute() {\n      var route = this.router.getRoute(this.name);\n      return this._processRoute(route);\n    }\n\n    _processRoute(route) {\n      // Setup a routePromise so that we can wait for asynchronously loaded routes\n      this.routePromise = _rsvp.Promise.resolve(route); // Wait until the 'route' property has been updated when chaining to a route\n      // that is a promise\n\n      if (isPromise(route)) {\n        this.routePromise = this.routePromise.then(r => {\n          return this.updateRoute(r);\n        }); // set to undefined to avoid recursive loop in the route getter\n\n        return this.route = undefined;\n      } else if (route) {\n        return this.updateRoute(route);\n      }\n\n      return undefined;\n    }\n\n  }\n\n  _exports.InternalRouteInfo = InternalRouteInfo;\n\n  class ResolvedRouteInfo extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route, context) {\n      super(router, name, paramNames, route);\n      this.params = params;\n      this.isResolved = true;\n      this.context = context;\n    }\n\n    resolve(_shouldContinue, transition) {\n      // A ResolvedRouteInfo just resolved with itself.\n      if (transition && transition.resolvedModels) {\n        transition.resolvedModels[this.name] = this.context;\n      }\n\n      return _rsvp.Promise.resolve(this);\n    }\n\n  }\n\n  class UnresolvedRouteInfoByParam extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route) {\n      super(router, name, paramNames, route);\n      this.params = {};\n      this.params = params;\n    }\n\n    getModel(transition) {\n      var fullParams = this.params;\n\n      if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n        fullParams = {};\n        merge(fullParams, this.params);\n        fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n      }\n\n      var route = this.route;\n      var result = undefined;\n\n      if (route.deserialize) {\n        result = route.deserialize(fullParams, transition);\n      } else if (route.model) {\n        result = route.model(fullParams, transition);\n      }\n\n      if (result && isTransition(result)) {\n        result = undefined;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    }\n\n  }\n\n  class UnresolvedRouteInfoByObject extends InternalRouteInfo {\n    constructor(router, name, paramNames, context) {\n      super(router, name, paramNames);\n      this.context = context;\n      this.serializer = this.router.getSerializer(name);\n    }\n\n    getModel(transition) {\n      if (this.router.log !== undefined) {\n        this.router.log(this.name + ': resolving provided model');\n      }\n\n      return super.getModel(transition);\n    }\n    /**\n      @private\n         Serializes a route using its custom `serialize` method or\n      by a default that looks up the expected property name from\n      the dynamic segment.\n         @param {Object} model the model to be serialized for this route\n    */\n\n\n    serialize(model) {\n      var {\n        paramNames,\n        context\n      } = this;\n\n      if (!model) {\n        model = context;\n      }\n\n      var object = {};\n\n      if (isParam(model)) {\n        object[paramNames[0]] = model;\n        return object;\n      } // Use custom serialize if it exists.\n\n\n      if (this.serializer) {\n        // invoke this.serializer unbound (getSerializer returns a stateless function)\n        return this.serializer.call(null, model, paramNames);\n      } else if (this.route !== undefined) {\n        if (this.route.serialize) {\n          return this.route.serialize(model, paramNames);\n        }\n      }\n\n      if (paramNames.length !== 1) {\n        return;\n      }\n\n      var name = paramNames[0];\n\n      if (/_id$/.test(name)) {\n        object[name] = model.id;\n      } else {\n        object[name] = model;\n      }\n\n      return object;\n    }\n\n  }\n\n  function paramsMatch(a, b) {\n    if (!a !== !b) {\n      // Only one is null.\n      return false;\n    }\n\n    if (!a) {\n      // Both must be null.\n      return true;\n    } // Note: this assumes that both params have the same\n    // number of keys, but since we're comparing the\n    // same routes, they should.\n\n\n    for (var k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  class TransitionIntent {\n    constructor(router, data = {}) {\n      this.router = router;\n      this.data = data;\n    }\n\n  }\n\n  class TransitionState {\n    constructor() {\n      this.routeInfos = [];\n      this.queryParams = {};\n      this.params = {};\n    }\n\n    promiseLabel(label) {\n      var targetName = '';\n      forEach(this.routeInfos, function (routeInfo) {\n        if (targetName !== '') {\n          targetName += '.';\n        }\n\n        targetName += routeInfo.name;\n        return true;\n      });\n      return promiseLabel(\"'\" + targetName + \"': \" + label);\n    }\n\n    resolve(shouldContinue, transition) {\n      // First, calculate params for this state. This is useful\n      // information to provide to the various route hooks.\n      var params = this.params;\n      forEach(this.routeInfos, routeInfo => {\n        params[routeInfo.name] = routeInfo.params || {};\n        return true;\n      });\n      transition.resolveIndex = 0;\n      var currentState = this;\n      var wasAborted = false; // The prelude RSVP.resolve() asyncs us into the promise land.\n\n      return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneRouteInfo, null, this.promiseLabel('Resolve route')).catch(handleError, this.promiseLabel('Handle error'));\n\n      function innerShouldContinue() {\n        return _rsvp.Promise.resolve(shouldContinue(), currentState.promiseLabel('Check if should continue')).catch(function (reason) {\n          // We distinguish between errors that occurred\n          // during resolution (e.g. before\"Model/model/afterModel),\n          // and aborts due to a rejecting promise from shouldContinue().\n          wasAborted = true;\n          return _rsvp.Promise.reject(reason);\n        }, currentState.promiseLabel('Handle abort'));\n      }\n\n      function handleError(error) {\n        // This is the only possible\n        // reject value of TransitionState#resolve\n        var routeInfos = currentState.routeInfos;\n        var errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n        return _rsvp.Promise.reject(new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState));\n      }\n\n      function proceed(resolvedRouteInfo) {\n        var wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved; // Swap the previously unresolved routeInfo with\n        // the resolved routeInfo\n\n        currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n\n        if (!wasAlreadyResolved) {\n          // Call the redirect hook. The reason we call it here\n          // vs. afterModel is so that redirects into child\n          // routes don't re-run the model hooks for this\n          // already-resolved route.\n          var {\n            route\n          } = resolvedRouteInfo;\n\n          if (route !== undefined) {\n            if (route.redirect) {\n              route.redirect(resolvedRouteInfo.context, transition);\n            }\n          }\n        } // Proceed after ensuring that the redirect hook\n        // didn't abort this transition by transitioning elsewhere.\n\n\n        return innerShouldContinue().then(resolveOneRouteInfo, null, currentState.promiseLabel('Resolve route'));\n      }\n\n      function resolveOneRouteInfo() {\n        if (transition.resolveIndex === currentState.routeInfos.length) {\n          // This is is the only possible\n          // fulfill value of TransitionState#resolve\n          return currentState;\n        }\n\n        var routeInfo = currentState.routeInfos[transition.resolveIndex];\n        return routeInfo.resolve(innerShouldContinue, transition).then(proceed, null, currentState.promiseLabel('Proceed'));\n      }\n    }\n\n  }\n\n  _exports.TransitionState = TransitionState;\n\n  class TransitionError {\n    constructor(error, route, wasAborted, state) {\n      this.error = error;\n      this.route = route;\n      this.wasAborted = wasAborted;\n      this.state = state;\n    }\n\n  }\n\n  _exports.TransitionError = TransitionError;\n\n  class NamedTransitionIntent extends TransitionIntent {\n    constructor(router, name, pivotHandler, contexts = [], queryParams = {}, data) {\n      super(router, data);\n      this.preTransitionState = undefined;\n      this.name = name;\n      this.pivotHandler = pivotHandler;\n      this.contexts = contexts;\n      this.queryParams = queryParams;\n    }\n\n    applyToState(oldState, isIntermediate) {\n      // TODO: WTF fix me\n      var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n          pureArgs = partitionedArgs[0],\n          handlers = this.router.recognizer.handlersFor(pureArgs[0]);\n      var targetRouteName = handlers[handlers.length - 1].handler;\n      return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n    }\n\n    applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n      var i, len;\n      var newState = new TransitionState();\n      var objects = this.contexts.slice(0);\n      var invalidateIndex = parsedHandlers.length; // Pivot handlers are provided for refresh transitions\n\n      if (this.pivotHandler) {\n        for (i = 0, len = parsedHandlers.length; i < len; ++i) {\n          if (parsedHandlers[i].handler === this.pivotHandler._internalName) {\n            invalidateIndex = i;\n            break;\n          }\n        }\n      }\n\n      for (i = parsedHandlers.length - 1; i >= 0; --i) {\n        var result = parsedHandlers[i];\n        var name = result.handler;\n        var oldHandlerInfo = oldState.routeInfos[i];\n        var newHandlerInfo = null;\n\n        if (result.names.length > 0) {\n          if (i >= invalidateIndex) {\n            newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n          } else {\n            newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, result.names, objects, oldHandlerInfo, targetRouteName, i);\n          }\n        } else {\n          // This route has no dynamic segment.\n          // Therefore treat as a param-based handlerInfo\n          // with empty params. This will cause the `model`\n          // hook to be called with empty params, which is desirable.\n          newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n        }\n\n        if (checkingIfActive) {\n          // If we're performing an isActive check, we want to\n          // serialize URL params with the provided context, but\n          // ignore mismatches between old and new context.\n          newHandlerInfo = newHandlerInfo.becomeResolved(null, newHandlerInfo.context);\n          var oldContext = oldHandlerInfo && oldHandlerInfo.context;\n\n          if (result.names.length > 0 && oldHandlerInfo.context !== undefined && newHandlerInfo.context === oldContext) {\n            // If contexts match in isActive test, assume params also match.\n            // This allows for flexibility in not requiring that every last\n            // handler provide a `serialize` method\n            newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n          }\n\n          newHandlerInfo.context = oldContext;\n        }\n\n        var handlerToUse = oldHandlerInfo;\n\n        if (i >= invalidateIndex || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n          invalidateIndex = Math.min(i, invalidateIndex);\n          handlerToUse = newHandlerInfo;\n        }\n\n        if (isIntermediate && !checkingIfActive) {\n          handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n        }\n\n        newState.routeInfos.unshift(handlerToUse);\n      }\n\n      if (objects.length > 0) {\n        throw new Error('More context objects were passed than there are dynamic segments for the route: ' + targetRouteName);\n      }\n\n      if (!isIntermediate) {\n        this.invalidateChildren(newState.routeInfos, invalidateIndex);\n      }\n\n      merge(newState.queryParams, this.queryParams || {});\n      return newState;\n    }\n\n    invalidateChildren(handlerInfos, invalidateIndex) {\n      for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n        var handlerInfo = handlerInfos[i];\n\n        if (handlerInfo.isResolved) {\n          var {\n            name,\n            params,\n            route,\n            paramNames\n          } = handlerInfos[i];\n          handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n        }\n      }\n    }\n\n    getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n      var objectToUse;\n\n      if (objects.length > 0) {\n        // Use the objects provided for this transition.\n        objectToUse = objects[objects.length - 1];\n\n        if (isParam(objectToUse)) {\n          return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n        } else {\n          objects.pop();\n        }\n      } else if (oldHandlerInfo && oldHandlerInfo.name === name) {\n        // Reuse the matching oldHandlerInfo\n        return oldHandlerInfo;\n      } else {\n        if (this.preTransitionState) {\n          var preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n          objectToUse = preTransitionHandlerInfo && preTransitionHandlerInfo.context;\n        } else {\n          // Ideally we should throw this error to provide maximal\n          // information to the user that not enough context objects\n          // were provided, but this proves too cumbersome in Ember\n          // in cases where inner template helpers are evaluated\n          // before parent helpers un-render, in which cases this\n          // error somewhat prematurely fires.\n          //throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\n          return oldHandlerInfo;\n        }\n      }\n\n      return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    }\n\n    createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n      var params = {}; // Soak up all the provided string/numbers\n\n      var numNames = names.length;\n      var missingParams = [];\n\n      while (numNames--) {\n        // Only use old params if the names match with the new handler\n        var oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n        var peek = objects[objects.length - 1];\n        var paramName = names[numNames];\n\n        if (isParam(peek)) {\n          params[paramName] = '' + objects.pop();\n        } else {\n          // If we're here, this means only some of the params\n          // were string/number params, so try and use a param\n          // value from a previous handler.\n          if (oldParams.hasOwnProperty(paramName)) {\n            params[paramName] = oldParams[paramName];\n          } else {\n            missingParams.push(paramName);\n          }\n        }\n      }\n\n      if (missingParams.length > 0) {\n        throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${name}.` + ` Missing params: ${missingParams}`);\n      }\n\n      return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    }\n\n  }\n\n  var UnrecognizedURLError = function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n\n    function UnrecognizedURLError(message) {\n      var error = Error.call(this, message);\n      this.name = 'UnrecognizedURLError';\n      this.message = message || 'UnrecognizedURL';\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, UnrecognizedURLError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n\n    return UnrecognizedURLError;\n  }();\n\n  class URLTransitionIntent extends TransitionIntent {\n    constructor(router, url, data) {\n      super(router, data);\n      this.url = url;\n      this.preTransitionState = undefined;\n    }\n\n    applyToState(oldState) {\n      var newState = new TransitionState();\n      var results = this.router.recognizer.recognize(this.url),\n          i,\n          len;\n\n      if (!results) {\n        throw new UnrecognizedURLError(this.url);\n      }\n\n      var statesDiffer = false;\n      var _url = this.url; // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n      // For the case where the handler is loaded asynchronously, the error will be\n      // thrown once it is loaded.\n\n      function checkHandlerAccessibility(handler) {\n        if (handler && handler.inaccessibleByURL) {\n          throw new UnrecognizedURLError(_url);\n        }\n\n        return handler;\n      }\n\n      for (i = 0, len = results.length; i < len; ++i) {\n        var result = results[i];\n        var name = result.handler;\n        var paramNames = [];\n\n        if (this.router.recognizer.hasRoute(name)) {\n          paramNames = this.router.recognizer.handlersFor(name)[i].names;\n        }\n\n        var newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n        var route = newRouteInfo.route;\n\n        if (route) {\n          checkHandlerAccessibility(route);\n        } else {\n          // If the hanlder is being loaded asynchronously, check if we can\n          // access it after it has resolved\n          newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n        }\n\n        var oldRouteInfo = oldState.routeInfos[i];\n\n        if (statesDiffer || newRouteInfo.shouldSupercede(oldRouteInfo)) {\n          statesDiffer = true;\n          newState.routeInfos[i] = newRouteInfo;\n        } else {\n          newState.routeInfos[i] = oldRouteInfo;\n        }\n      }\n\n      merge(newState.queryParams, results.queryParams);\n      return newState;\n    }\n\n  }\n\n  class Router {\n    constructor(logger) {\n      this._lastQueryParams = {};\n      this.state = undefined;\n      this.oldState = undefined;\n      this.activeTransition = undefined;\n      this.currentRouteInfos = undefined;\n      this._changedQueryParams = undefined;\n      this.currentSequence = 0;\n      this.log = logger;\n      this.recognizer = new _routeRecognizer.default();\n      this.reset();\n    }\n    /**\n      The main entry point into the router. The API is essentially\n      the same as the `map` method in `route-recognizer`.\n         This method extracts the String handler at the last `.to()`\n      call and uses it as the name of the whole route.\n         @param {Function} callback\n    */\n\n\n    map(callback) {\n      this.recognizer.map(callback, function (recognizer, routes) {\n        for (var i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n          var route = routes[i];\n          var handler = route.handler;\n          recognizer.add(routes, {\n            as: handler\n          });\n          proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n        }\n      });\n    }\n\n    hasRoute(route) {\n      return this.recognizer.hasRoute(route);\n    }\n\n    queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n      this.fireQueryParamDidChange(newState, changelist);\n\n      if (!wasTransitioning && this.activeTransition) {\n        // One of the routes in queryParamsDidChange\n        // caused a transition. Just return that transition.\n        return this.activeTransition;\n      } else {\n        // Running queryParamsDidChange didn't change anything.\n        // Just update query params and be on our way.\n        // We have to return a noop transition that will\n        // perform a URL update at the end. This gives\n        // the user the ability to set the url update\n        // method (default is replaceState).\n        var newTransition = new Transition(this, undefined, undefined);\n        newTransition.queryParamsOnly = true;\n        oldState.queryParams = this.finalizeQueryParamChange(newState.routeInfos, newState.queryParams, newTransition);\n        newTransition[QUERY_PARAMS_SYMBOL] = newState.queryParams;\n        this.toReadOnlyInfos(newTransition, newState);\n        this.routeWillChange(newTransition);\n        newTransition.promise = newTransition.promise.then(result => {\n          if (!newTransition.isAborted) {\n            this._updateURL(newTransition, oldState);\n\n            this.didTransition(this.currentRouteInfos);\n            this.toInfos(newTransition, newState.routeInfos, true);\n            this.routeDidChange(newTransition);\n          }\n\n          return result;\n        }, null, promiseLabel('Transition complete'));\n        return newTransition;\n      }\n    }\n\n    transitionByIntent(intent, isIntermediate) {\n      try {\n        return this.getTransitionByIntent(intent, isIntermediate);\n      } catch (e) {\n        return new Transition(this, intent, undefined, e, undefined);\n      }\n    }\n\n    recognize(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return newState;\n      }\n\n      var readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n      return readonlyInfos[readonlyInfos.length - 1];\n    }\n\n    recognizeAndLoad(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n      }\n\n      var newTransition = new Transition(this, intent, newState, undefined);\n      return newTransition.then(() => {\n        var routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n        return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n      });\n    }\n\n    generateNewState(intent) {\n      try {\n        return intent.applyToState(this.state, false);\n      } catch (e) {\n        return null;\n      }\n    }\n\n    getTransitionByIntent(intent, isIntermediate) {\n      var wasTransitioning = !!this.activeTransition;\n      var oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n      var newTransition;\n      var newState = intent.applyToState(oldState, isIntermediate);\n      var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n\n      if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n        // This is a no-op transition. See if query params changed.\n        if (queryParamChangelist) {\n          var _newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n\n          _newTransition.queryParamsOnly = true;\n          return _newTransition;\n        } // No-op. No need to create a new transition.\n\n\n        return this.activeTransition || new Transition(this, undefined, undefined);\n      }\n\n      if (isIntermediate) {\n        var transition = new Transition(this, undefined, undefined);\n        this.toReadOnlyInfos(transition, newState);\n        this.setupContexts(newState);\n        this.routeWillChange(transition);\n        return this.activeTransition;\n      } // Create a new transition to the destination route.\n\n\n      newTransition = new Transition(this, intent, newState, undefined, this.activeTransition); // transition is to same route with same params, only query params differ.\n      // not caught above probably because refresh() has been used\n\n      if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n        newTransition.queryParamsOnly = true;\n      }\n\n      this.toReadOnlyInfos(newTransition, newState); // Abort and usurp any previously active transition.\n\n      if (this.activeTransition) {\n        this.activeTransition.redirect(newTransition);\n      }\n\n      this.activeTransition = newTransition; // Transition promises by default resolve with resolved state.\n      // For our purposes, swap out the promise to resolve\n      // after the transition has been finalized.\n\n      newTransition.promise = newTransition.promise.then(result => {\n        return this.finalizeTransition(newTransition, result);\n      }, null, promiseLabel('Settle transition promise when transition is finalized'));\n\n      if (!wasTransitioning) {\n        this.notifyExistingHandlers(newState, newTransition);\n      }\n\n      this.fireQueryParamDidChange(newState, queryParamChangelist);\n      return newTransition;\n    }\n    /**\n    @private\n       Begins and returns a Transition based on the provided\n    arguments. Accepts arguments in the form of both URL\n    transitions and named transitions.\n       @param {Router} router\n    @param {Array[Object]} args arguments passed to transitionTo,\n      replaceWith, or handleURL\n    */\n\n\n    doTransition(name, modelsArray = [], isIntermediate = false) {\n      var lastArg = modelsArray[modelsArray.length - 1];\n      var queryParams = {};\n\n      if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n        queryParams = modelsArray.pop().queryParams;\n      }\n\n      var intent;\n\n      if (name === undefined) {\n        log(this, 'Updating query params'); // A query param update is really just a transition\n        // into the route you're already on.\n\n        var {\n          routeInfos\n        } = this.state;\n        intent = new NamedTransitionIntent(this, routeInfos[routeInfos.length - 1].name, undefined, [], queryParams);\n      } else if (name.charAt(0) === '/') {\n        log(this, 'Attempting URL transition to ' + name);\n        intent = new URLTransitionIntent(this, name);\n      } else {\n        log(this, 'Attempting transition to ' + name);\n        intent = new NamedTransitionIntent(this, name, undefined, modelsArray, queryParams);\n      }\n\n      return this.transitionByIntent(intent, isIntermediate);\n    }\n    /**\n    @private\n       Updates the URL (if necessary) and calls `setupContexts`\n    to update the router's array of `currentRouteInfos`.\n    */\n\n\n    finalizeTransition(transition, newState) {\n      try {\n        log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n        var routeInfos = newState.routeInfos; // Run all the necessary enter/setup/exit hooks\n\n        this.setupContexts(newState, transition); // Check if a redirect occurred in enter/setup\n\n        if (transition.isAborted) {\n          // TODO: cleaner way? distinguish b/w targetRouteInfos?\n          this.state.routeInfos = this.currentRouteInfos;\n          return _rsvp.Promise.reject(logAbort(transition));\n        }\n\n        this._updateURL(transition, newState);\n\n        transition.isActive = false;\n        this.activeTransition = undefined;\n        this.triggerEvent(this.currentRouteInfos, true, 'didTransition', []);\n        this.didTransition(this.currentRouteInfos);\n        this.toInfos(transition, newState.routeInfos, true);\n        this.routeDidChange(transition);\n        log(this, transition.sequence, 'TRANSITION COMPLETE.'); // Resolve with the final route.\n\n        return routeInfos[routeInfos.length - 1].route;\n      } catch (e) {\n        if (!(e instanceof TransitionAbortedError)) {\n          var infos = transition[STATE_SYMBOL].routeInfos;\n          transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n          transition.abort();\n        }\n\n        throw e;\n      }\n    }\n    /**\n    @private\n       Takes an Array of `RouteInfo`s, figures out which ones are\n    exiting, entering, or changing contexts, and calls the\n    proper route hooks.\n       For example, consider the following tree of routes. Each route is\n    followed by the URL segment it handles.\n       ```\n    |~index (\"/\")\n    | |~posts (\"/posts\")\n    | | |-showPost (\"/:id\")\n    | | |-newPost (\"/new\")\n    | | |-editPost (\"/edit\")\n    | |~about (\"/about/:id\")\n    ```\n       Consider the following transitions:\n       1. A URL transition to `/posts/1`.\n       1. Triggers the `*model` callbacks on the\n          `index`, `posts`, and `showPost` routes\n       2. Triggers the `enter` callback on the same\n       3. Triggers the `setup` callback on the same\n    2. A direct transition to `newPost`\n       1. Triggers the `exit` callback on `showPost`\n       2. Triggers the `enter` callback on `newPost`\n       3. Triggers the `setup` callback on `newPost`\n    3. A direct transition to `about` with a specified\n       context object\n       1. Triggers the `exit` callback on `newPost`\n          and `posts`\n       2. Triggers the `serialize` callback on `about`\n       3. Triggers the `enter` callback on `about`\n       4. Triggers the `setup` callback on `about`\n       @param {Router} transition\n    @param {TransitionState} newState\n    */\n\n\n    setupContexts(newState, transition) {\n      var partition = this.partitionRoutes(this.state, newState);\n      var i, l, route;\n\n      for (i = 0, l = partition.exited.length; i < l; i++) {\n        route = partition.exited[i].route;\n        delete route.context;\n\n        if (route !== undefined) {\n          if (route._internalReset !== undefined) {\n            route._internalReset(true, transition);\n          }\n\n          if (route.exit !== undefined) {\n            route.exit(transition);\n          }\n        }\n      }\n\n      var oldState = this.oldState = this.state;\n      this.state = newState;\n      var currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n\n      try {\n        for (i = 0, l = partition.reset.length; i < l; i++) {\n          route = partition.reset[i].route;\n\n          if (route !== undefined) {\n            if (route._internalReset !== undefined) {\n              route._internalReset(false, transition);\n            }\n          }\n        }\n\n        for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.updatedContext[i], false, transition);\n        }\n\n        for (i = 0, l = partition.entered.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n        }\n      } catch (e) {\n        this.state = oldState;\n        this.currentRouteInfos = oldState.routeInfos;\n        throw e;\n      }\n\n      this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n       Fires queryParamsDidChange event\n    */\n\n\n    fireQueryParamDidChange(newState, queryParamChangelist) {\n      // If queryParams changed trigger event\n      if (queryParamChangelist) {\n        // This is a little hacky but we need some way of storing\n        // changed query params given that no activeTransition\n        // is guaranteed to have occurred.\n        this._changedQueryParams = queryParamChangelist.all;\n        this.triggerEvent(newState.routeInfos, true, 'queryParamsDidChange', [queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n        this._changedQueryParams = undefined;\n      }\n    }\n    /**\n    @private\n       Helper method used by setupContexts. Handles errors or redirects\n    that may happen in enter/setup.\n    */\n\n\n    routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n      var route = routeInfo.route,\n          context = routeInfo.context;\n\n      function _routeEnteredOrUpdated(route) {\n        if (enter) {\n          if (route.enter !== undefined) {\n            route.enter(transition);\n          }\n        }\n\n        if (transition && transition.isAborted) {\n          throw new TransitionAbortedError();\n        }\n\n        route.context = context;\n\n        if (route.contextDidChange !== undefined) {\n          route.contextDidChange();\n        }\n\n        if (route.setup !== undefined) {\n          route.setup(context, transition);\n        }\n\n        if (transition && transition.isAborted) {\n          throw new TransitionAbortedError();\n        }\n\n        currentRouteInfos.push(routeInfo);\n        return route;\n      } // If the route doesn't exist, it means we haven't resolved the route promise yet\n\n\n      if (route === undefined) {\n        routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n      } else {\n        _routeEnteredOrUpdated(route);\n      }\n\n      return true;\n    }\n    /**\n    @private\n       This function is called when transitioning from one URL to\n    another to determine which routes are no longer active,\n    which routes are newly active, and which routes remain\n    active but have their context changed.\n       Take a list of old routes and new routes and partition\n    them into four buckets:\n       * unchanged: the route was active in both the old and\n      new URL, and its context remains the same\n    * updated context: the route was active in both the\n      old and new URL, but its context changed. The route's\n      `setup` method, if any, will be called with the new\n      context.\n    * exited: the route was active in the old URL, but is\n      no longer active.\n    * entered: the route was not active in the old URL, but\n      is now active.\n       The PartitionedRoutes structure has four fields:\n       * `updatedContext`: a list of `RouteInfo` objects that\n      represent routes that remain active but have a changed\n      context\n    * `entered`: a list of `RouteInfo` objects that represent\n      routes that are newly active\n    * `exited`: a list of `RouteInfo` objects that are no\n      longer active.\n    * `unchanged`: a list of `RouteInfo` objects that remain active.\n       @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n      information for the previous URL (or `[]` if this is the\n      first handled transition)\n    @param {Array[InternalRouteInfo]} newRoutes a list of the route\n      information for the new URL\n       @return {Partition}\n    */\n\n\n    partitionRoutes(oldState, newState) {\n      var oldRouteInfos = oldState.routeInfos;\n      var newRouteInfos = newState.routeInfos;\n      var routes = {\n        updatedContext: [],\n        exited: [],\n        entered: [],\n        unchanged: [],\n        reset: []\n      };\n      var routeChanged,\n          contextChanged = false,\n          i,\n          l;\n\n      for (i = 0, l = newRouteInfos.length; i < l; i++) {\n        var oldRouteInfo = oldRouteInfos[i],\n            newRouteInfo = newRouteInfos[i];\n\n        if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n          routeChanged = true;\n        }\n\n        if (routeChanged) {\n          routes.entered.push(newRouteInfo);\n\n          if (oldRouteInfo) {\n            routes.exited.unshift(oldRouteInfo);\n          }\n        } else if (contextChanged || oldRouteInfo.context !== newRouteInfo.context) {\n          contextChanged = true;\n          routes.updatedContext.push(newRouteInfo);\n        } else {\n          routes.unchanged.push(oldRouteInfo);\n        }\n      }\n\n      for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n        routes.exited.unshift(oldRouteInfos[i]);\n      }\n\n      routes.reset = routes.updatedContext.slice();\n      routes.reset.reverse();\n      return routes;\n    }\n\n    _updateURL(transition, state) {\n      var urlMethod = transition.urlMethod;\n\n      if (!urlMethod) {\n        return;\n      }\n\n      var {\n        routeInfos\n      } = state;\n      var {\n        name: routeName\n      } = routeInfos[routeInfos.length - 1];\n      var params = {};\n\n      for (var i = routeInfos.length - 1; i >= 0; --i) {\n        var routeInfo = routeInfos[i];\n        merge(params, routeInfo.params);\n\n        if (routeInfo.route.inaccessibleByURL) {\n          urlMethod = null;\n        }\n      }\n\n      if (urlMethod) {\n        params.queryParams = transition._visibleQueryParams || state.queryParams;\n        var url = this.recognizer.generate(routeName, params); // transitions during the initial transition must always use replaceURL.\n        // When the app boots, you are at a url, e.g. /foo. If some route\n        // redirects to bar as part of the initial transition, you don't want to\n        // add a history entry for /foo. If you do, pressing back will immediately\n        // hit the redirect again and take you back to /bar, thus killing the back\n        // button\n\n        var initial = transition.isCausedByInitialTransition; // say you are at / and you click a link to route /foo. In /foo's\n        // route, the transition is aborted using replacewith('/bar').\n        // Because the current url is still /, the history entry for / is\n        // removed from the history. Clicking back will take you to the page\n        // you were on before /, which is often not even the app, thus killing\n        // the back button. That's why updateURL is always correct for an\n        // aborting transition that's not the initial transition\n\n        var replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition; // because calling refresh causes an aborted transition, this needs to be\n        // special cased - if the initial transition is a replace transition, the\n        // urlMethod should be honored here.\n\n        var isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace'; // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n        // transition is aborted with `replaceWith(/bar)`. At the end, we should\n        // end up with /bar replacing /. We are replacing the replace. We only\n        // will replace the initial route if all subsequent aborts are also\n        // replaces. However, there is some ambiguity around the correct behavior\n        // here.\n\n        var replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n        if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n          this.replaceURL(url);\n        } else {\n          this.updateURL(url);\n        }\n      }\n    }\n\n    finalizeQueryParamChange(resolvedHandlers, newQueryParams, transition) {\n      // We fire a finalizeQueryParamChange event which\n      // gives the new route hierarchy a chance to tell\n      // us which query params it's consuming and what\n      // their final values are. If a query param is\n      // no longer consumed in the final route hierarchy,\n      // its serialized segment will be removed\n      // from the URL.\n      for (var k in newQueryParams) {\n        if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n          delete newQueryParams[k];\n        }\n      }\n\n      var finalQueryParamsArray = [];\n      this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n\n      if (transition) {\n        transition._visibleQueryParams = {};\n      }\n\n      var finalQueryParams = {};\n\n      for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n        var qp = finalQueryParamsArray[i];\n        finalQueryParams[qp.key] = qp.value;\n\n        if (transition && qp.visible !== false) {\n          transition._visibleQueryParams[qp.key] = qp.value;\n        }\n      }\n\n      return finalQueryParams;\n    }\n\n    toReadOnlyInfos(newTransition, newState) {\n      var oldRouteInfos = this.state.routeInfos;\n      this.fromInfos(newTransition, oldRouteInfos);\n      this.toInfos(newTransition, newState.routeInfos);\n      this._lastQueryParams = newState.queryParams;\n    }\n\n    fromInfos(newTransition, oldRouteInfos) {\n      if (newTransition !== undefined && oldRouteInfos.length > 0) {\n        var fromInfos = toReadOnlyRouteInfo(oldRouteInfos, (0, _polyfills.assign)({}, this._lastQueryParams), true);\n        newTransition.from = fromInfos[fromInfos.length - 1] || null;\n      }\n    }\n\n    toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n      if (newTransition !== undefined && newRouteInfos.length > 0) {\n        var toInfos = toReadOnlyRouteInfo(newRouteInfos, (0, _polyfills.assign)({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n        newTransition.to = toInfos[toInfos.length - 1] || null;\n      }\n    }\n\n    notifyExistingHandlers(newState, newTransition) {\n      var oldRouteInfos = this.state.routeInfos,\n          i,\n          oldRouteInfoLen,\n          oldHandler,\n          newRouteInfo;\n      oldRouteInfoLen = oldRouteInfos.length;\n\n      for (i = 0; i < oldRouteInfoLen; i++) {\n        oldHandler = oldRouteInfos[i];\n        newRouteInfo = newState.routeInfos[i];\n\n        if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n          break;\n        }\n\n        if (!newRouteInfo.isResolved) {}\n      }\n\n      this.triggerEvent(oldRouteInfos, true, 'willTransition', [newTransition]);\n      this.routeWillChange(newTransition);\n      this.willTransition(oldRouteInfos, newState.routeInfos, newTransition);\n    }\n    /**\n      Clears the current and target route routes and triggers exit\n      on each of them starting at the leaf and traversing up through\n      its ancestors.\n    */\n\n\n    reset() {\n      if (this.state) {\n        forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n          var route = routeInfo.route;\n\n          if (route !== undefined) {\n            if (route.exit !== undefined) {\n              route.exit();\n            }\n          }\n\n          return true;\n        });\n      }\n\n      this.oldState = undefined;\n      this.state = new TransitionState();\n      this.currentRouteInfos = undefined;\n    }\n    /**\n      let handler = routeInfo.handler;\n      The entry point for handling a change to the URL (usually\n      via the back and forward button).\n         Returns an Array of handlers and the parameters associated\n      with those parameters.\n         @param {String} url a URL to process\n         @return {Array} an Array of `[handler, parameter]` tuples\n    */\n\n\n    handleURL(url) {\n      // Perform a URL-based transition, but don't change\n      // the URL afterward, since it already happened.\n      if (url.charAt(0) !== '/') {\n        url = '/' + url;\n      }\n\n      return this.doTransition(url).method(null);\n    }\n    /**\n      Transition into the specified named route.\n         If necessary, trigger the exit callback on any routes\n      that are no longer represented by the target route.\n         @param {String} name the name of the route\n    */\n\n\n    transitionTo(name, ...contexts) {\n      if (typeof name === 'object') {\n        contexts.push(name);\n        return this.doTransition(undefined, contexts, false);\n      }\n\n      return this.doTransition(name, contexts);\n    }\n\n    intermediateTransitionTo(name, ...args) {\n      return this.doTransition(name, args, true);\n    }\n\n    refresh(pivotRoute) {\n      var previousTransition = this.activeTransition;\n      var state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n      var routeInfos = state.routeInfos;\n\n      if (pivotRoute === undefined) {\n        pivotRoute = routeInfos[0].route;\n      }\n\n      log(this, 'Starting a refresh transition');\n      var name = routeInfos[routeInfos.length - 1].name;\n      var intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n      var newTransition = this.transitionByIntent(intent, false); // if the previous transition is a replace transition, that needs to be preserved\n\n      if (previousTransition && previousTransition.urlMethod === 'replace') {\n        newTransition.method(previousTransition.urlMethod);\n      }\n\n      return newTransition;\n    }\n    /**\n      Identical to `transitionTo` except that the current URL will be replaced\n      if possible.\n         This method is intended primarily for use with `replaceState`.\n         @param {String} name the name of the route\n    */\n\n\n    replaceWith(name) {\n      return this.doTransition(name).method('replace');\n    }\n    /**\n      Take a named route and context objects and generate a\n      URL.\n         @param {String} name the name of the route to generate\n        a URL for\n      @param {...Object} objects a list of objects to serialize\n         @return {String} a URL\n    */\n\n\n    generate(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args),\n          suppliedParams = partitionedArgs[0],\n          queryParams = partitionedArgs[1]; // Construct a TransitionIntent with the provided params\n      // and apply it to the present state of the router.\n\n      var intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n      var state = intent.applyToState(this.state, false);\n      var params = {};\n\n      for (var i = 0, len = state.routeInfos.length; i < len; ++i) {\n        var routeInfo = state.routeInfos[i];\n        var routeParams = routeInfo.serialize();\n        merge(params, routeParams);\n      }\n\n      params.queryParams = queryParams;\n      return this.recognizer.generate(routeName, params);\n    }\n\n    applyIntent(routeName, contexts) {\n      var intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n      var state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n      return intent.applyToState(state, false);\n    }\n\n    isActiveIntent(routeName, contexts, queryParams, _state) {\n      var state = _state || this.state,\n          targetRouteInfos = state.routeInfos,\n          routeInfo,\n          len;\n\n      if (!targetRouteInfos.length) {\n        return false;\n      }\n\n      var targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n      var recogHandlers = this.recognizer.handlersFor(targetHandler);\n      var index = 0;\n\n      for (len = recogHandlers.length; index < len; ++index) {\n        routeInfo = targetRouteInfos[index];\n\n        if (routeInfo.name === routeName) {\n          break;\n        }\n      }\n\n      if (index === recogHandlers.length) {\n        // The provided route name isn't even in the route hierarchy.\n        return false;\n      }\n\n      var testState = new TransitionState();\n      testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n      recogHandlers = recogHandlers.slice(0, index + 1);\n      var intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n      var newState = intent.applyToHandlers(testState, recogHandlers, targetHandler, true, true);\n      var routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n\n      if (!queryParams || !routesEqual) {\n        return routesEqual;\n      } // Get a hash of QPs that will still be active on new route\n\n\n      var activeQPsOnNewHandler = {};\n      merge(activeQPsOnNewHandler, queryParams);\n      var activeQueryParams = state.queryParams;\n\n      for (var key in activeQueryParams) {\n        if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n          activeQPsOnNewHandler[key] = activeQueryParams[key];\n        }\n      }\n\n      return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    }\n\n    isActive(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args);\n      return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n    }\n\n    trigger(name, ...args) {\n      this.triggerEvent(this.currentRouteInfos, false, name, args);\n    }\n\n  }\n\n  function routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i] !== otherRouteInfos[i]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i].name !== otherRouteInfos[i].name) {\n        return false;\n      }\n\n      if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  function paramsEqual(params, otherParams) {\n    if (!params && !otherParams) {\n      return true;\n    } else if (!params && !!otherParams || !!params && !otherParams) {\n      // one is falsy but other is not;\n      return false;\n    }\n\n    var keys = Object.keys(params);\n    var otherKeys = Object.keys(otherParams);\n\n    if (keys.length !== otherKeys.length) {\n      return false;\n    }\n\n    for (var i = 0, len = keys.length; i < len; ++i) {\n      var key = keys[i];\n\n      if (params[key] !== otherParams[key]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var _default = Router;\n  _exports.default = _default;\n});","define(\"rsvp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asap = asap;\n  _exports.all = all$1;\n  _exports.allSettled = allSettled;\n  _exports.race = race$1;\n  _exports.hash = hash;\n  _exports.hashSettled = hashSettled;\n  _exports.rethrow = rethrow;\n  _exports.defer = defer;\n  _exports.denodeify = denodeify;\n  _exports.configure = configure;\n  _exports.on = on;\n  _exports.off = off;\n  _exports.resolve = resolve$2;\n  _exports.reject = reject$2;\n  _exports.map = map;\n  _exports.filter = filter;\n  _exports.async = _exports.EventTarget = _exports.Promise = _exports.cast = _exports.default = void 0;\n\n  function callbacksFor(object) {\n    var callbacks = object._promiseCallbacks;\n\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n\n    return callbacks;\n  }\n  /**\n    @class EventTarget\n    @for rsvp\n    @public\n  */\n\n\n  var EventTarget = {\n    /**\n      `EventTarget.mixin` extends an object with EventTarget methods. For\n      Example:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let object = {};\n       EventTarget.mixin(object);\n       object.on('finished', function(event) {\n        // handle event\n      });\n       object.trigger('finished', { detail: value });\n      ```\n       `EventTarget.mixin` also works with prototypes:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let Person = function() {};\n      EventTarget.mixin(Person.prototype);\n       let yehuda = new Person();\n      let tom = new Person();\n       yehuda.on('poke', function(event) {\n        console.log('Yehuda says OW');\n      });\n       tom.on('poke', function(event) {\n        console.log('Tom says OW');\n      });\n       yehuda.trigger('poke');\n      tom.trigger('poke');\n      ```\n       @method mixin\n      @for rsvp\n      @private\n      @param {Object} object object to extend with EventTarget methods\n    */\n    mixin(object) {\n      object.on = this.on;\n      object.off = this.off;\n      object.trigger = this.trigger;\n      object._promiseCallbacks = undefined;\n      return object;\n    },\n\n    /**\n      Registers a callback to be executed when `eventName` is triggered\n       ```javascript\n      object.on('event', function(eventInfo){\n        // handle the event\n      });\n       object.trigger('event');\n      ```\n       @method on\n      @for EventTarget\n      @private\n      @param {String} eventName name of the event to listen for\n      @param {Function} callback function to be called when the event is triggered.\n    */\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError('Callback must be a function');\n      }\n\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n\n      if (callbacks.indexOf(callback) === -1) {\n        callbacks.push(callback);\n      }\n    },\n\n    /**\n      You can use `off` to stop firing a particular callback for an event:\n       ```javascript\n      function doStuff() { // do stuff! }\n      object.on('stuff', doStuff);\n       object.trigger('stuff'); // doStuff will be called\n       // Unregister ONLY the doStuff callback\n      object.off('stuff', doStuff);\n      object.trigger('stuff'); // doStuff will NOT be called\n      ```\n       If you don't pass a `callback` argument to `off`, ALL callbacks for the\n      event will not be executed when the event fires. For example:\n       ```javascript\n      let callback1 = function(){};\n      let callback2 = function(){};\n       object.on('stuff', callback1);\n      object.on('stuff', callback2);\n       object.trigger('stuff'); // callback1 and callback2 will be executed.\n       object.off('stuff');\n      object.trigger('stuff'); // callback1 and callback2 will not be executed!\n      ```\n       @method off\n      @for rsvp\n      @private\n      @param {String} eventName event to stop listening to\n      @param {Function} [callback] optional argument. If given, only the function\n      given will be removed from the event's callback queue. If no `callback`\n      argument is given, all callbacks will be removed from the event's callback\n      queue.\n    */\n    off(eventName, callback) {\n      var allCallbacks = callbacksFor(this);\n\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n\n      var callbacks = allCallbacks[eventName];\n      var index = callbacks.indexOf(callback);\n\n      if (index !== -1) {\n        callbacks.splice(index, 1);\n      }\n    },\n\n    /**\n      Use `trigger` to fire custom events. For example:\n       ```javascript\n      object.on('foo', function(){\n        console.log('foo event happened!');\n      });\n      object.trigger('foo');\n      // 'foo event happened!' logged to the console\n      ```\n       You can also pass a value as a second argument to `trigger` that will be\n      passed as an argument to all event listeners for the event:\n       ```javascript\n      object.on('foo', function(value){\n        console.log(value.name);\n      });\n       object.trigger('foo', { name: 'bar' });\n      // 'bar' logged to the console\n      ```\n       @method trigger\n      @for rsvp\n      @private\n      @param {String} eventName name of the event to be triggered\n      @param {*} [options] optional value to be passed to any event handlers for\n      the given `eventName`\n    */\n    trigger(eventName, options, label) {\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n\n      if (callbacks) {\n        // Don't cache the callbacks.length since it may grow\n        var callback;\n\n        for (var i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n          callback(options, label);\n        }\n      }\n    }\n\n  };\n  _exports.EventTarget = EventTarget;\n  var config = {\n    instrument: false\n  };\n  EventTarget['mixin'](config);\n\n  function configure(name, value) {\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n\n  var queue = [];\n\n  function scheduleFlush() {\n    setTimeout(() => {\n      for (var i = 0; i < queue.length; i++) {\n        var entry = queue[i];\n        var payload = entry.payload;\n        payload.guid = payload.key + payload.id;\n        payload.childGuid = payload.key + payload.childId;\n\n        if (payload.error) {\n          payload.stack = payload.error.stack;\n        }\n\n        config['trigger'](entry.name, entry.payload);\n      }\n\n      queue.length = 0;\n    }, 50);\n  }\n\n  function instrument(eventName, promise, child) {\n    if (1 === queue.push({\n      name: eventName,\n      payload: {\n        key: promise._guidKey,\n        id: promise._id,\n        eventName: eventName,\n        detail: promise._result,\n        childId: child && child._id,\n        label: promise._label,\n        timeStamp: Date.now(),\n        error: config[\"instrument-with-stack\"] ? new Error(promise._label) : null\n      }\n    })) {\n      scheduleFlush();\n    }\n  }\n  /**\n    `Promise.resolve` returns a promise that will become resolved with the\n    passed `value`. It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      resolve(1);\n    });\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = RSVP.Promise.resolve(1);\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    @method resolve\n    @for Promise\n    @static\n    @param {*} object value that the returned promise will be resolved with\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n\n\n  function resolve$$1(object, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n\n    if (object && typeof object === 'object' && object.constructor === Constructor) {\n      return object;\n    }\n\n    var promise = new Constructor(noop, label);\n    resolve$1(promise, object);\n    return promise;\n  }\n\n  function withOwnPromise() {\n    return new TypeError('A promises callback cannot return that same promise.');\n  }\n\n  function objectOrFunction(x) {\n    var type = typeof x;\n    return x !== null && (type === 'object' || type === 'function');\n  }\n\n  function noop() {}\n\n  var PENDING = void 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n\n  function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n    try {\n      then$$1.call(value, fulfillmentHandler, rejectionHandler);\n    } catch (e) {\n      return e;\n    }\n  }\n\n  function handleForeignThenable(promise, thenable, then$$1) {\n    config.async(promise => {\n      var sealed = false;\n      var error = tryThen(then$$1, thenable, value => {\n        if (sealed) {\n          return;\n        }\n\n        sealed = true;\n\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, reason => {\n        if (sealed) {\n          return;\n        }\n\n        sealed = true;\n        reject(promise, reason);\n      }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n      if (!sealed && error) {\n        sealed = true;\n        reject(promise, error);\n      }\n    }, promise);\n  }\n\n  function handleOwnThenable(promise, thenable) {\n    if (thenable._state === FULFILLED) {\n      fulfill(promise, thenable._result);\n    } else if (thenable._state === REJECTED) {\n      thenable._onError = null;\n      reject(promise, thenable._result);\n    } else {\n      subscribe(thenable, undefined, value => {\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, reason => reject(promise, reason));\n    }\n  }\n\n  function handleMaybeThenable(promise, maybeThenable, then$$1) {\n    var isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && promise.constructor.resolve === resolve$$1;\n\n    if (isOwnThenable) {\n      handleOwnThenable(promise, maybeThenable);\n    } else if (typeof then$$1 === 'function') {\n      handleForeignThenable(promise, maybeThenable, then$$1);\n    } else {\n      fulfill(promise, maybeThenable);\n    }\n  }\n\n  function resolve$1(promise, value) {\n    if (promise === value) {\n      fulfill(promise, value);\n    } else if (objectOrFunction(value)) {\n      var then$$1;\n\n      try {\n        then$$1 = value.then;\n      } catch (error) {\n        reject(promise, error);\n        return;\n      }\n\n      handleMaybeThenable(promise, value, then$$1);\n    } else {\n      fulfill(promise, value);\n    }\n  }\n\n  function publishRejection(promise) {\n    if (promise._onError) {\n      promise._onError(promise._result);\n    }\n\n    publish(promise);\n  }\n\n  function fulfill(promise, value) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._result = value;\n    promise._state = FULFILLED;\n\n    if (promise._subscribers.length === 0) {\n      if (config.instrument) {\n        instrument('fulfilled', promise);\n      }\n    } else {\n      config.async(publish, promise);\n    }\n  }\n\n  function reject(promise, reason) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._state = REJECTED;\n    promise._result = reason;\n    config.async(publishRejection, promise);\n  }\n\n  function subscribe(parent, child, onFulfillment, onRejection) {\n    var subscribers = parent._subscribers;\n    var length = subscribers.length;\n    parent._onError = null;\n    subscribers[length] = child;\n    subscribers[length + FULFILLED] = onFulfillment;\n    subscribers[length + REJECTED] = onRejection;\n\n    if (length === 0 && parent._state) {\n      config.async(publish, parent);\n    }\n  }\n\n  function publish(promise) {\n    var subscribers = promise._subscribers;\n    var settled = promise._state;\n\n    if (config.instrument) {\n      instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n    }\n\n    if (subscribers.length === 0) {\n      return;\n    }\n\n    var child,\n        callback,\n        result = promise._result;\n\n    for (var i = 0; i < subscribers.length; i += 3) {\n      child = subscribers[i];\n      callback = subscribers[i + settled];\n\n      if (child) {\n        invokeCallback(settled, child, callback, result);\n      } else {\n        callback(result);\n      }\n    }\n\n    promise._subscribers.length = 0;\n  }\n\n  function invokeCallback(state, promise, callback, result) {\n    var hasCallback = typeof callback === 'function';\n    var value,\n        succeeded = true,\n        error;\n\n    if (hasCallback) {\n      try {\n        value = callback(result);\n      } catch (e) {\n        succeeded = false;\n        error = e;\n      }\n    } else {\n      value = result;\n    }\n\n    if (promise._state !== PENDING) {// noop\n    } else if (value === promise) {\n      reject(promise, withOwnPromise());\n    } else if (succeeded === false) {\n      reject(promise, error);\n    } else if (hasCallback) {\n      resolve$1(promise, value);\n    } else if (state === FULFILLED) {\n      fulfill(promise, value);\n    } else if (state === REJECTED) {\n      reject(promise, value);\n    }\n  }\n\n  function initializePromise(promise, resolver) {\n    var resolved = false;\n\n    try {\n      resolver(value => {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        resolve$1(promise, value);\n      }, reason => {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        reject(promise, reason);\n      });\n    } catch (e) {\n      reject(promise, e);\n    }\n  }\n\n  function then(onFulfillment, onRejection, label) {\n    var parent = this;\n    var state = parent._state;\n\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\n\n    parent._onError = null;\n    var child = new parent.constructor(noop, label);\n    var result = parent._result;\n    config.instrument && instrument('chained', parent, child);\n\n    if (state === PENDING) {\n      subscribe(parent, child, onFulfillment, onRejection);\n    } else {\n      var callback = state === FULFILLED ? onFulfillment : onRejection;\n      config.async(() => invokeCallback(state, child, callback, result));\n    }\n\n    return child;\n  }\n\n  class Enumerator {\n    constructor(Constructor, input, abortOnReject, label) {\n      this._instanceConstructor = Constructor;\n      this.promise = new Constructor(noop, label);\n      this._abortOnReject = abortOnReject;\n      this._isUsingOwnPromise = Constructor === Promise;\n      this._isUsingOwnResolve = Constructor.resolve === resolve$$1;\n\n      this._init(...arguments);\n    }\n\n    _init(Constructor, input) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n\n      this._enumerate(input);\n    }\n\n    _enumerate(input) {\n      var length = this.length;\n      var promise = this.promise;\n\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        this._eachEntry(input[i], i, true);\n      }\n\n      this._checkFullfillment();\n    }\n\n    _checkFullfillment() {\n      if (this._remaining === 0) {\n        var result = this._result;\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n\n    _settleMaybeThenable(entry, i, firstPass) {\n      var c = this._instanceConstructor;\n\n      if (this._isUsingOwnResolve) {\n        var then$$1,\n            error,\n            succeeded = true;\n\n        try {\n          then$$1 = entry.then;\n        } catch (e) {\n          succeeded = false;\n          error = e;\n        }\n\n        if (then$$1 === then && entry._state !== PENDING) {\n          entry._onError = null;\n\n          this._settledAt(entry._state, i, entry._result, firstPass);\n        } else if (typeof then$$1 !== 'function') {\n          this._settledAt(FULFILLED, i, entry, firstPass);\n        } else if (this._isUsingOwnPromise) {\n          var promise = new c(noop);\n\n          if (succeeded === false) {\n            reject(promise, error);\n          } else {\n            handleMaybeThenable(promise, entry, then$$1);\n\n            this._willSettleAt(promise, i, firstPass);\n          }\n        } else {\n          this._willSettleAt(new c(resolve => resolve(entry)), i, firstPass);\n        }\n      } else {\n        this._willSettleAt(c.resolve(entry), i, firstPass);\n      }\n    }\n\n    _eachEntry(entry, i, firstPass) {\n      if (entry !== null && typeof entry === 'object') {\n        this._settleMaybeThenable(entry, i, firstPass);\n      } else {\n        this._setResultAt(FULFILLED, i, entry, firstPass);\n      }\n    }\n\n    _settledAt(state, i, value, firstPass) {\n      var promise = this.promise;\n\n      if (promise._state === PENDING) {\n        if (this._abortOnReject && state === REJECTED) {\n          reject(promise, value);\n        } else {\n          this._setResultAt(state, i, value, firstPass);\n\n          this._checkFullfillment();\n        }\n      }\n    }\n\n    _setResultAt(state, i, value, firstPass) {\n      this._remaining--;\n      this._result[i] = value;\n    }\n\n    _willSettleAt(promise, i, firstPass) {\n      subscribe(promise, undefined, value => this._settledAt(FULFILLED, i, value, firstPass), reason => this._settledAt(REJECTED, i, reason, firstPass));\n    }\n\n  }\n\n  function setSettledResult(state, i, value) {\n    this._remaining--;\n\n    if (state === FULFILLED) {\n      this._result[i] = {\n        state: 'fulfilled',\n        value: value\n      };\n    } else {\n      this._result[i] = {\n        state: 'rejected',\n        reason: value\n      };\n    }\n  }\n  /**\n    `Promise.all` accepts an array of promises, and returns a new promise which\n    is fulfilled with an array of fulfillment values for the passed promises, or\n    rejected with the reason of the first passed promise to be rejected. It casts all\n    elements of the passed iterable to promises as it runs this algorithm.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // The array here would be [ 1, 2, 3 ];\n    });\n    ```\n  \n    If any of the `promises` given to `RSVP.all` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promises's\n    rejection handler. For example:\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve, reject } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error(\"2\"));\n    let promise3 = reject(new Error(\"3\"));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(error) {\n      // error.message === \"2\"\n    });\n    ```\n  \n    @method all\n    @for Promise\n    @param {Array} entries array of promises\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all `promises` have been\n    fulfilled, or rejected if any of them become rejected.\n    @static\n  */\n\n\n  function all(entries, label) {\n    if (!Array.isArray(entries)) {\n      return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n    }\n\n    return new Enumerator(this, entries, true\n    /* abort on reject */\n    , label).promise;\n  }\n  /**\n    `Promise.race` returns a new promise which is settled in the same way as the\n    first passed promise to settle.\n  \n    Example:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 2');\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // result === 'promise 2' because it was resolved before promise1\n      // was resolved.\n    });\n    ```\n  \n    `Promise.race` is deterministic in that only the state of the first\n    settled promise matters. For example, even if other promises given to the\n    `promises` array argument are resolved, but the first settled promise has\n    become rejected before the other promises became fulfilled, the returned\n    promise will become rejected:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        reject(new Error('promise 2'));\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // Code here never runs\n    }, function(reason){\n      // reason.message === 'promise 2' because promise 2 became rejected before\n      // promise 1 became fulfilled\n    });\n    ```\n  \n    An example real-world use case is implementing timeouts:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    Promise.race([ajax('foo.json'), timeout(5000)])\n    ```\n  \n    @method race\n    @for Promise\n    @static\n    @param {Array} entries array of promises to observe\n    @param {String} [label] optional string for describing the promise returned.\n    Useful for tooling.\n    @return {Promise} a promise which settles in the same way as the first passed\n    promise to settle.\n  */\n\n\n  function race(entries, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n\n    if (!Array.isArray(entries)) {\n      reject(promise, new TypeError('Promise.race must be called with an array'));\n      return promise;\n    }\n\n    for (var i = 0; promise._state === PENDING && i < entries.length; i++) {\n      subscribe(Constructor.resolve(entries[i]), undefined, value => resolve$1(promise, value), reason => reject(promise, reason));\n    }\n\n    return promise;\n  }\n  /**\n    `Promise.reject` returns a promise rejected with the passed `reason`.\n    It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      reject(new Error('WHOOPS'));\n    });\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = Promise.reject(new Error('WHOOPS'));\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    @method reject\n    @for Promise\n    @static\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n\n\n  function reject$1(reason, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n    reject(promise, reason);\n    return promise;\n  }\n\n  var guidKey = 'rsvp_' + Date.now() + '-';\n  var counter = 0;\n\n  function needsResolver() {\n    throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n  }\n\n  function needsNew() {\n    throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n  }\n  /**\n    Promise objects represent the eventual result of an asynchronous operation. The\n    primary way of interacting with a promise is through its `then` method, which\n    registers callbacks to receive either a promise’s eventual value or the reason\n    why the promise cannot be fulfilled.\n  \n    Terminology\n    -----------\n  \n    - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n    - `thenable` is an object or function that defines a `then` method.\n    - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n    - `exception` is a value that is thrown using the throw statement.\n    - `reason` is a value that indicates why a promise was rejected.\n    - `settled` the final resting state of a promise, fulfilled or rejected.\n  \n    A promise can be in one of three states: pending, fulfilled, or rejected.\n  \n    Promises that are fulfilled have a fulfillment value and are in the fulfilled\n    state.  Promises that are rejected have a rejection reason and are in the\n    rejected state.  A fulfillment value is never a thenable.\n  \n    Promises can also be said to *resolve* a value.  If this value is also a\n    promise, then the original promise's settled state will match the value's\n    settled state.  So a promise that *resolves* a promise that rejects will\n    itself reject, and a promise that *resolves* a promise that fulfills will\n    itself fulfill.\n  \n  \n    Basic Usage:\n    ------------\n  \n    ```js\n    let promise = new Promise(function(resolve, reject) {\n      // on success\n      resolve(value);\n  \n      // on failure\n      reject(reason);\n    });\n  \n    promise.then(function(value) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Advanced Usage:\n    ---------------\n  \n    Promises shine when abstracting away asynchronous interactions such as\n    `XMLHttpRequest`s.\n  \n    ```js\n    function getJSON(url) {\n      return new Promise(function(resolve, reject){\n        let xhr = new XMLHttpRequest();\n  \n        xhr.open('GET', url);\n        xhr.onreadystatechange = handler;\n        xhr.responseType = 'json';\n        xhr.setRequestHeader('Accept', 'application/json');\n        xhr.send();\n  \n        function handler() {\n          if (this.readyState === this.DONE) {\n            if (this.status === 200) {\n              resolve(this.response);\n            } else {\n              reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n            }\n          }\n        };\n      });\n    }\n  \n    getJSON('/posts.json').then(function(json) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Unlike callbacks, promises are great composable primitives.\n  \n    ```js\n    Promise.all([\n      getJSON('/posts'),\n      getJSON('/comments')\n    ]).then(function(values){\n      values[0] // => postsJSON\n      values[1] // => commentsJSON\n  \n      return values;\n    });\n    ```\n  \n    @class Promise\n    @public\n    @param {function} resolver\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @constructor\n  */\n\n\n  class Promise {\n    constructor(resolver, label) {\n      this._id = counter++;\n      this._label = label;\n      this._state = undefined;\n      this._result = undefined;\n      this._subscribers = [];\n      config.instrument && instrument('created', this);\n\n      if (noop !== resolver) {\n        typeof resolver !== 'function' && needsResolver();\n        this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n      }\n    }\n\n    _onError(reason) {\n      config.after(() => {\n        if (this._onError) {\n          config.trigger('error', reason, this._label);\n        }\n      });\n    }\n    /**\n      `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n      as the catch block of a try/catch statement.\n    \n      ```js\n      function findAuthor(){\n        throw new Error('couldn\\'t find that author');\n      }\n    \n      // synchronous\n      try {\n        findAuthor();\n      } catch(reason) {\n        // something went wrong\n      }\n    \n      // async with promises\n      findAuthor().catch(function(reason){\n        // something went wrong\n      });\n      ```\n    \n      @method catch\n      @param {Function} onRejection\n      @param {String} [label] optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n\n\n    catch(onRejection, label) {\n      return this.then(undefined, onRejection, label);\n    }\n    /**\n      `finally` will be invoked regardless of the promise's fate just as native\n      try/catch/finally behaves\n    \n      Synchronous example:\n    \n      ```js\n      findAuthor() {\n        if (Math.random() > 0.5) {\n          throw new Error();\n        }\n        return new Author();\n      }\n    \n      try {\n        return findAuthor(); // succeed or fail\n      } catch(error) {\n        return findOtherAuthor();\n      } finally {\n        // always runs\n        // doesn't affect the return value\n      }\n      ```\n    \n      Asynchronous example:\n    \n      ```js\n      findAuthor().catch(function(reason){\n        return findOtherAuthor();\n      }).finally(function(){\n        // author was either found, or not\n      });\n      ```\n    \n      @method finally\n      @param {Function} callback\n      @param {String} [label] optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n\n\n    finally(callback, label) {\n      var promise = this;\n      var constructor = promise.constructor;\n\n      if (typeof callback === 'function') {\n        return promise.then(value => constructor.resolve(callback()).then(() => value), reason => constructor.resolve(callback()).then(() => {\n          throw reason;\n        }));\n      }\n\n      return promise.then(callback, callback);\n    }\n\n  }\n\n  _exports.Promise = Promise;\n  Promise.cast = resolve$$1; // deprecated\n\n  Promise.all = all;\n  Promise.race = race;\n  Promise.resolve = resolve$$1;\n  Promise.reject = reject$1;\n  Promise.prototype._guidKey = guidKey;\n  /**\n    The primary way of interacting with a promise is through its `then` method,\n    which registers callbacks to receive either a promise's eventual value or the\n    reason why the promise cannot be fulfilled.\n  \n    ```js\n    findUser().then(function(user){\n      // user is available\n    }, function(reason){\n      // user is unavailable, and you are given the reason why\n    });\n    ```\n  \n    Chaining\n    --------\n  \n    The return value of `then` is itself a promise.  This second, 'downstream'\n    promise is resolved with the return value of the first promise's fulfillment\n    or rejection handler, or rejected if the handler throws an exception.\n  \n    ```js\n    findUser().then(function (user) {\n      return user.name;\n    }, function (reason) {\n      return 'default name';\n    }).then(function (userName) {\n      // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n      // will be `'default name'`\n    });\n  \n    findUser().then(function (user) {\n      throw new Error('Found user, but still unhappy');\n    }, function (reason) {\n      throw new Error('`findUser` rejected and we\\'re unhappy');\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n      // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n    });\n    ```\n    If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n  \n    ```js\n    findUser().then(function (user) {\n      throw new PedagogicalException('Upstream error');\n    }).then(function (value) {\n      // never reached\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // The `PedgagocialException` is propagated all the way down to here\n    });\n    ```\n  \n    Assimilation\n    ------------\n  \n    Sometimes the value you want to propagate to a downstream promise can only be\n    retrieved asynchronously. This can be achieved by returning a promise in the\n    fulfillment or rejection handler. The downstream promise will then be pending\n    until the returned promise is settled. This is called *assimilation*.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // The user's comments are now available\n    });\n    ```\n  \n    If the assimliated promise rejects, then the downstream promise will also reject.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // If `findCommentsByAuthor` fulfills, we'll have the value here\n    }, function (reason) {\n      // If `findCommentsByAuthor` rejects, we'll have the reason here\n    });\n    ```\n  \n    Simple Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let result;\n  \n    try {\n      result = findResult();\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n    findResult(function(result, err){\n      if (err) {\n        // failure\n      } else {\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findResult().then(function(result){\n      // success\n    }, function(reason){\n      // failure\n    });\n    ```\n  \n    Advanced Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let author, books;\n  \n    try {\n      author = findAuthor();\n      books  = findBooksByAuthor(author);\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n  \n    function foundBooks(books) {\n  \n    }\n  \n    function failure(reason) {\n  \n    }\n  \n    findAuthor(function(author, err){\n      if (err) {\n        failure(err);\n        // failure\n      } else {\n        try {\n          findBoooksByAuthor(author, function(books, err) {\n            if (err) {\n              failure(err);\n            } else {\n              try {\n                foundBooks(books);\n              } catch(reason) {\n                failure(reason);\n              }\n            }\n          });\n        } catch(error) {\n          failure(err);\n        }\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findAuthor().\n      then(findBooksByAuthor).\n      then(function(books){\n        // found books\n    }).catch(function(reason){\n      // something went wrong\n    });\n    ```\n  \n    @method then\n    @param {Function} onFulfillment\n    @param {Function} onRejection\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n  */\n\n  Promise.prototype.then = then;\n\n  function makeObject(_, argumentNames) {\n    var obj = {};\n    var length = _.length;\n    var args = new Array(length);\n\n    for (var x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n\n    for (var i = 0; i < argumentNames.length; i++) {\n      var name = argumentNames[i];\n      obj[name] = args[i + 1];\n    }\n\n    return obj;\n  }\n\n  function arrayResult(_) {\n    var length = _.length;\n    var args = new Array(length - 1);\n\n    for (var i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n\n    return args;\n  }\n\n  function wrapThenable(then, promise) {\n    return {\n      then(onFulFillment, onRejection) {\n        return then.call(promise, onFulFillment, onRejection);\n      }\n\n    };\n  }\n  /**\n    `denodeify` takes a 'node-style' function and returns a function that\n    will return an `Promise`. You can use `denodeify` in Node.js or the\n    browser when you'd prefer to use promises over using callbacks. For example,\n    `denodeify` transforms the following:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) return handleError(err);\n      handleData(data);\n    });\n    ```\n  \n    into:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n  \n    readFile('myfile.txt').then(handleData, handleError);\n    ```\n  \n    If the node function has multiple success parameters, then `denodeify`\n    just returns the first one:\n  \n    ```javascript\n    let request = denodeify(require('request'));\n  \n    request('http://example.com').then(function(res) {\n      // ...\n    });\n    ```\n  \n    However, if you need all success parameters, setting `denodeify`'s\n    second parameter to `true` causes it to return all success parameters\n    as an array:\n  \n    ```javascript\n    let request = denodeify(require('request'), true);\n  \n    request('http://example.com').then(function(result) {\n      // result[0] -> res\n      // result[1] -> body\n    });\n    ```\n  \n    Or if you pass it an array with names it returns the parameters as a hash:\n  \n    ```javascript\n    let request = denodeify(require('request'), ['res', 'body']);\n  \n    request('http://example.com').then(function(result) {\n      // result.res\n      // result.body\n    });\n    ```\n  \n    Sometimes you need to retain the `this`:\n  \n    ```javascript\n    let app = require('express')();\n    let render = denodeify(app.render.bind(app));\n    ```\n  \n    The denodified function inherits from the original function. It works in all\n    environments, except IE 10 and below. Consequently all properties of the original\n    function are available to you. However, any properties you change on the\n    denodeified function won't be changed on the original function. Example:\n  \n    ```javascript\n    let request = denodeify(require('request')),\n        cookieJar = request.jar(); // <- Inheritance is used here\n  \n    request('http://example.com', {jar: cookieJar}).then(function(res) {\n      // cookieJar.cookies holds now the cookies returned by example.com\n    });\n    ```\n  \n    Using `denodeify` makes it easier to compose asynchronous operations instead\n    of using callbacks. For example, instead of:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) { ... } // Handle error\n      fs.writeFile('myfile2.txt', data, function(err){\n        if (err) { ... } // Handle error\n        console.log('done')\n      });\n    });\n    ```\n  \n    you can chain the operations together using `then` from the returned promise:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n    let writeFile = denodeify(fs.writeFile);\n  \n    readFile('myfile.txt').then(function(data){\n      return writeFile('myfile2.txt', data);\n    }).then(function(){\n      console.log('done')\n    }).catch(function(error){\n      // Handle error\n    });\n    ```\n  \n    @method denodeify\n    @public\n    @static\n    @for rsvp\n    @param {Function} nodeFunc a 'node-style' function that takes a callback as\n    its last argument. The callback expects an error to be passed as its first\n    argument (if an error occurred, otherwise null), and the value from the\n    operation as its second argument ('function(err, value){ }').\n    @param {Boolean|Array} [options] An optional paramter that if set\n    to `true` causes the promise to fulfill with the callback's success arguments\n    as an array. This is useful if the node function has multiple success\n    paramters. If you set this paramter to an array with names, the promise will\n    fulfill with a hash with these names as keys and the success parameters as\n    values.\n    @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n  */\n\n\n  function denodeify(nodeFunc, options) {\n    var fn = function () {\n      var l = arguments.length;\n      var args = new Array(l + 1);\n      var promiseInput = false;\n\n      for (var i = 0; i < l; ++i) {\n        var arg = arguments[i]; // TODO: this code really needs to be cleaned up\n\n        if (!promiseInput) {\n          if (arg !== null && typeof arg === 'object') {\n            if (arg.constructor === Promise) {\n              promiseInput = true;\n            } else {\n              try {\n                promiseInput = arg.then;\n              } catch (error) {\n                var p = new Promise(noop);\n                reject(p, error);\n                return p;\n              }\n            }\n          } else {\n            promiseInput = false;\n          }\n\n          if (promiseInput && promiseInput !== true) {\n            arg = wrapThenable(promiseInput, arg);\n          }\n        }\n\n        args[i] = arg;\n      }\n\n      var promise = new Promise(noop);\n\n      args[l] = function (err, val) {\n        if (err) {\n          reject(promise, err);\n        } else if (options === undefined) {\n          resolve$1(promise, val);\n        } else if (options === true) {\n          resolve$1(promise, arrayResult(arguments));\n        } else if (Array.isArray(options)) {\n          resolve$1(promise, makeObject(arguments, options));\n        } else {\n          resolve$1(promise, val);\n        }\n      };\n\n      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, this);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, this);\n      }\n    };\n\n    fn.__proto__ = nodeFunc;\n    return fn;\n  }\n\n  function handleValueInput(promise, args, nodeFunc, self) {\n    try {\n      nodeFunc.apply(self, args);\n    } catch (error) {\n      reject(promise, error);\n    }\n\n    return promise;\n  }\n\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise.all(args).then(args => handleValueInput(promise, args, nodeFunc, self));\n  }\n  /**\n    This is a convenient alias for `Promise.all`.\n  \n    @method all\n    @public\n    @static\n    @for rsvp\n    @param {Array} array Array of promises.\n    @param {String} [label] An optional label. This is useful\n    for tooling.\n  */\n\n\n  function all$1(array, label) {\n    return Promise.all(array, label);\n  }\n  /**\n  @module rsvp\n  @public\n  **/\n\n\n  class AllSettled extends Enumerator {\n    constructor(Constructor, entries, label) {\n      super(Constructor, entries, false\n      /* don't abort on reject */\n      , label);\n    }\n\n  }\n\n  AllSettled.prototype._setResultAt = setSettledResult;\n  /**\n  `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n  a fail-fast method, it waits until all the promises have returned and\n  shows you all the results. This is useful if you want to handle multiple\n  promises' failure states together as a set.\n   Returns a promise that is fulfilled when all the given promises have been\n  settled. The return promise is fulfilled with an array of the states of\n  the promises passed into the `promises` array argument.\n   Each state object will either indicate fulfillment or rejection, and\n  provide the corresponding value or reason. The states will take one of\n  the following formats:\n   ```javascript\n  { state: 'fulfilled', value: value }\n    or\n  { state: 'rejected', reason: reason }\n  ```\n   Example:\n   ```javascript\n  let promise1 = RSVP.Promise.resolve(1);\n  let promise2 = RSVP.Promise.reject(new Error('2'));\n  let promise3 = RSVP.Promise.reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n   RSVP.allSettled(promises).then(function(array){\n    // array == [\n    //   { state: 'fulfilled', value: 1 },\n    //   { state: 'rejected', reason: Error },\n    //   { state: 'rejected', reason: Error }\n    // ]\n    // Note that for the second item, reason.message will be '2', and for the\n    // third item, reason.message will be '3'.\n  }, function(error) {\n    // Not run. (This block would only be called if allSettled had failed,\n    // for instance if passed an incorrect argument type.)\n  });\n  ```\n   @method allSettled\n  @public\n  @static\n  @for rsvp\n  @param {Array} entries\n  @param {String} [label] - optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled with an array of the settled\n  states of the constituent promises.\n  */\n\n  function allSettled(entries, label) {\n    if (!Array.isArray(entries)) {\n      return Promise.reject(new TypeError(\"Promise.allSettled must be called with an array\"), label);\n    }\n\n    return new AllSettled(Promise, entries, label).promise;\n  }\n  /**\n    This is a convenient alias for `Promise.race`.\n  \n    @method race\n    @public\n    @static\n    @for rsvp\n    @param {Array} array Array of promises.\n    @param {String} [label] An optional label. This is useful\n    for tooling.\n   */\n\n\n  function race$1(array, label) {\n    return Promise.race(array, label);\n  }\n\n  class PromiseHash extends Enumerator {\n    constructor(Constructor, object, abortOnReject = true, label) {\n      super(Constructor, object, abortOnReject, label);\n    }\n\n    _init(Constructor, object) {\n      this._result = {};\n\n      this._enumerate(object);\n    }\n\n    _enumerate(input) {\n      var keys = Object.keys(input);\n      var length = keys.length;\n      var promise = this.promise;\n      this._remaining = length;\n      var key, val;\n\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        key = keys[i];\n        val = input[key];\n\n        this._eachEntry(val, key, true);\n      }\n\n      this._checkFullfillment();\n    }\n\n  }\n  /**\n    `hash` is similar to `all`, but takes an object instead of an array\n    for its `promises` argument.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    fulfilled, or rejected if any of them become rejected. The returned promise\n    is fulfilled with a hash that has the same key names as the `promises` object\n    argument. If any of the values in the object are not promises, they will\n    simply be copied over to the fulfilled object.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hash(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: 1,\n      //   yourPromise: 2,\n      //   theirPromise: 3,\n      //   notAPromise: 4\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the first promise\n    that is rejected will be given as the reason to the rejection handler.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejectedPromise')),\n      anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n    };\n  \n    hash(promises).then(function(hash){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === 'rejectedPromise'\n    });\n    ```\n  \n    An important note: `hash` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hash` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import { hash, resolve } from 'rsvp';\n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hash(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: 'Example'\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hash\n    @public\n    @static\n    @for rsvp\n    @param {Object} object\n    @param {String} [label] optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all properties of `promises`\n    have been fulfilled, or rejected if any of them become rejected.\n  */\n\n\n  function hash(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"Promise.hash must be called with an object\");\n      }\n\n      return new PromiseHash(Promise, object, label).promise;\n    });\n  }\n\n  class HashSettled extends PromiseHash {\n    constructor(Constructor, object, label) {\n      super(Constructor, object, false, label);\n    }\n\n  }\n\n  HashSettled.prototype._setResultAt = setSettledResult;\n  /**\n    `hashSettled` is similar to `allSettled`, but takes an object\n    instead of an array for its `promises` argument.\n  \n    Unlike `all` or `hash`, which implement a fail-fast method,\n    but like `allSettled`, `hashSettled` waits until all the\n    constituent promises have returned and then shows you all the results\n    with their states and values/reasons. This is useful if you want to\n    handle multiple promises' failure states together as a set.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    settled, or rejected if the passed parameters are invalid.\n  \n    The returned promise is fulfilled with a hash that has the same key names as\n    the `promises` object argument. If any of the values in the object are not\n    promises, they will be copied over to the fulfilled object and marked with state\n    'fulfilled'.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: { state: 'fulfilled', value: 1 },\n      //   yourPromise: { state: 'fulfilled', value: 2 },\n      //   theirPromise: { state: 'fulfilled', value: 3 },\n      //   notAPromise: { state: 'fulfilled', value: 4 }\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the state will\n    be set to 'rejected' and the reason for rejection provided.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, reject, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejection')),\n      anotherRejectedPromise: reject(new Error('more rejection')),\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise:              { state: 'fulfilled', value: 1 },\n      //   rejectedPromise:        { state: 'rejected', reason: Error },\n      //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n      // }\n      // Note that for rejectedPromise, reason.message == 'rejection',\n      // and for anotherRejectedPromise, reason.message == 'more rejection'.\n    });\n    ```\n  \n    An important note: `hashSettled` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hashSettled` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { hashSettled, resolve } from 'rsvp';\n  \n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: Promise.resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hashSettled(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: { state: 'fulfilled', value: 'Example' }\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hashSettled\n    @public\n    @for rsvp\n    @param {Object} object\n    @param {String} [label] optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when when all properties of `promises`\n    have been settled.\n    @static\n  */\n\n  function hashSettled(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"hashSettled must be called with an object\");\n      }\n\n      return new HashSettled(Promise, object, false, label).promise;\n    });\n  }\n  /**\n    `rethrow` will rethrow an error on the next turn of the JavaScript event\n    loop in order to aid debugging.\n  \n    Promises A+ specifies that any exceptions that occur with a promise must be\n    caught by the promises implementation and bubbled to the last handler. For\n    this reason, it is recommended that you always specify a second rejection\n    handler function to `then`. However, `rethrow` will throw the exception\n    outside of the promise, so it bubbles up to your console if in the browser,\n    or domain/cause uncaught exception in Node. `rethrow` will also throw the\n    error again so the error can be handled by the promise per the spec.\n  \n    ```javascript\n    import { rethrow } from 'rsvp';\n  \n    function throws(){\n      throw new Error('Whoops!');\n    }\n  \n    let promise = new Promise(function(resolve, reject){\n      throws();\n    });\n  \n    promise.catch(rethrow).then(function(){\n      // Code here doesn't run because the promise became rejected due to an\n      // error!\n    }, function (err){\n      // handle the error here\n    });\n    ```\n  \n    The 'Whoops' error will be thrown on the next turn of the event loop\n    and you can watch for it in your console. You can also handle it using a\n    rejection handler given to `.then` or `.catch` on the returned promise.\n  \n    @method rethrow\n    @public\n    @static\n    @for rsvp\n    @param {Error} reason reason the promise became rejected.\n    @throws Error\n    @static\n  */\n\n\n  function rethrow(reason) {\n    setTimeout(() => {\n      throw reason;\n    });\n    throw reason;\n  }\n  /**\n    `defer` returns an object similar to jQuery's `$.Deferred`.\n    `defer` should be used when porting over code reliant on `$.Deferred`'s\n    interface. New code should use the `Promise` constructor instead.\n  \n    The object returned from `defer` is a plain object with three properties:\n  \n    * promise - an `Promise`.\n    * reject - a function that causes the `promise` property on this object to\n      become rejected\n    * resolve - a function that causes the `promise` property on this object to\n      become fulfilled.\n  \n    Example:\n  \n     ```javascript\n     let deferred = defer();\n  \n     deferred.resolve(\"Success!\");\n  \n     deferred.promise.then(function(value){\n       // value here is \"Success!\"\n     });\n     ```\n  \n    @method defer\n    @public\n    @static\n    @for rsvp\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Object}\n   */\n\n\n  function defer(label) {\n    var deferred = {\n      resolve: undefined,\n      reject: undefined\n    };\n    deferred.promise = new Promise((resolve, reject) => {\n      deferred.resolve = resolve;\n      deferred.reject = reject;\n    }, label);\n    return deferred;\n  }\n\n  class MapEnumerator extends Enumerator {\n    constructor(Constructor, entries, mapFn, label) {\n      super(Constructor, entries, true, label, mapFn);\n    }\n\n    _init(Constructor, input, bool, label, mapFn) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._mapFn = mapFn;\n\n      this._enumerate(input);\n    }\n\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        try {\n          this._eachEntry(this._mapFn(value, i), i, false);\n        } catch (error) {\n          this._settledAt(REJECTED, i, error, false);\n        }\n      } else {\n        this._remaining--;\n        this._result[i] = value;\n      }\n    }\n\n  }\n  /**\n   `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n    meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n    `map` returns a promise that will become fulfilled with the result of running\n    `mapFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { map, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(result){\n      // result is [ 2, 3, 4 ]\n    });\n    ```\n  \n    If any of the `promises` given to `map` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { map, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `map` will also wait if a promise is returned from `mapFn`. For example,\n    say you want to get all comments from a set of blog posts, but you need\n    the blog posts first because they contain a url to those comments.\n  \n    ```javscript\n    import { map } from 'rsvp';\n  \n    let mapFn = function(blogPost){\n      // getComments does some ajax and returns an Promise that is fulfilled\n      // with some comments data\n      return getComments(blogPost.comments_url);\n    };\n  \n    // getBlogPosts does some ajax and returns an Promise that is fulfilled\n    // with some blog post data\n    map(getBlogPosts(), mapFn).then(function(comments){\n      // comments is the result of asking the server for the comments\n      // of all blog posts returned from getBlogPosts()\n    });\n    ```\n  \n    @method map\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} mapFn function to be called on each fulfilled promise.\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled with the result of calling\n    `mapFn` on each fulfilled promise or value when they become fulfilled.\n     The promise will be rejected if any of the given `promises` become rejected.\n  */\n\n\n  function map(promises, mapFn, label) {\n    if (typeof mapFn !== 'function') {\n      return Promise.reject(new TypeError(\"map expects a function as a second argument\"), label);\n    }\n\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"map must be called with an array\");\n      }\n\n      return new MapEnumerator(Promise, promises, mapFn, label).promise;\n    });\n  }\n  /**\n    This is a convenient alias for `Promise.resolve`.\n  \n    @method resolve\n    @public\n    @static\n    @for rsvp\n    @param {*} value value that the returned promise will be resolved with\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n\n\n  function resolve$2(value, label) {\n    return Promise.resolve(value, label);\n  }\n  /**\n    This is a convenient alias for `Promise.reject`.\n  \n    @method reject\n    @public\n    @static\n    @for rsvp\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n\n\n  function reject$2(reason, label) {\n    return Promise.reject(reason, label);\n  }\n\n  var EMPTY_OBJECT = {};\n\n  class FilterEnumerator extends MapEnumerator {\n    _checkFullfillment() {\n      if (this._remaining === 0 && this._result !== null) {\n        var result = this._result.filter(val => val !== EMPTY_OBJECT);\n\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        this._result[i] = value;\n        var val,\n            succeeded = true;\n\n        try {\n          val = this._mapFn(value, i);\n        } catch (error) {\n          succeeded = false;\n\n          this._settledAt(REJECTED, i, error, false);\n        }\n\n        if (succeeded) {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\n\n        if (!value) {\n          this._result[i] = EMPTY_OBJECT;\n        }\n      }\n    }\n\n  }\n  /**\n   `filter` is similar to JavaScript's native `filter` method.\n   `filterFn` is eagerly called meaning that as soon as any promise\n    resolves its value will be passed to `filterFn`. `filter` returns\n    a promise that will become fulfilled with the result of running\n    `filterFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n  \n    let promises = [promise1, promise2, promise3];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(result){\n      // result is [ 2, 3 ]\n    });\n    ```\n  \n    If any of the `promises` given to `filter` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { filter, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `filter` will also wait for any promises returned from `filterFn`.\n    For instance, you may want to fetch a list of users then return a subset\n    of those users based on some asynchronous operation:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let alice = { name: 'alice' };\n    let bob   = { name: 'bob' };\n    let users = [ alice, bob ];\n  \n    let promises = users.map(function(user){\n      return resolve(user);\n    });\n  \n    let filterFn = function(user){\n      // Here, Alice has permissions to create a blog post, but Bob does not.\n      return getPrivilegesForUser(user).then(function(privs){\n        return privs.can_create_blog_post === true;\n      });\n    };\n    filter(promises, filterFn).then(function(users){\n      // true, because the server told us only Alice can create a blog post.\n      users.length === 1;\n      // false, because Alice is the only user present in `users`\n      users[0] === bob;\n    });\n    ```\n  \n    @method filter\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} filterFn - function to be called on each resolved value to\n    filter the final results.\n    @param {String} [label] optional string describing the promise. Useful for\n    tooling.\n    @return {Promise}\n  */\n\n\n  function filter(promises, filterFn, label) {\n    if (typeof filterFn !== 'function') {\n      return Promise.reject(new TypeError(\"filter expects function as a second argument\"), label);\n    }\n\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"filter must be called with an array\");\n      }\n\n      return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n    });\n  }\n\n  var len = 0;\n  var vertxNext;\n\n  function asap(callback, arg) {\n    queue$1[len] = callback;\n    queue$1[len + 1] = arg;\n    len += 2;\n\n    if (len === 2) {\n      // If len is 1, that means that we need to schedule an async flush.\n      // If additional callbacks are queued before the queue is flushed, they\n      // will be processed by this flush that we are scheduling.\n      scheduleFlush$1();\n    }\n  }\n\n  var browserWindow = typeof window !== 'undefined' ? window : undefined;\n  var browserGlobal = browserWindow || {};\n  var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n  var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; // test for web worker but not in IE10\n\n  var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; // node\n\n  function useNextTick() {\n    var nextTick = process.nextTick; // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n    // setImmediate should be used instead instead\n\n    var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n\n    if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n      nextTick = setImmediate;\n    }\n\n    return () => nextTick(flush);\n  } // vertx\n\n\n  function useVertxTimer() {\n    if (typeof vertxNext !== 'undefined') {\n      return function () {\n        vertxNext(flush);\n      };\n    }\n\n    return useSetTimeout();\n  }\n\n  function useMutationObserver() {\n    var iterations = 0;\n    var observer = new BrowserMutationObserver(flush);\n    var node = document.createTextNode('');\n    observer.observe(node, {\n      characterData: true\n    });\n    return () => node.data = iterations = ++iterations % 2;\n  } // web worker\n\n\n  function useMessageChannel() {\n    var channel = new MessageChannel();\n    channel.port1.onmessage = flush;\n    return () => channel.port2.postMessage(0);\n  }\n\n  function useSetTimeout() {\n    return () => setTimeout(flush, 1);\n  }\n\n  var queue$1 = new Array(1000);\n\n  function flush() {\n    for (var i = 0; i < len; i += 2) {\n      var callback = queue$1[i];\n      var arg = queue$1[i + 1];\n      callback(arg);\n      queue$1[i] = undefined;\n      queue$1[i + 1] = undefined;\n    }\n\n    len = 0;\n  }\n\n  function attemptVertex() {\n    try {\n      var vertx = Function('return this')().require('vertx');\n\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n\n  var scheduleFlush$1; // Decide what async method to use to triggering processing of queued callbacks:\n\n  if (isNode) {\n    scheduleFlush$1 = useNextTick();\n  } else if (BrowserMutationObserver) {\n    scheduleFlush$1 = useMutationObserver();\n  } else if (isWorker) {\n    scheduleFlush$1 = useMessageChannel();\n  } else if (browserWindow === undefined && typeof require === 'function') {\n    scheduleFlush$1 = attemptVertex();\n  } else {\n    scheduleFlush$1 = useSetTimeout();\n  } // defaults\n\n\n  config.async = asap;\n\n  config.after = cb => setTimeout(cb, 0);\n\n  var cast = resolve$2;\n  _exports.cast = cast;\n\n  var async = (callback, arg) => config.async(callback, arg);\n\n  _exports.async = async;\n\n  function on() {\n    config.on(...arguments);\n  }\n\n  function off() {\n    config.off(...arguments);\n  } // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n\n\n  if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n    var callbacks = window['__PROMISE_INSTRUMENTATION__'];\n    configure('instrument', true);\n\n    for (var eventName in callbacks) {\n      if (callbacks.hasOwnProperty(eventName)) {\n        on(eventName, callbacks[eventName]);\n      }\n    }\n  } // the default export here is for backwards compat:\n  //   https://github.com/tildeio/rsvp.js/issues/434\n\n\n  var rsvp = {\n    asap,\n    cast,\n    Promise,\n    EventTarget,\n    all: all$1,\n    allSettled,\n    race: race$1,\n    hash,\n    hashSettled,\n    rethrow,\n    defer,\n    denodeify,\n    configure,\n    on,\n    off,\n    resolve: resolve$2,\n    reject: reject$2,\n    map,\n    async,\n    filter\n  };\n  var _default = rsvp;\n  _exports.default = _default;\n});","(function () {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['jQuery'],\n      __esModule: true\n    };\n  }\n\n  define('jquery', [], vendorModule);\n})();","(function () {\n  Ember.Component.reopen({\n    $(sel) {\n      (true && !(this.tagName !== '') && Ember.assert(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n      (true && !(false) && Ember.deprecate('Using this.$() in a component has been deprecated, consider using this.element', false, {\n        id: 'ember-views.curly-components.jquery-element',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n      }));\n\n      if (this.element) {\n        return sel ? jQuery(sel, this.element) : jQuery(this.element);\n      }\n    }\n\n  });\n})();","if (typeof FastBoot === 'undefined') {\n/*!\n * Chart.js v2.9.4\n * https://www.chartjs.org\n * (c) 2020 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(function() { try { return require('moment'); } catch(e) { } }()) :\ntypeof define === 'function' && define.amd ? define(['require'], function(require) { return factory(function() { try { return require('moment'); } catch(e) { } }()); }) :\n(global = global || self, global.Chart = factory(global.moment));\n}(this, (function (moment) { 'use strict';\n\nmoment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nfunction getCjsExportFromNamespace (n) {\n\treturn n && n['default'] || n;\n}\n\nvar colorName = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\nvar conversions = createCommonjsModule(function (module) {\n/* MIT license */\n\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n//       values that give correct `typeof` results).\n//       do not use box values types (i.e. Number(), String(), etc.)\n\nvar reverseKeywords = {};\nfor (var key in colorName) {\n\tif (colorName.hasOwnProperty(key)) {\n\t\treverseKeywords[colorName[key]] = key;\n\t}\n}\n\nvar convert = module.exports = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\n// hide .channels and .labels properties\nfor (var model in convert) {\n\tif (convert.hasOwnProperty(model)) {\n\t\tif (!('channels' in convert[model])) {\n\t\t\tthrow new Error('missing channels property: ' + model);\n\t\t}\n\n\t\tif (!('labels' in convert[model])) {\n\t\t\tthrow new Error('missing channel labels property: ' + model);\n\t\t}\n\n\t\tif (convert[model].labels.length !== convert[model].channels) {\n\t\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t\t}\n\n\t\tvar channels = convert[model].channels;\n\t\tvar labels = convert[model].labels;\n\t\tdelete convert[model].channels;\n\t\tdelete convert[model].labels;\n\t\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\t\tObject.defineProperty(convert[model], 'labels', {value: labels});\n\t}\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar l;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tl = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tvar rdif;\n\tvar gdif;\n\tvar bdif;\n\tvar h;\n\tvar s;\n\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar v = Math.max(r, g, b);\n\tvar diff = v - Math.min(r, g, b);\n\tvar diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = s = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar h = convert.rgb.hsl(rgb)[0];\n\tvar w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar c;\n\tvar m;\n\tvar y;\n\tvar k;\n\n\tk = Math.min(1 - r, 1 - g, 1 - b);\n\tc = (1 - r - k) / (1 - k) || 0;\n\tm = (1 - g - k) / (1 - k) || 0;\n\ty = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\n/**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\nfunction comparativeDistance(x, y) {\n\treturn (\n\t\tMath.pow(x[0] - y[0], 2) +\n\t\tMath.pow(x[1] - y[1], 2) +\n\t\tMath.pow(x[2] - y[2], 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tvar reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tvar currentClosestDistance = Infinity;\n\tvar currentClosestKeyword;\n\n\tfor (var keyword in colorName) {\n\t\tif (colorName.hasOwnProperty(keyword)) {\n\t\t\tvar value = colorName[keyword];\n\n\t\t\t// Compute comparative distance\n\t\t\tvar distance = comparativeDistance(rgb, value);\n\n\t\t\t// Check if its less, if so set as closest\n\t\t\tif (distance < currentClosestDistance) {\n\t\t\t\tcurrentClosestDistance = distance;\n\t\t\t\tcurrentClosestKeyword = keyword;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn colorName[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\n\t// assume sRGB\n\tr = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n\tvar x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tvar y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tvar z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tvar xyz = convert.rgb.xyz(rgb);\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tvar h = hsl[0] / 360;\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar t1;\n\tvar t2;\n\tvar t3;\n\tvar rgb;\n\tvar val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tt1 = 2 * l - t2;\n\n\trgb = [0, 0, 0];\n\tfor (var i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tvar h = hsl[0];\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar smin = s;\n\tvar lmin = Math.max(l, 0.01);\n\tvar sv;\n\tvar v;\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tv = (l + s) / 2;\n\tsv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tvar h = hsv[0] / 60;\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar hi = Math.floor(h) % 6;\n\n\tvar f = h - Math.floor(h);\n\tvar p = 255 * v * (1 - s);\n\tvar q = 255 * v * (1 - (s * f));\n\tvar t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tvar h = hsv[0];\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar vmin = Math.max(v, 0.01);\n\tvar lmin;\n\tvar sl;\n\tvar l;\n\n\tl = (2 - s) * v;\n\tlmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tvar h = hwb[0] / 360;\n\tvar wh = hwb[1] / 100;\n\tvar bl = hwb[2] / 100;\n\tvar ratio = wh + bl;\n\tvar i;\n\tvar v;\n\tvar f;\n\tvar n;\n\n\t// wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\ti = Math.floor(6 * h);\n\tv = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tn = wh + f * (v - wh); // linear interpolation\n\n\tvar r;\n\tvar g;\n\tvar b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tvar c = cmyk[0] / 100;\n\tvar m = cmyk[1] / 100;\n\tvar y = cmyk[2] / 100;\n\tvar k = cmyk[3] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = 1 - Math.min(1, c * (1 - k) + k);\n\tg = 1 - Math.min(1, m * (1 - k) + k);\n\tb = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tvar x = xyz[0] / 100;\n\tvar y = xyz[1] / 100;\n\tvar z = xyz[2] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar x;\n\tvar y;\n\tvar z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tvar y2 = Math.pow(y, 3);\n\tvar x2 = Math.pow(x, 3);\n\tvar z2 = Math.pow(z, 3);\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar hr;\n\tvar h;\n\tvar c;\n\n\thr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tc = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tvar l = lch[0];\n\tvar c = lch[1];\n\tvar h = lch[2];\n\tvar a;\n\tvar b;\n\tvar hr;\n\n\thr = h / 360 * 2 * Math.PI;\n\ta = c * Math.cos(hr);\n\tb = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\tvar value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tvar ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\n\t// we use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tvar ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tvar color = args % 10;\n\n\t// handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tvar mult = (~~(args > 50) + 1) * 0.5;\n\tvar r = ((color & 1) * mult) * 255;\n\tvar g = (((color >> 1) & 1) * mult) * 255;\n\tvar b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// handle greyscale\n\tif (args >= 232) {\n\t\tvar c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tvar rem;\n\tvar r = Math.floor(args / 36) / 5 * 255;\n\tvar g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tvar b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tvar integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tvar match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tvar colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(function (char) {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tvar integer = parseInt(colorString, 16);\n\tvar r = (integer >> 16) & 0xFF;\n\tvar g = (integer >> 8) & 0xFF;\n\tvar b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar max = Math.max(Math.max(r, g), b);\n\tvar min = Math.min(Math.min(r, g), b);\n\tvar chroma = (max - min);\n\tvar grayscale;\n\tvar hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma + 4;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar c = 1;\n\tvar f = 0;\n\n\tif (l < 0.5) {\n\t\tc = 2.0 * s * l;\n\t} else {\n\t\tc = 2.0 * s * (1.0 - l);\n\t}\n\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\n\tvar c = s * v;\n\tvar f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tvar h = hcg[0] / 360;\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tvar pure = [0, 0, 0];\n\tvar hi = (h % 1) * 6;\n\tvar v = hi % 1;\n\tvar w = 1 - v;\n\tvar mg = 0;\n\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar v = c + g * (1.0 - c);\n\tvar f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar l = g * (1.0 - c) + 0.5 * c;\n\tvar s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\tvar v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tvar w = hwb[1] / 100;\n\tvar b = hwb[2] / 100;\n\tvar v = 1 - b;\n\tvar c = v - w;\n\tvar g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = convert.gray.hsv = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tvar val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tvar integer = (val << 16) + (val << 8) + val;\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tvar val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n});\nvar conversions_1 = conversions.rgb;\nvar conversions_2 = conversions.hsl;\nvar conversions_3 = conversions.hsv;\nvar conversions_4 = conversions.hwb;\nvar conversions_5 = conversions.cmyk;\nvar conversions_6 = conversions.xyz;\nvar conversions_7 = conversions.lab;\nvar conversions_8 = conversions.lch;\nvar conversions_9 = conversions.hex;\nvar conversions_10 = conversions.keyword;\nvar conversions_11 = conversions.ansi16;\nvar conversions_12 = conversions.ansi256;\nvar conversions_13 = conversions.hcg;\nvar conversions_14 = conversions.apple;\nvar conversions_15 = conversions.gray;\n\n/*\n\tthis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tvar graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tvar models = Object.keys(conversions);\n\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tvar graph = buildGraph();\n\tvar queue = [fromModel]; // unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tvar current = queue.pop();\n\t\tvar adjacents = Object.keys(conversions[current]);\n\n\t\tfor (var len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tvar adjacent = adjacents[i];\n\t\t\tvar node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tvar path = [graph[toModel].parent, toModel];\n\tvar fn = conversions[graph[toModel].parent][toModel];\n\n\tvar cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nvar route = function (fromModel) {\n\tvar graph = deriveBFS(fromModel);\n\tvar conversion = {};\n\n\tvar models = Object.keys(graph);\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tvar toModel = models[i];\n\t\tvar node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// no possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\nvar convert = {};\n\nvar models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\tvar result = fn(args);\n\n\t\t// we're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (var len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(function (fromModel) {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tvar routes = route(fromModel);\n\tvar routeModels = Object.keys(routes);\n\n\trouteModels.forEach(function (toModel) {\n\t\tvar fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nvar colorConvert = convert;\n\nvar colorName$1 = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\n/* MIT license */\n\n\nvar colorString = {\n   getRgba: getRgba,\n   getHsla: getHsla,\n   getRgb: getRgb,\n   getHsl: getHsl,\n   getHwb: getHwb,\n   getAlpha: getAlpha,\n\n   hexString: hexString,\n   rgbString: rgbString,\n   rgbaString: rgbaString,\n   percentString: percentString,\n   percentaString: percentaString,\n   hslString: hslString,\n   hslaString: hslaString,\n   hwbString: hwbString,\n   keyword: keyword\n};\n\nfunction getRgba(string) {\n   if (!string) {\n      return;\n   }\n   var abbr =  /^#([a-fA-F0-9]{3,4})$/i,\n       hex =  /^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,\n       rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       keyword = /(\\w+)/;\n\n   var rgb = [0, 0, 0],\n       a = 1,\n       match = string.match(abbr),\n       hexAlpha = \"\";\n   if (match) {\n      match = match[1];\n      hexAlpha = match[3];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i] + match[i], 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha + hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(hex)) {\n      hexAlpha = match[2];\n      match = match[1];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(rgba)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i + 1]);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(per)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(keyword)) {\n      if (match[1] == \"transparent\") {\n         return [0, 0, 0, 0];\n      }\n      rgb = colorName$1[match[1]];\n      if (!rgb) {\n         return;\n      }\n   }\n\n   for (var i = 0; i < rgb.length; i++) {\n      rgb[i] = scale(rgb[i], 0, 255);\n   }\n   if (!a && a != 0) {\n      a = 1;\n   }\n   else {\n      a = scale(a, 0, 1);\n   }\n   rgb[3] = a;\n   return rgb;\n}\n\nfunction getHsla(string) {\n   if (!string) {\n      return;\n   }\n   var hsl = /^hsla?\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hsl);\n   if (match) {\n      var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          s = scale(parseFloat(match[2]), 0, 100),\n          l = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, s, l, a];\n   }\n}\n\nfunction getHwb(string) {\n   if (!string) {\n      return;\n   }\n   var hwb = /^hwb\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hwb);\n   if (match) {\n    var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          w = scale(parseFloat(match[2]), 0, 100),\n          b = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, w, b, a];\n   }\n}\n\nfunction getRgb(string) {\n   var rgba = getRgba(string);\n   return rgba && rgba.slice(0, 3);\n}\n\nfunction getHsl(string) {\n  var hsla = getHsla(string);\n  return hsla && hsla.slice(0, 3);\n}\n\nfunction getAlpha(string) {\n   var vals = getRgba(string);\n   if (vals) {\n      return vals[3];\n   }\n   else if (vals = getHsla(string)) {\n      return vals[3];\n   }\n   else if (vals = getHwb(string)) {\n      return vals[3];\n   }\n}\n\n// generators\nfunction hexString(rgba, a) {\n   var a = (a !== undefined && rgba.length === 3) ? a : rgba[3];\n   return \"#\" + hexDouble(rgba[0]) \n              + hexDouble(rgba[1])\n              + hexDouble(rgba[2])\n              + (\n                 (a >= 0 && a < 1)\n                 ? hexDouble(Math.round(a * 255))\n                 : \"\"\n              );\n}\n\nfunction rgbString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return rgbaString(rgba, alpha);\n   }\n   return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\n}\n\nfunction rgbaString(rgba, alpha) {\n   if (alpha === undefined) {\n      alpha = (rgba[3] !== undefined ? rgba[3] : 1);\n   }\n   return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2]\n           + \", \" + alpha + \")\";\n}\n\nfunction percentString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return percentaString(rgba, alpha);\n   }\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n\n   return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\n}\n\nfunction percentaString(rgba, alpha) {\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n   return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\n}\n\nfunction hslString(hsla, alpha) {\n   if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {\n      return hslaString(hsla, alpha);\n   }\n   return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\n}\n\nfunction hslaString(hsla, alpha) {\n   if (alpha === undefined) {\n      alpha = (hsla[3] !== undefined ? hsla[3] : 1);\n   }\n   return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \"\n           + alpha + \")\";\n}\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\nfunction hwbString(hwb, alpha) {\n   if (alpha === undefined) {\n      alpha = (hwb[3] !== undefined ? hwb[3] : 1);\n   }\n   return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\"\n           + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\n}\n\nfunction keyword(rgb) {\n  return reverseNames[rgb.slice(0, 3)];\n}\n\n// helpers\nfunction scale(num, min, max) {\n   return Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n  var str = num.toString(16).toUpperCase();\n  return (str.length < 2) ? \"0\" + str : str;\n}\n\n\n//create a list of reverse color names\nvar reverseNames = {};\nfor (var name in colorName$1) {\n   reverseNames[colorName$1[name]] = name;\n}\n\n/* MIT license */\n\n\n\nvar Color = function (obj) {\n\tif (obj instanceof Color) {\n\t\treturn obj;\n\t}\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj);\n\t}\n\n\tthis.valid = false;\n\tthis.values = {\n\t\trgb: [0, 0, 0],\n\t\thsl: [0, 0, 0],\n\t\thsv: [0, 0, 0],\n\t\thwb: [0, 0, 0],\n\t\tcmyk: [0, 0, 0, 0],\n\t\talpha: 1\n\t};\n\n\t// parse Color() argument\n\tvar vals;\n\tif (typeof obj === 'string') {\n\t\tvals = colorString.getRgba(obj);\n\t\tif (vals) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals = colorString.getHsla(obj)) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals = colorString.getHwb(obj)) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t}\n\t} else if (typeof obj === 'object') {\n\t\tvals = obj;\n\t\tif (vals.r !== undefined || vals.red !== undefined) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals.l !== undefined || vals.lightness !== undefined) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals.v !== undefined || vals.value !== undefined) {\n\t\t\tthis.setValues('hsv', vals);\n\t\t} else if (vals.w !== undefined || vals.whiteness !== undefined) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t} else if (vals.c !== undefined || vals.cyan !== undefined) {\n\t\t\tthis.setValues('cmyk', vals);\n\t\t}\n\t}\n};\n\nColor.prototype = {\n\tisValid: function () {\n\t\treturn this.valid;\n\t},\n\trgb: function () {\n\t\treturn this.setSpace('rgb', arguments);\n\t},\n\thsl: function () {\n\t\treturn this.setSpace('hsl', arguments);\n\t},\n\thsv: function () {\n\t\treturn this.setSpace('hsv', arguments);\n\t},\n\thwb: function () {\n\t\treturn this.setSpace('hwb', arguments);\n\t},\n\tcmyk: function () {\n\t\treturn this.setSpace('cmyk', arguments);\n\t},\n\n\trgbArray: function () {\n\t\treturn this.values.rgb;\n\t},\n\thslArray: function () {\n\t\treturn this.values.hsl;\n\t},\n\thsvArray: function () {\n\t\treturn this.values.hsv;\n\t},\n\thwbArray: function () {\n\t\tvar values = this.values;\n\t\tif (values.alpha !== 1) {\n\t\t\treturn values.hwb.concat([values.alpha]);\n\t\t}\n\t\treturn values.hwb;\n\t},\n\tcmykArray: function () {\n\t\treturn this.values.cmyk;\n\t},\n\trgbaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.rgb.concat([values.alpha]);\n\t},\n\thslaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.hsl.concat([values.alpha]);\n\t},\n\talpha: function (val) {\n\t\tif (val === undefined) {\n\t\t\treturn this.values.alpha;\n\t\t}\n\t\tthis.setValues('alpha', val);\n\t\treturn this;\n\t},\n\n\tred: function (val) {\n\t\treturn this.setChannel('rgb', 0, val);\n\t},\n\tgreen: function (val) {\n\t\treturn this.setChannel('rgb', 1, val);\n\t},\n\tblue: function (val) {\n\t\treturn this.setChannel('rgb', 2, val);\n\t},\n\thue: function (val) {\n\t\tif (val) {\n\t\t\tval %= 360;\n\t\t\tval = val < 0 ? 360 + val : val;\n\t\t}\n\t\treturn this.setChannel('hsl', 0, val);\n\t},\n\tsaturation: function (val) {\n\t\treturn this.setChannel('hsl', 1, val);\n\t},\n\tlightness: function (val) {\n\t\treturn this.setChannel('hsl', 2, val);\n\t},\n\tsaturationv: function (val) {\n\t\treturn this.setChannel('hsv', 1, val);\n\t},\n\twhiteness: function (val) {\n\t\treturn this.setChannel('hwb', 1, val);\n\t},\n\tblackness: function (val) {\n\t\treturn this.setChannel('hwb', 2, val);\n\t},\n\tvalue: function (val) {\n\t\treturn this.setChannel('hsv', 2, val);\n\t},\n\tcyan: function (val) {\n\t\treturn this.setChannel('cmyk', 0, val);\n\t},\n\tmagenta: function (val) {\n\t\treturn this.setChannel('cmyk', 1, val);\n\t},\n\tyellow: function (val) {\n\t\treturn this.setChannel('cmyk', 2, val);\n\t},\n\tblack: function (val) {\n\t\treturn this.setChannel('cmyk', 3, val);\n\t},\n\n\thexString: function () {\n\t\treturn colorString.hexString(this.values.rgb);\n\t},\n\trgbString: function () {\n\t\treturn colorString.rgbString(this.values.rgb, this.values.alpha);\n\t},\n\trgbaString: function () {\n\t\treturn colorString.rgbaString(this.values.rgb, this.values.alpha);\n\t},\n\tpercentString: function () {\n\t\treturn colorString.percentString(this.values.rgb, this.values.alpha);\n\t},\n\thslString: function () {\n\t\treturn colorString.hslString(this.values.hsl, this.values.alpha);\n\t},\n\thslaString: function () {\n\t\treturn colorString.hslaString(this.values.hsl, this.values.alpha);\n\t},\n\thwbString: function () {\n\t\treturn colorString.hwbString(this.values.hwb, this.values.alpha);\n\t},\n\tkeyword: function () {\n\t\treturn colorString.keyword(this.values.rgb, this.values.alpha);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.values.rgb;\n\t\treturn (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.values.rgb;\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tdark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.values.rgb;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tlight: function () {\n\t\treturn !this.dark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = [];\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb[i] = 255 - this.values.rgb[i];\n\t\t}\n\t\tthis.setValues('rgb', rgb);\n\t\treturn this;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] += hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] -= hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] += hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] -= hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[1] += hwb[1] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[2] += hwb[2] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tgreyscale: function () {\n\t\tvar rgb = this.values.rgb;\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\tthis.setValues('rgb', [val, val, val]);\n\t\treturn this;\n\t},\n\n\tclearer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha - (alpha * ratio));\n\t\treturn this;\n\t},\n\n\topaquer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha + (alpha * ratio));\n\t\treturn this;\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.values.hsl;\n\t\tvar hue = (hsl[0] + degrees) % 360;\n\t\thsl[0] = hue < 0 ? 360 + hue : hue;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\t/**\n\t * Ported from sass implementation in C\n\t * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t */\n\tmix: function (mixinColor, weight) {\n\t\tvar color1 = this;\n\t\tvar color2 = mixinColor;\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn this\n\t\t\t.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue()\n\t\t\t)\n\t\t\t.alpha(color1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n\n\ttoJSON: function () {\n\t\treturn this.rgb();\n\t},\n\n\tclone: function () {\n\t\t// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,\n\t\t// making the final build way to big to embed in Chart.js. So let's do it manually,\n\t\t// assuming that values to clone are 1 dimension arrays containing only numbers,\n\t\t// except 'alpha' which is a number.\n\t\tvar result = new Color();\n\t\tvar source = this.values;\n\t\tvar target = result.values;\n\t\tvar value, type;\n\n\t\tfor (var prop in source) {\n\t\t\tif (source.hasOwnProperty(prop)) {\n\t\t\t\tvalue = source[prop];\n\t\t\t\ttype = ({}).toString.call(value);\n\t\t\t\tif (type === '[object Array]') {\n\t\t\t\t\ttarget[prop] = value.slice(0);\n\t\t\t\t} else if (type === '[object Number]') {\n\t\t\t\t\ttarget[prop] = value;\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('unexpected color value:', value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n};\n\nColor.prototype.spaces = {\n\trgb: ['red', 'green', 'blue'],\n\thsl: ['hue', 'saturation', 'lightness'],\n\thsv: ['hue', 'saturation', 'value'],\n\thwb: ['hue', 'whiteness', 'blackness'],\n\tcmyk: ['cyan', 'magenta', 'yellow', 'black']\n};\n\nColor.prototype.maxes = {\n\trgb: [255, 255, 255],\n\thsl: [360, 100, 100],\n\thsv: [360, 100, 100],\n\thwb: [360, 100, 100],\n\tcmyk: [100, 100, 100, 100]\n};\n\nColor.prototype.getValues = function (space) {\n\tvar values = this.values;\n\tvar vals = {};\n\n\tfor (var i = 0; i < space.length; i++) {\n\t\tvals[space.charAt(i)] = values[space][i];\n\t}\n\n\tif (values.alpha !== 1) {\n\t\tvals.a = values.alpha;\n\t}\n\n\t// {r: 255, g: 255, b: 255, a: 0.4}\n\treturn vals;\n};\n\nColor.prototype.setValues = function (space, vals) {\n\tvar values = this.values;\n\tvar spaces = this.spaces;\n\tvar maxes = this.maxes;\n\tvar alpha = 1;\n\tvar i;\n\n\tthis.valid = true;\n\n\tif (space === 'alpha') {\n\t\talpha = vals;\n\t} else if (vals.length) {\n\t\t// [10, 10, 10]\n\t\tvalues[space] = vals.slice(0, space.length);\n\t\talpha = vals[space.length];\n\t} else if (vals[space.charAt(0)] !== undefined) {\n\t\t// {r: 10, g: 10, b: 10}\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[space.charAt(i)];\n\t\t}\n\n\t\talpha = vals.a;\n\t} else if (vals[spaces[space][0]] !== undefined) {\n\t\t// {red: 10, green: 10, blue: 10}\n\t\tvar chans = spaces[space];\n\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[chans[i]];\n\t\t}\n\n\t\talpha = vals.alpha;\n\t}\n\n\tvalues.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));\n\n\tif (space === 'alpha') {\n\t\treturn false;\n\t}\n\n\tvar capped;\n\n\t// cap values of the space prior converting all values\n\tfor (i = 0; i < space.length; i++) {\n\t\tcapped = Math.max(0, Math.min(maxes[space][i], values[space][i]));\n\t\tvalues[space][i] = Math.round(capped);\n\t}\n\n\t// convert to all the other color spaces\n\tfor (var sname in spaces) {\n\t\tif (sname !== space) {\n\t\t\tvalues[sname] = colorConvert[space][sname](values[space]);\n\t\t}\n\t}\n\n\treturn true;\n};\n\nColor.prototype.setSpace = function (space, args) {\n\tvar vals = args[0];\n\n\tif (vals === undefined) {\n\t\t// color.rgb()\n\t\treturn this.getValues(space);\n\t}\n\n\t// color.rgb(10, 10, 10)\n\tif (typeof vals === 'number') {\n\t\tvals = Array.prototype.slice.call(args);\n\t}\n\n\tthis.setValues(space, vals);\n\treturn this;\n};\n\nColor.prototype.setChannel = function (space, index, val) {\n\tvar svalues = this.values[space];\n\tif (val === undefined) {\n\t\t// color.red()\n\t\treturn svalues[index];\n\t} else if (val === svalues[index]) {\n\t\t// color.red(color.red())\n\t\treturn this;\n\t}\n\n\t// color.red(100)\n\tsvalues[index] = val;\n\tthis.setValues(space, svalues);\n\n\treturn this;\n};\n\nif (typeof window !== 'undefined') {\n\twindow.Color = Color;\n}\n\nvar chartjsColor = Color;\n\nfunction isValidKey(key) {\r\n\treturn ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;\r\n}\r\n\r\n/**\r\n * @namespace Chart.helpers\r\n */\r\nvar helpers = {\r\n\t/**\r\n\t * An empty function that can be used, for example, for optional callback.\r\n\t */\r\n\tnoop: function() {},\r\n\r\n\t/**\r\n\t * Returns a unique id, sequentially generated from a global variable.\r\n\t * @returns {number}\r\n\t * @function\r\n\t */\r\n\tuid: (function() {\r\n\t\tvar id = 0;\r\n\t\treturn function() {\r\n\t\t\treturn id++;\r\n\t\t};\r\n\t}()),\r\n\r\n\t/**\r\n\t * Returns true if `value` is neither null nor undefined, else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisNullOrUndef: function(value) {\r\n\t\treturn value === null || typeof value === 'undefined';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an array (including typed arrays), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @function\r\n\t */\r\n\tisArray: function(value) {\r\n\t\tif (Array.isArray && Array.isArray(value)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tvar type = Object.prototype.toString.call(value);\r\n\t\tif (type.substr(0, 7) === '[object' && type.substr(-6) === 'Array]') {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an object (excluding null), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisObject: function(value) {\r\n\t\treturn value !== null && Object.prototype.toString.call(value) === '[object Object]';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is a finite number, else returns false\r\n\t * @param {*} value  - The value to test.\r\n\t * @returns {boolean}\r\n\t */\r\n\tisFinite: function(value) {\r\n\t\treturn (typeof value === 'number' || value instanceof Number) && isFinite(value);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns `value` if defined, else returns `defaultValue`.\r\n\t * @param {*} value - The value to return if defined.\r\n\t * @param {*} defaultValue - The value to return if `value` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueOrDefault: function(value, defaultValue) {\r\n\t\treturn typeof value === 'undefined' ? defaultValue : value;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns value at the given `index` in array if defined, else returns `defaultValue`.\r\n\t * @param {Array} value - The array to lookup for value at `index`.\r\n\t * @param {number} index - The index in `value` to lookup for value.\r\n\t * @param {*} defaultValue - The value to return if `value[index]` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueAtIndexOrDefault: function(value, index, defaultValue) {\r\n\t\treturn helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the\r\n\t * value returned by `fn`. If `fn` is not a function, this method returns undefined.\r\n\t * @param {function} fn - The function to call.\r\n\t * @param {Array|undefined|null} args - The arguments with which `fn` should be called.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @returns {*}\r\n\t */\r\n\tcallback: function(fn, args, thisArg) {\r\n\t\tif (fn && typeof fn.call === 'function') {\r\n\t\t\treturn fn.apply(thisArg, args);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Note(SB) for performance sake, this method should only be used when loopable type\r\n\t * is unknown or in none intensive code (not called often and small loopable). Else\r\n\t * it's preferable to use a regular for() loop and save extra function calls.\r\n\t * @param {object|Array} loopable - The object or array to be iterated.\r\n\t * @param {function} fn - The function to call for each item.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @param {boolean} [reverse] - If true, iterates backward on the loopable.\r\n\t */\r\n\teach: function(loopable, fn, thisArg, reverse) {\r\n\t\tvar i, len, keys;\r\n\t\tif (helpers.isArray(loopable)) {\r\n\t\t\tlen = loopable.length;\r\n\t\t\tif (reverse) {\r\n\t\t\t\tfor (i = len - 1; i >= 0; i--) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else if (helpers.isObject(loopable)) {\r\n\t\t\tkeys = Object.keys(loopable);\r\n\t\t\tlen = keys.length;\r\n\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\tfn.call(thisArg, loopable[keys[i]], keys[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the `a0` and `a1` arrays have the same content, else returns false.\r\n\t * @see https://stackoverflow.com/a/14853974\r\n\t * @param {Array} a0 - The array to compare\r\n\t * @param {Array} a1 - The array to compare\r\n\t * @returns {boolean}\r\n\t */\r\n\tarrayEquals: function(a0, a1) {\r\n\t\tvar i, ilen, v0, v1;\r\n\r\n\t\tif (!a0 || !a1 || a0.length !== a1.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = a0.length; i < ilen; ++i) {\r\n\t\t\tv0 = a0[i];\r\n\t\t\tv1 = a1[i];\r\n\r\n\t\t\tif (v0 instanceof Array && v1 instanceof Array) {\r\n\t\t\t\tif (!helpers.arrayEquals(v0, v1)) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t} else if (v0 !== v1) {\r\n\t\t\t\t// NOTE: two different object instances will never be equal: {x:20} != {x:20}\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a deep copy of `source` without keeping references on objects and arrays.\r\n\t * @param {*} source - The value to clone.\r\n\t * @returns {*}\r\n\t */\r\n\tclone: function(source) {\r\n\t\tif (helpers.isArray(source)) {\r\n\t\t\treturn source.map(helpers.clone);\r\n\t\t}\r\n\r\n\t\tif (helpers.isObject(source)) {\r\n\t\t\tvar target = Object.create(source);\r\n\t\t\tvar keys = Object.keys(source);\r\n\t\t\tvar klen = keys.length;\r\n\t\t\tvar k = 0;\r\n\r\n\t\t\tfor (; k < klen; ++k) {\r\n\t\t\t\ttarget[keys[k]] = helpers.clone(source[keys[k]]);\r\n\t\t\t}\r\n\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\treturn source;\r\n\t},\r\n\r\n\t/**\r\n\t * The default merger when Chart.helpers.merge is called without merger option.\r\n\t * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback.\r\n\t * @private\r\n\t */\r\n\t_merger: function(key, target, source, options) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.merge(tval, sval, options);\r\n\t\t} else {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Merges source[key] in target[key] only if target[key] is undefined.\r\n\t * @private\r\n\t */\r\n\t_mergerIf: function(key, target, source) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.mergeIf(tval, sval);\r\n\t\t} else if (!target.hasOwnProperty(key)) {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` with the given `options`.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @param {object} [options] - Merging options:\r\n\t * @param {function} [options.merger] - The merge method (key, target, source, options)\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmerge: function(target, source, options) {\r\n\t\tvar sources = helpers.isArray(source) ? source : [source];\r\n\t\tvar ilen = sources.length;\r\n\t\tvar merge, i, keys, klen, k;\r\n\r\n\t\tif (!helpers.isObject(target)) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\toptions = options || {};\r\n\t\tmerge = options.merger || helpers._merger;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!helpers.isObject(source)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tkeys = Object.keys(source);\r\n\t\t\tfor (k = 0, klen = keys.length; k < klen; ++k) {\r\n\t\t\t\tmerge(keys[k], target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` *only* if not defined in target.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmergeIf: function(target, source) {\r\n\t\treturn helpers.merge(target, source, {merger: helpers._mergerIf});\r\n\t},\r\n\r\n\t/**\r\n\t * Applies the contents of two or more objects together into the first object.\r\n\t * @param {object} target - The target object in which all objects are merged into.\r\n\t * @param {object} arg1 - Object containing additional properties to merge in target.\r\n\t * @param {object} argN - Additional objects containing properties to merge in target.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\textend: Object.assign || function(target) {\r\n\t\treturn helpers.merge(target, [].slice.call(arguments, 1), {\r\n\t\t\tmerger: function(key, dst, src) {\r\n\t\t\t\tdst[key] = src[key];\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * Basic javascript inheritance based on the model created in Backbone.js\r\n\t */\r\n\tinherits: function(extensions) {\r\n\t\tvar me = this;\r\n\t\tvar ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() {\r\n\t\t\treturn me.apply(this, arguments);\r\n\t\t};\r\n\r\n\t\tvar Surrogate = function() {\r\n\t\t\tthis.constructor = ChartElement;\r\n\t\t};\r\n\r\n\t\tSurrogate.prototype = me.prototype;\r\n\t\tChartElement.prototype = new Surrogate();\r\n\t\tChartElement.extend = helpers.inherits;\r\n\r\n\t\tif (extensions) {\r\n\t\t\thelpers.extend(ChartElement.prototype, extensions);\r\n\t\t}\r\n\r\n\t\tChartElement.__super__ = me.prototype;\r\n\t\treturn ChartElement;\r\n\t},\r\n\r\n\t_deprecated: function(scope, value, previous, current) {\r\n\t\tif (value !== undefined) {\r\n\t\t\tconsole.warn(scope + ': \"' + previous +\r\n\t\t\t\t'\" is deprecated. Please use \"' + current + '\" instead');\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar helpers_core = helpers;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.callback instead.\r\n * @function Chart.helpers.callCallback\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.callCallback = helpers.callback;\r\n\r\n/**\r\n * Provided for backward compatibility, use Array.prototype.indexOf instead.\r\n * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+\r\n * @function Chart.helpers.indexOf\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.indexOf = function(array, item, fromIndex) {\r\n\treturn Array.prototype.indexOf.call(array, item, fromIndex);\r\n};\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead.\r\n * @function Chart.helpers.getValueOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueOrDefault = helpers.valueOrDefault;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead.\r\n * @function Chart.helpers.getValueAtIndexOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault;\n\n/**\r\n * Easing functions adapted from Robert Penner's easing equations.\r\n * @namespace Chart.helpers.easingEffects\r\n * @see http://www.robertpenner.com/easing/\r\n */\r\nvar effects = {\r\n\tlinear: function(t) {\r\n\t\treturn t;\r\n\t},\r\n\r\n\teaseInQuad: function(t) {\r\n\t\treturn t * t;\r\n\t},\r\n\r\n\teaseOutQuad: function(t) {\r\n\t\treturn -t * (t - 2);\r\n\t},\r\n\r\n\teaseInOutQuad: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((--t) * (t - 2) - 1);\r\n\t},\r\n\r\n\teaseInCubic: function(t) {\r\n\t\treturn t * t * t;\r\n\t},\r\n\r\n\teaseOutCubic: function(t) {\r\n\t\treturn (t = t - 1) * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutCubic: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t + 2);\r\n\t},\r\n\r\n\teaseInQuart: function(t) {\r\n\t\treturn t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuart: function(t) {\r\n\t\treturn -((t = t - 1) * t * t * t - 1);\r\n\t},\r\n\r\n\teaseInOutQuart: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((t -= 2) * t * t * t - 2);\r\n\t},\r\n\r\n\teaseInQuint: function(t) {\r\n\t\treturn t * t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuint: function(t) {\r\n\t\treturn (t = t - 1) * t * t * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutQuint: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t * t * t + 2);\r\n\t},\r\n\r\n\teaseInSine: function(t) {\r\n\t\treturn -Math.cos(t * (Math.PI / 2)) + 1;\r\n\t},\r\n\r\n\teaseOutSine: function(t) {\r\n\t\treturn Math.sin(t * (Math.PI / 2));\r\n\t},\r\n\r\n\teaseInOutSine: function(t) {\r\n\t\treturn -0.5 * (Math.cos(Math.PI * t) - 1);\r\n\t},\r\n\r\n\teaseInExpo: function(t) {\r\n\t\treturn (t === 0) ? 0 : Math.pow(2, 10 * (t - 1));\r\n\t},\r\n\r\n\teaseOutExpo: function(t) {\r\n\t\treturn (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1;\r\n\t},\r\n\r\n\teaseInOutExpo: function(t) {\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * Math.pow(2, 10 * (t - 1));\r\n\t\t}\r\n\t\treturn 0.5 * (-Math.pow(2, -10 * --t) + 2);\r\n\t},\r\n\r\n\teaseInCirc: function(t) {\r\n\t\tif (t >= 1) {\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn -(Math.sqrt(1 - t * t) - 1);\r\n\t},\r\n\r\n\teaseOutCirc: function(t) {\r\n\t\treturn Math.sqrt(1 - (t = t - 1) * t);\r\n\t},\r\n\r\n\teaseInOutCirc: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn -0.5 * (Math.sqrt(1 - t * t) - 1);\r\n\t\t}\r\n\t\treturn 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\r\n\t},\r\n\r\n\teaseInElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t},\r\n\r\n\teaseOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1;\r\n\t},\r\n\r\n\teaseInOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif ((t /= 0.5) === 2) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.45;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\tif (t < 1) {\r\n\t\t\treturn -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1;\r\n\t},\r\n\teaseInBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn t * t * ((s + 1) * t - s);\r\n\t},\r\n\r\n\teaseOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn (t = t - 1) * t * ((s + 1) * t + s) + 1;\r\n\t},\r\n\r\n\teaseInOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\r\n\t},\r\n\r\n\teaseInBounce: function(t) {\r\n\t\treturn 1 - effects.easeOutBounce(1 - t);\r\n\t},\r\n\r\n\teaseOutBounce: function(t) {\r\n\t\tif (t < (1 / 2.75)) {\r\n\t\t\treturn 7.5625 * t * t;\r\n\t\t}\r\n\t\tif (t < (2 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (1.5 / 2.75)) * t + 0.75;\r\n\t\t}\r\n\t\tif (t < (2.5 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375;\r\n\t\t}\r\n\t\treturn 7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375;\r\n\t},\r\n\r\n\teaseInOutBounce: function(t) {\r\n\t\tif (t < 0.5) {\r\n\t\t\treturn effects.easeInBounce(t * 2) * 0.5;\r\n\t\t}\r\n\t\treturn effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5;\r\n\t}\r\n};\r\n\r\nvar helpers_easing = {\r\n\teffects: effects\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.easing.effects instead.\r\n * @function Chart.helpers.easingEffects\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.easingEffects = effects;\n\nvar PI = Math.PI;\r\nvar RAD_PER_DEG = PI / 180;\r\nvar DOUBLE_PI = PI * 2;\r\nvar HALF_PI = PI / 2;\r\nvar QUARTER_PI = PI / 4;\r\nvar TWO_THIRDS_PI = PI * 2 / 3;\r\n\r\n/**\r\n * @namespace Chart.helpers.canvas\r\n */\r\nvar exports$1 = {\r\n\t/**\r\n\t * Clears the entire canvas associated to the given `chart`.\r\n\t * @param {Chart} chart - The chart for which to clear the canvas.\r\n\t */\r\n\tclear: function(chart) {\r\n\t\tchart.ctx.clearRect(0, 0, chart.width, chart.height);\r\n\t},\r\n\r\n\t/**\r\n\t * Creates a \"path\" for a rectangle with rounded corners at position (x, y) with a\r\n\t * given size (width, height) and the same `radius` for all corners.\r\n\t * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context.\r\n\t * @param {number} x - The x axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} y - The y axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} width - The rectangle's width.\r\n\t * @param {number} height - The rectangle's height.\r\n\t * @param {number} radius - The rounded amount (in pixels) for the four corners.\r\n\t * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object?\r\n\t */\r\n\troundedRect: function(ctx, x, y, width, height, radius) {\r\n\t\tif (radius) {\r\n\t\t\tvar r = Math.min(radius, height / 2, width / 2);\r\n\t\t\tvar left = x + r;\r\n\t\t\tvar top = y + r;\r\n\t\t\tvar right = x + width - r;\r\n\t\t\tvar bottom = y + height - r;\r\n\r\n\t\t\tctx.moveTo(x, top);\r\n\t\t\tif (left < right && top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, -HALF_PI);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, 0);\r\n\t\t\t\tctx.arc(right, bottom, r, 0, HALF_PI);\r\n\t\t\t\tctx.arc(left, bottom, r, HALF_PI, PI);\r\n\t\t\t} else if (left < right) {\r\n\t\t\t\tctx.moveTo(left, y);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, HALF_PI);\r\n\t\t\t\tctx.arc(left, top, r, HALF_PI, PI + HALF_PI);\r\n\t\t\t} else if (top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, 0);\r\n\t\t\t\tctx.arc(left, bottom, r, 0, PI);\r\n\t\t\t} else {\r\n\t\t\t\tctx.arc(left, top, r, -PI, PI);\r\n\t\t\t}\r\n\t\t\tctx.closePath();\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t} else {\r\n\t\t\tctx.rect(x, y, width, height);\r\n\t\t}\r\n\t},\r\n\r\n\tdrawPoint: function(ctx, style, radius, x, y, rotation) {\r\n\t\tvar type, xOffset, yOffset, size, cornerRadius;\r\n\t\tvar rad = (rotation || 0) * RAD_PER_DEG;\r\n\r\n\t\tif (style && typeof style === 'object') {\r\n\t\t\ttype = style.toString();\r\n\t\t\tif (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.translate(x, y);\r\n\t\t\t\tctx.rotate(rad);\r\n\t\t\t\tctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\r\n\t\t\t\tctx.restore();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (isNaN(radius) || radius <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\r\n\t\tswitch (style) {\r\n\t\t// Default includes circle\r\n\t\tdefault:\r\n\t\t\tctx.arc(x, y, radius, 0, DOUBLE_PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'triangle':\r\n\t\t\tctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rectRounded':\r\n\t\t\t// NOTE: the rounded rect implementation changed to use `arc` instead of\r\n\t\t\t// `quadraticCurveTo` since it generates better results when rect is\r\n\t\t\t// almost a circle. 0.516 (instead of 0.5) produces results with visually\r\n\t\t\t// closer proportion to the previous impl and it is inscribed in the\r\n\t\t\t// circle with `radius`. For more details, see the following PRs:\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5597\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5858\r\n\t\t\tcornerRadius = radius * 0.516;\r\n\t\t\tsize = radius - cornerRadius;\r\n\t\t\txOffset = Math.cos(rad + QUARTER_PI) * size;\r\n\t\t\tyOffset = Math.sin(rad + QUARTER_PI) * size;\r\n\t\t\tctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\r\n\t\t\tctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\r\n\t\t\tctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\r\n\t\t\tctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rect':\r\n\t\t\tif (!rotation) {\r\n\t\t\t\tsize = Math.SQRT1_2 * radius;\r\n\t\t\t\tctx.rect(x - size, y - size, 2 * size, 2 * size);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'rectRot':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'crossRot':\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'cross':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'star':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'line':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'dash':\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t\tctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tctx.fill();\r\n\t\tctx.stroke();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the point is inside the rectangle\r\n\t * @param {object} point - The point to test\r\n\t * @param {object} area - The rectangle\r\n\t * @returns {boolean}\r\n\t * @private\r\n\t */\r\n\t_isPointInArea: function(point, area) {\r\n\t\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\r\n\t\treturn point.x > area.left - epsilon && point.x < area.right + epsilon &&\r\n\t\t\tpoint.y > area.top - epsilon && point.y < area.bottom + epsilon;\r\n\t},\r\n\r\n\tclipArea: function(ctx, area) {\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\r\n\t\tctx.clip();\r\n\t},\r\n\r\n\tunclipArea: function(ctx) {\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tlineTo: function(ctx, previous, target, flip) {\r\n\t\tvar stepped = target.steppedLine;\r\n\t\tif (stepped) {\r\n\t\t\tif (stepped === 'middle') {\r\n\t\t\t\tvar midpoint = (previous.x + target.x) / 2.0;\r\n\t\t\t\tctx.lineTo(midpoint, flip ? target.y : previous.y);\r\n\t\t\t\tctx.lineTo(midpoint, flip ? previous.y : target.y);\r\n\t\t\t} else if ((stepped === 'after' && !flip) || (stepped !== 'after' && flip)) {\r\n\t\t\t\tctx.lineTo(previous.x, target.y);\r\n\t\t\t} else {\r\n\t\t\t\tctx.lineTo(target.x, previous.y);\r\n\t\t\t}\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!target.tension) {\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.bezierCurveTo(\r\n\t\t\tflip ? previous.controlPointPreviousX : previous.controlPointNextX,\r\n\t\t\tflip ? previous.controlPointPreviousY : previous.controlPointNextY,\r\n\t\t\tflip ? target.controlPointNextX : target.controlPointPreviousX,\r\n\t\t\tflip ? target.controlPointNextY : target.controlPointPreviousY,\r\n\t\t\ttarget.x,\r\n\t\t\ttarget.y);\r\n\t}\r\n};\r\n\r\nvar helpers_canvas = exports$1;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.clear instead.\r\n * @namespace Chart.helpers.clear\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.clear = exports$1.clear;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead.\r\n * @namespace Chart.helpers.drawRoundedRectangle\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.drawRoundedRectangle = function(ctx) {\r\n\tctx.beginPath();\r\n\texports$1.roundedRect.apply(exports$1, arguments);\r\n};\n\nvar defaults = {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_set: function(scope, values) {\r\n\t\treturn helpers_core.merge(this[scope] || (this[scope] = {}), values);\r\n\t}\r\n};\r\n\r\n// TODO(v3): remove 'global' from namespace.  all default are global and\r\n// there's inconsistency around which options are under 'global'\r\ndefaults._set('global', {\r\n\tdefaultColor: 'rgba(0,0,0,0.1)',\r\n\tdefaultFontColor: '#666',\r\n\tdefaultFontFamily: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\r\n\tdefaultFontSize: 12,\r\n\tdefaultFontStyle: 'normal',\r\n\tdefaultLineHeight: 1.2,\r\n\tshowLines: true\r\n});\r\n\r\nvar core_defaults = defaults;\n\nvar valueOrDefault = helpers_core.valueOrDefault;\r\n\r\n/**\r\n * Converts the given font object into a CSS font string.\r\n * @param {object} font - A font object.\r\n * @return {string} The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font\r\n * @private\r\n */\r\nfunction toFontString(font) {\r\n\tif (!font || helpers_core.isNullOrUndef(font.size) || helpers_core.isNullOrUndef(font.family)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\treturn (font.style ? font.style + ' ' : '')\r\n\t\t+ (font.weight ? font.weight + ' ' : '')\r\n\t\t+ font.size + 'px '\r\n\t\t+ font.family;\r\n}\r\n\r\n/**\r\n * @alias Chart.helpers.options\r\n * @namespace\r\n */\r\nvar helpers_options = {\r\n\t/**\r\n\t * Converts the given line height `value` in pixels for a specific font `size`.\r\n\t * @param {number|string} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').\r\n\t * @param {number} size - The font size (in pixels) used to resolve relative `value`.\r\n\t * @returns {number} The effective line height in pixels (size * 1.2 if value is invalid).\r\n\t * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoLineHeight: function(value, size) {\r\n\t\tvar matches = ('' + value).match(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\r\n\t\tif (!matches || matches[1] === 'normal') {\r\n\t\t\treturn size * 1.2;\r\n\t\t}\r\n\r\n\t\tvalue = +matches[2];\r\n\r\n\t\tswitch (matches[3]) {\r\n\t\tcase 'px':\r\n\t\t\treturn value;\r\n\t\tcase '%':\r\n\t\t\tvalue /= 100;\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\treturn size * value;\r\n\t},\r\n\r\n\t/**\r\n\t * Converts the given value into a padding object with pre-computed width/height.\r\n\t * @param {number|object} value - If a number, set the value to all TRBL component,\r\n\t *  else, if and object, use defined properties and sets undefined ones to 0.\r\n\t * @returns {object} The padding values (top, right, bottom, left, width, height)\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoPadding: function(value) {\r\n\t\tvar t, r, b, l;\r\n\r\n\t\tif (helpers_core.isObject(value)) {\r\n\t\t\tt = +value.top || 0;\r\n\t\t\tr = +value.right || 0;\r\n\t\t\tb = +value.bottom || 0;\r\n\t\t\tl = +value.left || 0;\r\n\t\t} else {\r\n\t\t\tt = r = b = l = +value || 0;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\ttop: t,\r\n\t\t\tright: r,\r\n\t\t\tbottom: b,\r\n\t\t\tleft: l,\r\n\t\t\theight: t + b,\r\n\t\t\twidth: l + r\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Parses font options and returns the font object.\r\n\t * @param {object} options - A object that contains font options to be parsed.\r\n\t * @return {object} The font object.\r\n\t * @todo Support font.* options and renamed to toFont().\r\n\t * @private\r\n\t */\r\n\t_parseFont: function(options) {\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize);\r\n\t\tvar font = {\r\n\t\t\tfamily: valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily),\r\n\t\t\tlineHeight: helpers_core.options.toLineHeight(valueOrDefault(options.lineHeight, globalDefaults.defaultLineHeight), size),\r\n\t\t\tsize: size,\r\n\t\t\tstyle: valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle),\r\n\t\t\tweight: null,\r\n\t\t\tstring: ''\r\n\t\t};\r\n\r\n\t\tfont.string = toFontString(font);\r\n\t\treturn font;\r\n\t},\r\n\r\n\t/**\r\n\t * Evaluates the given `inputs` sequentially and returns the first defined value.\r\n\t * @param {Array} inputs - An array of values, falling back to the last value.\r\n\t * @param {object} [context] - If defined and the current value is a function, the value\r\n\t * is called with `context` as first argument and the result becomes the new input.\r\n\t * @param {number} [index] - If defined and the current value is an array, the value\r\n\t * at `index` become the new input.\r\n\t * @param {object} [info] - object to return information about resolution in\r\n\t * @param {boolean} [info.cacheable] - Will be set to `false` if option is not cacheable.\r\n\t * @since 2.7.0\r\n\t */\r\n\tresolve: function(inputs, context, index, info) {\r\n\t\tvar cacheable = true;\r\n\t\tvar i, ilen, value;\r\n\r\n\t\tfor (i = 0, ilen = inputs.length; i < ilen; ++i) {\r\n\t\t\tvalue = inputs[i];\r\n\t\t\tif (value === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (context !== undefined && typeof value === 'function') {\r\n\t\t\t\tvalue = value(context);\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (index !== undefined && helpers_core.isArray(value)) {\r\n\t\t\t\tvalue = value[index];\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (value !== undefined) {\r\n\t\t\t\tif (info && !cacheable) {\r\n\t\t\t\t\tinfo.cacheable = false;\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\n/**\r\n * @alias Chart.helpers.math\r\n * @namespace\r\n */\r\nvar exports$2 = {\r\n\t/**\r\n\t * Returns an array of factors sorted from 1 to sqrt(value)\r\n\t * @private\r\n\t */\r\n\t_factorize: function(value) {\r\n\t\tvar result = [];\r\n\t\tvar sqrt = Math.sqrt(value);\r\n\t\tvar i;\r\n\r\n\t\tfor (i = 1; i < sqrt; i++) {\r\n\t\t\tif (value % i === 0) {\r\n\t\t\t\tresult.push(i);\r\n\t\t\t\tresult.push(value / i);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (sqrt === (sqrt | 0)) { // if value is a square number\r\n\t\t\tresult.push(sqrt);\r\n\t\t}\r\n\r\n\t\tresult.sort(function(a, b) {\r\n\t\t\treturn a - b;\r\n\t\t}).pop();\r\n\t\treturn result;\r\n\t},\r\n\r\n\tlog10: Math.log10 || function(x) {\r\n\t\tvar exponent = Math.log(x) * Math.LOG10E; // Math.LOG10E = 1 / Math.LN10.\r\n\t\t// Check for whole powers of 10,\r\n\t\t// which due to floating point rounding error should be corrected.\r\n\t\tvar powerOf10 = Math.round(exponent);\r\n\t\tvar isPowerOf10 = x === Math.pow(10, powerOf10);\r\n\r\n\t\treturn isPowerOf10 ? powerOf10 : exponent;\r\n\t}\r\n};\r\n\r\nvar helpers_math = exports$2;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.math.log10 instead.\r\n * @namespace Chart.helpers.log10\r\n * @deprecated since version 2.9.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.log10 = exports$2.log10;\n\nvar getRtlAdapter = function(rectX, width) {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn rectX + rectX + width - x;\r\n\t\t},\r\n\t\tsetWidth: function(w) {\r\n\t\t\twidth = w;\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\tif (align === 'center') {\r\n\t\t\t\treturn align;\r\n\t\t\t}\r\n\t\t\treturn align === 'right' ? 'left' : 'right';\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x - value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, itemWidth) {\r\n\t\t\treturn x - itemWidth;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getLtrAdapter = function() {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn x;\r\n\t\t},\r\n\t\tsetWidth: function(w) { // eslint-disable-line no-unused-vars\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\treturn align;\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x + value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, _itemWidth) { // eslint-disable-line no-unused-vars\r\n\t\t\treturn x;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getAdapter = function(rtl, rectX, width) {\r\n\treturn rtl ? getRtlAdapter(rectX, width) : getLtrAdapter();\r\n};\r\n\r\nvar overrideTextDirection = function(ctx, direction) {\r\n\tvar style, original;\r\n\tif (direction === 'ltr' || direction === 'rtl') {\r\n\t\tstyle = ctx.canvas.style;\r\n\t\toriginal = [\r\n\t\t\tstyle.getPropertyValue('direction'),\r\n\t\t\tstyle.getPropertyPriority('direction'),\r\n\t\t];\r\n\r\n\t\tstyle.setProperty('direction', direction, 'important');\r\n\t\tctx.prevTextDirection = original;\r\n\t}\r\n};\r\n\r\nvar restoreTextDirection = function(ctx) {\r\n\tvar original = ctx.prevTextDirection;\r\n\tif (original !== undefined) {\r\n\t\tdelete ctx.prevTextDirection;\r\n\t\tctx.canvas.style.setProperty('direction', original[0], original[1]);\r\n\t}\r\n};\r\n\r\nvar helpers_rtl = {\r\n\tgetRtlAdapter: getAdapter,\r\n\toverrideTextDirection: overrideTextDirection,\r\n\trestoreTextDirection: restoreTextDirection,\r\n};\n\nvar helpers$1 = helpers_core;\r\nvar easing = helpers_easing;\r\nvar canvas = helpers_canvas;\r\nvar options = helpers_options;\r\nvar math = helpers_math;\r\nvar rtl = helpers_rtl;\nhelpers$1.easing = easing;\nhelpers$1.canvas = canvas;\nhelpers$1.options = options;\nhelpers$1.math = math;\nhelpers$1.rtl = rtl;\n\nfunction interpolate(start, view, model, ease) {\r\n\tvar keys = Object.keys(model);\r\n\tvar i, ilen, key, actual, origin, target, type, c0, c1;\r\n\r\n\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\tkey = keys[i];\r\n\r\n\t\ttarget = model[key];\r\n\r\n\t\t// if a value is added to the model after pivot() has been called, the view\r\n\t\t// doesn't contain it, so let's initialize the view to the target value.\r\n\t\tif (!view.hasOwnProperty(key)) {\r\n\t\t\tview[key] = target;\r\n\t\t}\r\n\r\n\t\tactual = view[key];\r\n\r\n\t\tif (actual === target || key[0] === '_') {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tif (!start.hasOwnProperty(key)) {\r\n\t\t\tstart[key] = actual;\r\n\t\t}\r\n\r\n\t\torigin = start[key];\r\n\r\n\t\ttype = typeof target;\r\n\r\n\t\tif (type === typeof origin) {\r\n\t\t\tif (type === 'string') {\r\n\t\t\t\tc0 = chartjsColor(origin);\r\n\t\t\t\tif (c0.valid) {\r\n\t\t\t\t\tc1 = chartjsColor(target);\r\n\t\t\t\t\tif (c1.valid) {\r\n\t\t\t\t\t\tview[key] = c1.mix(c0, ease).rgbString();\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else if (helpers$1.isFinite(origin) && helpers$1.isFinite(target)) {\r\n\t\t\t\tview[key] = origin + (target - origin) * ease;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tview[key] = target;\r\n\t}\r\n}\r\n\r\nvar Element = function(configuration) {\r\n\thelpers$1.extend(this, configuration);\r\n\tthis.initialize.apply(this, arguments);\r\n};\r\n\r\nhelpers$1.extend(Element.prototype, {\r\n\t_type: undefined,\r\n\r\n\tinitialize: function() {\r\n\t\tthis.hidden = false;\r\n\t},\r\n\r\n\tpivot: function() {\r\n\t\tvar me = this;\r\n\t\tif (!me._view) {\r\n\t\t\tme._view = helpers$1.extend({}, me._model);\r\n\t\t}\r\n\t\tme._start = {};\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttransition: function(ease) {\r\n\t\tvar me = this;\r\n\t\tvar model = me._model;\r\n\t\tvar start = me._start;\r\n\t\tvar view = me._view;\r\n\r\n\t\t// No animation -> No Transition\r\n\t\tif (!model || ease === 1) {\r\n\t\t\tme._view = helpers$1.extend({}, model);\r\n\t\t\tme._start = null;\r\n\t\t\treturn me;\r\n\t\t}\r\n\r\n\t\tif (!view) {\r\n\t\t\tview = me._view = {};\r\n\t\t}\r\n\r\n\t\tif (!start) {\r\n\t\t\tstart = me._start = {};\r\n\t\t}\r\n\r\n\t\tinterpolate(start, view, model, ease);\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\treturn {\r\n\t\t\tx: this._model.x,\r\n\t\t\ty: this._model.y\r\n\t\t};\r\n\t},\r\n\r\n\thasValue: function() {\r\n\t\treturn helpers$1.isNumber(this._model.x) && helpers$1.isNumber(this._model.y);\r\n\t}\r\n});\r\n\r\nElement.extend = helpers$1.inherits;\r\n\r\nvar core_element = Element;\n\nvar exports$3 = core_element.extend({\r\n\tchart: null, // the animation associated chart instance\r\n\tcurrentStep: 0, // the current animation step\r\n\tnumSteps: 60, // default number of steps\r\n\teasing: '', // the easing to use for this animation\r\n\trender: null, // render function used by the animation service\r\n\r\n\tonAnimationProgress: null, // user specified callback to fire on each step of the animation\r\n\tonAnimationComplete: null, // user specified callback to fire when the animation finishes\r\n});\r\n\r\nvar core_animation = exports$3;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation instead\r\n * @prop Chart.Animation#animationObject\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'animationObject', {\r\n\tget: function() {\r\n\t\treturn this;\r\n\t}\r\n});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation#chart instead\r\n * @prop Chart.Animation#chartInstance\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'chartInstance', {\r\n\tget: function() {\r\n\t\treturn this.chart;\r\n\t},\r\n\tset: function(value) {\r\n\t\tthis.chart = value;\r\n\t}\r\n});\n\ncore_defaults._set('global', {\r\n\tanimation: {\r\n\t\tduration: 1000,\r\n\t\teasing: 'easeOutQuart',\r\n\t\tonProgress: helpers$1.noop,\r\n\t\tonComplete: helpers$1.noop\r\n\t}\r\n});\r\n\r\nvar core_animations = {\r\n\tanimations: [],\r\n\trequest: null,\r\n\r\n\t/**\r\n\t * @param {Chart} chart - The chart to animate.\r\n\t * @param {Chart.Animation} animation - The animation that we will animate.\r\n\t * @param {number} duration - The animation duration in ms.\r\n\t * @param {boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions\r\n\t */\r\n\taddAnimation: function(chart, animation, duration, lazy) {\r\n\t\tvar animations = this.animations;\r\n\t\tvar i, ilen;\r\n\r\n\t\tanimation.chart = chart;\r\n\t\tanimation.startTime = Date.now();\r\n\t\tanimation.duration = duration;\r\n\r\n\t\tif (!lazy) {\r\n\t\t\tchart.animating = true;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = animations.length; i < ilen; ++i) {\r\n\t\t\tif (animations[i].chart === chart) {\r\n\t\t\t\tanimations[i] = animation;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tanimations.push(animation);\r\n\r\n\t\t// If there are no animations queued, manually kickstart a digest, for lack of a better word\r\n\t\tif (animations.length === 1) {\r\n\t\t\tthis.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\tcancelAnimation: function(chart) {\r\n\t\tvar index = helpers$1.findIndex(this.animations, function(animation) {\r\n\t\t\treturn animation.chart === chart;\r\n\t\t});\r\n\r\n\t\tif (index !== -1) {\r\n\t\t\tthis.animations.splice(index, 1);\r\n\t\t\tchart.animating = false;\r\n\t\t}\r\n\t},\r\n\r\n\trequestAnimationFrame: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.request === null) {\r\n\t\t\t// Skip animation frame requests until the active one is executed.\r\n\t\t\t// This can happen when processing mouse events, e.g. 'mousemove'\r\n\t\t\t// and 'mouseout' events will trigger multiple renders.\r\n\t\t\tme.request = helpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tme.request = null;\r\n\t\t\t\tme.startDigest();\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tstartDigest: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tme.advance();\r\n\r\n\t\t// Do we have more stuff to animate?\r\n\t\tif (me.animations.length > 0) {\r\n\t\t\tme.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tadvance: function() {\r\n\t\tvar animations = this.animations;\r\n\t\tvar animation, chart, numSteps, nextStep;\r\n\t\tvar i = 0;\r\n\r\n\t\t// 1 animation per chart, so we are looping charts here\r\n\t\twhile (i < animations.length) {\r\n\t\t\tanimation = animations[i];\r\n\t\t\tchart = animation.chart;\r\n\t\t\tnumSteps = animation.numSteps;\r\n\r\n\t\t\t// Make sure that currentStep starts at 1\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/6104\r\n\t\t\tnextStep = Math.floor((Date.now() - animation.startTime) / animation.duration * numSteps) + 1;\r\n\t\t\tanimation.currentStep = Math.min(nextStep, numSteps);\r\n\r\n\t\t\thelpers$1.callback(animation.render, [chart, animation], chart);\r\n\t\t\thelpers$1.callback(animation.onAnimationProgress, [animation], chart);\r\n\r\n\t\t\tif (animation.currentStep >= numSteps) {\r\n\t\t\t\thelpers$1.callback(animation.onAnimationComplete, [animation], chart);\r\n\t\t\t\tchart.animating = false;\r\n\t\t\t\tanimations.splice(i, 1);\r\n\t\t\t} else {\r\n\t\t\t\t++i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar resolve = helpers$1.options.resolve;\r\n\r\nvar arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\r\n\r\n/**\r\n * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',\r\n * 'unshift') and notify the listener AFTER the array has been altered. Listeners are\r\n * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.\r\n */\r\nfunction listenArrayEvents(array, listener) {\r\n\tif (array._chartjs) {\r\n\t\tarray._chartjs.listeners.push(listener);\r\n\t\treturn;\r\n\t}\r\n\r\n\tObject.defineProperty(array, '_chartjs', {\r\n\t\tconfigurable: true,\r\n\t\tenumerable: false,\r\n\t\tvalue: {\r\n\t\t\tlisteners: [listener]\r\n\t\t}\r\n\t});\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tvar method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);\r\n\t\tvar base = array[key];\r\n\r\n\t\tObject.defineProperty(array, key, {\r\n\t\t\tconfigurable: true,\r\n\t\t\tenumerable: false,\r\n\t\t\tvalue: function() {\r\n\t\t\t\tvar args = Array.prototype.slice.call(arguments);\r\n\t\t\t\tvar res = base.apply(this, args);\r\n\r\n\t\t\t\thelpers$1.each(array._chartjs.listeners, function(object) {\r\n\t\t\t\t\tif (typeof object[method] === 'function') {\r\n\t\t\t\t\t\tobject[method].apply(object, args);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t\treturn res;\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n\r\n/**\r\n * Removes the given array event listener and cleanup extra attached properties (such as\r\n * the _chartjs stub and overridden methods) if array doesn't have any more listeners.\r\n */\r\nfunction unlistenArrayEvents(array, listener) {\r\n\tvar stub = array._chartjs;\r\n\tif (!stub) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tvar listeners = stub.listeners;\r\n\tvar index = listeners.indexOf(listener);\r\n\tif (index !== -1) {\r\n\t\tlisteners.splice(index, 1);\r\n\t}\r\n\r\n\tif (listeners.length > 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tdelete array[key];\r\n\t});\r\n\r\n\tdelete array._chartjs;\r\n}\r\n\r\n// Base class for all dataset controllers (line, bar, etc)\r\nvar DatasetController = function(chart, datasetIndex) {\r\n\tthis.initialize(chart, datasetIndex);\r\n};\r\n\r\nhelpers$1.extend(DatasetController.prototype, {\r\n\r\n\t/**\r\n\t * Element type used to generate a meta dataset (e.g. Chart.element.Line).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdatasetElementType: null,\r\n\r\n\t/**\r\n\t * Element type used to generate a meta data (e.g. Chart.element.Point).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdataElementType: null,\r\n\r\n\t/**\r\n\t * Dataset element option keys to be resolved in _resolveDatasetElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth'\r\n\t],\r\n\r\n\t/**\r\n\t * Data element option keys to be resolved in _resolveDataElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'pointStyle'\r\n\t],\r\n\r\n\tinitialize: function(chart, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tme.chart = chart;\r\n\t\tme.index = datasetIndex;\r\n\t\tme.linkScales();\r\n\t\tme.addElements();\r\n\t\tme._type = me.getMeta().type;\r\n\t},\r\n\r\n\tupdateIndex: function(datasetIndex) {\r\n\t\tthis.index = datasetIndex;\r\n\t},\r\n\r\n\tlinkScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar chart = me.chart;\r\n\t\tvar scales = chart.scales;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scalesOpts = chart.options.scales;\r\n\r\n\t\tif (meta.xAxisID === null || !(meta.xAxisID in scales) || dataset.xAxisID) {\r\n\t\t\tmeta.xAxisID = dataset.xAxisID || scalesOpts.xAxes[0].id;\r\n\t\t}\r\n\t\tif (meta.yAxisID === null || !(meta.yAxisID in scales) || dataset.yAxisID) {\r\n\t\t\tmeta.yAxisID = dataset.yAxisID || scalesOpts.yAxes[0].id;\r\n\t\t}\r\n\t},\r\n\r\n\tgetDataset: function() {\r\n\t\treturn this.chart.data.datasets[this.index];\r\n\t},\r\n\r\n\tgetMeta: function() {\r\n\t\treturn this.chart.getDatasetMeta(this.index);\r\n\t},\r\n\r\n\tgetScaleForId: function(scaleID) {\r\n\t\treturn this.chart.scales[scaleID];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScale: function() {\r\n\t\treturn this.getScaleForId(this._getValueScaleId());\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScale: function() {\r\n\t\treturn this.getScaleForId(this._getIndexScaleId());\r\n\t},\r\n\r\n\treset: function() {\r\n\t\tthis._update(true);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroy: function() {\r\n\t\tif (this._data) {\r\n\t\t\tunlistenArrayEvents(this._data, this);\r\n\t\t}\r\n\t},\r\n\r\n\tcreateMetaDataset: function() {\r\n\t\tvar me = this;\r\n\t\tvar type = me.datasetElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index\r\n\t\t});\r\n\t},\r\n\r\n\tcreateMetaData: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar type = me.dataElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index\r\n\t\t});\r\n\t},\r\n\r\n\taddElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data || [];\r\n\t\tvar metaData = meta.data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = data.length; i < ilen; ++i) {\r\n\t\t\tmetaData[i] = metaData[i] || me.createMetaData(i);\r\n\t\t}\r\n\r\n\t\tmeta.dataset = meta.dataset || me.createMetaDataset();\r\n\t},\r\n\r\n\taddElementAndReset: function(index) {\r\n\t\tvar element = this.createMetaData(index);\r\n\t\tthis.getMeta().data.splice(index, 0, element);\r\n\t\tthis.updateElement(element, index, true);\r\n\t},\r\n\r\n\tbuildOrUpdateElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar data = dataset.data || (dataset.data = []);\r\n\r\n\t\t// In order to correctly handle data addition/deletion animation (an thus simulate\r\n\t\t// real-time charts), we need to monitor these data modifications and synchronize\r\n\t\t// the internal meta data accordingly.\r\n\t\tif (me._data !== data) {\r\n\t\t\tif (me._data) {\r\n\t\t\t\t// This case happens when the user replaced the data array instance.\r\n\t\t\t\tunlistenArrayEvents(me._data, me);\r\n\t\t\t}\r\n\r\n\t\t\tif (data && Object.isExtensible(data)) {\r\n\t\t\t\tlistenArrayEvents(data, me);\r\n\t\t\t}\r\n\t\t\tme._data = data;\r\n\t\t}\r\n\r\n\t\t// Re-sync meta data in case the user replaced the data array or if we missed\r\n\t\t// any updates and so make sure that we handle number of datapoints changing.\r\n\t\tme.resyncElements();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the merged user-supplied and default dataset-level options\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tme._config = helpers$1.merge(Object.create(null), [\r\n\t\t\tme.chart.options.datasets[me._type],\r\n\t\t\tme.getDataset(),\r\n\t\t], {\r\n\t\t\tmerger: function(key, target, source) {\r\n\t\t\t\tif (key !== '_meta' && key !== 'data') {\r\n\t\t\t\t\thelpers$1._merger(key, target, source);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t_update: function(reset) {\r\n\t\tvar me = this;\r\n\t\tme._configure();\r\n\t\tme._cachedDataOpts = null;\r\n\t\tme.update(reset);\r\n\t},\r\n\r\n\tupdate: helpers$1.noop,\r\n\r\n\ttransition: function(easingValue) {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].transition(easingValue);\r\n\t\t}\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.transition(easingValue);\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.draw();\r\n\t\t}\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].draw();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a set of predefined style properties that should be used to represent the dataset\r\n\t * or the data if the index is specified\r\n\t * @param {number} index - data index\r\n\t * @return {IStyleInterface} style object\r\n\t */\r\n\tgetStyle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = meta.dataset;\r\n\t\tvar style;\r\n\r\n\t\tme._configure();\r\n\t\tif (dataset && index === undefined) {\r\n\t\t\tstyle = me._resolveDatasetElementOptions(dataset || {});\r\n\t\t} else {\r\n\t\t\tindex = index || 0;\r\n\t\t\tstyle = me._resolveDataElementOptions(meta.data[index] || {}, index);\r\n\t\t}\r\n\r\n\t\tif (style.fill === false || style.fill === null) {\r\n\t\t\tstyle.backgroundColor = style.borderColor;\r\n\t\t}\r\n\r\n\t\treturn style;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element, hover) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = chart.options.elements[me.datasetElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._datasetElementOptions;\r\n\t\tvar values = {};\r\n\t\tvar i, ilen, key, readKey;\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index,\r\n\t\t\thover: hover\r\n\t\t};\r\n\r\n\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\tkey = elementOptions[i];\r\n\t\t\treadKey = hover ? 'hover' + key.charAt(0).toUpperCase() + key.slice(1) : key;\r\n\t\t\tvalues[key] = resolve([\r\n\t\t\t\tcustom[readKey],\r\n\t\t\t\tdatasetOpts[readKey],\r\n\t\t\t\toptions[readKey]\r\n\t\t\t], context);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(element, index) {\r\n\t\tvar me = this;\r\n\t\tvar custom = element && element.custom;\r\n\t\tvar cached = me._cachedDataOpts;\r\n\t\tif (cached && !custom) {\r\n\t\t\treturn cached;\r\n\t\t}\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar options = chart.options.elements[me.dataElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._dataElementOptions;\r\n\t\tvar values = {};\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// `resolve` sets cacheable to `false` if any option is indexed or scripted\r\n\t\tvar info = {cacheable: !custom};\r\n\r\n\t\tvar keys, i, ilen, key;\r\n\r\n\t\tcustom = custom || {};\r\n\r\n\t\tif (helpers$1.isArray(elementOptions)) {\r\n\t\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\t\tkey = elementOptions[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tkeys = Object.keys(elementOptions);\r\n\t\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\t\tkey = keys[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[elementOptions[key]],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (info.cacheable) {\r\n\t\t\tme._cachedDataOpts = Object.freeze(values);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tremoveHoverStyle: function(element) {\r\n\t\thelpers$1.merge(element._model, element.$previousStyle || {});\r\n\t\tdelete element.$previousStyle;\r\n\t},\r\n\r\n\tsetHoverStyle: function(element) {\r\n\t\tvar dataset = this.chart.data.datasets[element._datasetIndex];\r\n\t\tvar index = element._index;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar model = element._model;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\telement.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = resolve([custom.hoverBackgroundColor, dataset.hoverBackgroundColor, getHoverColor(model.backgroundColor)], undefined, index);\r\n\t\tmodel.borderColor = resolve([custom.hoverBorderColor, dataset.hoverBorderColor, getHoverColor(model.borderColor)], undefined, index);\r\n\t\tmodel.borderWidth = resolve([custom.hoverBorderWidth, dataset.hoverBorderWidth, model.borderWidth], undefined, index);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_removeDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\r\n\t\tif (element) {\r\n\t\t\tthis.removeHoverStyle(element);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_setDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\t\tvar prev = {};\r\n\t\tvar i, ilen, key, keys, hoverOptions, model;\r\n\r\n\t\tif (!element) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmodel = element._model;\r\n\t\thoverOptions = this._resolveDatasetElementOptions(element, true);\r\n\r\n\t\tkeys = Object.keys(hoverOptions);\r\n\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\tkey = keys[i];\r\n\t\t\tprev[key] = model[key];\r\n\t\t\tmodel[key] = hoverOptions[key];\r\n\t\t}\r\n\r\n\t\telement.$previousStyle = prev;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tresyncElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data;\r\n\t\tvar numMeta = meta.data.length;\r\n\t\tvar numData = data.length;\r\n\r\n\t\tif (numData < numMeta) {\r\n\t\t\tmeta.data.splice(numData, numMeta - numData);\r\n\t\t} else if (numData > numMeta) {\r\n\t\t\tme.insertElements(numMeta, numData - numMeta);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinsertElements: function(start, count) {\r\n\t\tfor (var i = 0; i < count; ++i) {\r\n\t\t\tthis.addElementAndReset(start + i);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPush: function() {\r\n\t\tvar count = arguments.length;\r\n\t\tthis.insertElements(this.getDataset().data.length - count, count);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPop: function() {\r\n\t\tthis.getMeta().data.pop();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataShift: function() {\r\n\t\tthis.getMeta().data.shift();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataSplice: function(start, count) {\r\n\t\tthis.getMeta().data.splice(start, count);\r\n\t\tthis.insertElements(start, arguments.length - 2);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataUnshift: function() {\r\n\t\tthis.insertElements(0, arguments.length);\r\n\t}\r\n});\r\n\r\nDatasetController.extend = helpers$1.inherits;\r\n\r\nvar core_datasetController = DatasetController;\n\nvar TAU = Math.PI * 2;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tarc: {\r\n\t\t\tbackgroundColor: core_defaults.global.defaultColor,\r\n\t\t\tborderColor: '#fff',\r\n\t\t\tborderWidth: 2,\r\n\t\t\tborderAlign: 'center'\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction clipArc(ctx, arc) {\r\n\tvar startAngle = arc.startAngle;\r\n\tvar endAngle = arc.endAngle;\r\n\tvar pixelMargin = arc.pixelMargin;\r\n\tvar angleMargin = pixelMargin / arc.outerRadius;\r\n\tvar x = arc.x;\r\n\tvar y = arc.y;\r\n\r\n\t// Draw an inner border by cliping the arc and drawing a double-width border\r\n\t// Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders\r\n\tctx.beginPath();\r\n\tctx.arc(x, y, arc.outerRadius, startAngle - angleMargin, endAngle + angleMargin);\r\n\tif (arc.innerRadius > pixelMargin) {\r\n\t\tangleMargin = pixelMargin / arc.innerRadius;\r\n\t\tctx.arc(x, y, arc.innerRadius - pixelMargin, endAngle + angleMargin, startAngle - angleMargin, true);\r\n\t} else {\r\n\t\tctx.arc(x, y, pixelMargin, endAngle + Math.PI / 2, startAngle - Math.PI / 2);\r\n\t}\r\n\tctx.closePath();\r\n\tctx.clip();\r\n}\r\n\r\nfunction drawFullCircleBorders(ctx, vm, arc, inner) {\r\n\tvar endAngle = arc.endAngle;\r\n\tvar i;\r\n\r\n\tif (inner) {\r\n\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\tclipArc(ctx, arc);\r\n\t\tarc.endAngle = endAngle;\r\n\t\tif (arc.endAngle === arc.startAngle && arc.fullCircles) {\r\n\t\t\tarc.endAngle += TAU;\r\n\t\t\tarc.fullCircles--;\r\n\t\t}\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.startAngle + TAU, arc.startAngle, true);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.startAngle + TAU);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n}\r\n\r\nfunction drawBorder(ctx, vm, arc) {\r\n\tvar inner = vm.borderAlign === 'inner';\r\n\r\n\tif (inner) {\r\n\t\tctx.lineWidth = vm.borderWidth * 2;\r\n\t\tctx.lineJoin = 'round';\r\n\t} else {\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tctx.lineJoin = 'bevel';\r\n\t}\r\n\r\n\tif (arc.fullCircles) {\r\n\t\tdrawFullCircleBorders(ctx, vm, arc, inner);\r\n\t}\r\n\r\n\tif (inner) {\r\n\t\tclipArc(ctx, arc);\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.endAngle);\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n}\r\n\r\nvar element_arc = core_element.extend({\r\n\t_type: 'arc',\r\n\r\n\tinLabelRange: function(mouseX) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\treturn (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tinRange: function(chartX, chartY) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\tvar pointRelativePosition = helpers$1.getAngleFromPoint(vm, {x: chartX, y: chartY});\r\n\t\t\tvar angle = pointRelativePosition.angle;\r\n\t\t\tvar distance = pointRelativePosition.distance;\r\n\r\n\t\t\t// Sanitise angle range\r\n\t\t\tvar startAngle = vm.startAngle;\r\n\t\t\tvar endAngle = vm.endAngle;\r\n\t\t\twhile (endAngle < startAngle) {\r\n\t\t\t\tendAngle += TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle > endAngle) {\r\n\t\t\t\tangle -= TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle < startAngle) {\r\n\t\t\t\tangle += TAU;\r\n\t\t\t}\r\n\r\n\t\t\t// Check if within the range of the open/close angle\r\n\t\t\tvar betweenAngles = (angle >= startAngle && angle <= endAngle);\r\n\t\t\tvar withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);\r\n\r\n\t\t\treturn (betweenAngles && withinRadius);\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar halfAngle = (vm.startAngle + vm.endAngle) / 2;\r\n\t\tvar halfRadius = (vm.innerRadius + vm.outerRadius) / 2;\r\n\t\treturn {\r\n\t\t\tx: vm.x + Math.cos(halfAngle) * halfRadius,\r\n\t\t\ty: vm.y + Math.sin(halfAngle) * halfRadius\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2);\r\n\t\tvar rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;\r\n\r\n\t\treturn {\r\n\t\t\tx: vm.x + (Math.cos(centreAngle) * rangeFromCentre),\r\n\t\t\ty: vm.y + (Math.sin(centreAngle) * rangeFromCentre)\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar pixelMargin = (vm.borderAlign === 'inner') ? 0.33 : 0;\r\n\t\tvar arc = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tinnerRadius: vm.innerRadius,\r\n\t\t\touterRadius: Math.max(vm.outerRadius - pixelMargin, 0),\r\n\t\t\tpixelMargin: pixelMargin,\r\n\t\t\tstartAngle: vm.startAngle,\r\n\t\t\tendAngle: vm.endAngle,\r\n\t\t\tfullCircles: Math.floor(vm.circumference / TAU)\r\n\t\t};\r\n\t\tvar i;\r\n\r\n\t\tctx.save();\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\r\n\t\tif (arc.fullCircles) {\r\n\t\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\t\tctx.closePath();\r\n\t\t\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\t\t\tctx.fill();\r\n\t\t\t}\r\n\t\t\tarc.endAngle = arc.startAngle + vm.circumference % TAU;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\tctx.closePath();\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth) {\r\n\t\t\tdrawBorder(ctx, vm, arc);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$1 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tline: {\r\n\t\t\ttension: 0.4,\r\n\t\t\tbackgroundColor: defaultColor,\r\n\t\t\tborderWidth: 3,\r\n\t\t\tborderColor: defaultColor,\r\n\t\t\tborderCapStyle: 'butt',\r\n\t\t\tborderDash: [],\r\n\t\t\tborderDashOffset: 0.0,\r\n\t\t\tborderJoinStyle: 'miter',\r\n\t\t\tcapBezierPoints: true,\r\n\t\t\tfill: true, // do we fill in the area between the line and its base axis\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar element_line = core_element.extend({\r\n\t_type: 'line',\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar vm = me._view;\r\n\t\tvar ctx = me._chart.ctx;\r\n\t\tvar spanGaps = vm.spanGaps;\r\n\t\tvar points = me._children.slice(); // clone array\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar globalOptionLineElements = globalDefaults.elements.line;\r\n\t\tvar lastDrawnIndex = -1;\r\n\t\tvar closePath = me._loop;\r\n\t\tvar index, previous, currentVM;\r\n\r\n\t\tif (!points.length) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (me._loop) {\r\n\t\t\tfor (index = 0; index < points.length; ++index) {\r\n\t\t\t\tprevious = helpers$1.previousItem(points, index);\r\n\t\t\t\t// If the line has an open path, shift the point array\r\n\t\t\t\tif (!points[index]._view.skip && previous._view.skip) {\r\n\t\t\t\t\tpoints = points.slice(index).concat(points.slice(0, index));\r\n\t\t\t\t\tclosePath = spanGaps;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// If the line has a close path, add the first point again\r\n\t\t\tif (closePath) {\r\n\t\t\t\tpoints.push(points[0]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\r\n\t\t// Stroke Line Options\r\n\t\tctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;\r\n\r\n\t\t// IE 9 and 10 do not support line dash\r\n\t\tif (ctx.setLineDash) {\r\n\t\t\tctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);\r\n\t\t}\r\n\r\n\t\tctx.lineDashOffset = valueOrDefault$1(vm.borderDashOffset, globalOptionLineElements.borderDashOffset);\r\n\t\tctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;\r\n\t\tctx.lineWidth = valueOrDefault$1(vm.borderWidth, globalOptionLineElements.borderWidth);\r\n\t\tctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;\r\n\r\n\t\t// Stroke Line\r\n\t\tctx.beginPath();\r\n\r\n\t\t// First point moves to it's starting position no matter what\r\n\t\tcurrentVM = points[0]._view;\r\n\t\tif (!currentVM.skip) {\r\n\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\tlastDrawnIndex = 0;\r\n\t\t}\r\n\r\n\t\tfor (index = 1; index < points.length; ++index) {\r\n\t\t\tcurrentVM = points[index]._view;\r\n\t\t\tprevious = lastDrawnIndex === -1 ? helpers$1.previousItem(points, index) : points[lastDrawnIndex];\r\n\r\n\t\t\tif (!currentVM.skip) {\r\n\t\t\t\tif ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {\r\n\t\t\t\t\t// There was a gap and this is the first point after the gap\r\n\t\t\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Line to next point\r\n\t\t\t\t\thelpers$1.canvas.lineTo(ctx, previous._view, currentVM);\r\n\t\t\t\t}\r\n\t\t\t\tlastDrawnIndex = index;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (closePath) {\r\n\t\t\tctx.closePath();\r\n\t\t}\r\n\r\n\t\tctx.stroke();\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$2 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor$1 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tpoint: {\r\n\t\t\tradius: 3,\r\n\t\t\tpointStyle: 'circle',\r\n\t\t\tbackgroundColor: defaultColor$1,\r\n\t\t\tborderColor: defaultColor$1,\r\n\t\t\tborderWidth: 1,\r\n\t\t\t// Hover\r\n\t\t\thitRadius: 1,\r\n\t\t\thoverRadius: 4,\r\n\t\t\thoverBorderWidth: 1\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction xRange(mouseX) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseX - vm.x) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nfunction yRange(mouseY) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseY - vm.y) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nvar element_point = core_element.extend({\r\n\t_type: 'point',\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;\r\n\t},\r\n\r\n\tinLabelRange: xRange,\r\n\tinXRange: xRange,\r\n\tinYRange: yRange,\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\treturn Math.PI * Math.pow(this._view.radius, 2);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tpadding: vm.radius + vm.borderWidth\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar vm = this._view;\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar pointStyle = vm.pointStyle;\r\n\t\tvar rotation = vm.rotation;\r\n\t\tvar radius = vm.radius;\r\n\t\tvar x = vm.x;\r\n\t\tvar y = vm.y;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor; // eslint-disable-line no-shadow\r\n\r\n\t\tif (vm.skip) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Clipping for Points.\r\n\t\tif (chartArea === undefined || helpers$1.canvas._isPointInArea(vm, chartArea)) {\r\n\t\t\tctx.strokeStyle = vm.borderColor || defaultColor;\r\n\t\t\tctx.lineWidth = valueOrDefault$2(vm.borderWidth, globalDefaults.elements.point.borderWidth);\r\n\t\t\tctx.fillStyle = vm.backgroundColor || defaultColor;\r\n\t\t\thelpers$1.canvas.drawPoint(ctx, pointStyle, radius, x, y, rotation);\r\n\t\t}\r\n\t}\r\n});\n\nvar defaultColor$2 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tbackgroundColor: defaultColor$2,\r\n\t\t\tborderColor: defaultColor$2,\r\n\t\t\tborderSkipped: 'bottom',\r\n\t\t\tborderWidth: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction isVertical(vm) {\r\n\treturn vm && vm.width !== undefined;\r\n}\r\n\r\n/**\r\n * Helper function to get the bounds of the bar regardless of the orientation\r\n * @param bar {Chart.Element.Rectangle} the bar\r\n * @return {Bounds} bounds of the bar\r\n * @private\r\n */\r\nfunction getBarBounds(vm) {\r\n\tvar x1, x2, y1, y2, half;\r\n\r\n\tif (isVertical(vm)) {\r\n\t\thalf = vm.width / 2;\r\n\t\tx1 = vm.x - half;\r\n\t\tx2 = vm.x + half;\r\n\t\ty1 = Math.min(vm.y, vm.base);\r\n\t\ty2 = Math.max(vm.y, vm.base);\r\n\t} else {\r\n\t\thalf = vm.height / 2;\r\n\t\tx1 = Math.min(vm.x, vm.base);\r\n\t\tx2 = Math.max(vm.x, vm.base);\r\n\t\ty1 = vm.y - half;\r\n\t\ty2 = vm.y + half;\r\n\t}\r\n\r\n\treturn {\r\n\t\tleft: x1,\r\n\t\ttop: y1,\r\n\t\tright: x2,\r\n\t\tbottom: y2\r\n\t};\r\n}\r\n\r\nfunction swap(orig, v1, v2) {\r\n\treturn orig === v1 ? v2 : orig === v2 ? v1 : orig;\r\n}\r\n\r\nfunction parseBorderSkipped(vm) {\r\n\tvar edge = vm.borderSkipped;\r\n\tvar res = {};\r\n\r\n\tif (!edge) {\r\n\t\treturn res;\r\n\t}\r\n\r\n\tif (vm.horizontal) {\r\n\t\tif (vm.base > vm.x) {\r\n\t\t\tedge = swap(edge, 'left', 'right');\r\n\t\t}\r\n\t} else if (vm.base < vm.y) {\r\n\t\tedge = swap(edge, 'bottom', 'top');\r\n\t}\r\n\r\n\tres[edge] = true;\r\n\treturn res;\r\n}\r\n\r\nfunction parseBorderWidth(vm, maxW, maxH) {\r\n\tvar value = vm.borderWidth;\r\n\tvar skip = parseBorderSkipped(vm);\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = +value.top || 0;\r\n\t\tr = +value.right || 0;\r\n\t\tb = +value.bottom || 0;\r\n\t\tl = +value.left || 0;\r\n\t} else {\r\n\t\tt = r = b = l = +value || 0;\r\n\t}\r\n\r\n\treturn {\r\n\t\tt: skip.top || (t < 0) ? 0 : t > maxH ? maxH : t,\r\n\t\tr: skip.right || (r < 0) ? 0 : r > maxW ? maxW : r,\r\n\t\tb: skip.bottom || (b < 0) ? 0 : b > maxH ? maxH : b,\r\n\t\tl: skip.left || (l < 0) ? 0 : l > maxW ? maxW : l\r\n\t};\r\n}\r\n\r\nfunction boundingRects(vm) {\r\n\tvar bounds = getBarBounds(vm);\r\n\tvar width = bounds.right - bounds.left;\r\n\tvar height = bounds.bottom - bounds.top;\r\n\tvar border = parseBorderWidth(vm, width / 2, height / 2);\r\n\r\n\treturn {\r\n\t\touter: {\r\n\t\t\tx: bounds.left,\r\n\t\t\ty: bounds.top,\r\n\t\t\tw: width,\r\n\t\t\th: height\r\n\t\t},\r\n\t\tinner: {\r\n\t\t\tx: bounds.left + border.l,\r\n\t\t\ty: bounds.top + border.t,\r\n\t\t\tw: width - border.l - border.r,\r\n\t\t\th: height - border.t - border.b\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction inRange(vm, x, y) {\r\n\tvar skipX = x === null;\r\n\tvar skipY = y === null;\r\n\tvar bounds = !vm || (skipX && skipY) ? false : getBarBounds(vm);\r\n\r\n\treturn bounds\r\n\t\t&& (skipX || x >= bounds.left && x <= bounds.right)\r\n\t\t&& (skipY || y >= bounds.top && y <= bounds.bottom);\r\n}\r\n\r\nvar element_rectangle = core_element.extend({\r\n\t_type: 'rectangle',\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar rects = boundingRects(vm);\r\n\t\tvar outer = rects.outer;\r\n\t\tvar inner = rects.inner;\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.fillRect(outer.x, outer.y, outer.w, outer.h);\r\n\r\n\t\tif (outer.w === inner.w && outer.h === inner.h) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(outer.x, outer.y, outer.w, outer.h);\r\n\t\tctx.clip();\r\n\t\tctx.fillStyle = vm.borderColor;\r\n\t\tctx.rect(inner.x, inner.y, inner.w, inner.h);\r\n\t\tctx.fill('evenodd');\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\theight: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm.base - vm.y;\r\n\t},\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\treturn inRange(this._view, mouseX, mouseY);\r\n\t},\r\n\r\n\tinLabelRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn isVertical(vm)\r\n\t\t\t? inRange(vm, mouseX, null)\r\n\t\t\t: inRange(vm, null, mouseY);\r\n\t},\r\n\r\n\tinXRange: function(mouseX) {\r\n\t\treturn inRange(this._view, mouseX, null);\r\n\t},\r\n\r\n\tinYRange: function(mouseY) {\r\n\t\treturn inRange(this._view, null, mouseY);\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar x, y;\r\n\t\tif (isVertical(vm)) {\r\n\t\t\tx = vm.x;\r\n\t\t\ty = (vm.y + vm.base) / 2;\r\n\t\t} else {\r\n\t\t\tx = (vm.x + vm.base) / 2;\r\n\t\t\ty = vm.y;\r\n\t\t}\r\n\r\n\t\treturn {x: x, y: y};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\r\n\t\treturn isVertical(vm)\r\n\t\t\t? vm.width * Math.abs(vm.y - vm.base)\r\n\t\t\t: vm.height * Math.abs(vm.x - vm.base);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t}\r\n});\n\nvar elements = {};\r\nvar Arc = element_arc;\r\nvar Line = element_line;\r\nvar Point = element_point;\r\nvar Rectangle = element_rectangle;\nelements.Arc = Arc;\nelements.Line = Line;\nelements.Point = Point;\nelements.Rectangle = Rectangle;\n\nvar deprecated = helpers$1._deprecated;\r\nvar valueOrDefault$3 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('bar', {\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tbar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * Computes the \"optimal\" sample size to maintain bars equally sized while preventing overlap.\r\n * @private\r\n */\r\nfunction computeMinSampleSize(scale, pixels) {\r\n\tvar min = scale._length;\r\n\tvar prev, curr, i, ilen;\r\n\r\n\tfor (i = 1, ilen = pixels.length; i < ilen; ++i) {\r\n\t\tmin = Math.min(min, Math.abs(pixels[i] - pixels[i - 1]));\r\n\t}\r\n\r\n\tfor (i = 0, ilen = scale.getTicks().length; i < ilen; ++i) {\r\n\t\tcurr = scale.getPixelForTick(i);\r\n\t\tmin = i > 0 ? Math.min(min, Math.abs(curr - prev)) : min;\r\n\t\tprev = curr;\r\n\t}\r\n\r\n\treturn min;\r\n}\r\n\r\n/**\r\n * Computes an \"ideal\" category based on the absolute bar thickness or, if undefined or null,\r\n * uses the smallest interval (see computeMinSampleSize) that prevents bar overlapping. This\r\n * mode currently always generates bars equally sized (until we introduce scriptable options?).\r\n * @private\r\n */\r\nfunction computeFitCategoryTraits(index, ruler, options) {\r\n\tvar thickness = options.barThickness;\r\n\tvar count = ruler.stackCount;\r\n\tvar curr = ruler.pixels[index];\r\n\tvar min = helpers$1.isNullOrUndef(thickness)\r\n\t\t? computeMinSampleSize(ruler.scale, ruler.pixels)\r\n\t\t: -1;\r\n\tvar size, ratio;\r\n\r\n\tif (helpers$1.isNullOrUndef(thickness)) {\r\n\t\tsize = min * options.categoryPercentage;\r\n\t\tratio = options.barPercentage;\r\n\t} else {\r\n\t\t// When bar thickness is enforced, category and bar percentages are ignored.\r\n\t\t// Note(SB): we could add support for relative bar thickness (e.g. barThickness: '50%')\r\n\t\t// and deprecate barPercentage since this value is ignored when thickness is absolute.\r\n\t\tsize = thickness * count;\r\n\t\tratio = 1;\r\n\t}\r\n\r\n\treturn {\r\n\t\tchunk: size / count,\r\n\t\tratio: ratio,\r\n\t\tstart: curr - (size / 2)\r\n\t};\r\n}\r\n\r\n/**\r\n * Computes an \"optimal\" category that globally arranges bars side by side (no gap when\r\n * percentage options are 1), based on the previous and following categories. This mode\r\n * generates bars with different widths when data are not evenly spaced.\r\n * @private\r\n */\r\nfunction computeFlexCategoryTraits(index, ruler, options) {\r\n\tvar pixels = ruler.pixels;\r\n\tvar curr = pixels[index];\r\n\tvar prev = index > 0 ? pixels[index - 1] : null;\r\n\tvar next = index < pixels.length - 1 ? pixels[index + 1] : null;\r\n\tvar percent = options.categoryPercentage;\r\n\tvar start, size;\r\n\r\n\tif (prev === null) {\r\n\t\t// first data: its size is double based on the next point or,\r\n\t\t// if it's also the last data, we use the scale size.\r\n\t\tprev = curr - (next === null ? ruler.end - ruler.start : next - curr);\r\n\t}\r\n\r\n\tif (next === null) {\r\n\t\t// last data: its size is also double based on the previous point.\r\n\t\tnext = curr + curr - prev;\r\n\t}\r\n\r\n\tstart = curr - (curr - Math.min(prev, next)) / 2 * percent;\r\n\tsize = Math.abs(next - prev) / 2 * percent;\r\n\r\n\treturn {\r\n\t\tchunk: size / ruler.stackCount,\r\n\t\tratio: options.barPercentage,\r\n\t\tstart: start\r\n\t};\r\n}\r\n\r\nvar controller_bar = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Rectangle,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderSkipped',\r\n\t\t'borderWidth',\r\n\t\t'barPercentage',\r\n\t\t'barThickness',\r\n\t\t'categoryPercentage',\r\n\t\t'maxBarThickness',\r\n\t\t'minBarLength'\r\n\t],\r\n\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta, scaleOpts;\r\n\r\n\t\tcore_datasetController.prototype.initialize.apply(me, arguments);\r\n\r\n\t\tmeta = me.getMeta();\r\n\t\tmeta.stack = me.getDataset().stack;\r\n\t\tmeta.bar = true;\r\n\r\n\t\tscaleOpts = me._getIndexScale().options;\r\n\t\tdeprecated('bar chart', scaleOpts.barPercentage, 'scales.[x/y]Axes.barPercentage', 'dataset.barPercentage');\r\n\t\tdeprecated('bar chart', scaleOpts.barThickness, 'scales.[x/y]Axes.barThickness', 'dataset.barThickness');\r\n\t\tdeprecated('bar chart', scaleOpts.categoryPercentage, 'scales.[x/y]Axes.categoryPercentage', 'dataset.categoryPercentage');\r\n\t\tdeprecated('bar chart', me._getValueScale().options.minBarLength, 'scales.[x/y]Axes.minBarLength', 'dataset.minBarLength');\r\n\t\tdeprecated('bar chart', scaleOpts.maxBarThickness, 'scales.[x/y]Axes.maxBarThickness', 'dataset.maxBarThickness');\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._ruler = me.getRuler();\r\n\r\n\t\tfor (i = 0, ilen = rects.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(rects[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(rectangle, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar options = me._resolveDataElementOptions(rectangle, index);\r\n\r\n\t\trectangle._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\trectangle._yScale = me.getScaleForId(meta.yAxisID);\r\n\t\trectangle._datasetIndex = me.index;\r\n\t\trectangle._index = index;\r\n\t\trectangle._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderSkipped: options.borderSkipped,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\tdatasetLabel: dataset.label,\r\n\t\t\tlabel: me.chart.data.labels[index]\r\n\t\t};\r\n\r\n\t\tif (helpers$1.isArray(dataset.data[index])) {\r\n\t\t\trectangle._model.borderSkipped = null;\r\n\t\t}\r\n\r\n\t\tme._updateElementGeometry(rectangle, index, reset, options);\r\n\r\n\t\trectangle.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateElementGeometry: function(rectangle, index, reset, options) {\r\n\t\tvar me = this;\r\n\t\tvar model = rectangle._model;\r\n\t\tvar vscale = me._getValueScale();\r\n\t\tvar base = vscale.getBasePixel();\r\n\t\tvar horizontal = vscale.isHorizontal();\r\n\t\tvar ruler = me._ruler || me.getRuler();\r\n\t\tvar vpixels = me.calculateBarValuePixels(me.index, index, options);\r\n\t\tvar ipixels = me.calculateBarIndexPixels(me.index, index, ruler, options);\r\n\r\n\t\tmodel.horizontal = horizontal;\r\n\t\tmodel.base = reset ? base : vpixels.base;\r\n\t\tmodel.x = horizontal ? reset ? base : vpixels.head : ipixels.center;\r\n\t\tmodel.y = horizontal ? ipixels.center : reset ? base : vpixels.head;\r\n\t\tmodel.height = horizontal ? ipixels.size : undefined;\r\n\t\tmodel.width = horizontal ? undefined : ipixels.size;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stacks based on groups and bar visibility.\r\n\t * @param {number} [last] - The dataset index\r\n\t * @returns {string[]} The list of stack IDs\r\n\t * @private\r\n\t */\r\n\t_getStacks: function(last) {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar stacks = [];\r\n\t\tvar i, meta;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\t// stacked   | meta.stack\r\n\t\t\t//           | found | not found | undefined\r\n\t\t\t// false     |   x   |     x     |     x\r\n\t\t\t// true      |       |     x     |\r\n\t\t\t// undefined |       |     x     |     x\r\n\t\t\tif (stacked === false || stacks.indexOf(meta.stack) === -1 ||\r\n\t\t\t\t(stacked === undefined && meta.stack === undefined)) {\r\n\t\t\t\tstacks.push(meta.stack);\r\n\t\t\t}\r\n\t\t\tif (meta.index === last) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn stacks;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the effective number of stacks based on groups and bar visibility.\r\n\t * @private\r\n\t */\r\n\tgetStackCount: function() {\r\n\t\treturn this._getStacks().length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stack index for the given dataset based on groups and bar visibility.\r\n\t * @param {number} [datasetIndex] - The dataset index\r\n\t * @param {string} [name] - The stack name to find\r\n\t * @returns {number} The stack index\r\n\t * @private\r\n\t */\r\n\tgetStackIndex: function(datasetIndex, name) {\r\n\t\tvar stacks = this._getStacks(datasetIndex);\r\n\t\tvar index = (name !== undefined)\r\n\t\t\t? stacks.indexOf(name)\r\n\t\t\t: -1; // indexOf returns -1 if element is not present\r\n\r\n\t\treturn (index === -1)\r\n\t\t\t? stacks.length - 1\r\n\t\t\t: index;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetRuler: function() {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar pixels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) {\r\n\t\t\tpixels.push(scale.getPixelForValue(null, i, me.index));\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tpixels: pixels,\r\n\t\t\tstart: scale._startPixel,\r\n\t\t\tend: scale._endPixel,\r\n\t\t\tstackCount: me.getStackCount(),\r\n\t\t\tscale: scale\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Note: pixel values are not clamped to the scale area.\r\n\t * @private\r\n\t */\r\n\tcalculateBarValuePixels: function(datasetIndex, index, options) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar isHorizontal = scale.isHorizontal();\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar value = scale._parseValue(datasets[datasetIndex].data[index]);\r\n\t\tvar minBarLength = options.minBarLength;\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar stack = me.getMeta().stack;\r\n\t\tvar start = value.start === undefined ? 0 : value.max >= 0 && value.min >= 0 ? value.min : value.max;\r\n\t\tvar length = value.start === undefined ? value.end : value.max >= 0 && value.min >= 0 ? value.max - value.min : value.min - value.max;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, imeta, ivalue, base, head, size, stackLength;\r\n\r\n\t\tif (stacked || (stacked === undefined && stack !== undefined)) {\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\timeta = metasets[i];\r\n\r\n\t\t\t\tif (imeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (imeta.stack === stack) {\r\n\t\t\t\t\tstackLength = scale._parseValue(datasets[imeta.index].data[index]);\r\n\t\t\t\t\tivalue = stackLength.start === undefined ? stackLength.end : stackLength.min >= 0 && stackLength.max >= 0 ? stackLength.max : stackLength.min;\r\n\r\n\t\t\t\t\tif ((value.min < 0 && ivalue < 0) || (value.max >= 0 && ivalue > 0)) {\r\n\t\t\t\t\t\tstart += ivalue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tbase = scale.getPixelForValue(start);\r\n\t\thead = scale.getPixelForValue(start + length);\r\n\t\tsize = head - base;\r\n\r\n\t\tif (minBarLength !== undefined && Math.abs(size) < minBarLength) {\r\n\t\t\tsize = minBarLength;\r\n\t\t\tif (length >= 0 && !isHorizontal || length < 0 && isHorizontal) {\r\n\t\t\t\thead = base - minBarLength;\r\n\t\t\t} else {\r\n\t\t\t\thead = base + minBarLength;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tsize: size,\r\n\t\t\tbase: base,\r\n\t\t\thead: head,\r\n\t\t\tcenter: head + size / 2\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tcalculateBarIndexPixels: function(datasetIndex, index, ruler, options) {\r\n\t\tvar me = this;\r\n\t\tvar range = options.barThickness === 'flex'\r\n\t\t\t? computeFlexCategoryTraits(index, ruler, options)\r\n\t\t\t: computeFitCategoryTraits(index, ruler, options);\r\n\r\n\t\tvar stackIndex = me.getStackIndex(datasetIndex, me.getMeta().stack);\r\n\t\tvar center = range.start + (range.chunk * stackIndex) + (range.chunk / 2);\r\n\t\tvar size = Math.min(\r\n\t\t\tvalueOrDefault$3(options.maxBarThickness, Infinity),\r\n\t\t\trange.chunk * range.ratio);\r\n\r\n\t\treturn {\r\n\t\t\tbase: center - size / 2,\r\n\t\t\thead: center + size / 2,\r\n\t\t\tcenter: center,\r\n\t\t\tsize: size\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar ilen = rects.length;\r\n\t\tvar i = 0;\r\n\r\n\t\thelpers$1.canvas.clipArea(chart.ctx, chart.chartArea);\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tvar val = scale._parseValue(dataset.data[i]);\r\n\t\t\tif (!isNaN(val.min) && !isNaN(val.max)) {\r\n\t\t\t\trects[i].draw();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar values = helpers$1.extend({}, core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments));\r\n\t\tvar indexOpts = me._getIndexScale().options;\r\n\t\tvar valueOpts = me._getValueScale().options;\r\n\r\n\t\tvalues.barPercentage = valueOrDefault$3(indexOpts.barPercentage, values.barPercentage);\r\n\t\tvalues.barThickness = valueOrDefault$3(indexOpts.barThickness, values.barThickness);\r\n\t\tvalues.categoryPercentage = valueOrDefault$3(indexOpts.categoryPercentage, values.categoryPercentage);\r\n\t\tvalues.maxBarThickness = valueOrDefault$3(indexOpts.maxBarThickness, values.maxBarThickness);\r\n\t\tvalues.minBarLength = valueOrDefault$3(valueOpts.minBarLength, values.minBarLength);\r\n\r\n\t\treturn values;\r\n\t}\r\n\r\n});\n\nvar valueOrDefault$4 = helpers$1.valueOrDefault;\r\nvar resolve$1 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('bubble', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear', // bubble should probably use a linear scale by default\r\n\t\t\tposition: 'bottom',\r\n\t\t\tid: 'x-axis-0' // need an ID so datasets can reference the scale\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\t// Title doesn't make sense for scatter since we format the data as a point\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\tvar datasetLabel = data.datasets[item.datasetIndex].label || '';\r\n\t\t\t\tvar dataPoint = data.datasets[item.datasetIndex].data[item.index];\r\n\t\t\t\treturn datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_bubble = core_datasetController.extend({\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t\t'hoverRadius',\r\n\t\t'hitRadius',\r\n\t\t'pointStyle',\r\n\t\t'rotation'\r\n\t],\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data;\r\n\r\n\t\t// Update Points\r\n\t\thelpers$1.each(points, function(point, index) {\r\n\t\t\tme.updateElement(point, index, reset);\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tvar yScale = me.getScaleForId(meta.yAxisID);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar data = me.getDataset().data[index];\r\n\t\tvar dsIndex = me.index;\r\n\r\n\t\tvar x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex);\r\n\t\tvar y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex);\r\n\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = dsIndex;\r\n\t\tpoint._index = index;\r\n\t\tpoint._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\thitRadius: options.hitRadius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tradius: reset ? 0 : options.radius,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t};\r\n\r\n\t\tpoint.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$4(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$4(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$4(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = options.radius + options.hoverRadius;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(point, index) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar data = dataset.data[index] || {};\r\n\t\tvar values = core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments);\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// In case values were cached (and thus frozen), we need to clone the values\r\n\t\tif (me._cachedDataOpts === values) {\r\n\t\t\tvalues = helpers$1.extend({}, values);\r\n\t\t}\r\n\r\n\t\t// Custom radius resolution\r\n\t\tvalues.radius = resolve$1([\r\n\t\t\tcustom.radius,\r\n\t\t\tdata.r,\r\n\t\t\tme._config.radius,\r\n\t\t\tchart.options.elements.point.radius\r\n\t\t], context, index);\r\n\r\n\t\treturn values;\r\n\t}\r\n});\n\nvar valueOrDefault$5 = helpers$1.valueOrDefault;\r\n\r\nvar PI$1 = Math.PI;\r\nvar DOUBLE_PI$1 = PI$1 * 2;\r\nvar HALF_PI$1 = PI$1 / 2;\r\n\r\ncore_defaults._set('doughnut', {\r\n\tanimation: {\r\n\t\t// Boolean - Whether we animate the rotation of the Doughnut\r\n\t\tanimateRotate: true,\r\n\t\t// Boolean - Whether we animate scaling the Doughnut from the centre\r\n\t\tanimateScale: false\r\n\t},\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t// toggle visibility of index if exists\r\n\t\t\t\tif (meta.data[index]) {\r\n\t\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// The percentage of the chart that we cut out of the middle.\r\n\tcutoutPercentage: 50,\r\n\r\n\t// The rotation of the chart, where the first data arc begins.\r\n\trotation: -HALF_PI$1,\r\n\r\n\t// The total circumference of the chart.\r\n\tcircumference: DOUBLE_PI$1,\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar dataLabel = data.labels[tooltipItem.index];\r\n\t\t\t\tvar value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\r\n\r\n\t\t\t\tif (helpers$1.isArray(dataLabel)) {\r\n\t\t\t\t\t// show value on first line of multiline label\r\n\t\t\t\t\t// need to clone because we are changing the value\r\n\t\t\t\t\tdataLabel = dataLabel.slice();\r\n\t\t\t\t\tdataLabel[0] += value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdataLabel += value;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn dataLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_doughnut = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly\r\n\tgetRingIndex: function(datasetIndex) {\r\n\t\tvar ringIndex = 0;\r\n\r\n\t\tfor (var j = 0; j < datasetIndex; ++j) {\r\n\t\t\tif (this.chart.isDatasetVisible(j)) {\r\n\t\t\t\t++ringIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringIndex;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar ratioX = 1;\r\n\t\tvar ratioY = 1;\r\n\t\tvar offsetX = 0;\r\n\t\tvar offsetY = 0;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar arcs = meta.data;\r\n\t\tvar cutout = opts.cutoutPercentage / 100 || 0;\r\n\t\tvar circumference = opts.circumference;\r\n\t\tvar chartWeight = me._getRingWeight(me.index);\r\n\t\tvar maxWidth, maxHeight, i, ilen;\r\n\r\n\t\t// If the chart's circumference isn't a full circle, calculate size as a ratio of the width/height of the arc\r\n\t\tif (circumference < DOUBLE_PI$1) {\r\n\t\t\tvar startAngle = opts.rotation % DOUBLE_PI$1;\r\n\t\t\tstartAngle += startAngle >= PI$1 ? -DOUBLE_PI$1 : startAngle < -PI$1 ? DOUBLE_PI$1 : 0;\r\n\t\t\tvar endAngle = startAngle + circumference;\r\n\t\t\tvar startX = Math.cos(startAngle);\r\n\t\t\tvar startY = Math.sin(startAngle);\r\n\t\t\tvar endX = Math.cos(endAngle);\r\n\t\t\tvar endY = Math.sin(endAngle);\r\n\t\t\tvar contains0 = (startAngle <= 0 && endAngle >= 0) || endAngle >= DOUBLE_PI$1;\r\n\t\t\tvar contains90 = (startAngle <= HALF_PI$1 && endAngle >= HALF_PI$1) || endAngle >= DOUBLE_PI$1 + HALF_PI$1;\r\n\t\t\tvar contains180 = startAngle === -PI$1 || endAngle >= PI$1;\r\n\t\t\tvar contains270 = (startAngle <= -HALF_PI$1 && endAngle >= -HALF_PI$1) || endAngle >= PI$1 + HALF_PI$1;\r\n\t\t\tvar minX = contains180 ? -1 : Math.min(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar minY = contains270 ? -1 : Math.min(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tvar maxX = contains0 ? 1 : Math.max(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar maxY = contains90 ? 1 : Math.max(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tratioX = (maxX - minX) / 2;\r\n\t\t\tratioY = (maxY - minY) / 2;\r\n\t\t\toffsetX = -(maxX + minX) / 2;\r\n\t\t\toffsetY = -(maxY + minY) / 2;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t}\r\n\r\n\t\tchart.borderWidth = me.getMaxBorderWidth();\r\n\t\tmaxWidth = (chartArea.right - chartArea.left - chart.borderWidth) / ratioX;\r\n\t\tmaxHeight = (chartArea.bottom - chartArea.top - chart.borderWidth) / ratioY;\r\n\t\tchart.outerRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\r\n\t\tchart.innerRadius = Math.max(chart.outerRadius * cutout, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / (me._getVisibleDatasetWeightTotal() || 1);\r\n\t\tchart.offsetX = offsetX * chart.outerRadius;\r\n\t\tchart.offsetY = offsetY * chart.outerRadius;\r\n\r\n\t\tmeta.total = me.calculateTotal();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index);\r\n\t\tme.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0);\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar centerX = (chartArea.left + chartArea.right) / 2;\r\n\t\tvar centerY = (chartArea.top + chartArea.bottom) / 2;\r\n\t\tvar startAngle = opts.rotation; // non reset case handled later\r\n\t\tvar endAngle = opts.rotation; // non reset case handled later\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / DOUBLE_PI$1);\r\n\t\tvar innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius;\r\n\t\tvar outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius;\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX + chart.offsetX,\r\n\t\t\t\ty: centerY + chart.offsetY,\r\n\t\t\t\tstartAngle: startAngle,\r\n\t\t\t\tendAngle: endAngle,\r\n\t\t\t\tcircumference: circumference,\r\n\t\t\t\touterRadius: outerRadius,\r\n\t\t\t\tinnerRadius: innerRadius,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tvar model = arc._model;\r\n\r\n\t\t// Set correct angles if not resetting\r\n\t\tif (!reset || !animationOpts.animateRotate) {\r\n\t\t\tif (index === 0) {\r\n\t\t\t\tmodel.startAngle = opts.rotation;\r\n\t\t\t} else {\r\n\t\t\t\tmodel.startAngle = me.getMeta().data[index - 1]._model.endAngle;\r\n\t\t\t}\r\n\r\n\t\t\tmodel.endAngle = model.startAngle + model.circumference;\r\n\t\t}\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcalculateTotal: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar total = 0;\r\n\t\tvar value;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tvalue = dataset.data[index];\r\n\t\t\tif (!isNaN(value) && !element.hidden) {\r\n\t\t\t\ttotal += Math.abs(value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t/* if (total === 0) {\r\n\t\t\ttotal = NaN;\r\n\t\t}*/\r\n\r\n\t\treturn total;\r\n\t},\r\n\r\n\tcalculateCircumference: function(value) {\r\n\t\tvar total = this.getMeta().total;\r\n\t\tif (total > 0 && !isNaN(value)) {\r\n\t\t\treturn DOUBLE_PI$1 * (Math.abs(value) / total);\r\n\t\t}\r\n\t\treturn 0;\r\n\t},\r\n\r\n\t// gets the max border or hover width to properly scale pie charts\r\n\tgetMaxBorderWidth: function(arcs) {\r\n\t\tvar me = this;\r\n\t\tvar max = 0;\r\n\t\tvar chart = me.chart;\r\n\t\tvar i, ilen, meta, arc, controller, options, borderWidth, hoverWidth;\r\n\r\n\t\tif (!arcs) {\r\n\t\t\t// Find the outmost visible dataset\r\n\t\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t\tarcs = meta.data;\r\n\t\t\t\t\tif (i !== me.index) {\r\n\t\t\t\t\t\tcontroller = meta.controller;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!arcs) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarc = arcs[i];\r\n\t\t\tif (controller) {\r\n\t\t\t\tcontroller._configure();\r\n\t\t\t\toptions = controller._resolveDataElementOptions(arc, i);\r\n\t\t\t} else {\r\n\t\t\t\toptions = arc._options;\r\n\t\t\t}\r\n\t\t\tif (options.borderAlign !== 'inner') {\r\n\t\t\t\tborderWidth = options.borderWidth;\r\n\t\t\t\thoverWidth = options.hoverBorderWidth;\r\n\r\n\t\t\t\tmax = borderWidth > max ? borderWidth : max;\r\n\t\t\t\tmax = hoverWidth > max ? hoverWidth : max;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn max;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$5(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$5(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$5(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly\r\n\t * @private\r\n\t */\r\n\t_getRingWeightOffset: function(datasetIndex) {\r\n\t\tvar ringWeightOffset = 0;\r\n\r\n\t\tfor (var i = 0; i < datasetIndex; ++i) {\r\n\t\t\tif (this.chart.isDatasetVisible(i)) {\r\n\t\t\t\tringWeightOffset += this._getRingWeight(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringWeightOffset;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getRingWeight: function(dataSetIndex) {\r\n\t\treturn Math.max(valueOrDefault$5(this.chart.data.datasets[dataSetIndex].weight, 1), 0);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the sum of all visibile data set weights.  This value can be 0.\r\n\t * @private\r\n\t */\r\n\t_getVisibleDatasetWeightTotal: function() {\r\n\t\treturn this._getRingWeightOffset(this.chart.data.datasets.length);\r\n\t}\r\n});\n\ncore_defaults._set('horizontalBar', {\r\n\thover: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tposition: 'left',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}]\r\n\t},\r\n\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tborderSkipped: 'left'\r\n\t\t}\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\thorizontalBar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_horizontalBar = controller_bar.extend({\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t}\r\n});\n\nvar valueOrDefault$6 = helpers$1.valueOrDefault;\r\nvar resolve$2 = helpers$1.options.resolve;\r\nvar isPointInArea = helpers$1.canvas._isPointInArea;\r\n\r\ncore_defaults._set('line', {\r\n\tshowLines: true,\r\n\tspanGaps: false,\r\n\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tid: 'x-axis-0'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\nfunction scaleClip(scale, halfBorderWidth) {\r\n\tvar tickOpts = scale && scale.options.ticks || {};\r\n\tvar reverse = tickOpts.reverse;\r\n\tvar min = tickOpts.min === undefined ? halfBorderWidth : 0;\r\n\tvar max = tickOpts.max === undefined ? halfBorderWidth : 0;\r\n\treturn {\r\n\t\tstart: reverse ? max : min,\r\n\t\tend: reverse ? min : max\r\n\t};\r\n}\r\n\r\nfunction defaultClip(xScale, yScale, borderWidth) {\r\n\tvar halfBorderWidth = borderWidth / 2;\r\n\tvar x = scaleClip(xScale, halfBorderWidth);\r\n\tvar y = scaleClip(yScale, halfBorderWidth);\r\n\r\n\treturn {\r\n\t\ttop: y.end,\r\n\t\tright: x.end,\r\n\t\tbottom: y.start,\r\n\t\tleft: x.start\r\n\t};\r\n}\r\n\r\nfunction toClip(value) {\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = value.top;\r\n\t\tr = value.right;\r\n\t\tb = value.bottom;\r\n\t\tl = value.left;\r\n\t} else {\r\n\t\tt = r = b = l = value;\r\n\t}\r\n\r\n\treturn {\r\n\t\ttop: t,\r\n\t\tright: r,\r\n\t\tbottom: b,\r\n\t\tleft: l\r\n\t};\r\n}\r\n\r\n\r\nvar controller_line = core_datasetController.extend({\r\n\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth',\r\n\t\t'cubicInterpolationMode',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar options = me.chart.options;\r\n\t\tvar config = me._config;\r\n\t\tvar showLine = me._showLine = valueOrDefault$6(config.showLine, options.showLines);\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tme._yScale = me.getScaleForId(meta.yAxisID);\r\n\r\n\t\t// Update Line\r\n\t\tif (showLine) {\r\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\t\tconfig.lineTension = config.tension;\r\n\t\t\t}\r\n\r\n\t\t\t// Utility\r\n\t\t\tline._scale = me._yScale;\r\n\t\t\tline._datasetIndex = me.index;\r\n\t\t\t// Data\r\n\t\t\tline._children = points;\r\n\t\t\t// Model\r\n\t\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\t\tline.pivot();\r\n\t\t}\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\tif (showLine && line._model.tension !== 0) {\r\n\t\t\tme.updateBezierControlPoints();\r\n\t\t}\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar datasetIndex = me.index;\r\n\t\tvar value = dataset.data[index];\r\n\t\tvar xScale = me._xScale;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar x, y;\r\n\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\r\n\t\tx = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex);\r\n\t\ty = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);\r\n\r\n\t\t// Utility\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = datasetIndex;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$6(custom.tension, lineModel ? lineModel.tension : 0),\r\n\t\t\tsteppedLine: lineModel ? lineModel.steppedLine : false,\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element) {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = me.chart.options;\r\n\t\tvar lineOptions = options.elements.line;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\t// The default behavior of lines is to break at null values, according\r\n\t\t// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158\r\n\t\t// This option gives lines the ability to span gaps\r\n\t\tvalues.spanGaps = valueOrDefault$6(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$6(config.lineTension, lineOptions.tension);\r\n\t\tvalues.steppedLine = resolve$2([custom.steppedLine, config.steppedLine, lineOptions.stepped]);\r\n\t\tvalues.clip = toClip(valueOrDefault$6(config.clip, defaultClip(me._xScale, me._yScale, values.borderWidth)));\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tcalculatePointY: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar sumPos = 0;\r\n\t\tvar sumNeg = 0;\r\n\t\tvar i, ds, dsMeta, stackedRightValue, rightValue, metasets, ilen;\r\n\r\n\t\tif (yScale.options.stacked) {\r\n\t\t\trightValue = +yScale.getRightValue(value);\r\n\t\t\tmetasets = chart._getSortedVisibleDatasetMetas();\r\n\t\t\tilen = metasets.length;\r\n\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\tdsMeta = metasets[i];\r\n\t\t\t\tif (dsMeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tds = chart.data.datasets[dsMeta.index];\r\n\t\t\t\tif (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id) {\r\n\t\t\t\t\tstackedRightValue = +yScale.getRightValue(ds.data[index]);\r\n\t\t\t\t\tif (stackedRightValue < 0) {\r\n\t\t\t\t\t\tsumNeg += stackedRightValue || 0;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsumPos += stackedRightValue || 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (rightValue < 0) {\r\n\t\t\t\treturn yScale.getPixelForValue(sumNeg + rightValue);\r\n\t\t\t}\r\n\t\t\treturn yScale.getPixelForValue(sumPos + rightValue);\r\n\t\t}\r\n\t\treturn yScale.getPixelForValue(value);\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (lineModel.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tif (lineModel.cubicInterpolationMode === 'monotone') {\r\n\t\t\thelpers$1.splineCurveMonotone(points);\r\n\t\t} else {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\t\thelpers$1.previousItem(points, i)._model,\r\n\t\t\t\t\tmodel,\r\n\t\t\t\t\thelpers$1.nextItem(points, i)._model,\r\n\t\t\t\t\tlineModel.tension\r\n\t\t\t\t);\r\n\t\t\t\tmodel.controlPointPreviousX = controlPoints.previous.x;\r\n\t\t\t\tmodel.controlPointPreviousY = controlPoints.previous.y;\r\n\t\t\t\tmodel.controlPointNextX = controlPoints.next.x;\r\n\t\t\t\tmodel.controlPointNextY = controlPoints.next.y;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (chart.options.elements.line.capBezierPoints) {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tif (isPointInArea(model, area)) {\r\n\t\t\t\t\tif (i > 0 && isPointInArea(points[i - 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (i < points.length - 1 && isPointInArea(points[i + 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data || [];\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar i = 0;\r\n\t\tvar ilen = points.length;\r\n\t\tvar clip;\r\n\r\n\t\tif (me._showLine) {\r\n\t\t\tclip = meta.dataset._model.clip;\r\n\r\n\t\t\thelpers$1.canvas.clipArea(chart.ctx, {\r\n\t\t\t\tleft: clip.left === false ? 0 : area.left - clip.left,\r\n\t\t\t\tright: clip.right === false ? canvas.width : area.right + clip.right,\r\n\t\t\t\ttop: clip.top === false ? 0 : area.top - clip.top,\r\n\t\t\t\tbottom: clip.bottom === false ? canvas.height : area.bottom + clip.bottom\r\n\t\t\t});\r\n\r\n\t\t\tmeta.dataset.draw();\r\n\r\n\t\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t\t}\r\n\r\n\t\t// Draw the points\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tpoints[i].draw(area);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$6(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$6(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$6(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$6(options.hoverRadius, options.radius);\r\n\t},\r\n});\n\nvar resolve$3 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('polarArea', {\r\n\tscale: {\r\n\t\ttype: 'radialLinear',\r\n\t\tangleLines: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tgridLines: {\r\n\t\t\tcircular: true\r\n\t\t},\r\n\t\tpointLabels: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tticks: {\r\n\t\t\tbeginAtZero: true\r\n\t\t}\r\n\t},\r\n\r\n\t// Boolean - Whether to animate the rotation of the chart\r\n\tanimation: {\r\n\t\tanimateRotate: true,\r\n\t\tanimateScale: true\r\n\t},\r\n\r\n\tstartAngle: -0.5 * Math.PI,\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\treturn data.labels[item.index] + ': ' + item.yLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_polarArea = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar start = me.chart.options.startAngle || 0;\r\n\t\tvar starts = me._starts = [];\r\n\t\tvar angles = me._angles = [];\r\n\t\tvar arcs = meta.data;\r\n\t\tvar i, ilen, angle;\r\n\r\n\t\tme._updateRadius();\r\n\r\n\t\tmeta.count = me.countVisibleElements();\r\n\r\n\t\tfor (i = 0, ilen = dataset.data.length; i < ilen; i++) {\r\n\t\t\tstarts[i] = start;\r\n\t\t\tangle = me._computeAngle(i);\r\n\t\t\tangles[i] = angle;\r\n\t\t\tstart += angle;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateRadius: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\r\n\r\n\t\tchart.outerRadius = Math.max(minSize / 2, 0);\r\n\t\tchart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);\r\n\t\tme.innerRadius = me.outerRadius - chart.radiusLength;\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar scale = chart.scale;\r\n\t\tvar labels = chart.data.labels;\r\n\r\n\t\tvar centerX = scale.xCenter;\r\n\t\tvar centerY = scale.yCenter;\r\n\r\n\t\t// var negHalfPI = -0.5 * Math.PI;\r\n\t\tvar datasetStartAngle = opts.startAngle;\r\n\t\tvar distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar startAngle = me._starts[index];\r\n\t\tvar endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]);\r\n\r\n\t\tvar resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\t\t\t_scale: scale,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX,\r\n\t\t\t\ty: centerY,\r\n\t\t\t\tinnerRadius: 0,\r\n\t\t\t\touterRadius: reset ? resetRadius : distance,\r\n\t\t\t\tstartAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,\r\n\t\t\t\tendAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(labels, index, labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcountVisibleElements: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar count = 0;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tif (!isNaN(dataset.data[index]) && !element.hidden) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn count;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\t\tvar valueOrDefault = helpers$1.valueOrDefault;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeAngle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar count = this.getMeta().count;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\r\n\t\tif (isNaN(dataset.data[index]) || meta.data[index].hidden) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: me.chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\treturn resolve$3([\r\n\t\t\tme.chart.options.elements.arc.angle,\r\n\t\t\t(2 * Math.PI) / count\r\n\t\t], context, index);\r\n\t}\r\n});\n\ncore_defaults._set('pie', helpers$1.clone(core_defaults.doughnut));\r\ncore_defaults._set('pie', {\r\n\tcutoutPercentage: 0\r\n});\r\n\r\n// Pie charts are Doughnut chart with different defaults\r\nvar controller_pie = controller_doughnut;\n\nvar valueOrDefault$7 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('radar', {\r\n\tspanGaps: false,\r\n\tscale: {\r\n\t\ttype: 'radialLinear'\r\n\t},\r\n\telements: {\r\n\t\tline: {\r\n\t\t\tfill: 'start',\r\n\t\t\ttension: 0 // no bezier in radar\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_radar = core_datasetController.extend({\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderWidth',\r\n\t\t'borderColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar config = me._config;\r\n\t\tvar i, ilen;\r\n\r\n\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\tconfig.lineTension = config.tension;\r\n\t\t}\r\n\r\n\t\t// Utility\r\n\t\tline._scale = scale;\r\n\t\tline._datasetIndex = me.index;\r\n\t\t// Data\r\n\t\tline._children = points;\r\n\t\tline._loop = true;\r\n\t\t// Model\r\n\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\tline.pivot();\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\t// Update bezier control points\r\n\t\tme.updateBezierControlPoints();\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar lineModel = me.getMeta().dataset._model;\r\n\t\tvar x = reset ? scale.xCenter : pointPosition.x;\r\n\t\tvar y = reset ? scale.yCenter : pointPosition.y;\r\n\r\n\t\t// Utility\r\n\t\tpoint._scale = scale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = me.index;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x, // value not used in dataset scale, but we want a consistent API between scales\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$7(custom.tension, lineModel ? lineModel.tension : 0),\r\n\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar options = me.chart.options;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\tvalues.spanGaps = valueOrDefault$7(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$7(config.lineTension, options.elements.line.tension);\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar area = me.chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (meta.dataset._model.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tmodel = points[i]._model;\r\n\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\thelpers$1.previousItem(points, i, true)._model,\r\n\t\t\t\tmodel,\r\n\t\t\t\thelpers$1.nextItem(points, i, true)._model,\r\n\t\t\t\tmodel.tension\r\n\t\t\t);\r\n\r\n\t\t\t// Prevent the bezier going outside of the bounds of the graph\r\n\t\t\tmodel.controlPointPreviousX = capControlPoint(controlPoints.previous.x, area.left, area.right);\r\n\t\t\tmodel.controlPointPreviousY = capControlPoint(controlPoints.previous.y, area.top, area.bottom);\r\n\t\t\tmodel.controlPointNextX = capControlPoint(controlPoints.next.x, area.left, area.right);\r\n\t\t\tmodel.controlPointNextY = capControlPoint(controlPoints.next.y, area.top, area.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$7(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$7(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$7(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$7(options.hoverRadius, options.radius);\r\n\t}\r\n});\n\ncore_defaults._set('scatter', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\tid: 'x-axis-1',    // need an ID so datasets can reference the scale\r\n\t\t\ttype: 'linear',    // scatter should not use a category axis\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\tid: 'y-axis-1',\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';     // doesn't make sense for scatter since data are formatted as a point\r\n\t\t\t},\r\n\t\t\tlabel: function(item) {\r\n\t\t\t\treturn '(' + item.xLabel + ', ' + item.yLabel + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tscatter: {\r\n\t\t\tshowLine: false\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// Scatter charts use line controllers\r\nvar controller_scatter = controller_line;\n\n// NOTE export a map in which the key represents the controller type, not\r\n// the class, and so must be CamelCase in order to be correctly retrieved\r\n// by the controller in core.controller.js (`controllers[meta.type]`).\r\n\r\nvar controllers = {\r\n\tbar: controller_bar,\r\n\tbubble: controller_bubble,\r\n\tdoughnut: controller_doughnut,\r\n\thorizontalBar: controller_horizontalBar,\r\n\tline: controller_line,\r\n\tpolarArea: controller_polarArea,\r\n\tpie: controller_pie,\r\n\tradar: controller_radar,\r\n\tscatter: controller_scatter\r\n};\n\n/**\r\n * Helper function to get relative position for an event\r\n * @param {Event|IEvent} event - The event to get the position for\r\n * @param {Chart} chart - The chart\r\n * @returns {object} the event position\r\n */\r\nfunction getRelativePosition(e, chart) {\r\n\tif (e.native) {\r\n\t\treturn {\r\n\t\t\tx: e.x,\r\n\t\t\ty: e.y\r\n\t\t};\r\n\t}\r\n\r\n\treturn helpers$1.getRelativePosition(e, chart);\r\n}\r\n\r\n/**\r\n * Helper function to traverse all of the visible elements in the chart\r\n * @param {Chart} chart - the chart\r\n * @param {function} handler - the callback to execute for each visible item\r\n */\r\nfunction parseVisibleItems(chart, handler) {\r\n\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\tvar metadata, i, j, ilen, jlen, element;\r\n\r\n\tfor (i = 0, ilen = metasets.length; i < ilen; ++i) {\r\n\t\tmetadata = metasets[i].data;\r\n\t\tfor (j = 0, jlen = metadata.length; j < jlen; ++j) {\r\n\t\t\telement = metadata[j];\r\n\t\t\tif (!element._view.skip) {\r\n\t\t\t\thandler(element);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Helper function to get the items that intersect the event position\r\n * @param {ChartElement[]} items - elements to filter\r\n * @param {object} position - the point to be nearest to\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getIntersectItems(chart, position) {\r\n\tvar elements = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * Helper function to get the items nearest to the event position considering all visible items in teh chart\r\n * @param {Chart} chart - the chart to look at elements from\r\n * @param {object} position - the point to be nearest to\r\n * @param {boolean} intersect - if true, only consider items that intersect the position\r\n * @param {function} distanceMetric - function to provide the distance between points\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getNearestItems(chart, position, intersect, distanceMetric) {\r\n\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\tvar nearestItems = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (intersect && !element.inRange(position.x, position.y)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar center = element.getCenterPoint();\r\n\t\tvar distance = distanceMetric(position, center);\r\n\t\tif (distance < minDistance) {\r\n\t\t\tnearestItems = [element];\r\n\t\t\tminDistance = distance;\r\n\t\t} else if (distance === minDistance) {\r\n\t\t\t// Can have multiple items at the same distance in which case we sort by size\r\n\t\t\tnearestItems.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn nearestItems;\r\n}\r\n\r\n/**\r\n * Get a distance metric function for two points based on the\r\n * axis mode setting\r\n * @param {string} axis - the axis mode. x|y|xy\r\n */\r\nfunction getDistanceMetricForAxis(axis) {\r\n\tvar useX = axis.indexOf('x') !== -1;\r\n\tvar useY = axis.indexOf('y') !== -1;\r\n\r\n\treturn function(pt1, pt2) {\r\n\t\tvar deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\r\n\t\tvar deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\r\n\t\treturn Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\r\n\t};\r\n}\r\n\r\nfunction indexMode(chart, e, options) {\r\n\tvar position = getRelativePosition(e, chart);\r\n\t// Default axis for index mode is 'x' to match old behaviour\r\n\toptions.axis = options.axis || 'x';\r\n\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\tvar elements = [];\r\n\r\n\tif (!items.length) {\r\n\t\treturn [];\r\n\t}\r\n\r\n\tchart._getSortedVisibleDatasetMetas().forEach(function(meta) {\r\n\t\tvar element = meta.data[items[0]._index];\r\n\r\n\t\t// don't count items that are skipped (null data)\r\n\t\tif (element && !element._view.skip) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * @interface IInteractionOptions\r\n */\r\n/**\r\n * If true, only consider items that intersect the point\r\n * @name IInterfaceOptions#boolean\r\n * @type Boolean\r\n */\r\n\r\n/**\r\n * Contains interaction related functions\r\n * @namespace Chart.Interaction\r\n */\r\nvar core_interaction = {\r\n\t// Helper function for different modes\r\n\tmodes: {\r\n\t\tsingle: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar elements = [];\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\telements.push(element);\r\n\t\t\t\t\treturn elements;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\treturn elements.slice(0, 1);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.label\r\n\t\t * @deprecated since version 2.4.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tlabel: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item\r\n\t\t * @function Chart.Interaction.modes.index\r\n\t\t * @since v2.4.0\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tindex: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect is false, we find the nearest item and return the items in that dataset\r\n\t\t * @function Chart.Interaction.modes.dataset\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tdataset: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\r\n\t\t\tif (items.length > 0) {\r\n\t\t\t\titems = chart.getDatasetMeta(items[0]._datasetIndex).data;\r\n\t\t\t}\r\n\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.x-axis\r\n\t\t * @deprecated since version 2.4.0. Use index mode and intersect == true\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\t'x-axis': function(chart, e) {\r\n\t\t\treturn indexMode(chart, e, {intersect: false});\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Point mode returns all elements that hit test based on the event position\r\n\t\t * of the event\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tpoint: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\treturn getIntersectItems(chart, position);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * nearest mode returns the element closest to the point\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tnearest: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\treturn getNearestItems(chart, position, options.intersect, distanceMetric);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * x mode returns the elements that hit-test at the current x coordinate\r\n\t\t * @function Chart.Interaction.modes.x\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tx: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inXRange(position.x)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * y mode returns the elements that hit-test at the current y coordinate\r\n\t\t * @function Chart.Interaction.modes.y\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\ty: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inYRange(position.y)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t}\r\n\t}\r\n};\n\nvar extend = helpers$1.extend;\r\n\r\nfunction filterByPosition(array, position) {\r\n\treturn helpers$1.where(array, function(v) {\r\n\t\treturn v.pos === position;\r\n\t});\r\n}\r\n\r\nfunction sortByWeight(array, reverse) {\r\n\treturn array.sort(function(a, b) {\r\n\t\tvar v0 = reverse ? b : a;\r\n\t\tvar v1 = reverse ? a : b;\r\n\t\treturn v0.weight === v1.weight ?\r\n\t\t\tv0.index - v1.index :\r\n\t\t\tv0.weight - v1.weight;\r\n\t});\r\n}\r\n\r\nfunction wrapBoxes(boxes) {\r\n\tvar layoutBoxes = [];\r\n\tvar i, ilen, box;\r\n\r\n\tfor (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\r\n\t\tbox = boxes[i];\r\n\t\tlayoutBoxes.push({\r\n\t\t\tindex: i,\r\n\t\t\tbox: box,\r\n\t\t\tpos: box.position,\r\n\t\t\thorizontal: box.isHorizontal(),\r\n\t\t\tweight: box.weight\r\n\t\t});\r\n\t}\r\n\treturn layoutBoxes;\r\n}\r\n\r\nfunction setLayoutDims(layouts, params) {\r\n\tvar i, ilen, layout;\r\n\tfor (i = 0, ilen = layouts.length; i < ilen; ++i) {\r\n\t\tlayout = layouts[i];\r\n\t\t// store width used instead of chartArea.w in fitBoxes\r\n\t\tlayout.width = layout.horizontal\r\n\t\t\t? layout.box.fullWidth && params.availableWidth\r\n\t\t\t: params.vBoxMaxWidth;\r\n\t\t// store height used instead of chartArea.h in fitBoxes\r\n\t\tlayout.height = layout.horizontal && params.hBoxMaxHeight;\r\n\t}\r\n}\r\n\r\nfunction buildLayoutBoxes(boxes) {\r\n\tvar layoutBoxes = wrapBoxes(boxes);\r\n\tvar left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\r\n\tvar right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\r\n\tvar top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\r\n\tvar bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\r\n\r\n\treturn {\r\n\t\tleftAndTop: left.concat(top),\r\n\t\trightAndBottom: right.concat(bottom),\r\n\t\tchartArea: filterByPosition(layoutBoxes, 'chartArea'),\r\n\t\tvertical: left.concat(right),\r\n\t\thorizontal: top.concat(bottom)\r\n\t};\r\n}\r\n\r\nfunction getCombinedMax(maxPadding, chartArea, a, b) {\r\n\treturn Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\r\n}\r\n\r\nfunction updateDims(chartArea, params, layout) {\r\n\tvar box = layout.box;\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\tvar newWidth, newHeight;\r\n\r\n\tif (layout.size) {\r\n\t\t// this layout was already counted for, lets first reduce old size\r\n\t\tchartArea[layout.pos] -= layout.size;\r\n\t}\r\n\tlayout.size = layout.horizontal ? box.height : box.width;\r\n\tchartArea[layout.pos] += layout.size;\r\n\r\n\tif (box.getPadding) {\r\n\t\tvar boxPadding = box.getPadding();\r\n\t\tmaxPadding.top = Math.max(maxPadding.top, boxPadding.top);\r\n\t\tmaxPadding.left = Math.max(maxPadding.left, boxPadding.left);\r\n\t\tmaxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\r\n\t\tmaxPadding.right = Math.max(maxPadding.right, boxPadding.right);\r\n\t}\r\n\r\n\tnewWidth = params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right');\r\n\tnewHeight = params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom');\r\n\r\n\tif (newWidth !== chartArea.w || newHeight !== chartArea.h) {\r\n\t\tchartArea.w = newWidth;\r\n\t\tchartArea.h = newHeight;\r\n\r\n\t\t// return true if chart area changed in layout's direction\r\n\t\tvar sizes = layout.horizontal ? [newWidth, chartArea.w] : [newHeight, chartArea.h];\r\n\t\treturn sizes[0] !== sizes[1] && (!isNaN(sizes[0]) || !isNaN(sizes[1]));\r\n\t}\r\n}\r\n\r\nfunction handleMaxPadding(chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction updatePos(pos) {\r\n\t\tvar change = Math.max(maxPadding[pos] - chartArea[pos], 0);\r\n\t\tchartArea[pos] += change;\r\n\t\treturn change;\r\n\t}\r\n\tchartArea.y += updatePos('top');\r\n\tchartArea.x += updatePos('left');\r\n\tupdatePos('right');\r\n\tupdatePos('bottom');\r\n}\r\n\r\nfunction getMargins(horizontal, chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction marginForPositions(positions) {\r\n\t\tvar margin = {left: 0, top: 0, right: 0, bottom: 0};\r\n\t\tpositions.forEach(function(pos) {\r\n\t\t\tmargin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\r\n\t\t});\r\n\t\treturn margin;\r\n\t}\r\n\r\n\treturn horizontal\r\n\t\t? marginForPositions(['left', 'right'])\r\n\t\t: marginForPositions(['top', 'bottom']);\r\n}\r\n\r\nfunction fitBoxes(boxes, chartArea, params) {\r\n\tvar refitBoxes = [];\r\n\tvar i, ilen, layout, box, refit, changed;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\r\n\t\tbox.update(\r\n\t\t\tlayout.width || chartArea.w,\r\n\t\t\tlayout.height || chartArea.h,\r\n\t\t\tgetMargins(layout.horizontal, chartArea)\r\n\t\t);\r\n\t\tif (updateDims(chartArea, params, layout)) {\r\n\t\t\tchanged = true;\r\n\t\t\tif (refitBoxes.length) {\r\n\t\t\t\t// Dimensions changed and there were non full width boxes before this\r\n\t\t\t\t// -> we have to refit those\r\n\t\t\t\trefit = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!box.fullWidth) { // fullWidth boxes don't need to be re-fitted in any case\r\n\t\t\trefitBoxes.push(layout);\r\n\t\t}\r\n\t}\r\n\r\n\treturn refit ? fitBoxes(refitBoxes, chartArea, params) || changed : changed;\r\n}\r\n\r\nfunction placeBoxes(boxes, chartArea, params) {\r\n\tvar userPadding = params.padding;\r\n\tvar x = chartArea.x;\r\n\tvar y = chartArea.y;\r\n\tvar i, ilen, layout, box;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\t\tif (layout.horizontal) {\r\n\t\t\tbox.left = box.fullWidth ? userPadding.left : chartArea.left;\r\n\t\t\tbox.right = box.fullWidth ? params.outerWidth - userPadding.right : chartArea.left + chartArea.w;\r\n\t\t\tbox.top = y;\r\n\t\t\tbox.bottom = y + box.height;\r\n\t\t\tbox.width = box.right - box.left;\r\n\t\t\ty = box.bottom;\r\n\t\t} else {\r\n\t\t\tbox.left = x;\r\n\t\t\tbox.right = x + box.width;\r\n\t\t\tbox.top = chartArea.top;\r\n\t\t\tbox.bottom = chartArea.top + chartArea.h;\r\n\t\t\tbox.height = box.bottom - box.top;\r\n\t\t\tx = box.right;\r\n\t\t}\r\n\t}\r\n\r\n\tchartArea.x = x;\r\n\tchartArea.y = y;\r\n}\r\n\r\ncore_defaults._set('global', {\r\n\tlayout: {\r\n\t\tpadding: {\r\n\t\t\ttop: 0,\r\n\t\t\tright: 0,\r\n\t\t\tbottom: 0,\r\n\t\t\tleft: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * @interface ILayoutItem\r\n * @prop {string} position - The position of the item in the chart layout. Possible values are\r\n * 'left', 'top', 'right', 'bottom', and 'chartArea'\r\n * @prop {number} weight - The weight used to sort the item. Higher weights are further away from the chart area\r\n * @prop {boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down\r\n * @prop {function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)\r\n * @prop {function} update - Takes two parameters: width and height. Returns size of item\r\n * @prop {function} getPadding -  Returns an object with padding on the edges\r\n * @prop {number} width - Width of item. Must be valid after update()\r\n * @prop {number} height - Height of item. Must be valid after update()\r\n * @prop {number} left - Left edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} top - Top edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} right - Right edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update\r\n */\r\n\r\n// The layout service is very self explanatory.  It's responsible for the layout within a chart.\r\n// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need\r\n// It is this service's responsibility of carrying out that layout.\r\nvar core_layouts = {\r\n\tdefaults: {},\r\n\r\n\t/**\r\n\t * Register a box to a chart.\r\n\t * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.\r\n\t * @param {Chart} chart - the chart to use\r\n\t * @param {ILayoutItem} item - the item to add to be layed out\r\n\t */\r\n\taddBox: function(chart, item) {\r\n\t\tif (!chart.boxes) {\r\n\t\t\tchart.boxes = [];\r\n\t\t}\r\n\r\n\t\t// initialize item with default values\r\n\t\titem.fullWidth = item.fullWidth || false;\r\n\t\titem.position = item.position || 'top';\r\n\t\titem.weight = item.weight || 0;\r\n\t\titem._layers = item._layers || function() {\r\n\t\t\treturn [{\r\n\t\t\t\tz: 0,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\titem.draw.apply(item, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t};\r\n\r\n\t\tchart.boxes.push(item);\r\n\t},\r\n\r\n\t/**\r\n\t * Remove a layoutItem from a chart\r\n\t * @param {Chart} chart - the chart to remove the box from\r\n\t * @param {ILayoutItem} layoutItem - the item to remove from the layout\r\n\t */\r\n\tremoveBox: function(chart, layoutItem) {\r\n\t\tvar index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\r\n\t\tif (index !== -1) {\r\n\t\t\tchart.boxes.splice(index, 1);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Sets (or updates) options on the given `item`.\r\n\t * @param {Chart} chart - the chart in which the item lives (or will be added to)\r\n\t * @param {ILayoutItem} item - the item to configure with the given options\r\n\t * @param {object} options - the new item options.\r\n\t */\r\n\tconfigure: function(chart, item, options) {\r\n\t\tvar props = ['fullWidth', 'position', 'weight'];\r\n\t\tvar ilen = props.length;\r\n\t\tvar i = 0;\r\n\t\tvar prop;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tprop = props[i];\r\n\t\t\tif (options.hasOwnProperty(prop)) {\r\n\t\t\t\titem[prop] = options[prop];\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Fits boxes of the given chart into the given size by having each box measure itself\r\n\t * then running a fitting algorithm\r\n\t * @param {Chart} chart - the chart\r\n\t * @param {number} width - the width to fit into\r\n\t * @param {number} height - the height to fit into\r\n\t */\r\n\tupdate: function(chart, width, height) {\r\n\t\tif (!chart) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar layoutOptions = chart.options.layout || {};\r\n\t\tvar padding = helpers$1.options.toPadding(layoutOptions.padding);\r\n\r\n\t\tvar availableWidth = width - padding.width;\r\n\t\tvar availableHeight = height - padding.height;\r\n\t\tvar boxes = buildLayoutBoxes(chart.boxes);\r\n\t\tvar verticalBoxes = boxes.vertical;\r\n\t\tvar horizontalBoxes = boxes.horizontal;\r\n\r\n\t\t// Essentially we now have any number of boxes on each of the 4 sides.\r\n\t\t// Our canvas looks like the following.\r\n\t\t// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and\r\n\t\t// B1 is the bottom axis\r\n\t\t// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays\r\n\t\t// These locations are single-box locations only, when trying to register a chartArea location that is already taken,\r\n\t\t// an error will be thrown.\r\n\t\t//\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  T1 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |    |    |                 T2                  |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    | C1 |                           | C2 |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// | L1 | L2 |           ChartArea (C0)            | R1 |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    | C3 |                           | C4 |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    |                 B1                  |    |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  B2 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t//\r\n\r\n\t\tvar params = Object.freeze({\r\n\t\t\touterWidth: width,\r\n\t\t\touterHeight: height,\r\n\t\t\tpadding: padding,\r\n\t\t\tavailableWidth: availableWidth,\r\n\t\t\tvBoxMaxWidth: availableWidth / 2 / verticalBoxes.length,\r\n\t\t\thBoxMaxHeight: availableHeight / 2\r\n\t\t});\r\n\t\tvar chartArea = extend({\r\n\t\t\tmaxPadding: extend({}, padding),\r\n\t\t\tw: availableWidth,\r\n\t\t\th: availableHeight,\r\n\t\t\tx: padding.left,\r\n\t\t\ty: padding.top\r\n\t\t}, padding);\r\n\r\n\t\tsetLayoutDims(verticalBoxes.concat(horizontalBoxes), params);\r\n\r\n\t\t// First fit vertical boxes\r\n\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\r\n\t\t// Then fit horizontal boxes\r\n\t\tif (fitBoxes(horizontalBoxes, chartArea, params)) {\r\n\t\t\t// if the area changed, re-fit vertical boxes\r\n\t\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\t\t}\r\n\r\n\t\thandleMaxPadding(chartArea);\r\n\r\n\t\t// Finally place the boxes to correct coordinates\r\n\t\tplaceBoxes(boxes.leftAndTop, chartArea, params);\r\n\r\n\t\t// Move to opposite side of chart\r\n\t\tchartArea.x += chartArea.w;\r\n\t\tchartArea.y += chartArea.h;\r\n\r\n\t\tplaceBoxes(boxes.rightAndBottom, chartArea, params);\r\n\r\n\t\tchart.chartArea = {\r\n\t\t\tleft: chartArea.left,\r\n\t\t\ttop: chartArea.top,\r\n\t\t\tright: chartArea.left + chartArea.w,\r\n\t\t\tbottom: chartArea.top + chartArea.h\r\n\t\t};\r\n\r\n\t\t// Finally update boxes in chartArea (radial scale for example)\r\n\t\thelpers$1.each(boxes.chartArea, function(layout) {\r\n\t\t\tvar box = layout.box;\r\n\t\t\textend(box, chart.chartArea);\r\n\t\t\tbox.update(chartArea.w, chartArea.h);\r\n\t\t});\r\n\t}\r\n};\n\n/**\r\n * Platform fallback implementation (minimal).\r\n * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939\r\n */\r\n\r\nvar platform_basic = {\r\n\tacquireContext: function(item) {\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\treturn item && item.getContext('2d') || null;\r\n\t}\r\n};\n\nvar platform_dom = \"/*\\r\\n * DOM element rendering detection\\r\\n * https://davidwalsh.name/detect-node-insertion\\r\\n */\\r\\n@keyframes chartjs-render-animation {\\r\\n\\tfrom { opacity: 0.99; }\\r\\n\\tto { opacity: 1; }\\r\\n}\\r\\n\\r\\n.chartjs-render-monitor {\\r\\n\\tanimation: chartjs-render-animation 0.001s;\\r\\n}\\r\\n\\r\\n/*\\r\\n * DOM element resizing detection\\r\\n * https://github.com/marcj/css-element-queries\\r\\n */\\r\\n.chartjs-size-monitor,\\r\\n.chartjs-size-monitor-expand,\\r\\n.chartjs-size-monitor-shrink {\\r\\n\\tposition: absolute;\\r\\n\\tdirection: ltr;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\toverflow: hidden;\\r\\n\\tpointer-events: none;\\r\\n\\tvisibility: hidden;\\r\\n\\tz-index: -1;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-expand > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 1000000px;\\r\\n\\theight: 1000000px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-shrink > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 200%;\\r\\n\\theight: 200%;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\";\n\nvar platform_dom$1 = /*#__PURE__*/Object.freeze({\n__proto__: null,\n'default': platform_dom\n});\n\nvar stylesheet = getCjsExportFromNamespace(platform_dom$1);\n\nvar EXPANDO_KEY = '$chartjs';\r\nvar CSS_PREFIX = 'chartjs-';\r\nvar CSS_SIZE_MONITOR = CSS_PREFIX + 'size-monitor';\r\nvar CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor';\r\nvar CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation';\r\nvar ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart'];\r\n\r\n/**\r\n * DOM event types -> Chart.js event types.\r\n * Note: only events with different types are mapped.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/Events\r\n */\r\nvar EVENT_TYPES = {\r\n\ttouchstart: 'mousedown',\r\n\ttouchmove: 'mousemove',\r\n\ttouchend: 'mouseup',\r\n\tpointerenter: 'mouseenter',\r\n\tpointerdown: 'mousedown',\r\n\tpointermove: 'mousemove',\r\n\tpointerup: 'mouseup',\r\n\tpointerleave: 'mouseout',\r\n\tpointerout: 'mouseout'\r\n};\r\n\r\n/**\r\n * The \"used\" size is the final value of a dimension property after all calculations have\r\n * been performed. This method uses the computed style of `element` but returns undefined\r\n * if the computed style is not expressed in pixels. That can happen in some cases where\r\n * `element` has a size relative to its parent and this last one is not yet displayed,\r\n * for example because of `display: none` on a parent node.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\r\n * @returns {number} Size in pixels or undefined if unknown.\r\n */\r\nfunction readUsedSize(element, property) {\r\n\tvar value = helpers$1.getStyle(element, property);\r\n\tvar matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\r\n\treturn matches ? Number(matches[1]) : undefined;\r\n}\r\n\r\n/**\r\n * Initializes the canvas style and render size without modifying the canvas display size,\r\n * since responsiveness is handled by the controller.resize() method. The config is used\r\n * to determine the aspect ratio to apply in case no explicit height has been specified.\r\n */\r\nfunction initCanvas(canvas, config) {\r\n\tvar style = canvas.style;\r\n\r\n\t// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it\r\n\t// returns null or '' if no explicit value has been set to the canvas attribute.\r\n\tvar renderHeight = canvas.getAttribute('height');\r\n\tvar renderWidth = canvas.getAttribute('width');\r\n\r\n\t// Chart.js modifies some canvas values that we want to restore on destroy\r\n\tcanvas[EXPANDO_KEY] = {\r\n\t\tinitial: {\r\n\t\t\theight: renderHeight,\r\n\t\t\twidth: renderWidth,\r\n\t\t\tstyle: {\r\n\t\t\t\tdisplay: style.display,\r\n\t\t\t\theight: style.height,\r\n\t\t\t\twidth: style.width\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// Force canvas to display as block to avoid extra space caused by inline\r\n\t// elements, which would interfere with the responsive resize process.\r\n\t// https://github.com/chartjs/Chart.js/issues/2538\r\n\tstyle.display = style.display || 'block';\r\n\r\n\tif (renderWidth === null || renderWidth === '') {\r\n\t\tvar displayWidth = readUsedSize(canvas, 'width');\r\n\t\tif (displayWidth !== undefined) {\r\n\t\t\tcanvas.width = displayWidth;\r\n\t\t}\r\n\t}\r\n\r\n\tif (renderHeight === null || renderHeight === '') {\r\n\t\tif (canvas.style.height === '') {\r\n\t\t\t// If no explicit render height and style height, let's apply the aspect ratio,\r\n\t\t\t// which one can be specified by the user but also by charts as default option\r\n\t\t\t// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.\r\n\t\t\tcanvas.height = canvas.width / (config.options.aspectRatio || 2);\r\n\t\t} else {\r\n\t\t\tvar displayHeight = readUsedSize(canvas, 'height');\r\n\t\t\tif (displayWidth !== undefined) {\r\n\t\t\t\tcanvas.height = displayHeight;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\treturn canvas;\r\n}\r\n\r\n/**\r\n * Detects support for options object argument in addEventListener.\r\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support\r\n * @private\r\n */\r\nvar supportsEventListenerOptions = (function() {\r\n\tvar supports = false;\r\n\ttry {\r\n\t\tvar options = Object.defineProperty({}, 'passive', {\r\n\t\t\t// eslint-disable-next-line getter-return\r\n\t\t\tget: function() {\r\n\t\t\t\tsupports = true;\r\n\t\t\t}\r\n\t\t});\r\n\t\twindow.addEventListener('e', null, options);\r\n\t} catch (e) {\r\n\t\t// continue regardless of error\r\n\t}\r\n\treturn supports;\r\n}());\r\n\r\n// Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events.\r\n// https://github.com/chartjs/Chart.js/issues/4287\r\nvar eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;\r\n\r\nfunction addListener(node, type, listener) {\r\n\tnode.addEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction removeListener(node, type, listener) {\r\n\tnode.removeEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction createEvent(type, chart, x, y, nativeEvent) {\r\n\treturn {\r\n\t\ttype: type,\r\n\t\tchart: chart,\r\n\t\tnative: nativeEvent || null,\r\n\t\tx: x !== undefined ? x : null,\r\n\t\ty: y !== undefined ? y : null,\r\n\t};\r\n}\r\n\r\nfunction fromNativeEvent(event, chart) {\r\n\tvar type = EVENT_TYPES[event.type] || event.type;\r\n\tvar pos = helpers$1.getRelativePosition(event, chart);\r\n\treturn createEvent(type, chart, pos.x, pos.y, event);\r\n}\r\n\r\nfunction throttled(fn, thisArg) {\r\n\tvar ticking = false;\r\n\tvar args = [];\r\n\r\n\treturn function() {\r\n\t\targs = Array.prototype.slice.call(arguments);\r\n\t\tthisArg = thisArg || this;\r\n\r\n\t\tif (!ticking) {\r\n\t\t\tticking = true;\r\n\t\t\thelpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tticking = false;\r\n\t\t\t\tfn.apply(thisArg, args);\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createDiv(cls) {\r\n\tvar el = document.createElement('div');\r\n\tel.className = cls || '';\r\n\treturn el;\r\n}\r\n\r\n// Implementation based on https://github.com/marcj/css-element-queries\r\nfunction createResizer(handler) {\r\n\tvar maxSize = 1000000;\r\n\r\n\t// NOTE(SB) Don't use innerHTML because it could be considered unsafe.\r\n\t// https://github.com/chartjs/Chart.js/issues/5902\r\n\tvar resizer = createDiv(CSS_SIZE_MONITOR);\r\n\tvar expand = createDiv(CSS_SIZE_MONITOR + '-expand');\r\n\tvar shrink = createDiv(CSS_SIZE_MONITOR + '-shrink');\r\n\r\n\texpand.appendChild(createDiv());\r\n\tshrink.appendChild(createDiv());\r\n\r\n\tresizer.appendChild(expand);\r\n\tresizer.appendChild(shrink);\r\n\tresizer._reset = function() {\r\n\t\texpand.scrollLeft = maxSize;\r\n\t\texpand.scrollTop = maxSize;\r\n\t\tshrink.scrollLeft = maxSize;\r\n\t\tshrink.scrollTop = maxSize;\r\n\t};\r\n\r\n\tvar onScroll = function() {\r\n\t\tresizer._reset();\r\n\t\thandler();\r\n\t};\r\n\r\n\taddListener(expand, 'scroll', onScroll.bind(expand, 'expand'));\r\n\taddListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink'));\r\n\r\n\treturn resizer;\r\n}\r\n\r\n// https://davidwalsh.name/detect-node-insertion\r\nfunction watchForRender(node, handler) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\tvar proxy = expando.renderProxy = function(e) {\r\n\t\tif (e.animationName === CSS_RENDER_ANIMATION) {\r\n\t\t\thandler();\r\n\t\t}\r\n\t};\r\n\r\n\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\taddListener(node, type, proxy);\r\n\t});\r\n\r\n\t// #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class\r\n\t// is removed then added back immediately (same animation frame?). Accessing the\r\n\t// `offsetParent` property will force a reflow and re-evaluate the CSS animation.\r\n\t// https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics\r\n\t// https://github.com/chartjs/Chart.js/issues/4737\r\n\texpando.reflow = !!node.offsetParent;\r\n\r\n\tnode.classList.add(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction unwatchForRender(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar proxy = expando.renderProxy;\r\n\r\n\tif (proxy) {\r\n\t\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\t\tremoveListener(node, type, proxy);\r\n\t\t});\r\n\r\n\t\tdelete expando.renderProxy;\r\n\t}\r\n\r\n\tnode.classList.remove(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction addResizeListener(node, listener, chart) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\r\n\t// Let's keep track of this added resizer and thus avoid DOM query when removing it.\r\n\tvar resizer = expando.resizer = createResizer(throttled(function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = chart.options.maintainAspectRatio && node.parentNode;\r\n\t\t\tvar w = container ? container.clientWidth : 0;\r\n\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\tif (container && container.clientWidth < w && chart.canvas) {\r\n\t\t\t\t// If the container size shrank during chart resize, let's assume\r\n\t\t\t\t// scrollbar appeared. So we resize again with the scrollbar visible -\r\n\t\t\t\t// effectively making chart smaller and the scrollbar hidden again.\r\n\t\t\t\t// Because we are inside `throttled`, and currently `ticking`, scroll\r\n\t\t\t\t// events are ignored during this whole 2 resize process.\r\n\t\t\t\t// If we assumed wrong and something else happened, we are resizing\r\n\t\t\t\t// twice in a frame (potential performance issue)\r\n\t\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\t}\r\n\t\t}\r\n\t}));\r\n\r\n\t// The resizer needs to be attached to the node parent, so we first need to be\r\n\t// sure that `node` is attached to the DOM before injecting the resizer element.\r\n\twatchForRender(node, function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = node.parentNode;\r\n\t\t\tif (container && container !== resizer.parentNode) {\r\n\t\t\t\tcontainer.insertBefore(resizer, container.firstChild);\r\n\t\t\t}\r\n\r\n\t\t\t// The container size might have changed, let's reset the resizer state.\r\n\t\t\tresizer._reset();\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction removeResizeListener(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar resizer = expando.resizer;\r\n\r\n\tdelete expando.resizer;\r\n\tunwatchForRender(node);\r\n\r\n\tif (resizer && resizer.parentNode) {\r\n\t\tresizer.parentNode.removeChild(resizer);\r\n\t}\r\n}\r\n\r\n/**\r\n * Injects CSS styles inline if the styles are not already present.\r\n * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the <style>.\r\n * @param {string} css - the CSS to be injected.\r\n */\r\nfunction injectCSS(rootNode, css) {\r\n\t// https://stackoverflow.com/q/3922139\r\n\tvar expando = rootNode[EXPANDO_KEY] || (rootNode[EXPANDO_KEY] = {});\r\n\tif (!expando.containsStyles) {\r\n\t\texpando.containsStyles = true;\r\n\t\tcss = '/* Chart.js */\\n' + css;\r\n\t\tvar style = document.createElement('style');\r\n\t\tstyle.setAttribute('type', 'text/css');\r\n\t\tstyle.appendChild(document.createTextNode(css));\r\n\t\trootNode.appendChild(style);\r\n\t}\r\n}\r\n\r\nvar platform_dom$2 = {\r\n\t/**\r\n\t * When `true`, prevents the automatic injection of the stylesheet required to\r\n\t * correctly detect when the chart is added to the DOM and then resized. This\r\n\t * switch has been added to allow external stylesheet (`dist/Chart(.min)?.js`)\r\n\t * to be manually imported to make this library compatible with any CSP.\r\n\t * See https://github.com/chartjs/Chart.js/issues/5208\r\n\t */\r\n\tdisableCSSInjection: false,\r\n\r\n\t/**\r\n\t * This property holds whether this platform is enabled for the current environment.\r\n\t * Currently used by platform.js to select the proper implementation.\r\n\t * @private\r\n\t */\r\n\t_enabled: typeof window !== 'undefined' && typeof document !== 'undefined',\r\n\r\n\t/**\r\n\t * Initializes resources that depend on platform options.\r\n\t * @param {HTMLCanvasElement} canvas - The Canvas element.\r\n\t * @private\r\n\t */\r\n\t_ensureLoaded: function(canvas) {\r\n\t\tif (!this.disableCSSInjection) {\r\n\t\t\t// If the canvas is in a shadow DOM, then the styles must also be inserted\r\n\t\t\t// into the same shadow DOM.\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5763\r\n\t\t\tvar root = canvas.getRootNode ? canvas.getRootNode() : document;\r\n\t\t\tvar targetNode = root.host ? root : document.head;\r\n\t\t\tinjectCSS(targetNode, stylesheet);\r\n\t\t}\r\n\t},\r\n\r\n\tacquireContext: function(item, config) {\r\n\t\tif (typeof item === 'string') {\r\n\t\t\titem = document.getElementById(item);\r\n\t\t} else if (item.length) {\r\n\t\t\t// Support for array based queries (such as jQuery)\r\n\t\t\titem = item[0];\r\n\t\t}\r\n\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\t// To prevent canvas fingerprinting, some add-ons undefine the getContext\r\n\t\t// method, for example: https://github.com/kkapsner/CanvasBlocker\r\n\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\tvar context = item && item.getContext && item.getContext('2d');\r\n\r\n\t\t// `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is\r\n\t\t// inside an iframe or when running in a protected environment. We could guess the\r\n\t\t// types from their toString() value but let's keep things flexible and assume it's\r\n\t\t// a sufficient condition if the item has a context2D which has item as `canvas`.\r\n\t\t// https://github.com/chartjs/Chart.js/issues/3887\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4102\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4152\r\n\t\tif (context && context.canvas === item) {\r\n\t\t\t// Load platform resources on first chart creation, to make it possible to\r\n\t\t\t// import the library before setting platform options.\r\n\t\t\tthis._ensureLoaded(item);\r\n\t\t\tinitCanvas(item, config);\r\n\t\t\treturn context;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\treleaseContext: function(context) {\r\n\t\tvar canvas = context.canvas;\r\n\t\tif (!canvas[EXPANDO_KEY]) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar initial = canvas[EXPANDO_KEY].initial;\r\n\t\t['height', 'width'].forEach(function(prop) {\r\n\t\t\tvar value = initial[prop];\r\n\t\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\t\tcanvas.removeAttribute(prop);\r\n\t\t\t} else {\r\n\t\t\t\tcanvas.setAttribute(prop, value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(initial.style || {}, function(value, key) {\r\n\t\t\tcanvas.style[key] = value;\r\n\t\t});\r\n\r\n\t\t// The canvas render size might have been changed (and thus the state stack discarded),\r\n\t\t// we can't use save() and restore() to restore the initial state. So make sure that at\r\n\t\t// least the canvas context is reset to the default state by setting the canvas width.\r\n\t\t// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html\r\n\t\t// eslint-disable-next-line no-self-assign\r\n\t\tcanvas.width = canvas.width;\r\n\r\n\t\tdelete canvas[EXPANDO_KEY];\r\n\t},\r\n\r\n\taddEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\taddResizeListener(canvas, listener, chart);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || (listener[EXPANDO_KEY] = {});\r\n\t\tvar proxies = expando.proxies || (expando.proxies = {});\r\n\t\tvar proxy = proxies[chart.id + '_' + type] = function(event) {\r\n\t\t\tlistener(fromNativeEvent(event, chart));\r\n\t\t};\r\n\r\n\t\taddListener(canvas, type, proxy);\r\n\t},\r\n\r\n\tremoveEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\tremoveResizeListener(canvas);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || {};\r\n\t\tvar proxies = expando.proxies || {};\r\n\t\tvar proxy = proxies[chart.id + '_' + type];\r\n\t\tif (!proxy) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tremoveListener(canvas, type, proxy);\r\n\t}\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.addEventListener instead.\r\n * EventTarget.addEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\r\n * @function Chart.helpers.addEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.addEvent = addListener;\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.removeEventListener instead.\r\n * EventTarget.removeEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\r\n * @function Chart.helpers.removeEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.removeEvent = removeListener;\n\n// @TODO Make possible to select another platform at build time.\r\nvar implementation = platform_dom$2._enabled ? platform_dom$2 : platform_basic;\r\n\r\n/**\r\n * @namespace Chart.platform\r\n * @see https://chartjs.gitbooks.io/proposals/content/Platform.html\r\n * @since 2.4.0\r\n */\r\nvar platform = helpers$1.extend({\r\n\t/**\r\n\t * @since 2.7.0\r\n\t */\r\n\tinitialize: function() {},\r\n\r\n\t/**\r\n\t * Called at chart construction time, returns a context2d instance implementing\r\n\t * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.\r\n\t * @param {*} item - The native item from which to acquire context (platform specific)\r\n\t * @param {object} options - The chart options\r\n\t * @returns {CanvasRenderingContext2D} context2d instance\r\n\t */\r\n\tacquireContext: function() {},\r\n\r\n\t/**\r\n\t * Called at chart destruction time, releases any resources associated to the context\r\n\t * previously returned by the acquireContext() method.\r\n\t * @param {CanvasRenderingContext2D} context - The context2d instance\r\n\t * @returns {boolean} true if the method succeeded, else false\r\n\t */\r\n\treleaseContext: function() {},\r\n\r\n\t/**\r\n\t * Registers the specified listener on the given chart.\r\n\t * @param {Chart} chart - Chart from which to listen for event\r\n\t * @param {string} type - The ({@link IEvent}) type to listen for\r\n\t * @param {function} listener - Receives a notification (an object that implements\r\n\t * the {@link IEvent} interface) when an event of the specified type occurs.\r\n\t */\r\n\taddEventListener: function() {},\r\n\r\n\t/**\r\n\t * Removes the specified listener previously registered with addEventListener.\r\n\t * @param {Chart} chart - Chart from which to remove the listener\r\n\t * @param {string} type - The ({@link IEvent}) type to remove\r\n\t * @param {function} listener - The listener function to remove from the event target.\r\n\t */\r\n\tremoveEventListener: function() {}\r\n\r\n}, implementation);\n\ncore_defaults._set('global', {\r\n\tplugins: {}\r\n});\r\n\r\n/**\r\n * The plugin service singleton\r\n * @namespace Chart.plugins\r\n * @since 2.1.0\r\n */\r\nvar core_plugins = {\r\n\t/**\r\n\t * Globally registered plugins.\r\n\t * @private\r\n\t */\r\n\t_plugins: [],\r\n\r\n\t/**\r\n\t * This identifier is used to invalidate the descriptors cache attached to each chart\r\n\t * when a global plugin is registered or unregistered. In this case, the cache ID is\r\n\t * incremented and descriptors are regenerated during following API calls.\r\n\t * @private\r\n\t */\r\n\t_cacheId: 0,\r\n\r\n\t/**\r\n\t * Registers the given plugin(s) if not already registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tif (p.indexOf(plugin) === -1) {\r\n\t\t\t\tp.push(plugin);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Unregisters the given plugin(s) only if registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tunregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tvar idx = p.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\tp.splice(idx, 1);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Remove all registered plugins.\r\n\t * @since 2.1.5\r\n\t */\r\n\tclear: function() {\r\n\t\tthis._plugins = [];\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the number of registered plugins?\r\n\t * @returns {number}\r\n\t * @since 2.1.5\r\n\t */\r\n\tcount: function() {\r\n\t\treturn this._plugins.length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns all registered plugin instances.\r\n\t * @returns {IPlugin[]} array of plugin objects.\r\n\t * @since 2.1.5\r\n\t */\r\n\tgetAll: function() {\r\n\t\treturn this._plugins;\r\n\t},\r\n\r\n\t/**\r\n\t * Calls enabled plugins for `chart` on the specified hook and with the given args.\r\n\t * This method immediately returns as soon as a plugin explicitly returns false. The\r\n\t * returned value can be used, for instance, to interrupt the current action.\r\n\t * @param {Chart} chart - The chart instance for which plugins should be called.\r\n\t * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate').\r\n\t * @param {Array} [args] - Extra arguments to apply to the hook call.\r\n\t * @returns {boolean} false if any of the plugins return false, else returns true.\r\n\t */\r\n\tnotify: function(chart, hook, args) {\r\n\t\tvar descriptors = this.descriptors(chart);\r\n\t\tvar ilen = descriptors.length;\r\n\t\tvar i, descriptor, plugin, params, method;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tdescriptor = descriptors[i];\r\n\t\t\tplugin = descriptor.plugin;\r\n\t\t\tmethod = plugin[hook];\r\n\t\t\tif (typeof method === 'function') {\r\n\t\t\t\tparams = [chart].concat(args || []);\r\n\t\t\t\tparams.push(descriptor.options);\r\n\t\t\t\tif (method.apply(plugin, params) === false) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns descriptors of enabled plugins for the given chart.\r\n\t * @returns {object[]} [{ plugin, options }]\r\n\t * @private\r\n\t */\r\n\tdescriptors: function(chart) {\r\n\t\tvar cache = chart.$plugins || (chart.$plugins = {});\r\n\t\tif (cache.id === this._cacheId) {\r\n\t\t\treturn cache.descriptors;\r\n\t\t}\r\n\r\n\t\tvar plugins = [];\r\n\t\tvar descriptors = [];\r\n\t\tvar config = (chart && chart.config) || {};\r\n\t\tvar options = (config.options && config.options.plugins) || {};\r\n\r\n\t\tthis._plugins.concat(config.plugins || []).forEach(function(plugin) {\r\n\t\t\tvar idx = plugins.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tvar id = plugin.id;\r\n\t\t\tvar opts = options[id];\r\n\t\t\tif (opts === false) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts === true) {\r\n\t\t\t\topts = helpers$1.clone(core_defaults.global.plugins[id]);\r\n\t\t\t}\r\n\r\n\t\t\tplugins.push(plugin);\r\n\t\t\tdescriptors.push({\r\n\t\t\t\tplugin: plugin,\r\n\t\t\t\toptions: opts || {}\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tcache.descriptors = descriptors;\r\n\t\tcache.id = this._cacheId;\r\n\t\treturn descriptors;\r\n\t},\r\n\r\n\t/**\r\n\t * Invalidates cache for the given chart: descriptors hold a reference on plugin option,\r\n\t * but in some cases, this reference can be changed by the user when updating options.\r\n\t * https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t * @private\r\n\t */\r\n\t_invalidate: function(chart) {\r\n\t\tdelete chart.$plugins;\r\n\t}\r\n};\n\nvar core_scaleService = {\r\n\t// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then\r\n\t// use the new chart options to grab the correct scale\r\n\tconstructors: {},\r\n\t// Use a registration function so that we can move to an ES6 map when we no longer need to support\r\n\t// old browsers\r\n\r\n\t// Scale config defaults\r\n\tdefaults: {},\r\n\tregisterScaleType: function(type, scaleConstructor, scaleDefaults) {\r\n\t\tthis.constructors[type] = scaleConstructor;\r\n\t\tthis.defaults[type] = helpers$1.clone(scaleDefaults);\r\n\t},\r\n\tgetScaleConstructor: function(type) {\r\n\t\treturn this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;\r\n\t},\r\n\tgetScaleDefaults: function(type) {\r\n\t\t// Return the scale defaults merged with the global settings so that we always use the latest ones\r\n\t\treturn this.defaults.hasOwnProperty(type) ? helpers$1.merge(Object.create(null), [core_defaults.scale, this.defaults[type]]) : {};\r\n\t},\r\n\tupdateScaleDefaults: function(type, additions) {\r\n\t\tvar me = this;\r\n\t\tif (me.defaults.hasOwnProperty(type)) {\r\n\t\t\tme.defaults[type] = helpers$1.extend(me.defaults[type], additions);\r\n\t\t}\r\n\t},\r\n\taddScalesToLayout: function(chart) {\r\n\t\t// Adds each scale to the chart.boxes array to be sized accordingly\r\n\t\thelpers$1.each(chart.scales, function(scale) {\r\n\t\t\t// Set ILayoutItem parameters for backwards compatibility\r\n\t\t\tscale.fullWidth = scale.options.fullWidth;\r\n\t\t\tscale.position = scale.options.position;\r\n\t\t\tscale.weight = scale.options.weight;\r\n\t\t\tcore_layouts.addBox(chart, scale);\r\n\t\t});\r\n\t}\r\n};\n\nvar valueOrDefault$8 = helpers$1.valueOrDefault;\r\nvar getRtlHelper = helpers$1.rtl.getRtlAdapter;\r\n\r\ncore_defaults._set('global', {\r\n\ttooltips: {\r\n\t\tenabled: true,\r\n\t\tcustom: null,\r\n\t\tmode: 'nearest',\r\n\t\tposition: 'average',\r\n\t\tintersect: true,\r\n\t\tbackgroundColor: 'rgba(0,0,0,0.8)',\r\n\t\ttitleFontStyle: 'bold',\r\n\t\ttitleSpacing: 2,\r\n\t\ttitleMarginBottom: 6,\r\n\t\ttitleFontColor: '#fff',\r\n\t\ttitleAlign: 'left',\r\n\t\tbodySpacing: 2,\r\n\t\tbodyFontColor: '#fff',\r\n\t\tbodyAlign: 'left',\r\n\t\tfooterFontStyle: 'bold',\r\n\t\tfooterSpacing: 2,\r\n\t\tfooterMarginTop: 6,\r\n\t\tfooterFontColor: '#fff',\r\n\t\tfooterAlign: 'left',\r\n\t\tyPadding: 6,\r\n\t\txPadding: 6,\r\n\t\tcaretPadding: 2,\r\n\t\tcaretSize: 5,\r\n\t\tcornerRadius: 6,\r\n\t\tmultiKeyBackground: '#fff',\r\n\t\tdisplayColors: true,\r\n\t\tborderColor: 'rgba(0,0,0,0)',\r\n\t\tborderWidth: 0,\r\n\t\tcallbacks: {\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeTitle: helpers$1.noop,\r\n\t\t\ttitle: function(tooltipItems, data) {\r\n\t\t\t\tvar title = '';\r\n\t\t\t\tvar labels = data.labels;\r\n\t\t\t\tvar labelCount = labels ? labels.length : 0;\r\n\r\n\t\t\t\tif (tooltipItems.length > 0) {\r\n\t\t\t\t\tvar item = tooltipItems[0];\r\n\t\t\t\t\tif (item.label) {\r\n\t\t\t\t\t\ttitle = item.label;\r\n\t\t\t\t\t} else if (item.xLabel) {\r\n\t\t\t\t\t\ttitle = item.xLabel;\r\n\t\t\t\t\t} else if (labelCount > 0 && item.index < labelCount) {\r\n\t\t\t\t\t\ttitle = labels[item.index];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn title;\r\n\t\t\t},\r\n\t\t\tafterTitle: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItem, data)\r\n\t\t\tbeforeLabel: helpers$1.noop,\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar label = data.datasets[tooltipItem.datasetIndex].label || '';\r\n\r\n\t\t\t\tif (label) {\r\n\t\t\t\t\tlabel += ': ';\r\n\t\t\t\t}\r\n\t\t\t\tif (!helpers$1.isNullOrUndef(tooltipItem.value)) {\r\n\t\t\t\t\tlabel += tooltipItem.value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlabel += tooltipItem.yLabel;\r\n\t\t\t\t}\r\n\t\t\t\treturn label;\r\n\t\t\t},\r\n\t\t\tlabelColor: function(tooltipItem, chart) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(tooltipItem.datasetIndex);\r\n\t\t\t\tvar activeElement = meta.data[tooltipItem.index];\r\n\t\t\t\tvar view = activeElement._view;\r\n\t\t\t\treturn {\r\n\t\t\t\t\tborderColor: view.borderColor,\r\n\t\t\t\t\tbackgroundColor: view.backgroundColor\r\n\t\t\t\t};\r\n\t\t\t},\r\n\t\t\tlabelTextColor: function() {\r\n\t\t\t\treturn this._options.bodyFontColor;\r\n\t\t\t},\r\n\t\t\tafterLabel: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tafterBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeFooter: helpers$1.noop,\r\n\t\t\tfooter: helpers$1.noop,\r\n\t\t\tafterFooter: helpers$1.noop\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar positioners = {\r\n\t/**\r\n\t * Average mode places the tooltip at the average position of the elements shown\r\n\t * @function Chart.Tooltip.positioners.average\r\n\t * @param elements {ChartElement[]} the elements being displayed in the tooltip\r\n\t * @returns {object} tooltip position\r\n\t */\r\n\taverage: function(elements) {\r\n\t\tif (!elements.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tvar i, len;\r\n\t\tvar x = 0;\r\n\t\tvar y = 0;\r\n\t\tvar count = 0;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar pos = el.tooltipPosition();\r\n\t\t\t\tx += pos.x;\r\n\t\t\t\ty += pos.y;\r\n\t\t\t\t++count;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x / count,\r\n\t\t\ty: y / count\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Gets the tooltip position nearest of the item nearest to the event position\r\n\t * @function Chart.Tooltip.positioners.nearest\r\n\t * @param elements {Chart.Element[]} the tooltip elements\r\n\t * @param eventPosition {object} the position of the event in canvas coordinates\r\n\t * @returns {object} the tooltip position\r\n\t */\r\n\tnearest: function(elements, eventPosition) {\r\n\t\tvar x = eventPosition.x;\r\n\t\tvar y = eventPosition.y;\r\n\t\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\t\tvar i, len, nearestElement;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar center = el.getCenterPoint();\r\n\t\t\t\tvar d = helpers$1.distanceBetweenPoints(eventPosition, center);\r\n\r\n\t\t\t\tif (d < minDistance) {\r\n\t\t\t\t\tminDistance = d;\r\n\t\t\t\t\tnearestElement = el;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (nearestElement) {\r\n\t\t\tvar tp = nearestElement.tooltipPosition();\r\n\t\t\tx = tp.x;\r\n\t\t\ty = tp.y;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x,\r\n\t\t\ty: y\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// Helper to push or concat based on if the 2nd parameter is an array or not\r\nfunction pushOrConcat(base, toPush) {\r\n\tif (toPush) {\r\n\t\tif (helpers$1.isArray(toPush)) {\r\n\t\t\t// base = base.concat(toPush);\r\n\t\t\tArray.prototype.push.apply(base, toPush);\r\n\t\t} else {\r\n\t\t\tbase.push(toPush);\r\n\t\t}\r\n\t}\r\n\r\n\treturn base;\r\n}\r\n\r\n/**\r\n * Returns array of strings split by newline\r\n * @param {string} value - The value to split by newline.\r\n * @returns {string[]} value if newline present - Returned from String split() method\r\n * @function\r\n */\r\nfunction splitNewlines(str) {\r\n\tif ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\r\n\t\treturn str.split('\\n');\r\n\t}\r\n\treturn str;\r\n}\r\n\r\n\r\n/**\r\n * Private helper to create a tooltip item model\r\n * @param element - the chart element (point, arc, bar) to create the tooltip item for\r\n * @return new tooltip item\r\n */\r\nfunction createTooltipItem(element) {\r\n\tvar xScale = element._xScale;\r\n\tvar yScale = element._yScale || element._scale; // handle radar || polarArea charts\r\n\tvar index = element._index;\r\n\tvar datasetIndex = element._datasetIndex;\r\n\tvar controller = element._chart.getDatasetMeta(datasetIndex).controller;\r\n\tvar indexScale = controller._getIndexScale();\r\n\tvar valueScale = controller._getValueScale();\r\n\r\n\treturn {\r\n\t\txLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tyLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tlabel: indexScale ? '' + indexScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tvalue: valueScale ? '' + valueScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tindex: index,\r\n\t\tdatasetIndex: datasetIndex,\r\n\t\tx: element._model.x,\r\n\t\ty: element._model.y\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the reset model for the tooltip\r\n * @param tooltipOpts {object} the tooltip options\r\n */\r\nfunction getBaseModel(tooltipOpts) {\r\n\tvar globalDefaults = core_defaults.global;\r\n\r\n\treturn {\r\n\t\t// Positioning\r\n\t\txPadding: tooltipOpts.xPadding,\r\n\t\tyPadding: tooltipOpts.yPadding,\r\n\t\txAlign: tooltipOpts.xAlign,\r\n\t\tyAlign: tooltipOpts.yAlign,\r\n\r\n\t\t// Drawing direction and text direction\r\n\t\trtl: tooltipOpts.rtl,\r\n\t\ttextDirection: tooltipOpts.textDirection,\r\n\r\n\t\t// Body\r\n\t\tbodyFontColor: tooltipOpts.bodyFontColor,\r\n\t\t_bodyFontFamily: valueOrDefault$8(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_bodyFontStyle: valueOrDefault$8(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),\r\n\t\t_bodyAlign: tooltipOpts.bodyAlign,\r\n\t\tbodyFontSize: valueOrDefault$8(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),\r\n\t\tbodySpacing: tooltipOpts.bodySpacing,\r\n\r\n\t\t// Title\r\n\t\ttitleFontColor: tooltipOpts.titleFontColor,\r\n\t\t_titleFontFamily: valueOrDefault$8(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_titleFontStyle: valueOrDefault$8(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),\r\n\t\ttitleFontSize: valueOrDefault$8(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),\r\n\t\t_titleAlign: tooltipOpts.titleAlign,\r\n\t\ttitleSpacing: tooltipOpts.titleSpacing,\r\n\t\ttitleMarginBottom: tooltipOpts.titleMarginBottom,\r\n\r\n\t\t// Footer\r\n\t\tfooterFontColor: tooltipOpts.footerFontColor,\r\n\t\t_footerFontFamily: valueOrDefault$8(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_footerFontStyle: valueOrDefault$8(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),\r\n\t\tfooterFontSize: valueOrDefault$8(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),\r\n\t\t_footerAlign: tooltipOpts.footerAlign,\r\n\t\tfooterSpacing: tooltipOpts.footerSpacing,\r\n\t\tfooterMarginTop: tooltipOpts.footerMarginTop,\r\n\r\n\t\t// Appearance\r\n\t\tcaretSize: tooltipOpts.caretSize,\r\n\t\tcornerRadius: tooltipOpts.cornerRadius,\r\n\t\tbackgroundColor: tooltipOpts.backgroundColor,\r\n\t\topacity: 0,\r\n\t\tlegendColorBackground: tooltipOpts.multiKeyBackground,\r\n\t\tdisplayColors: tooltipOpts.displayColors,\r\n\t\tborderColor: tooltipOpts.borderColor,\r\n\t\tborderWidth: tooltipOpts.borderWidth\r\n\t};\r\n}\r\n\r\n/**\r\n * Get the size of the tooltip\r\n */\r\nfunction getTooltipSize(tooltip, model) {\r\n\tvar ctx = tooltip._chart.ctx;\r\n\r\n\tvar height = model.yPadding * 2; // Tooltip Padding\r\n\tvar width = 0;\r\n\r\n\t// Count of all lines in the body\r\n\tvar body = model.body;\r\n\tvar combinedBodyLength = body.reduce(function(count, bodyItem) {\r\n\t\treturn count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;\r\n\t}, 0);\r\n\tcombinedBodyLength += model.beforeBody.length + model.afterBody.length;\r\n\r\n\tvar titleLineCount = model.title.length;\r\n\tvar footerLineCount = model.footer.length;\r\n\tvar titleFontSize = model.titleFontSize;\r\n\tvar bodyFontSize = model.bodyFontSize;\r\n\tvar footerFontSize = model.footerFontSize;\r\n\r\n\theight += titleLineCount * titleFontSize; // Title Lines\r\n\theight += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing\r\n\theight += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin\r\n\theight += combinedBodyLength * bodyFontSize; // Body Lines\r\n\theight += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing\r\n\theight += footerLineCount ? model.footerMarginTop : 0; // Footer Margin\r\n\theight += footerLineCount * (footerFontSize); // Footer Lines\r\n\theight += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing\r\n\r\n\t// Title width\r\n\tvar widthPadding = 0;\r\n\tvar maxLineWidth = function(line) {\r\n\t\twidth = Math.max(width, ctx.measureText(line).width + widthPadding);\r\n\t};\r\n\r\n\tctx.font = helpers$1.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);\r\n\thelpers$1.each(model.title, maxLineWidth);\r\n\r\n\t// Body width\r\n\tctx.font = helpers$1.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);\r\n\thelpers$1.each(model.beforeBody.concat(model.afterBody), maxLineWidth);\r\n\r\n\t// Body lines may include some extra width due to the color box\r\n\twidthPadding = model.displayColors ? (bodyFontSize + 2) : 0;\r\n\thelpers$1.each(body, function(bodyItem) {\r\n\t\thelpers$1.each(bodyItem.before, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.lines, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.after, maxLineWidth);\r\n\t});\r\n\r\n\t// Reset back to 0\r\n\twidthPadding = 0;\r\n\r\n\t// Footer width\r\n\tctx.font = helpers$1.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);\r\n\thelpers$1.each(model.footer, maxLineWidth);\r\n\r\n\t// Add padding\r\n\twidth += 2 * model.xPadding;\r\n\r\n\treturn {\r\n\t\twidth: width,\r\n\t\theight: height\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the alignment of a tooltip given the size\r\n */\r\nfunction determineAlignment(tooltip, size) {\r\n\tvar model = tooltip._model;\r\n\tvar chart = tooltip._chart;\r\n\tvar chartArea = tooltip._chart.chartArea;\r\n\tvar xAlign = 'center';\r\n\tvar yAlign = 'center';\r\n\r\n\tif (model.y < size.height) {\r\n\t\tyAlign = 'top';\r\n\t} else if (model.y > (chart.height - size.height)) {\r\n\t\tyAlign = 'bottom';\r\n\t}\r\n\r\n\tvar lf, rf; // functions to determine left, right alignment\r\n\tvar olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart\r\n\tvar yf; // function to get the y alignment if the tooltip goes outside of the left or right edges\r\n\tvar midX = (chartArea.left + chartArea.right) / 2;\r\n\tvar midY = (chartArea.top + chartArea.bottom) / 2;\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= midX;\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x > midX;\r\n\t\t};\r\n\t} else {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= (size.width / 2);\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x >= (chart.width - (size.width / 2));\r\n\t\t};\r\n\t}\r\n\r\n\tolf = function(x) {\r\n\t\treturn x + size.width + model.caretSize + model.caretPadding > chart.width;\r\n\t};\r\n\torf = function(x) {\r\n\t\treturn x - size.width - model.caretSize - model.caretPadding < 0;\r\n\t};\r\n\tyf = function(y) {\r\n\t\treturn y <= midY ? 'top' : 'bottom';\r\n\t};\r\n\r\n\tif (lf(model.x)) {\r\n\t\txAlign = 'left';\r\n\r\n\t\t// Is tooltip too wide and goes over the right side of the chart.?\r\n\t\tif (olf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t} else if (rf(model.x)) {\r\n\t\txAlign = 'right';\r\n\r\n\t\t// Is tooltip too wide and goes outside left edge of canvas?\r\n\t\tif (orf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t}\r\n\r\n\tvar opts = tooltip._options;\r\n\treturn {\r\n\t\txAlign: opts.xAlign ? opts.xAlign : xAlign,\r\n\t\tyAlign: opts.yAlign ? opts.yAlign : yAlign\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment\r\n */\r\nfunction getBackgroundPoint(vm, size, alignment, chart) {\r\n\t// Background Position\r\n\tvar x = vm.x;\r\n\tvar y = vm.y;\r\n\r\n\tvar caretSize = vm.caretSize;\r\n\tvar caretPadding = vm.caretPadding;\r\n\tvar cornerRadius = vm.cornerRadius;\r\n\tvar xAlign = alignment.xAlign;\r\n\tvar yAlign = alignment.yAlign;\r\n\tvar paddingAndSize = caretSize + caretPadding;\r\n\tvar radiusAndPadding = cornerRadius + caretPadding;\r\n\r\n\tif (xAlign === 'right') {\r\n\t\tx -= size.width;\r\n\t} else if (xAlign === 'center') {\r\n\t\tx -= (size.width / 2);\r\n\t\tif (x + size.width > chart.width) {\r\n\t\t\tx = chart.width - size.width;\r\n\t\t}\r\n\t\tif (x < 0) {\r\n\t\t\tx = 0;\r\n\t\t}\r\n\t}\r\n\r\n\tif (yAlign === 'top') {\r\n\t\ty += paddingAndSize;\r\n\t} else if (yAlign === 'bottom') {\r\n\t\ty -= size.height + paddingAndSize;\r\n\t} else {\r\n\t\ty -= (size.height / 2);\r\n\t}\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tif (xAlign === 'left') {\r\n\t\t\tx += paddingAndSize;\r\n\t\t} else if (xAlign === 'right') {\r\n\t\t\tx -= paddingAndSize;\r\n\t\t}\r\n\t} else if (xAlign === 'left') {\r\n\t\tx -= radiusAndPadding;\r\n\t} else if (xAlign === 'right') {\r\n\t\tx += radiusAndPadding;\r\n\t}\r\n\r\n\treturn {\r\n\t\tx: x,\r\n\t\ty: y\r\n\t};\r\n}\r\n\r\nfunction getAlignedX(vm, align) {\r\n\treturn align === 'center'\r\n\t\t? vm.x + vm.width / 2\r\n\t\t: align === 'right'\r\n\t\t\t? vm.x + vm.width - vm.xPadding\r\n\t\t\t: vm.x + vm.xPadding;\r\n}\r\n\r\n/**\r\n * Helper to build before and after body lines\r\n */\r\nfunction getBeforeAfterBodyLines(callback) {\r\n\treturn pushOrConcat([], splitNewlines(callback));\r\n}\r\n\r\nvar exports$4 = core_element.extend({\r\n\tinitialize: function() {\r\n\t\tthis._model = getBaseModel(this._options);\r\n\t\tthis._lastActive = [];\r\n\t},\r\n\r\n\t// Get the title\r\n\t// Args are: (tooltipItem, data)\r\n\tgetTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\t\tvar callbacks = opts.callbacks;\r\n\r\n\t\tvar beforeTitle = callbacks.beforeTitle.apply(me, arguments);\r\n\t\tvar title = callbacks.title.apply(me, arguments);\r\n\t\tvar afterTitle = callbacks.afterTitle.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeTitle));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(title));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterTitle));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBeforeBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.beforeBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBody: function(tooltipItems, data) {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\t\tvar bodyItems = [];\r\n\r\n\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\tvar bodyItem = {\r\n\t\t\t\tbefore: [],\r\n\t\t\t\tlines: [],\r\n\t\t\t\tafter: []\r\n\t\t\t};\r\n\t\t\tpushOrConcat(bodyItem.before, splitNewlines(callbacks.beforeLabel.call(me, tooltipItem, data)));\r\n\t\t\tpushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));\r\n\t\t\tpushOrConcat(bodyItem.after, splitNewlines(callbacks.afterLabel.call(me, tooltipItem, data)));\r\n\r\n\t\t\tbodyItems.push(bodyItem);\r\n\t\t});\r\n\r\n\t\treturn bodyItems;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetAfterBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.afterBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Get the footer and beforeFooter and afterFooter lines\r\n\t// Args are: (tooltipItem, data)\r\n\tgetFooter: function() {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\r\n\t\tvar beforeFooter = callbacks.beforeFooter.apply(me, arguments);\r\n\t\tvar footer = callbacks.footer.apply(me, arguments);\r\n\t\tvar afterFooter = callbacks.afterFooter.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeFooter));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(footer));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterFooter));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\tupdate: function(changed) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\r\n\t\t// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition\r\n\t\t// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time\r\n\t\t// which breaks any animations.\r\n\t\tvar existingModel = me._model;\r\n\t\tvar model = me._model = getBaseModel(opts);\r\n\t\tvar active = me._active;\r\n\r\n\t\tvar data = me._data;\r\n\r\n\t\t// In the case where active.length === 0 we need to keep these at existing values for good animations\r\n\t\tvar alignment = {\r\n\t\t\txAlign: existingModel.xAlign,\r\n\t\t\tyAlign: existingModel.yAlign\r\n\t\t};\r\n\t\tvar backgroundPoint = {\r\n\t\t\tx: existingModel.x,\r\n\t\t\ty: existingModel.y\r\n\t\t};\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: existingModel.width,\r\n\t\t\theight: existingModel.height\r\n\t\t};\r\n\t\tvar tooltipPosition = {\r\n\t\t\tx: existingModel.caretX,\r\n\t\t\ty: existingModel.caretY\r\n\t\t};\r\n\r\n\t\tvar i, len;\r\n\r\n\t\tif (active.length) {\r\n\t\t\tmodel.opacity = 1;\r\n\r\n\t\t\tvar labelColors = [];\r\n\t\t\tvar labelTextColors = [];\r\n\t\t\ttooltipPosition = positioners[opts.position].call(me, active, me._eventPosition);\r\n\r\n\t\t\tvar tooltipItems = [];\r\n\t\t\tfor (i = 0, len = active.length; i < len; ++i) {\r\n\t\t\t\ttooltipItems.push(createTooltipItem(active[i]));\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a filter function, use it to modify the tooltip items\r\n\t\t\tif (opts.filter) {\r\n\t\t\t\ttooltipItems = tooltipItems.filter(function(a) {\r\n\t\t\t\t\treturn opts.filter(a, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a sorting function, use it to modify the tooltip items\r\n\t\t\tif (opts.itemSort) {\r\n\t\t\t\ttooltipItems = tooltipItems.sort(function(a, b) {\r\n\t\t\t\t\treturn opts.itemSort(a, b, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// Determine colors for boxes\r\n\t\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\t\tlabelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));\r\n\t\t\t\tlabelTextColors.push(opts.callbacks.labelTextColor.call(me, tooltipItem, me._chart));\r\n\t\t\t});\r\n\r\n\r\n\t\t\t// Build the Text Lines\r\n\t\t\tmodel.title = me.getTitle(tooltipItems, data);\r\n\t\t\tmodel.beforeBody = me.getBeforeBody(tooltipItems, data);\r\n\t\t\tmodel.body = me.getBody(tooltipItems, data);\r\n\t\t\tmodel.afterBody = me.getAfterBody(tooltipItems, data);\r\n\t\t\tmodel.footer = me.getFooter(tooltipItems, data);\r\n\r\n\t\t\t// Initial positioning and colors\r\n\t\t\tmodel.x = tooltipPosition.x;\r\n\t\t\tmodel.y = tooltipPosition.y;\r\n\t\t\tmodel.caretPadding = opts.caretPadding;\r\n\t\t\tmodel.labelColors = labelColors;\r\n\t\t\tmodel.labelTextColors = labelTextColors;\r\n\r\n\t\t\t// data points\r\n\t\t\tmodel.dataPoints = tooltipItems;\r\n\r\n\t\t\t// We need to determine alignment of the tooltip\r\n\t\t\ttooltipSize = getTooltipSize(this, model);\r\n\t\t\talignment = determineAlignment(this, tooltipSize);\r\n\t\t\t// Final Size and Position\r\n\t\t\tbackgroundPoint = getBackgroundPoint(model, tooltipSize, alignment, me._chart);\r\n\t\t} else {\r\n\t\t\tmodel.opacity = 0;\r\n\t\t}\r\n\r\n\t\tmodel.xAlign = alignment.xAlign;\r\n\t\tmodel.yAlign = alignment.yAlign;\r\n\t\tmodel.x = backgroundPoint.x;\r\n\t\tmodel.y = backgroundPoint.y;\r\n\t\tmodel.width = tooltipSize.width;\r\n\t\tmodel.height = tooltipSize.height;\r\n\r\n\t\t// Point where the caret on the tooltip points to\r\n\t\tmodel.caretX = tooltipPosition.x;\r\n\t\tmodel.caretY = tooltipPosition.y;\r\n\r\n\t\tme._model = model;\r\n\r\n\t\tif (changed && opts.custom) {\r\n\t\t\topts.custom.call(me, model);\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdrawCaret: function(tooltipPoint, size) {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar caretPosition = this.getCaretPosition(tooltipPoint, size, vm);\r\n\r\n\t\tctx.lineTo(caretPosition.x1, caretPosition.y1);\r\n\t\tctx.lineTo(caretPosition.x2, caretPosition.y2);\r\n\t\tctx.lineTo(caretPosition.x3, caretPosition.y3);\r\n\t},\r\n\tgetCaretPosition: function(tooltipPoint, size, vm) {\r\n\t\tvar x1, x2, x3, y1, y2, y3;\r\n\t\tvar caretSize = vm.caretSize;\r\n\t\tvar cornerRadius = vm.cornerRadius;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar ptX = tooltipPoint.x;\r\n\t\tvar ptY = tooltipPoint.y;\r\n\t\tvar width = size.width;\r\n\t\tvar height = size.height;\r\n\r\n\t\tif (yAlign === 'center') {\r\n\t\t\ty2 = ptY + (height / 2);\r\n\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx1 = ptX;\r\n\t\t\t\tx2 = x1 - caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 + caretSize;\r\n\t\t\t\ty3 = y2 - caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx1 = ptX + width;\r\n\t\t\t\tx2 = x1 + caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 - caretSize;\r\n\t\t\t\ty3 = y2 + caretSize;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx2 = ptX + cornerRadius + (caretSize);\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else if (xAlign === 'right') {\r\n\t\t\t\tx2 = ptX + width - cornerRadius - caretSize;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx2 = vm.caretX;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t}\r\n\t\t\tif (yAlign === 'top') {\r\n\t\t\t\ty1 = ptY;\r\n\t\t\t\ty2 = y1 - caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = ptY + height;\r\n\t\t\t\ty2 = y1 + caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t\t// invert drawing order\r\n\t\t\t\tvar tmp = x3;\r\n\t\t\t\tx3 = x1;\r\n\t\t\t\tx1 = tmp;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn {x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3};\r\n\t},\r\n\r\n\tdrawTitle: function(pt, vm, ctx) {\r\n\t\tvar title = vm.title;\r\n\t\tvar length = title.length;\r\n\t\tvar titleFontSize, titleSpacing, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._titleAlign);\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._titleAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\ttitleFontSize = vm.titleFontSize;\r\n\t\t\ttitleSpacing = vm.titleSpacing;\r\n\r\n\t\t\tctx.fillStyle = vm.titleFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFontSize / 2);\r\n\t\t\t\tpt.y += titleFontSize + titleSpacing; // Line Height and spacing\r\n\r\n\t\t\t\tif (i + 1 === length) {\r\n\t\t\t\t\tpt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBody: function(pt, vm, ctx) {\r\n\t\tvar bodyFontSize = vm.bodyFontSize;\r\n\t\tvar bodySpacing = vm.bodySpacing;\r\n\t\tvar bodyAlign = vm._bodyAlign;\r\n\t\tvar body = vm.body;\r\n\t\tvar drawColorBoxes = vm.displayColors;\r\n\t\tvar xLinePadding = 0;\r\n\t\tvar colorX = drawColorBoxes ? getAlignedX(vm, 'left') : 0;\r\n\r\n\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\tvar fillLineOfText = function(line) {\r\n\t\t\tctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyFontSize / 2);\r\n\t\t\tpt.y += bodyFontSize + bodySpacing;\r\n\t\t};\r\n\r\n\t\tvar bodyItem, textColor, labelColors, lines, i, j, ilen, jlen;\r\n\t\tvar bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\r\n\r\n\t\tctx.textAlign = bodyAlign;\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.font = helpers$1.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);\r\n\r\n\t\tpt.x = getAlignedX(vm, bodyAlignForCalculation);\r\n\r\n\t\t// Before body lines\r\n\t\tctx.fillStyle = vm.bodyFontColor;\r\n\t\thelpers$1.each(vm.beforeBody, fillLineOfText);\r\n\r\n\t\txLinePadding = drawColorBoxes && bodyAlignForCalculation !== 'right'\r\n\t\t\t? bodyAlign === 'center' ? (bodyFontSize / 2 + 1) : (bodyFontSize + 2)\r\n\t\t\t: 0;\r\n\r\n\t\t// Draw body lines now\r\n\t\tfor (i = 0, ilen = body.length; i < ilen; ++i) {\r\n\t\t\tbodyItem = body[i];\r\n\t\t\ttextColor = vm.labelTextColors[i];\r\n\t\t\tlabelColors = vm.labelColors[i];\r\n\r\n\t\t\tctx.fillStyle = textColor;\r\n\t\t\thelpers$1.each(bodyItem.before, fillLineOfText);\r\n\r\n\t\t\tlines = bodyItem.lines;\r\n\t\t\tfor (j = 0, jlen = lines.length; j < jlen; ++j) {\r\n\t\t\t\t// Draw Legend-like boxes if needed\r\n\t\t\t\tif (drawColorBoxes) {\r\n\t\t\t\t\tvar rtlColorX = rtlHelper.x(colorX);\r\n\r\n\t\t\t\t\t// Fill a white rect so that colours merge nicely if the opacity is < 1\r\n\t\t\t\t\tctx.fillStyle = vm.legendColorBackground;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Border\r\n\t\t\t\t\tctx.lineWidth = 1;\r\n\t\t\t\t\tctx.strokeStyle = labelColors.borderColor;\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Inner square\r\n\t\t\t\t\tctx.fillStyle = labelColors.backgroundColor;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), bodyFontSize - 2), pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);\r\n\t\t\t\t\tctx.fillStyle = textColor;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfillLineOfText(lines[j]);\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(bodyItem.after, fillLineOfText);\r\n\t\t}\r\n\r\n\t\t// Reset back to 0 for after body\r\n\t\txLinePadding = 0;\r\n\r\n\t\t// After body lines\r\n\t\thelpers$1.each(vm.afterBody, fillLineOfText);\r\n\t\tpt.y -= bodySpacing; // Remove last body spacing\r\n\t},\r\n\r\n\tdrawFooter: function(pt, vm, ctx) {\r\n\t\tvar footer = vm.footer;\r\n\t\tvar length = footer.length;\r\n\t\tvar footerFontSize, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._footerAlign);\r\n\t\t\tpt.y += vm.footerMarginTop;\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._footerAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\tfooterFontSize = vm.footerFontSize;\r\n\r\n\t\t\tctx.fillStyle = vm.footerFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(footerFontSize, vm._footerFontStyle, vm._footerFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFontSize / 2);\r\n\t\t\t\tpt.y += footerFontSize + vm.footerSpacing;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBackground: function(pt, vm, ctx, tooltipSize) {\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar x = pt.x;\r\n\t\tvar y = pt.y;\r\n\t\tvar width = tooltipSize.width;\r\n\t\tvar height = tooltipSize.height;\r\n\t\tvar radius = vm.cornerRadius;\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.moveTo(x + radius, y);\r\n\t\tif (yAlign === 'top') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width - radius, y);\r\n\t\tctx.quadraticCurveTo(x + width, y, x + width, y + radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'right') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width, y + height - radius);\r\n\t\tctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\r\n\t\tif (yAlign === 'bottom') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + radius, y + height);\r\n\t\tctx.quadraticCurveTo(x, y + height, x, y + height - radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'left') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x, y + radius);\r\n\t\tctx.quadraticCurveTo(x, y, x + radius, y);\r\n\t\tctx.closePath();\r\n\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth > 0) {\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm.opacity === 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: vm.width,\r\n\t\t\theight: vm.height\r\n\t\t};\r\n\t\tvar pt = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\r\n\t\t// IE11/Edge does not like very small opacities, so snap to 0\r\n\t\tvar opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;\r\n\r\n\t\t// Truthy/falsey value for empty tooltip\r\n\t\tvar hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;\r\n\r\n\t\tif (this._options.enabled && hasTooltipContent) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.globalAlpha = opacity;\r\n\r\n\t\t\t// Draw Background\r\n\t\t\tthis.drawBackground(pt, vm, ctx, tooltipSize);\r\n\r\n\t\t\t// Draw Title, Body, and Footer\r\n\t\t\tpt.y += vm.yPadding;\r\n\r\n\t\t\thelpers$1.rtl.overrideTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\t// Titles\r\n\t\t\tthis.drawTitle(pt, vm, ctx);\r\n\r\n\t\t\t// Body\r\n\t\t\tthis.drawBody(pt, vm, ctx);\r\n\r\n\t\t\t// Footer\r\n\t\t\tthis.drawFooter(pt, vm, ctx);\r\n\r\n\t\t\thelpers$1.rtl.restoreTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t * @returns {boolean} true if the tooltip changed\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me._options;\r\n\t\tvar changed = false;\r\n\r\n\t\tme._lastActive = me._lastActive || [];\r\n\r\n\t\t// Find Active Elements for tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme._active = [];\r\n\t\t} else {\r\n\t\t\tme._active = me._chart.getElementsAtEventForMode(e, options.mode, options);\r\n\t\t\tif (options.reverse) {\r\n\t\t\t\tme._active.reverse();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remember Last Actives\r\n\t\tchanged = !helpers$1.arrayEquals(me._active, me._lastActive);\r\n\r\n\t\t// Only handle target event on tooltip change\r\n\t\tif (changed) {\r\n\t\t\tme._lastActive = me._active;\r\n\r\n\t\t\tif (options.enabled || options.custom) {\r\n\t\t\t\tme._eventPosition = {\r\n\t\t\t\t\tx: e.x,\r\n\t\t\t\t\ty: e.y\r\n\t\t\t\t};\r\n\r\n\t\t\t\tme.update(true);\r\n\t\t\t\tme.pivot();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * @namespace Chart.Tooltip.positioners\r\n */\r\nvar positioners_1 = positioners;\r\n\r\nvar core_tooltip = exports$4;\ncore_tooltip.positioners = positioners_1;\n\nvar valueOrDefault$9 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {},\r\n\tevents: [\r\n\t\t'mousemove',\r\n\t\t'mouseout',\r\n\t\t'click',\r\n\t\t'touchstart',\r\n\t\t'touchmove'\r\n\t],\r\n\thover: {\r\n\t\tonHover: null,\r\n\t\tmode: 'nearest',\r\n\t\tintersect: true,\r\n\t\tanimationDuration: 400\r\n\t},\r\n\tonClick: null,\r\n\tmaintainAspectRatio: true,\r\n\tresponsive: true,\r\n\tresponsiveAnimationDuration: 0\r\n});\r\n\r\n/**\r\n * Recursively merge the given config objects representing the `scales` option\r\n * by incorporating scale defaults in `xAxes` and `yAxes` array items, then\r\n * returns a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeScaleConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tif (key === 'xAxes' || key === 'yAxes') {\r\n\t\t\t\tvar slen = source[key].length;\r\n\t\t\t\tvar i, type, scale;\r\n\r\n\t\t\t\tif (!target[key]) {\r\n\t\t\t\t\ttarget[key] = [];\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfor (i = 0; i < slen; ++i) {\r\n\t\t\t\t\tscale = source[key][i];\r\n\t\t\t\t\ttype = valueOrDefault$9(scale.type, key === 'xAxes' ? 'category' : 'linear');\r\n\r\n\t\t\t\t\tif (i >= target[key].length) {\r\n\t\t\t\t\t\ttarget[key].push({});\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!target[key][i].type || (scale.type && scale.type !== target[key][i].type)) {\r\n\t\t\t\t\t\t// new/untyped scale or type changed: let's apply the new defaults\r\n\t\t\t\t\t\t// then merge source scale to correctly overwrite the defaults.\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], [core_scaleService.getScaleDefaults(type), scale]);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// scales type are the same\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], scale);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Recursively merge the given config objects as the root options by handling\r\n * default scale options for the `scales` and `scale` properties, then returns\r\n * a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tvar tval = target[key] || Object.create(null);\r\n\t\t\tvar sval = source[key];\r\n\r\n\t\t\tif (key === 'scales') {\r\n\t\t\t\t// scale config merging is complex. Add our own function here for that\r\n\t\t\t\ttarget[key] = mergeScaleConfig(tval, sval);\r\n\t\t\t} else if (key === 'scale') {\r\n\t\t\t\t// used in polar area & radar charts since there is only one scale\r\n\t\t\t\ttarget[key] = helpers$1.merge(tval, [core_scaleService.getScaleDefaults(sval.type), sval]);\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction initConfig(config) {\r\n\tconfig = config || Object.create(null);\r\n\r\n\t// Do NOT use mergeConfig for the data object because this method merges arrays\r\n\t// and so would change references to labels and datasets, preventing data updates.\r\n\tvar data = config.data = config.data || {};\r\n\tdata.datasets = data.datasets || [];\r\n\tdata.labels = data.labels || [];\r\n\r\n\tconfig.options = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[config.type],\r\n\t\tconfig.options || {});\r\n\r\n\treturn config;\r\n}\r\n\r\nfunction updateConfig(chart) {\r\n\tvar newOptions = chart.options;\r\n\r\n\thelpers$1.each(chart.scales, function(scale) {\r\n\t\tcore_layouts.removeBox(chart, scale);\r\n\t});\r\n\r\n\tnewOptions = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[chart.config.type],\r\n\t\tnewOptions);\r\n\r\n\tchart.options = chart.config.options = newOptions;\r\n\tchart.ensureScalesHaveIDs();\r\n\tchart.buildOrUpdateScales();\r\n\r\n\t// Tooltip\r\n\tchart.tooltip._options = newOptions.tooltips;\r\n\tchart.tooltip.initialize();\r\n}\r\n\r\nfunction nextAvailableScaleId(axesOpts, prefix, index) {\r\n\tvar id;\r\n\tvar hasId = function(obj) {\r\n\t\treturn obj.id === id;\r\n\t};\r\n\r\n\tdo {\r\n\t\tid = prefix + index++;\r\n\t} while (helpers$1.findIndex(axesOpts, hasId) >= 0);\r\n\r\n\treturn id;\r\n}\r\n\r\nfunction positionIsHorizontal(position) {\r\n\treturn position === 'top' || position === 'bottom';\r\n}\r\n\r\nfunction compare2Level(l1, l2) {\r\n\treturn function(a, b) {\r\n\t\treturn a[l1] === b[l1]\r\n\t\t\t? a[l2] - b[l2]\r\n\t\t\t: a[l1] - b[l1];\r\n\t};\r\n}\r\n\r\nvar Chart = function(item, config) {\r\n\tthis.construct(item, config);\r\n\treturn this;\r\n};\r\n\r\nhelpers$1.extend(Chart.prototype, /** @lends Chart */ {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tconstruct: function(item, config) {\r\n\t\tvar me = this;\r\n\r\n\t\tconfig = initConfig(config);\r\n\r\n\t\tvar context = platform.acquireContext(item, config);\r\n\t\tvar canvas = context && context.canvas;\r\n\t\tvar height = canvas && canvas.height;\r\n\t\tvar width = canvas && canvas.width;\r\n\r\n\t\tme.id = helpers$1.uid();\r\n\t\tme.ctx = context;\r\n\t\tme.canvas = canvas;\r\n\t\tme.config = config;\r\n\t\tme.width = width;\r\n\t\tme.height = height;\r\n\t\tme.aspectRatio = height ? width / height : null;\r\n\t\tme.options = config.options;\r\n\t\tme._bufferedRender = false;\r\n\t\tme._layers = [];\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, Chart and Chart.Controller have been merged,\r\n\t\t * the \"instance\" still need to be defined since it might be called from plugins.\r\n\t\t * @prop Chart#chart\r\n\t\t * @deprecated since version 2.6.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tme.chart = me;\r\n\t\tme.controller = me; // chart.chart.controller #inception\r\n\r\n\t\t// Add the chart instance to the global namespace\r\n\t\tChart.instances[me.id] = me;\r\n\r\n\t\t// Define alias to the config data: `chart.data === chart.config.data`\r\n\t\tObject.defineProperty(me, 'data', {\r\n\t\t\tget: function() {\r\n\t\t\t\treturn me.config.data;\r\n\t\t\t},\r\n\t\t\tset: function(value) {\r\n\t\t\t\tme.config.data = value;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (!context || !canvas) {\r\n\t\t\t// The given item is not a compatible context2d element, let's return before finalizing\r\n\t\t\t// the chart initialization but after setting basic chart / controller properties that\r\n\t\t\t// can help to figure out that the chart is not valid (e.g chart.canvas !== null);\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\t\tconsole.error(\"Failed to create chart: can't acquire context from the given item\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme.initialize();\r\n\t\tme.update();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Before init plugin notification\r\n\t\tcore_plugins.notify(me, 'beforeInit');\r\n\r\n\t\thelpers$1.retinaScale(me, me.options.devicePixelRatio);\r\n\r\n\t\tme.bindEvents();\r\n\r\n\t\tif (me.options.responsive) {\r\n\t\t\t// Initial resize before chart draws (must be silent to preserve initial animations).\r\n\t\t\tme.resize(true);\r\n\t\t}\r\n\r\n\t\tme.initToolTip();\r\n\r\n\t\t// After init plugin notification\r\n\t\tcore_plugins.notify(me, 'afterInit');\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tclear: function() {\r\n\t\thelpers$1.canvas.clear(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tstop: function() {\r\n\t\t// Stops any current animation loop occurring\r\n\t\tcore_animations.cancelAnimation(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tresize: function(silent) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar aspectRatio = (options.maintainAspectRatio && me.aspectRatio) || null;\r\n\r\n\t\t// the canvas render width and height will be casted to integers so make sure that\r\n\t\t// the canvas display style uses the same integer values to avoid blurring effect.\r\n\r\n\t\t// Set to 0 instead of canvas.size because the size defaults to 300x150 if the element is collapsed\r\n\t\tvar newWidth = Math.max(0, Math.floor(helpers$1.getMaximumWidth(canvas)));\r\n\t\tvar newHeight = Math.max(0, Math.floor(aspectRatio ? newWidth / aspectRatio : helpers$1.getMaximumHeight(canvas)));\r\n\r\n\t\tif (me.width === newWidth && me.height === newHeight) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcanvas.width = me.width = newWidth;\r\n\t\tcanvas.height = me.height = newHeight;\r\n\t\tcanvas.style.width = newWidth + 'px';\r\n\t\tcanvas.style.height = newHeight + 'px';\r\n\r\n\t\thelpers$1.retinaScale(me, options.devicePixelRatio);\r\n\r\n\t\tif (!silent) {\r\n\t\t\t// Notify any plugins about the resize\r\n\t\t\tvar newSize = {width: newWidth, height: newHeight};\r\n\t\t\tcore_plugins.notify(me, 'resize', [newSize]);\r\n\r\n\t\t\t// Notify of resize\r\n\t\t\tif (options.onResize) {\r\n\t\t\t\toptions.onResize(me, newSize);\r\n\t\t\t}\r\n\r\n\t\t\tme.stop();\r\n\t\t\tme.update({\r\n\t\t\t\tduration: options.responsiveAnimationDuration\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\tensureScalesHaveIDs: function() {\r\n\t\tvar options = this.options;\r\n\t\tvar scalesOptions = options.scales || {};\r\n\t\tvar scaleOptions = options.scale;\r\n\r\n\t\thelpers$1.each(scalesOptions.xAxes, function(xAxisOptions, index) {\r\n\t\t\tif (!xAxisOptions.id) {\r\n\t\t\t\txAxisOptions.id = nextAvailableScaleId(scalesOptions.xAxes, 'x-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(scalesOptions.yAxes, function(yAxisOptions, index) {\r\n\t\t\tif (!yAxisOptions.id) {\r\n\t\t\t\tyAxisOptions.id = nextAvailableScaleId(scalesOptions.yAxes, 'y-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (scaleOptions) {\r\n\t\t\tscaleOptions.id = scaleOptions.id || 'scale';\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Builds a map of scale ID to scale object for future lookup.\r\n\t */\r\n\tbuildOrUpdateScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar scales = me.scales || {};\r\n\t\tvar items = [];\r\n\t\tvar updated = Object.keys(scales).reduce(function(obj, id) {\r\n\t\t\tobj[id] = false;\r\n\t\t\treturn obj;\r\n\t\t}, {});\r\n\r\n\t\tif (options.scales) {\r\n\t\t\titems = items.concat(\r\n\t\t\t\t(options.scales.xAxes || []).map(function(xAxisOptions) {\r\n\t\t\t\t\treturn {options: xAxisOptions, dtype: 'category', dposition: 'bottom'};\r\n\t\t\t\t}),\r\n\t\t\t\t(options.scales.yAxes || []).map(function(yAxisOptions) {\r\n\t\t\t\t\treturn {options: yAxisOptions, dtype: 'linear', dposition: 'left'};\r\n\t\t\t\t})\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (options.scale) {\r\n\t\t\titems.push({\r\n\t\t\t\toptions: options.scale,\r\n\t\t\t\tdtype: 'radialLinear',\r\n\t\t\t\tisDefault: true,\r\n\t\t\t\tdposition: 'chartArea'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\thelpers$1.each(items, function(item) {\r\n\t\t\tvar scaleOptions = item.options;\r\n\t\t\tvar id = scaleOptions.id;\r\n\t\t\tvar scaleType = valueOrDefault$9(scaleOptions.type, item.dtype);\r\n\r\n\t\t\tif (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {\r\n\t\t\t\tscaleOptions.position = item.dposition;\r\n\t\t\t}\r\n\r\n\t\t\tupdated[id] = true;\r\n\t\t\tvar scale = null;\r\n\t\t\tif (id in scales && scales[id].type === scaleType) {\r\n\t\t\t\tscale = scales[id];\r\n\t\t\t\tscale.options = scaleOptions;\r\n\t\t\t\tscale.ctx = me.ctx;\r\n\t\t\t\tscale.chart = me;\r\n\t\t\t} else {\r\n\t\t\t\tvar scaleClass = core_scaleService.getScaleConstructor(scaleType);\r\n\t\t\t\tif (!scaleClass) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tscale = new scaleClass({\r\n\t\t\t\t\tid: id,\r\n\t\t\t\t\ttype: scaleType,\r\n\t\t\t\t\toptions: scaleOptions,\r\n\t\t\t\t\tctx: me.ctx,\r\n\t\t\t\t\tchart: me\r\n\t\t\t\t});\r\n\t\t\t\tscales[scale.id] = scale;\r\n\t\t\t}\r\n\r\n\t\t\tscale.mergeTicksOptions();\r\n\r\n\t\t\t// TODO(SB): I think we should be able to remove this custom case (options.scale)\r\n\t\t\t// and consider it as a regular scale part of the \"scales\"\" map only! This would\r\n\t\t\t// make the logic easier and remove some useless? custom code.\r\n\t\t\tif (item.isDefault) {\r\n\t\t\t\tme.scale = scale;\r\n\t\t\t}\r\n\t\t});\r\n\t\t// clear up discarded scales\r\n\t\thelpers$1.each(updated, function(hasUpdated, id) {\r\n\t\t\tif (!hasUpdated) {\r\n\t\t\t\tdelete scales[id];\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.scales = scales;\r\n\r\n\t\tcore_scaleService.addScalesToLayout(this);\r\n\t},\r\n\r\n\tbuildOrUpdateControllers: function() {\r\n\t\tvar me = this;\r\n\t\tvar newControllers = [];\r\n\t\tvar datasets = me.data.datasets;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tvar dataset = datasets[i];\r\n\t\t\tvar meta = me.getDatasetMeta(i);\r\n\t\t\tvar type = dataset.type || me.config.type;\r\n\r\n\t\t\tif (meta.type && meta.type !== type) {\r\n\t\t\t\tme.destroyDatasetMeta(i);\r\n\t\t\t\tmeta = me.getDatasetMeta(i);\r\n\t\t\t}\r\n\t\t\tmeta.type = type;\r\n\t\t\tmeta.order = dataset.order || 0;\r\n\t\t\tmeta.index = i;\r\n\r\n\t\t\tif (meta.controller) {\r\n\t\t\t\tmeta.controller.updateIndex(i);\r\n\t\t\t\tmeta.controller.linkScales();\r\n\t\t\t} else {\r\n\t\t\t\tvar ControllerClass = controllers[meta.type];\r\n\t\t\t\tif (ControllerClass === undefined) {\r\n\t\t\t\t\tthrow new Error('\"' + meta.type + '\" is not a chart type.');\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmeta.controller = new ControllerClass(me, i);\r\n\t\t\t\tnewControllers.push(meta.controller);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn newControllers;\r\n\t},\r\n\r\n\t/**\r\n\t * Reset the elements of all datasets\r\n\t * @private\r\n\t */\r\n\tresetElements: function() {\r\n\t\tvar me = this;\r\n\t\thelpers$1.each(me.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tme.getDatasetMeta(datasetIndex).controller.reset();\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t* Resets the chart back to it's state before the initial animation\r\n\t*/\r\n\treset: function() {\r\n\t\tthis.resetElements();\r\n\t\tthis.tooltip.initialize();\r\n\t},\r\n\r\n\tupdate: function(config) {\r\n\t\tvar me = this;\r\n\t\tvar i, ilen;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tupdateConfig(me);\r\n\r\n\t\t// plugins options references might have change, let's invalidate the cache\r\n\t\t// https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t\tcore_plugins._invalidate(me);\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// In case the entire data object changed\r\n\t\tme.tooltip._data = me.data;\r\n\r\n\t\t// Make sure dataset controllers are updated and new controllers are reset\r\n\t\tvar newControllers = me.buildOrUpdateControllers();\r\n\r\n\t\t// Make sure all dataset controllers have correct meta data counts\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; i++) {\r\n\t\t\tme.getDatasetMeta(i).controller.buildOrUpdateElements();\r\n\t\t}\r\n\r\n\t\tme.updateLayout();\r\n\r\n\t\t// Can only reset the new controllers after the scales have been updated\r\n\t\tif (me.options.animation && me.options.animation.duration) {\r\n\t\t\thelpers$1.each(newControllers, function(controller) {\r\n\t\t\t\tcontroller.reset();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme.updateDatasets();\r\n\r\n\t\t// Need to reset tooltip in case it is displayed with elements that are removed\r\n\t\t// after update.\r\n\t\tme.tooltip.initialize();\r\n\r\n\t\t// Last active contains items that were previously in the tooltip.\r\n\t\t// When we reset the tooltip, we need to clear it\r\n\t\tme.lastActive = [];\r\n\r\n\t\t// Do this before render so that any plugins that need final scale updates can use it\r\n\t\tcore_plugins.notify(me, 'afterUpdate');\r\n\r\n\t\tme._layers.sort(compare2Level('z', '_idx'));\r\n\r\n\t\tif (me._bufferedRender) {\r\n\t\t\tme._bufferedRequest = {\r\n\t\t\t\tduration: config.duration,\r\n\t\t\t\teasing: config.easing,\r\n\t\t\t\tlazy: config.lazy\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tme.render(config);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`\r\n\t * hook, in which case, plugins will not be called on `afterLayout`.\r\n\t * @private\r\n\t */\r\n\tupdateLayout: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeLayout') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcore_layouts.update(this, this.width, this.height);\r\n\r\n\t\tme._layers = [];\r\n\t\thelpers$1.each(me.boxes, function(box) {\r\n\t\t\t// _configure is called twice, once in core.scale.update and once here.\r\n\t\t\t// Here the boxes are fully updated and at their final positions.\r\n\t\t\tif (box._configure) {\r\n\t\t\t\tbox._configure();\r\n\t\t\t}\r\n\t\t\tme._layers.push.apply(me._layers, box._layers());\r\n\t\t}, me);\r\n\r\n\t\tme._layers.forEach(function(item, index) {\r\n\t\t\titem._idx = index;\r\n\t\t});\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, use `afterLayout` instead.\r\n\t\t * @method IPlugin#afterScaleUpdate\r\n\t\t * @deprecated since version 2.5.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tcore_plugins.notify(me, 'afterScaleUpdate');\r\n\t\tcore_plugins.notify(me, 'afterLayout');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDatasets: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tfor (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.updateDataset(i);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsUpdate');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDataset: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getDatasetMeta(index);\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: index\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller._update();\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetUpdate', [args]);\r\n\t},\r\n\r\n\trender: function(config) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tvar animationOptions = me.options.animation;\r\n\t\tvar duration = valueOrDefault$9(config.duration, animationOptions && animationOptions.duration);\r\n\t\tvar lazy = config.lazy;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeRender') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar onComplete = function(animation) {\r\n\t\t\tcore_plugins.notify(me, 'afterRender');\r\n\t\t\thelpers$1.callback(animationOptions && animationOptions.onComplete, [animation], me);\r\n\t\t};\r\n\r\n\t\tif (animationOptions && duration) {\r\n\t\t\tvar animation = new core_animation({\r\n\t\t\t\tnumSteps: duration / 16.66, // 60 fps\r\n\t\t\t\teasing: config.easing || animationOptions.easing,\r\n\r\n\t\t\t\trender: function(chart, animationObject) {\r\n\t\t\t\t\tvar easingFunction = helpers$1.easing.effects[animationObject.easing];\r\n\t\t\t\t\tvar currentStep = animationObject.currentStep;\r\n\t\t\t\t\tvar stepDecimal = currentStep / animationObject.numSteps;\r\n\r\n\t\t\t\t\tchart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tonAnimationProgress: animationOptions.onProgress,\r\n\t\t\t\tonAnimationComplete: onComplete\r\n\t\t\t});\r\n\r\n\t\t\tcore_animations.addAnimation(me, animation, duration, lazy);\r\n\t\t} else {\r\n\t\t\tme.draw();\r\n\r\n\t\t\t// See https://github.com/chartjs/Chart.js/issues/3781\r\n\t\t\tonComplete(new core_animation({numSteps: 0, chart: me}));\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdraw: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar i, layers;\r\n\r\n\t\tme.clear();\r\n\r\n\t\tif (helpers$1.isNullOrUndef(easingValue)) {\r\n\t\t\teasingValue = 1;\r\n\t\t}\r\n\r\n\t\tme.transition(easingValue);\r\n\r\n\t\tif (me.width <= 0 || me.height <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Because of plugin hooks (before/afterDatasetsDraw), datasets can't\r\n\t\t// currently be part of layers. Instead, we draw\r\n\t\t// layers <= 0 before(default, backward compat), and the rest after\r\n\t\tlayers = me._layers;\r\n\t\tfor (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme.drawDatasets(easingValue);\r\n\r\n\t\t// Rest of layers\r\n\t\tfor (; i < layers.length; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme._drawTooltip(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\ttransition: function(easingValue) {\r\n\t\tvar me = this;\r\n\r\n\t\tfor (var i = 0, ilen = (me.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (me.isDatasetVisible(i)) {\r\n\t\t\t\tme.getDatasetMeta(i).controller.transition(easingValue);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.tooltip.transition(easingValue);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedDatasetMetas: function(filterVisible) {\r\n\t\tvar me = this;\r\n\t\tvar datasets = me.data.datasets || [];\r\n\t\tvar result = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; ++i) {\r\n\t\t\tif (!filterVisible || me.isDatasetVisible(i)) {\r\n\t\t\t\tresult.push(me.getDatasetMeta(i));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tresult.sort(compare2Level('order', 'index'));\r\n\r\n\t\treturn result;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedVisibleDatasetMetas: function() {\r\n\t\treturn this._getSortedDatasetMetas(true);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDatasets: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar metasets, i;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmetasets = me._getSortedVisibleDatasetMetas();\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tme.drawDataset(metasets[i], easingValue);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDataset: function(meta, easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: meta.index,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller.draw(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws tooltip unless a plugin returns `false` to the `beforeTooltipDraw`\r\n\t * hook, in which case, plugins will not be called on `afterTooltipDraw`.\r\n\t * @private\r\n\t */\r\n\t_drawTooltip: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\t\tvar args = {\r\n\t\t\ttooltip: tooltip,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeTooltipDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttooltip.draw();\r\n\r\n\t\tcore_plugins.notify(me, 'afterTooltipDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Get the single element that was clicked on\r\n\t * @return An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw\r\n\t */\r\n\tgetElementAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.single(this, e);\r\n\t},\r\n\r\n\tgetElementsAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.label(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtXAxis: function(e) {\r\n\t\treturn core_interaction.modes['x-axis'](this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtEventForMode: function(e, mode, options) {\r\n\t\tvar method = core_interaction.modes[mode];\r\n\t\tif (typeof method === 'function') {\r\n\t\t\treturn method(this, e, options);\r\n\t\t}\r\n\r\n\t\treturn [];\r\n\t},\r\n\r\n\tgetDatasetAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.dataset(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetDatasetMeta: function(datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.data.datasets[datasetIndex];\r\n\t\tif (!dataset._meta) {\r\n\t\t\tdataset._meta = {};\r\n\t\t}\r\n\r\n\t\tvar meta = dataset._meta[me.id];\r\n\t\tif (!meta) {\r\n\t\t\tmeta = dataset._meta[me.id] = {\r\n\t\t\t\ttype: null,\r\n\t\t\t\tdata: [],\r\n\t\t\t\tdataset: null,\r\n\t\t\t\tcontroller: null,\r\n\t\t\t\thidden: null,\t\t\t// See isDatasetVisible() comment\r\n\t\t\t\txAxisID: null,\r\n\t\t\t\tyAxisID: null,\r\n\t\t\t\torder: dataset.order || 0,\r\n\t\t\t\tindex: datasetIndex\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn meta;\r\n\t},\r\n\r\n\tgetVisibleDatasetCount: function() {\r\n\t\tvar count = 0;\r\n\t\tfor (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (this.isDatasetVisible(i)) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t},\r\n\r\n\tisDatasetVisible: function(datasetIndex) {\r\n\t\tvar meta = this.getDatasetMeta(datasetIndex);\r\n\r\n\t\t// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,\r\n\t\t// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.\r\n\t\treturn typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;\r\n\t},\r\n\r\n\tgenerateLegend: function() {\r\n\t\treturn this.options.legendCallback(this);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroyDatasetMeta: function(datasetIndex) {\r\n\t\tvar id = this.id;\r\n\t\tvar dataset = this.data.datasets[datasetIndex];\r\n\t\tvar meta = dataset._meta && dataset._meta[id];\r\n\r\n\t\tif (meta) {\r\n\t\t\tmeta.controller.destroy();\r\n\t\t\tdelete dataset._meta[id];\r\n\t\t}\r\n\t},\r\n\r\n\tdestroy: function() {\r\n\t\tvar me = this;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme.stop();\r\n\r\n\t\t// dataset controllers need to cleanup associated data\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.destroyDatasetMeta(i);\r\n\t\t}\r\n\r\n\t\tif (canvas) {\r\n\t\t\tme.unbindEvents();\r\n\t\t\thelpers$1.canvas.clear(me);\r\n\t\t\tplatform.releaseContext(me.ctx);\r\n\t\t\tme.canvas = null;\r\n\t\t\tme.ctx = null;\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'destroy');\r\n\r\n\t\tdelete Chart.instances[me.id];\r\n\t},\r\n\r\n\ttoBase64Image: function() {\r\n\t\treturn this.canvas.toDataURL.apply(this.canvas, arguments);\r\n\t},\r\n\r\n\tinitToolTip: function() {\r\n\t\tvar me = this;\r\n\t\tme.tooltip = new core_tooltip({\r\n\t\t\t_chart: me,\r\n\t\t\t_chartInstance: me, // deprecated, backward compatibility\r\n\t\t\t_data: me.data,\r\n\t\t\t_options: me.options.tooltips\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners = {};\r\n\t\tvar listener = function() {\r\n\t\t\tme.eventHandler.apply(me, arguments);\r\n\t\t};\r\n\r\n\t\thelpers$1.each(me.options.events, function(type) {\r\n\t\t\tplatform.addEventListener(me, type, listener);\r\n\t\t\tlisteners[type] = listener;\r\n\t\t});\r\n\r\n\t\t// Elements used to detect size change should not be injected for non responsive charts.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/2210\r\n\t\tif (me.options.responsive) {\r\n\t\t\tlistener = function() {\r\n\t\t\t\tme.resize();\r\n\t\t\t};\r\n\r\n\t\t\tplatform.addEventListener(me, 'resize', listener);\r\n\t\t\tlisteners.resize = listener;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tunbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners;\r\n\t\tif (!listeners) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tdelete me._listeners;\r\n\t\thelpers$1.each(listeners, function(listener, type) {\r\n\t\t\tplatform.removeEventListener(me, type, listener);\r\n\t\t});\r\n\t},\r\n\r\n\tupdateHoverStyle: function(elements, mode, enabled) {\r\n\t\tvar prefix = enabled ? 'set' : 'remove';\r\n\t\tvar element, i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = elements.length; i < ilen; ++i) {\r\n\t\t\telement = elements[i];\r\n\t\t\tif (element) {\r\n\t\t\t\tthis.getDatasetMeta(element._datasetIndex).controller[prefix + 'HoverStyle'](element);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (mode === 'dataset') {\r\n\t\t\tthis.getDatasetMeta(elements[0]._datasetIndex).controller['_' + prefix + 'DatasetHoverStyle']();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\teventHandler: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeEvent', [e]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Buffer any update calls so that renders do not occur\r\n\t\tme._bufferedRender = true;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\tvar changed = me.handleEvent(e);\r\n\t\t// for smooth tooltip animations issue #4989\r\n\t\t// the tooltip should be the source of change\r\n\t\t// Animation check workaround:\r\n\t\t// tooltip._start will be null when tooltip isn't animating\r\n\t\tif (tooltip) {\r\n\t\t\tchanged = tooltip._start\r\n\t\t\t\t? tooltip.handleEvent(e)\r\n\t\t\t\t: changed | tooltip.handleEvent(e);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterEvent', [e]);\r\n\r\n\t\tvar bufferedRequest = me._bufferedRequest;\r\n\t\tif (bufferedRequest) {\r\n\t\t\t// If we have an update that was triggered, we need to do a normal render\r\n\t\t\tme.render(bufferedRequest);\r\n\t\t} else if (changed && !me.animating) {\r\n\t\t\t// If entering, leaving, or changing elements, animate the change via pivot\r\n\t\t\tme.stop();\r\n\r\n\t\t\t// We only need to render at this point. Updating will cause scales to be\r\n\t\t\t// recomputed generating flicker & using more memory than necessary.\r\n\t\t\tme.render({\r\n\t\t\t\tduration: me.options.hover.animationDuration,\r\n\t\t\t\tlazy: true\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme._bufferedRender = false;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event the event to handle\r\n\t * @return {boolean} true if the chart needs to re-render\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options || {};\r\n\t\tvar hoverOptions = options.hover;\r\n\t\tvar changed = false;\r\n\r\n\t\tme.lastActive = me.lastActive || [];\r\n\r\n\t\t// Find Active Elements for hover and tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme.active = [];\r\n\t\t} else {\r\n\t\t\tme.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);\r\n\t\t}\r\n\r\n\t\t// Invoke onHover hook\r\n\t\t// Need to call with native event here to not break backwards compatibility\r\n\t\thelpers$1.callback(options.onHover || options.hover.onHover, [e.native, me.active], me);\r\n\r\n\t\tif (e.type === 'mouseup' || e.type === 'click') {\r\n\t\t\tif (options.onClick) {\r\n\t\t\t\t// Use e.native here for backwards compatibility\r\n\t\t\t\toptions.onClick.call(me, e.native, me.active);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remove styling for last active (even if it may still be active)\r\n\t\tif (me.lastActive.length) {\r\n\t\t\tme.updateHoverStyle(me.lastActive, hoverOptions.mode, false);\r\n\t\t}\r\n\r\n\t\t// Built in hover styling\r\n\t\tif (me.active.length && hoverOptions.mode) {\r\n\t\t\tme.updateHoverStyle(me.active, hoverOptions.mode, true);\r\n\t\t}\r\n\r\n\t\tchanged = !helpers$1.arrayEquals(me.active, me.lastActive);\r\n\r\n\t\t// Remember Last Actives\r\n\t\tme.lastActive = me.active;\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * NOTE(SB) We actually don't use this container anymore but we need to keep it\r\n * for backward compatibility. Though, it can still be useful for plugins that\r\n * would need to work on multiple charts?!\r\n */\r\nChart.instances = {};\r\n\r\nvar core_controller = Chart;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart instead.\r\n * @class Chart.Controller\r\n * @deprecated since version 2.6\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.Controller = Chart;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.types = {};\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.configMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.configMerge = mergeConfig;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.scaleMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.scaleMerge = mergeScaleConfig;\n\nvar core_helpers = function() {\r\n\r\n\t// -- Basic js utility methods\r\n\r\n\thelpers$1.where = function(collection, filterCallback) {\r\n\t\tif (helpers$1.isArray(collection) && Array.prototype.filter) {\r\n\t\t\treturn collection.filter(filterCallback);\r\n\t\t}\r\n\t\tvar filtered = [];\r\n\r\n\t\thelpers$1.each(collection, function(item) {\r\n\t\t\tif (filterCallback(item)) {\r\n\t\t\t\tfiltered.push(item);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn filtered;\r\n\t};\r\n\thelpers$1.findIndex = Array.prototype.findIndex ?\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\treturn array.findIndex(callback, scope);\r\n\t\t} :\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\tscope = scope === undefined ? array : scope;\r\n\t\t\tfor (var i = 0, ilen = array.length; i < ilen; ++i) {\r\n\t\t\t\tif (callback.call(scope, array[i], i, array)) {\r\n\t\t\t\t\treturn i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn -1;\r\n\t\t};\r\n\thelpers$1.findNextWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to start of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = -1;\r\n\t\t}\r\n\t\tfor (var i = startIndex + 1; i < arrayToSearch.length; i++) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to end of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = arrayToSearch.length;\r\n\t\t}\r\n\t\tfor (var i = startIndex - 1; i >= 0; i--) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// -- Math methods\r\n\thelpers$1.isNumber = function(n) {\r\n\t\treturn !isNaN(parseFloat(n)) && isFinite(n);\r\n\t};\r\n\thelpers$1.almostEquals = function(x, y, epsilon) {\r\n\t\treturn Math.abs(x - y) < epsilon;\r\n\t};\r\n\thelpers$1.almostWhole = function(x, epsilon) {\r\n\t\tvar rounded = Math.round(x);\r\n\t\treturn ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);\r\n\t};\r\n\thelpers$1.max = function(array) {\r\n\t\treturn array.reduce(function(max, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.max(max, value);\r\n\t\t\t}\r\n\t\t\treturn max;\r\n\t\t}, Number.NEGATIVE_INFINITY);\r\n\t};\r\n\thelpers$1.min = function(array) {\r\n\t\treturn array.reduce(function(min, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.min(min, value);\r\n\t\t\t}\r\n\t\t\treturn min;\r\n\t\t}, Number.POSITIVE_INFINITY);\r\n\t};\r\n\thelpers$1.sign = Math.sign ?\r\n\t\tfunction(x) {\r\n\t\t\treturn Math.sign(x);\r\n\t\t} :\r\n\t\tfunction(x) {\r\n\t\t\tx = +x; // convert to a number\r\n\t\t\tif (x === 0 || isNaN(x)) {\r\n\t\t\t\treturn x;\r\n\t\t\t}\r\n\t\t\treturn x > 0 ? 1 : -1;\r\n\t\t};\r\n\thelpers$1.toRadians = function(degrees) {\r\n\t\treturn degrees * (Math.PI / 180);\r\n\t};\r\n\thelpers$1.toDegrees = function(radians) {\r\n\t\treturn radians * (180 / Math.PI);\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the number of decimal places\r\n\t * i.e. the number of digits after the decimal point, of the value of this Number.\r\n\t * @param {number} x - A number.\r\n\t * @returns {number} The number of decimal places.\r\n\t * @private\r\n\t */\r\n\thelpers$1._decimalPlaces = function(x) {\r\n\t\tif (!helpers$1.isFinite(x)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tvar e = 1;\r\n\t\tvar p = 0;\r\n\t\twhile (Math.round(x * e) / e !== x) {\r\n\t\t\te *= 10;\r\n\t\t\tp++;\r\n\t\t}\r\n\t\treturn p;\r\n\t};\r\n\r\n\t// Gets the angle from vertical upright to the point about a centre.\r\n\thelpers$1.getAngleFromPoint = function(centrePoint, anglePoint) {\r\n\t\tvar distanceFromXCenter = anglePoint.x - centrePoint.x;\r\n\t\tvar distanceFromYCenter = anglePoint.y - centrePoint.y;\r\n\t\tvar radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\r\n\r\n\t\tvar angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\r\n\r\n\t\tif (angle < (-0.5 * Math.PI)) {\r\n\t\t\tangle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tangle: angle,\r\n\t\t\tdistance: radialDistanceFromCenter\r\n\t\t};\r\n\t};\r\n\thelpers$1.distanceBetweenPoints = function(pt1, pt2) {\r\n\t\treturn Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\r\n\t};\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.helpers.aliasPixel\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\thelpers$1.aliasPixel = function(pixelWidth) {\r\n\t\treturn (pixelWidth % 2 === 0) ? 0 : 0.5;\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the aligned pixel value to avoid anti-aliasing blur\r\n\t * @param {Chart} chart - The chart instance.\r\n\t * @param {number} pixel - A pixel value.\r\n\t * @param {number} width - The width of the element.\r\n\t * @returns {number} The aligned pixel value.\r\n\t * @private\r\n\t */\r\n\thelpers$1._alignPixel = function(chart, pixel, width) {\r\n\t\tvar devicePixelRatio = chart.currentDevicePixelRatio;\r\n\t\tvar halfWidth = width / 2;\r\n\t\treturn Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\r\n\t};\r\n\r\n\thelpers$1.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {\r\n\t\t// Props to Rob Spencer at scaled innovation for his post on splining between points\r\n\t\t// http://scaledinnovation.com/analytics/splines/aboutSplines.html\r\n\r\n\t\t// This function must also respect \"skipped\" points\r\n\r\n\t\tvar previous = firstPoint.skip ? middlePoint : firstPoint;\r\n\t\tvar current = middlePoint;\r\n\t\tvar next = afterPoint.skip ? middlePoint : afterPoint;\r\n\r\n\t\tvar d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));\r\n\t\tvar d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));\r\n\r\n\t\tvar s01 = d01 / (d01 + d12);\r\n\t\tvar s12 = d12 / (d01 + d12);\r\n\r\n\t\t// If all points are the same, s01 & s02 will be inf\r\n\t\ts01 = isNaN(s01) ? 0 : s01;\r\n\t\ts12 = isNaN(s12) ? 0 : s12;\r\n\r\n\t\tvar fa = t * s01; // scaling factor for triangle Ta\r\n\t\tvar fb = t * s12;\r\n\r\n\t\treturn {\r\n\t\t\tprevious: {\r\n\t\t\t\tx: current.x - fa * (next.x - previous.x),\r\n\t\t\t\ty: current.y - fa * (next.y - previous.y)\r\n\t\t\t},\r\n\t\t\tnext: {\r\n\t\t\t\tx: current.x + fb * (next.x - previous.x),\r\n\t\t\t\ty: current.y + fb * (next.y - previous.y)\r\n\t\t\t}\r\n\t\t};\r\n\t};\r\n\thelpers$1.EPSILON = Number.EPSILON || 1e-14;\r\n\thelpers$1.splineCurveMonotone = function(points) {\r\n\t\t// This function calculates Bézier control points in a similar way than |splineCurve|,\r\n\t\t// but preserves monotonicity of the provided data and ensures no local extremums are added\r\n\t\t// between the dataset discrete points due to the interpolation.\r\n\t\t// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation\r\n\r\n\t\tvar pointsWithTangents = (points || []).map(function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tmodel: point._model,\r\n\t\t\t\tdeltaK: 0,\r\n\t\t\t\tmK: 0\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\t// Calculate slopes (deltaK) and initialize tangents (mK)\r\n\t\tvar pointsLen = pointsWithTangents.length;\r\n\t\tvar i, pointBefore, pointCurrent, pointAfter;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tvar slopeDeltaX = (pointAfter.model.x - pointCurrent.model.x);\r\n\r\n\t\t\t\t// In the case of two points that appear at the same x pixel, slopeDeltaX is 0\r\n\t\t\t\tpointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;\r\n\t\t\t}\r\n\r\n\t\t\tif (!pointBefore || pointBefore.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointCurrent.deltaK;\r\n\t\t\t} else if (!pointAfter || pointAfter.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointBefore.deltaK;\r\n\t\t\t} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {\r\n\t\t\t\tpointCurrent.mK = 0;\r\n\t\t\t} else {\r\n\t\t\t\tpointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Adjust tangents to ensure monotonic properties\r\n\t\tvar alphaK, betaK, tauK, squaredMagnitude;\r\n\t\tfor (i = 0; i < pointsLen - 1; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tpointAfter = pointsWithTangents[i + 1];\r\n\t\t\tif (pointCurrent.model.skip || pointAfter.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (helpers$1.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {\r\n\t\t\t\tpointCurrent.mK = pointAfter.mK = 0;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talphaK = pointCurrent.mK / pointCurrent.deltaK;\r\n\t\t\tbetaK = pointAfter.mK / pointCurrent.deltaK;\r\n\t\t\tsquaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\r\n\t\t\tif (squaredMagnitude <= 9) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\ttauK = 3 / Math.sqrt(squaredMagnitude);\r\n\t\t\tpointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;\r\n\t\t\tpointAfter.mK = betaK * tauK * pointCurrent.deltaK;\r\n\t\t}\r\n\r\n\t\t// Compute control points\r\n\t\tvar deltaX;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointBefore && !pointBefore.model.skip) {\r\n\t\t\t\tdeltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tdeltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.nextItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index >= collection.length - 1 ? collection[0] : collection[index + 1];\r\n\t\t}\r\n\t\treturn index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];\r\n\t};\r\n\thelpers$1.previousItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index <= 0 ? collection[collection.length - 1] : collection[index - 1];\r\n\t\t}\r\n\t\treturn index <= 0 ? collection[0] : collection[index - 1];\r\n\t};\r\n\t// Implementation of the nice number algorithm used in determining where axis labels will go\r\n\thelpers$1.niceNum = function(range, round) {\r\n\t\tvar exponent = Math.floor(helpers$1.log10(range));\r\n\t\tvar fraction = range / Math.pow(10, exponent);\r\n\t\tvar niceFraction;\r\n\r\n\t\tif (round) {\r\n\t\t\tif (fraction < 1.5) {\r\n\t\t\t\tniceFraction = 1;\r\n\t\t\t} else if (fraction < 3) {\r\n\t\t\t\tniceFraction = 2;\r\n\t\t\t} else if (fraction < 7) {\r\n\t\t\t\tniceFraction = 5;\r\n\t\t\t} else {\r\n\t\t\t\tniceFraction = 10;\r\n\t\t\t}\r\n\t\t} else if (fraction <= 1.0) {\r\n\t\t\tniceFraction = 1;\r\n\t\t} else if (fraction <= 2) {\r\n\t\t\tniceFraction = 2;\r\n\t\t} else if (fraction <= 5) {\r\n\t\t\tniceFraction = 5;\r\n\t\t} else {\r\n\t\t\tniceFraction = 10;\r\n\t\t}\r\n\r\n\t\treturn niceFraction * Math.pow(10, exponent);\r\n\t};\r\n\t// Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\thelpers$1.requestAnimFrame = (function() {\r\n\t\tif (typeof window === 'undefined') {\r\n\t\t\treturn function(callback) {\r\n\t\t\t\tcallback();\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn window.requestAnimationFrame ||\r\n\t\t\twindow.webkitRequestAnimationFrame ||\r\n\t\t\twindow.mozRequestAnimationFrame ||\r\n\t\t\twindow.oRequestAnimationFrame ||\r\n\t\t\twindow.msRequestAnimationFrame ||\r\n\t\t\tfunction(callback) {\r\n\t\t\t\treturn window.setTimeout(callback, 1000 / 60);\r\n\t\t\t};\r\n\t}());\r\n\t// -- DOM methods\r\n\thelpers$1.getRelativePosition = function(evt, chart) {\r\n\t\tvar mouseX, mouseY;\r\n\t\tvar e = evt.originalEvent || evt;\r\n\t\tvar canvas = evt.target || evt.srcElement;\r\n\t\tvar boundingRect = canvas.getBoundingClientRect();\r\n\r\n\t\tvar touches = e.touches;\r\n\t\tif (touches && touches.length > 0) {\r\n\t\t\tmouseX = touches[0].clientX;\r\n\t\t\tmouseY = touches[0].clientY;\r\n\r\n\t\t} else {\r\n\t\t\tmouseX = e.clientX;\r\n\t\t\tmouseY = e.clientY;\r\n\t\t}\r\n\r\n\t\t// Scale mouse coordinates into canvas coordinates\r\n\t\t// by following the pattern laid out by 'jerryj' in the comments of\r\n\t\t// https://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/\r\n\t\tvar paddingLeft = parseFloat(helpers$1.getStyle(canvas, 'padding-left'));\r\n\t\tvar paddingTop = parseFloat(helpers$1.getStyle(canvas, 'padding-top'));\r\n\t\tvar paddingRight = parseFloat(helpers$1.getStyle(canvas, 'padding-right'));\r\n\t\tvar paddingBottom = parseFloat(helpers$1.getStyle(canvas, 'padding-bottom'));\r\n\t\tvar width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;\r\n\t\tvar height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;\r\n\r\n\t\t// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However\r\n\t\t// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here\r\n\t\tmouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);\r\n\t\tmouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);\r\n\r\n\t\treturn {\r\n\t\t\tx: mouseX,\r\n\t\t\ty: mouseY\r\n\t\t};\r\n\r\n\t};\r\n\r\n\t// Private helper function to convert max-width/max-height values that may be percentages into a number\r\n\tfunction parseMaxStyle(styleValue, node, parentProperty) {\r\n\t\tvar valueInPixels;\r\n\t\tif (typeof styleValue === 'string') {\r\n\t\t\tvalueInPixels = parseInt(styleValue, 10);\r\n\r\n\t\t\tif (styleValue.indexOf('%') !== -1) {\r\n\t\t\t\t// percentage * size in dimension\r\n\t\t\t\tvalueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvalueInPixels = styleValue;\r\n\t\t}\r\n\r\n\t\treturn valueInPixels;\r\n\t}\r\n\r\n\t/**\r\n\t * Returns if the given value contains an effective constraint.\r\n\t * @private\r\n\t */\r\n\tfunction isConstrainedValue(value) {\r\n\t\treturn value !== undefined && value !== null && value !== 'none';\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the max width or height of the given DOM node in a cross-browser compatible fashion\r\n\t * @param {HTMLElement} domNode - the node to check the constraint on\r\n\t * @param {string} maxStyle - the style that defines the maximum for the direction we are using ('max-width' / 'max-height')\r\n\t * @param {string} percentageProperty - property of parent to use when calculating width as a percentage\r\n\t * @see {@link https://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser}\r\n\t */\r\n\tfunction getConstraintDimension(domNode, maxStyle, percentageProperty) {\r\n\t\tvar view = document.defaultView;\r\n\t\tvar parentNode = helpers$1._getParentNode(domNode);\r\n\t\tvar constrainedNode = view.getComputedStyle(domNode)[maxStyle];\r\n\t\tvar constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];\r\n\t\tvar hasCNode = isConstrainedValue(constrainedNode);\r\n\t\tvar hasCContainer = isConstrainedValue(constrainedContainer);\r\n\t\tvar infinity = Number.POSITIVE_INFINITY;\r\n\r\n\t\tif (hasCNode || hasCContainer) {\r\n\t\t\treturn Math.min(\r\n\t\t\t\thasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,\r\n\t\t\t\thasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);\r\n\t\t}\r\n\r\n\t\treturn 'none';\r\n\t}\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintWidth = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-width', 'clientWidth');\r\n\t};\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintHeight = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-height', 'clientHeight');\r\n\t};\r\n\t/**\r\n\t * @private\r\n \t */\r\n\thelpers$1._calculatePadding = function(container, padding, parentDimension) {\r\n\t\tpadding = helpers$1.getStyle(container, padding);\r\n\r\n\t\treturn padding.indexOf('%') > -1 ? parentDimension * parseInt(padding, 10) / 100 : parseInt(padding, 10);\r\n\t};\r\n\t/**\r\n\t * @private\r\n\t */\r\n\thelpers$1._getParentNode = function(domNode) {\r\n\t\tvar parent = domNode.parentNode;\r\n\t\tif (parent && parent.toString() === '[object ShadowRoot]') {\r\n\t\t\tparent = parent.host;\r\n\t\t}\r\n\t\treturn parent;\r\n\t};\r\n\thelpers$1.getMaximumWidth = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientWidth;\r\n\t\t}\r\n\r\n\t\tvar clientWidth = container.clientWidth;\r\n\t\tvar paddingLeft = helpers$1._calculatePadding(container, 'padding-left', clientWidth);\r\n\t\tvar paddingRight = helpers$1._calculatePadding(container, 'padding-right', clientWidth);\r\n\r\n\t\tvar w = clientWidth - paddingLeft - paddingRight;\r\n\t\tvar cw = helpers$1.getConstraintWidth(domNode);\r\n\t\treturn isNaN(cw) ? w : Math.min(w, cw);\r\n\t};\r\n\thelpers$1.getMaximumHeight = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientHeight;\r\n\t\t}\r\n\r\n\t\tvar clientHeight = container.clientHeight;\r\n\t\tvar paddingTop = helpers$1._calculatePadding(container, 'padding-top', clientHeight);\r\n\t\tvar paddingBottom = helpers$1._calculatePadding(container, 'padding-bottom', clientHeight);\r\n\r\n\t\tvar h = clientHeight - paddingTop - paddingBottom;\r\n\t\tvar ch = helpers$1.getConstraintHeight(domNode);\r\n\t\treturn isNaN(ch) ? h : Math.min(h, ch);\r\n\t};\r\n\thelpers$1.getStyle = function(el, property) {\r\n\t\treturn el.currentStyle ?\r\n\t\t\tel.currentStyle[property] :\r\n\t\t\tdocument.defaultView.getComputedStyle(el, null).getPropertyValue(property);\r\n\t};\r\n\thelpers$1.retinaScale = function(chart, forceRatio) {\r\n\t\tvar pixelRatio = chart.currentDevicePixelRatio = forceRatio || (typeof window !== 'undefined' && window.devicePixelRatio) || 1;\r\n\t\tif (pixelRatio === 1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar height = chart.height;\r\n\t\tvar width = chart.width;\r\n\r\n\t\tcanvas.height = height * pixelRatio;\r\n\t\tcanvas.width = width * pixelRatio;\r\n\t\tchart.ctx.scale(pixelRatio, pixelRatio);\r\n\r\n\t\t// If no style has been set on the canvas, the render size is used as display size,\r\n\t\t// making the chart visually bigger, so let's enforce it to the \"correct\" values.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/3575\r\n\t\tif (!canvas.style.height && !canvas.style.width) {\r\n\t\t\tcanvas.style.height = height + 'px';\r\n\t\t\tcanvas.style.width = width + 'px';\r\n\t\t}\r\n\t};\r\n\t// -- Canvas methods\r\n\thelpers$1.fontString = function(pixelSize, fontStyle, fontFamily) {\r\n\t\treturn fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\r\n\t};\r\n\thelpers$1.longestText = function(ctx, font, arrayOfThings, cache) {\r\n\t\tcache = cache || {};\r\n\t\tvar data = cache.data = cache.data || {};\r\n\t\tvar gc = cache.garbageCollect = cache.garbageCollect || [];\r\n\r\n\t\tif (cache.font !== font) {\r\n\t\t\tdata = cache.data = {};\r\n\t\t\tgc = cache.garbageCollect = [];\r\n\t\t\tcache.font = font;\r\n\t\t}\r\n\r\n\t\tctx.font = font;\r\n\t\tvar longest = 0;\r\n\t\tvar ilen = arrayOfThings.length;\r\n\t\tvar i, j, jlen, thing, nestedThing;\r\n\t\tfor (i = 0; i < ilen; i++) {\r\n\t\t\tthing = arrayOfThings[i];\r\n\r\n\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\tif (thing !== undefined && thing !== null && helpers$1.isArray(thing) !== true) {\r\n\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, thing);\r\n\t\t\t} else if (helpers$1.isArray(thing)) {\r\n\t\t\t\t// if it is an array lets measure each element\r\n\t\t\t\t// to do maybe simplify this function a bit so we can do this more recursively?\r\n\t\t\t\tfor (j = 0, jlen = thing.length; j < jlen; j++) {\r\n\t\t\t\t\tnestedThing = thing[j];\r\n\t\t\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\t\t\tif (nestedThing !== undefined && nestedThing !== null && !helpers$1.isArray(nestedThing)) {\r\n\t\t\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, nestedThing);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tif (gcLen > arrayOfThings.length) {\r\n\t\t\tfor (i = 0; i < gcLen; i++) {\r\n\t\t\t\tdelete data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\thelpers$1.measureText = function(ctx, data, gc, longest, string) {\r\n\t\tvar textWidth = data[string];\r\n\t\tif (!textWidth) {\r\n\t\t\ttextWidth = data[string] = ctx.measureText(string).width;\r\n\t\t\tgc.push(string);\r\n\t\t}\r\n\t\tif (textWidth > longest) {\r\n\t\t\tlongest = textWidth;\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\r\n\t/**\r\n\t * @deprecated\r\n\t */\r\n\thelpers$1.numberOfLabelLines = function(arrayOfThings) {\r\n\t\tvar numberOfLines = 1;\r\n\t\thelpers$1.each(arrayOfThings, function(thing) {\r\n\t\t\tif (helpers$1.isArray(thing)) {\r\n\t\t\t\tif (thing.length > numberOfLines) {\r\n\t\t\t\t\tnumberOfLines = thing.length;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn numberOfLines;\r\n\t};\r\n\r\n\thelpers$1.color = !chartjsColor ?\r\n\t\tfunction(value) {\r\n\t\t\tconsole.error('Color.js not found!');\r\n\t\t\treturn value;\r\n\t\t} :\r\n\t\tfunction(value) {\r\n\t\t\t/* global CanvasGradient */\r\n\t\t\tif (value instanceof CanvasGradient) {\r\n\t\t\t\tvalue = core_defaults.global.defaultColor;\r\n\t\t\t}\r\n\r\n\t\t\treturn chartjsColor(value);\r\n\t\t};\r\n\r\n\thelpers$1.getHoverColor = function(colorValue) {\r\n\t\t/* global CanvasPattern */\r\n\t\treturn (colorValue instanceof CanvasPattern || colorValue instanceof CanvasGradient) ?\r\n\t\t\tcolorValue :\r\n\t\t\thelpers$1.color(colorValue).saturate(0.5).darken(0.1).rgbString();\r\n\t};\r\n};\n\nfunction abstract() {\r\n\tthrow new Error(\r\n\t\t'This method is not implemented: either no adapter can ' +\r\n\t\t'be found or an incomplete integration was provided.'\r\n\t);\r\n}\r\n\r\n/**\r\n * Date adapter (current used by the time scale)\r\n * @namespace Chart._adapters._date\r\n * @memberof Chart._adapters\r\n * @private\r\n */\r\n\r\n/**\r\n * Currently supported unit string values.\r\n * @typedef {('millisecond'|'second'|'minute'|'hour'|'day'|'week'|'month'|'quarter'|'year')}\r\n * @memberof Chart._adapters._date\r\n * @name Unit\r\n */\r\n\r\n/**\r\n * @class\r\n */\r\nfunction DateAdapter(options) {\r\n\tthis.options = options || {};\r\n}\r\n\r\nhelpers$1.extend(DateAdapter.prototype, /** @lends DateAdapter */ {\r\n\t/**\r\n\t * Returns a map of time formats for the supported formatting units defined\r\n\t * in Unit as well as 'datetime' representing a detailed date/time string.\r\n\t * @returns {{string: string}}\r\n\t */\r\n\tformats: abstract,\r\n\r\n\t/**\r\n\t * Parses the given `value` and return the associated timestamp.\r\n\t * @param {any} value - the value to parse (usually comes from the data)\r\n\t * @param {string} [format] - the expected data format\r\n\t * @returns {(number|null)}\r\n\t * @function\r\n\t */\r\n\tparse: abstract,\r\n\r\n\t/**\r\n\t * Returns the formatted date in the specified `format` for a given `timestamp`.\r\n\t * @param {number} timestamp - the timestamp to format\r\n\t * @param {string} format - the date/time token\r\n\t * @return {string}\r\n\t * @function\r\n\t */\r\n\tformat: abstract,\r\n\r\n\t/**\r\n\t * Adds the specified `amount` of `unit` to the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {number} amount - the amount to add\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tadd: abstract,\r\n\r\n\t/**\r\n\t * Returns the number of `unit` between the given timestamps.\r\n\t * @param {number} max - the input timestamp (reference)\r\n\t * @param {number} min - the timestamp to substract\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tdiff: abstract,\r\n\r\n\t/**\r\n\t * Returns start of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @param {number} [weekday] - the ISO day of the week with 1 being Monday\r\n\t * and 7 being Sunday (only needed if param *unit* is `isoWeek`).\r\n\t * @function\r\n\t */\r\n\tstartOf: abstract,\r\n\r\n\t/**\r\n\t * Returns end of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @function\r\n\t */\r\n\tendOf: abstract,\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility for scale.getValueForPixel(),\r\n\t * this method should be overridden only by the moment adapter.\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(value) {\r\n\t\treturn value;\r\n\t}\r\n});\r\n\r\nDateAdapter.override = function(members) {\r\n\thelpers$1.extend(DateAdapter.prototype, members);\r\n};\r\n\r\nvar _date = DateAdapter;\n\nvar core_adapters = {\n\t_date: _date\n};\n\n/**\r\n * Namespace to hold static tick generation functions\r\n * @namespace Chart.Ticks\r\n */\r\nvar core_ticks = {\r\n\t/**\r\n\t * Namespace to hold formatters for different types of ticks\r\n\t * @namespace Chart.Ticks.formatters\r\n\t */\r\n\tformatters: {\r\n\t\t/**\r\n\t\t * Formatter for value labels\r\n\t\t * @method Chart.Ticks.formatters.values\r\n\t\t * @param value the value to display\r\n\t\t * @return {string|string[]} the label to display\r\n\t\t */\r\n\t\tvalues: function(value) {\r\n\t\t\treturn helpers$1.isArray(value) ? value : '' + value;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Formatter for linear numeric ticks\r\n\t\t * @method Chart.Ticks.formatters.linear\r\n\t\t * @param tickValue {number} the value to be formatted\r\n\t\t * @param index {number} the position of the tickValue parameter in the ticks array\r\n\t\t * @param ticks {number[]} the list of ticks being converted\r\n\t\t * @return {string} string representation of the tickValue parameter\r\n\t\t */\r\n\t\tlinear: function(tickValue, index, ticks) {\r\n\t\t\t// If we have lots of ticks, don't use the ones\r\n\t\t\tvar delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];\r\n\r\n\t\t\t// If we have a number like 2.5 as the delta, figure out how many decimal places we need\r\n\t\t\tif (Math.abs(delta) > 1) {\r\n\t\t\t\tif (tickValue !== Math.floor(tickValue)) {\r\n\t\t\t\t\t// not an integer\r\n\t\t\t\t\tdelta = tickValue - Math.floor(tickValue);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tvar logDelta = helpers$1.log10(Math.abs(delta));\r\n\t\t\tvar tickString = '';\r\n\r\n\t\t\tif (tickValue !== 0) {\r\n\t\t\t\tvar maxTick = Math.max(Math.abs(ticks[0]), Math.abs(ticks[ticks.length - 1]));\r\n\t\t\t\tif (maxTick < 1e-4) { // all ticks are small numbers; use scientific notation\r\n\t\t\t\t\tvar logTick = helpers$1.log10(Math.abs(tickValue));\r\n\t\t\t\t\tvar numExponential = Math.floor(logTick) - Math.floor(logDelta);\r\n\t\t\t\t\tnumExponential = Math.max(Math.min(numExponential, 20), 0);\r\n\t\t\t\t\ttickString = tickValue.toExponential(numExponential);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar numDecimal = -1 * Math.floor(logDelta);\r\n\t\t\t\t\tnumDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places\r\n\t\t\t\t\ttickString = tickValue.toFixed(numDecimal);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\ttickString = '0'; // never show decimal places for 0\r\n\t\t\t}\r\n\r\n\t\t\treturn tickString;\r\n\t\t},\r\n\r\n\t\tlogarithmic: function(tickValue, index, ticks) {\r\n\t\t\tvar remain = tickValue / (Math.pow(10, Math.floor(helpers$1.log10(tickValue))));\r\n\r\n\t\t\tif (tickValue === 0) {\r\n\t\t\t\treturn '0';\r\n\t\t\t} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {\r\n\t\t\t\treturn tickValue.toExponential();\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n};\n\nvar isArray = helpers$1.isArray;\r\nvar isNullOrUndef = helpers$1.isNullOrUndef;\r\nvar valueOrDefault$a = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault = helpers$1.valueAtIndexOrDefault;\r\n\r\ncore_defaults._set('scale', {\r\n\tdisplay: true,\r\n\tposition: 'left',\r\n\toffset: false,\r\n\r\n\t// grid line settings\r\n\tgridLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tdrawBorder: true,\r\n\t\tdrawOnChartArea: true,\r\n\t\tdrawTicks: true,\r\n\t\ttickMarkLength: 10,\r\n\t\tzeroLineWidth: 1,\r\n\t\tzeroLineColor: 'rgba(0,0,0,0.25)',\r\n\t\tzeroLineBorderDash: [],\r\n\t\tzeroLineBorderDashOffset: 0.0,\r\n\t\toffsetGridLines: false,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\t// scale label\r\n\tscaleLabel: {\r\n\t\t// display property\r\n\t\tdisplay: false,\r\n\r\n\t\t// actual label\r\n\t\tlabelString: '',\r\n\r\n\t\t// top/bottom padding\r\n\t\tpadding: {\r\n\t\t\ttop: 4,\r\n\t\t\tbottom: 4\r\n\t\t}\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tbeginAtZero: false,\r\n\t\tminRotation: 0,\r\n\t\tmaxRotation: 50,\r\n\t\tmirror: false,\r\n\t\tpadding: 0,\r\n\t\treverse: false,\r\n\t\tdisplay: true,\r\n\t\tautoSkip: true,\r\n\t\tautoSkipPadding: 0,\r\n\t\tlabelOffset: 0,\r\n\t\t// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.\r\n\t\tcallback: core_ticks.formatters.values,\r\n\t\tminor: {},\r\n\t\tmajor: {}\r\n\t}\r\n});\r\n\r\n/** Returns a new array containing numItems from arr */\r\nfunction sample(arr, numItems) {\r\n\tvar result = [];\r\n\tvar increment = arr.length / numItems;\r\n\tvar i = 0;\r\n\tvar len = arr.length;\r\n\r\n\tfor (; i < len; i += increment) {\r\n\t\tresult.push(arr[Math.floor(i)]);\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction getPixelForGridLine(scale, index, offsetGridLines) {\r\n\tvar length = scale.getTicks().length;\r\n\tvar validIndex = Math.min(index, length - 1);\r\n\tvar lineValue = scale.getPixelForTick(validIndex);\r\n\tvar start = scale._startPixel;\r\n\tvar end = scale._endPixel;\r\n\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\tvar offset;\r\n\r\n\tif (offsetGridLines) {\r\n\t\tif (length === 1) {\r\n\t\t\toffset = Math.max(lineValue - start, end - lineValue);\r\n\t\t} else if (index === 0) {\r\n\t\t\toffset = (scale.getPixelForTick(1) - lineValue) / 2;\r\n\t\t} else {\r\n\t\t\toffset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\r\n\t\t}\r\n\t\tlineValue += validIndex < index ? offset : -offset;\r\n\r\n\t\t// Return undefined if the pixel is out of the range\r\n\t\tif (lineValue < start - epsilon || lineValue > end + epsilon) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\treturn lineValue;\r\n}\r\n\r\nfunction garbageCollect(caches, length) {\r\n\thelpers$1.each(caches, function(cache) {\r\n\t\tvar gc = cache.gc;\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tvar i;\r\n\t\tif (gcLen > length) {\r\n\t\t\tfor (i = 0; i < gcLen; ++i) {\r\n\t\t\t\tdelete cache.data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Returns {width, height, offset} objects for the first, last, widest, highest tick\r\n * labels where offset indicates the anchor point offset from the top in pixels.\r\n */\r\nfunction computeLabelSizes(ctx, tickFonts, ticks, caches) {\r\n\tvar length = ticks.length;\r\n\tvar widths = [];\r\n\tvar heights = [];\r\n\tvar offsets = [];\r\n\tvar widestLabelSize = 0;\r\n\tvar highestLabelSize = 0;\r\n\tvar i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;\r\n\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tlabel = ticks[i].label;\r\n\t\ttickFont = ticks[i].major ? tickFonts.major : tickFonts.minor;\r\n\t\tctx.font = fontString = tickFont.string;\r\n\t\tcache = caches[fontString] = caches[fontString] || {data: {}, gc: []};\r\n\t\tlineHeight = tickFont.lineHeight;\r\n\t\twidth = height = 0;\r\n\t\t// Undefined labels and arrays should not be measured\r\n\t\tif (!isNullOrUndef(label) && !isArray(label)) {\r\n\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, label);\r\n\t\t\theight = lineHeight;\r\n\t\t} else if (isArray(label)) {\r\n\t\t\t// if it is an array let's measure each element\r\n\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\tnestedLabel = label[j];\r\n\t\t\t\t// Undefined labels and arrays should not be measured\r\n\t\t\t\tif (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\r\n\t\t\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, nestedLabel);\r\n\t\t\t\t\theight += lineHeight;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\twidths.push(width);\r\n\t\theights.push(height);\r\n\t\toffsets.push(lineHeight / 2);\r\n\t\twidestLabelSize = Math.max(width, widestLabelSize);\r\n\t\thighestLabelSize = Math.max(height, highestLabelSize);\r\n\t}\r\n\tgarbageCollect(caches, length);\r\n\r\n\twidest = widths.indexOf(widestLabelSize);\r\n\thighest = heights.indexOf(highestLabelSize);\r\n\r\n\tfunction valueAt(idx) {\r\n\t\treturn {\r\n\t\t\twidth: widths[idx] || 0,\r\n\t\t\theight: heights[idx] || 0,\r\n\t\t\toffset: offsets[idx] || 0\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tfirst: valueAt(0),\r\n\t\tlast: valueAt(length - 1),\r\n\t\twidest: valueAt(widest),\r\n\t\thighest: valueAt(highest)\r\n\t};\r\n}\r\n\r\nfunction getTickMarkLength(options) {\r\n\treturn options.drawTicks ? options.tickMarkLength : 0;\r\n}\r\n\r\nfunction getScaleLabelHeight(options) {\r\n\tvar font, padding;\r\n\r\n\tif (!options.display) {\r\n\t\treturn 0;\r\n\t}\r\n\r\n\tfont = helpers$1.options._parseFont(options);\r\n\tpadding = helpers$1.options.toPadding(options.padding);\r\n\r\n\treturn font.lineHeight + padding.height;\r\n}\r\n\r\nfunction parseFontOptions(options, nestedOpts) {\r\n\treturn helpers$1.extend(helpers$1.options._parseFont({\r\n\t\tfontFamily: valueOrDefault$a(nestedOpts.fontFamily, options.fontFamily),\r\n\t\tfontSize: valueOrDefault$a(nestedOpts.fontSize, options.fontSize),\r\n\t\tfontStyle: valueOrDefault$a(nestedOpts.fontStyle, options.fontStyle),\r\n\t\tlineHeight: valueOrDefault$a(nestedOpts.lineHeight, options.lineHeight)\r\n\t}), {\r\n\t\tcolor: helpers$1.options.resolve([nestedOpts.fontColor, options.fontColor, core_defaults.global.defaultFontColor])\r\n\t});\r\n}\r\n\r\nfunction parseTickFontOptions(options) {\r\n\tvar minor = parseFontOptions(options, options.minor);\r\n\tvar major = options.major.enabled ? parseFontOptions(options, options.major) : minor;\r\n\r\n\treturn {minor: minor, major: major};\r\n}\r\n\r\nfunction nonSkipped(ticksToFilter) {\r\n\tvar filtered = [];\r\n\tvar item, index, len;\r\n\tfor (index = 0, len = ticksToFilter.length; index < len; ++index) {\r\n\t\titem = ticksToFilter[index];\r\n\t\tif (typeof item._index !== 'undefined') {\r\n\t\t\tfiltered.push(item);\r\n\t\t}\r\n\t}\r\n\treturn filtered;\r\n}\r\n\r\nfunction getEvenSpacing(arr) {\r\n\tvar len = arr.length;\r\n\tvar i, diff;\r\n\r\n\tif (len < 2) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tfor (diff = arr[0], i = 1; i < len; ++i) {\r\n\t\tif (arr[i] - arr[i - 1] !== diff) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\treturn diff;\r\n}\r\n\r\nfunction calculateSpacing(majorIndices, ticks, axisLength, ticksLimit) {\r\n\tvar evenMajorSpacing = getEvenSpacing(majorIndices);\r\n\tvar spacing = (ticks.length - 1) / ticksLimit;\r\n\tvar factors, factor, i, ilen;\r\n\r\n\t// If the major ticks are evenly spaced apart, place the minor ticks\r\n\t// so that they divide the major ticks into even chunks\r\n\tif (!evenMajorSpacing) {\r\n\t\treturn Math.max(spacing, 1);\r\n\t}\r\n\r\n\tfactors = helpers$1.math._factorize(evenMajorSpacing);\r\n\tfor (i = 0, ilen = factors.length - 1; i < ilen; i++) {\r\n\t\tfactor = factors[i];\r\n\t\tif (factor > spacing) {\r\n\t\t\treturn factor;\r\n\t\t}\r\n\t}\r\n\treturn Math.max(spacing, 1);\r\n}\r\n\r\nfunction getMajorIndices(ticks) {\r\n\tvar result = [];\r\n\tvar i, ilen;\r\n\tfor (i = 0, ilen = ticks.length; i < ilen; i++) {\r\n\t\tif (ticks[i].major) {\r\n\t\t\tresult.push(i);\r\n\t\t}\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction skipMajors(ticks, majorIndices, spacing) {\r\n\tvar count = 0;\r\n\tvar next = majorIndices[0];\r\n\tvar i, tick;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tfor (i = 0; i < ticks.length; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = majorIndices[count * spacing];\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction skip(ticks, spacing, majorStart, majorEnd) {\r\n\tvar start = valueOrDefault$a(majorStart, 0);\r\n\tvar end = Math.min(valueOrDefault$a(majorEnd, ticks.length), ticks.length);\r\n\tvar count = 0;\r\n\tvar length, i, tick, next;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tif (majorEnd) {\r\n\t\tlength = majorEnd - majorStart;\r\n\t\tspacing = length / Math.floor(length / spacing);\r\n\t}\r\n\r\n\tnext = start;\r\n\r\n\twhile (next < 0) {\r\n\t\tcount++;\r\n\t\tnext = Math.round(start + count * spacing);\r\n\t}\r\n\r\n\tfor (i = Math.max(start, 0); i < end; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = Math.round(start + count * spacing);\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nvar Scale = core_element.extend({\r\n\r\n\tzeroLineIndex: 0,\r\n\r\n\t/**\r\n\t * Get the padding needed for the scale\r\n\t * @method getPadding\r\n\t * @private\r\n\t * @returns {Padding} the necessary padding\r\n\t */\r\n\tgetPadding: function() {\r\n\t\tvar me = this;\r\n\t\treturn {\r\n\t\t\tleft: me.paddingLeft || 0,\r\n\t\t\ttop: me.paddingTop || 0,\r\n\t\t\tright: me.paddingRight || 0,\r\n\t\t\tbottom: me.paddingBottom || 0\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the scale tick objects ({label, major})\r\n\t * @since 2.7\r\n\t */\r\n\tgetTicks: function() {\r\n\t\treturn this._ticks;\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getLabels: function() {\r\n\t\tvar data = this.chart.data;\r\n\t\treturn this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecyle. Utilities then follow.\r\n\t// Any function defined here is inherited by all scale types.\r\n\t// Any function can be extended by the scale type\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.Scale.mergeTicksOptions\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\tmergeTicksOptions: function() {\r\n\t\t// noop\r\n\t},\r\n\r\n\tbeforeUpdate: function() {\r\n\t\thelpers$1.callback(this.options.beforeUpdate, [this]);\r\n\t},\r\n\r\n\t/**\r\n\t * @param {number} maxWidth - the max width in pixels\r\n\t * @param {number} maxHeight - the max height in pixels\r\n\t * @param {object} margins - the space between the edge of the other scales and edge of the chart\r\n\t *   This space comes from two sources:\r\n\t *     - padding - space that's required to show the labels at the edges of the scale\r\n\t *     - thickness of scales or legends in another orientation\r\n\t */\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar sampleSize = tickOpts.sampleSize;\r\n\t\tvar i, ilen, labels, ticks, samplingEnabled;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = helpers$1.extend({\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t}, margins);\r\n\r\n\t\tme._ticks = null;\r\n\t\tme.ticks = null;\r\n\t\tme._labelSizes = null;\r\n\t\tme._maxLabelLines = 0;\r\n\t\tme.longestLabelWidth = 0;\r\n\t\tme.longestTextCache = me.longestTextCache || {};\r\n\t\tme._gridLineItems = null;\r\n\t\tme._labelItems = null;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\r\n\t\t// Data min/max\r\n\t\tme.beforeDataLimits();\r\n\t\tme.determineDataLimits();\r\n\t\tme.afterDataLimits();\r\n\r\n\t\t// Ticks - `this.ticks` is now DEPRECATED!\r\n\t\t// Internal ticks are now stored as objects in the PRIVATE `this._ticks` member\r\n\t\t// and must not be accessed directly from outside this class. `this.ticks` being\r\n\t\t// around for long time and not marked as private, we can't change its structure\r\n\t\t// without unexpected breaking changes. If you need to access the scale ticks,\r\n\t\t// use scale.getTicks() instead.\r\n\r\n\t\tme.beforeBuildTicks();\r\n\r\n\t\t// New implementations should return an array of objects but for BACKWARD COMPAT,\r\n\t\t// we still support no return (`this.ticks` internally set by calling this method).\r\n\t\tticks = me.buildTicks() || [];\r\n\r\n\t\t// Allow modification of ticks in callback.\r\n\t\tticks = me.afterBuildTicks(ticks) || ticks;\r\n\r\n\t\t// Ensure ticks contains ticks in new tick format\r\n\t\tif ((!ticks || !ticks.length) && me.ticks) {\r\n\t\t\tticks = [];\r\n\t\t\tfor (i = 0, ilen = me.ticks.length; i < ilen; ++i) {\r\n\t\t\t\tticks.push({\r\n\t\t\t\t\tvalue: me.ticks[i],\r\n\t\t\t\t\tmajor: false\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme._ticks = ticks;\r\n\r\n\t\t// Compute tick rotation and fit using a sampled subset of labels\r\n\t\t// We generally don't need to compute the size of every single label for determining scale size\r\n\t\tsamplingEnabled = sampleSize < ticks.length;\r\n\t\tlabels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks);\r\n\r\n\t\t// _configure is called twice, once here, once from core.controller.updateLayout.\r\n\t\t// Here we haven't been positioned yet, but dimensions are correct.\r\n\t\t// Variables set in _configure are needed for calculateTickRotation, and\r\n\t\t// it's ok that coordinates are not correct there, only dimensions matter.\r\n\t\tme._configure();\r\n\r\n\t\t// Tick Rotation\r\n\t\tme.beforeCalculateTickRotation();\r\n\t\tme.calculateTickRotation();\r\n\t\tme.afterCalculateTickRotation();\r\n\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\r\n\t\t// Auto-skip\r\n\t\tme._ticksToDraw = tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto') ? me._autoSkip(ticks) : ticks;\r\n\r\n\t\tif (samplingEnabled) {\r\n\t\t\t// Generate labels using all non-skipped ticks\r\n\t\t\tlabels = me._convertTicksToLabels(me._ticksToDraw);\r\n\t\t}\r\n\r\n\t\tme.ticks = labels;   // BACKWARD COMPATIBILITY\r\n\r\n\t\t// IMPORTANT: after this point, we consider that `this.ticks` will NEVER change!\r\n\r\n\t\tme.afterUpdate();\r\n\r\n\t\t// TODO(v3): remove minSize as a public property and return value from all layout boxes. It is unused\r\n\t\t// make maxWidth and maxHeight private\r\n\t\treturn me.minSize;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar reversePixels = me.options.ticks.reverse;\r\n\t\tvar startPixel, endPixel;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tstartPixel = me.left;\r\n\t\t\tendPixel = me.right;\r\n\t\t} else {\r\n\t\t\tstartPixel = me.top;\r\n\t\t\tendPixel = me.bottom;\r\n\t\t\t// by default vertical scales are from bottom to top, so pixels are reversed\r\n\t\t\treversePixels = !reversePixels;\r\n\t\t}\r\n\t\tme._startPixel = startPixel;\r\n\t\tme._endPixel = endPixel;\r\n\t\tme._reversePixels = reversePixels;\r\n\t\tme._length = endPixel - startPixel;\r\n\t},\r\n\r\n\tafterUpdate: function() {\r\n\t\thelpers$1.callback(this.options.afterUpdate, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.beforeSetDimensions, [this]);\r\n\t},\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\t},\r\n\tafterSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.afterSetDimensions, [this]);\r\n\t},\r\n\r\n\t// Data limits\r\n\tbeforeDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.beforeDataLimits, [this]);\r\n\t},\r\n\tdetermineDataLimits: helpers$1.noop,\r\n\tafterDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.afterDataLimits, [this]);\r\n\t},\r\n\r\n\t//\r\n\tbeforeBuildTicks: function() {\r\n\t\thelpers$1.callback(this.options.beforeBuildTicks, [this]);\r\n\t},\r\n\tbuildTicks: helpers$1.noop,\r\n\tafterBuildTicks: function(ticks) {\r\n\t\tvar me = this;\r\n\t\t// ticks is empty for old axis implementations here\r\n\t\tif (isArray(ticks) && ticks.length) {\r\n\t\t\treturn helpers$1.callback(me.options.afterBuildTicks, [me, ticks]);\r\n\t\t}\r\n\t\t// Support old implementations (that modified `this.ticks` directly in buildTicks)\r\n\t\tme.ticks = helpers$1.callback(me.options.afterBuildTicks, [me, me.ticks]) || me.ticks;\r\n\t\treturn ticks;\r\n\t},\r\n\r\n\tbeforeTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.beforeTickToLabelConversion, [this]);\r\n\t},\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\t// Convert ticks to strings\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tme.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, this);\r\n\t},\r\n\tafterTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.afterTickToLabelConversion, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.beforeCalculateTickRotation, [this]);\r\n\t},\r\n\tcalculateTickRotation: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar numTicks = me.getTicks().length;\r\n\t\tvar minRotation = tickOpts.minRotation || 0;\r\n\t\tvar maxRotation = tickOpts.maxRotation;\r\n\t\tvar labelRotation = minRotation;\r\n\t\tvar labelSizes, maxLabelWidth, maxLabelHeight, maxWidth, tickWidth, maxHeight, maxLabelDiagonal;\r\n\r\n\t\tif (!me._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !me.isHorizontal()) {\r\n\t\t\tme.labelRotation = minRotation;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlabelSizes = me._getLabelSizes();\r\n\t\tmaxLabelWidth = labelSizes.widest.width;\r\n\t\tmaxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset;\r\n\r\n\t\t// Estimate the width of each grid based on the canvas width, the maximum\r\n\t\t// label width and the number of tick intervals\r\n\t\tmaxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);\r\n\t\ttickWidth = options.offset ? me.maxWidth / numTicks : maxWidth / (numTicks - 1);\r\n\r\n\t\t// Allow 3 pixels x2 padding either side for label readability\r\n\t\tif (maxLabelWidth + 6 > tickWidth) {\r\n\t\t\ttickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\r\n\t\t\tmaxHeight = me.maxHeight - getTickMarkLength(options.gridLines)\r\n\t\t\t\t- tickOpts.padding - getScaleLabelHeight(options.scaleLabel);\r\n\t\t\tmaxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\r\n\t\t\tlabelRotation = helpers$1.toDegrees(Math.min(\r\n\t\t\t\tMath.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)),\r\n\t\t\t\tMath.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)\r\n\t\t\t));\r\n\t\t\tlabelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\r\n\t\t}\r\n\r\n\t\tme.labelRotation = labelRotation;\r\n\t},\r\n\tafterCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.afterCalculateTickRotation, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeFit: function() {\r\n\t\thelpers$1.callback(this.options.beforeFit, [this]);\r\n\t},\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\t// Reset\r\n\t\tvar minSize = me.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\r\n\t\tvar chart = me.chart;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\t\tvar scaleLabelOpts = opts.scaleLabel;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar display = me._isVisible();\r\n\t\tvar isBottom = opts.position === 'bottom';\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\t// Width\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth;\r\n\t\t} else if (display) {\r\n\t\t\tminSize.width = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// height\r\n\t\tif (!isHorizontal) {\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t} else if (display) {\r\n\t\t\tminSize.height = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// Don't bother fitting the ticks if we are not showing the labels\r\n\t\tif (tickOpts.display && display) {\r\n\t\t\tvar tickFonts = parseTickFontOptions(tickOpts);\r\n\t\t\tvar labelSizes = me._getLabelSizes();\r\n\t\t\tvar firstLabelSize = labelSizes.first;\r\n\t\t\tvar lastLabelSize = labelSizes.last;\r\n\t\t\tvar widestLabelSize = labelSizes.widest;\r\n\t\t\tvar highestLabelSize = labelSizes.highest;\r\n\t\t\tvar lineSpace = tickFonts.minor.lineHeight * 0.4;\r\n\t\t\tvar tickPadding = tickOpts.padding;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\t// A horizontal axis is more constrained by the height.\r\n\t\t\t\tvar isRotated = me.labelRotation !== 0;\r\n\t\t\t\tvar angleRadians = helpers$1.toRadians(me.labelRotation);\r\n\t\t\t\tvar cosRotation = Math.cos(angleRadians);\r\n\t\t\t\tvar sinRotation = Math.sin(angleRadians);\r\n\r\n\t\t\t\tvar labelHeight = sinRotation * widestLabelSize.width\r\n\t\t\t\t\t+ cosRotation * (highestLabelSize.height - (isRotated ? highestLabelSize.offset : 0))\r\n\t\t\t\t\t+ (isRotated ? 0 : lineSpace); // padding\r\n\r\n\t\t\t\tminSize.height = Math.min(me.maxHeight, minSize.height + labelHeight + tickPadding);\r\n\r\n\t\t\t\tvar offsetLeft = me.getPixelForTick(0) - me.left;\r\n\t\t\t\tvar offsetRight = me.right - me.getPixelForTick(me.getTicks().length - 1);\r\n\t\t\t\tvar paddingLeft, paddingRight;\r\n\r\n\t\t\t\t// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned\r\n\t\t\t\t// which means that the right padding is dominated by the font height\r\n\t\t\t\tif (isRotated) {\r\n\t\t\t\t\tpaddingLeft = isBottom ?\r\n\t\t\t\t\t\tcosRotation * firstLabelSize.width + sinRotation * firstLabelSize.offset :\r\n\t\t\t\t\t\tsinRotation * (firstLabelSize.height - firstLabelSize.offset);\r\n\t\t\t\t\tpaddingRight = isBottom ?\r\n\t\t\t\t\t\tsinRotation * (lastLabelSize.height - lastLabelSize.offset) :\r\n\t\t\t\t\t\tcosRotation * lastLabelSize.width + sinRotation * lastLabelSize.offset;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tpaddingLeft = firstLabelSize.width / 2;\r\n\t\t\t\t\tpaddingRight = lastLabelSize.width / 2;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Adjust padding taking into account changes in offsets\r\n\t\t\t\t// and add 3 px to move away from canvas edges\r\n\t\t\t\tme.paddingLeft = Math.max((paddingLeft - offsetLeft) * me.width / (me.width - offsetLeft), 0) + 3;\r\n\t\t\t\tme.paddingRight = Math.max((paddingRight - offsetRight) * me.width / (me.width - offsetRight), 0) + 3;\r\n\t\t\t} else {\r\n\t\t\t\t// A vertical axis is more constrained by the width. Labels are the\r\n\t\t\t\t// dominant factor here, so get that length first and account for padding\r\n\t\t\t\tvar labelWidth = tickOpts.mirror ? 0 :\r\n\t\t\t\t\t// use lineSpace for consistency with horizontal axis\r\n\t\t\t\t\t// tickPadding is not implemented for horizontal\r\n\t\t\t\t\twidestLabelSize.width + tickPadding + lineSpace;\r\n\r\n\t\t\t\tminSize.width = Math.min(me.maxWidth, minSize.width + labelWidth);\r\n\r\n\t\t\t\tme.paddingTop = firstLabelSize.height / 2;\r\n\t\t\t\tme.paddingBottom = lastLabelSize.height / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.handleMargins();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tme.width = me._length = chart.width - me.margins.left - me.margins.right;\r\n\t\t\tme.height = minSize.height;\r\n\t\t} else {\r\n\t\t\tme.width = minSize.width;\r\n\t\t\tme.height = me._length = chart.height - me.margins.top - me.margins.bottom;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle margins and padding interactions\r\n\t * @private\r\n\t */\r\n\thandleMargins: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.margins) {\r\n\t\t\tme.margins.left = Math.max(me.paddingLeft, me.margins.left);\r\n\t\t\tme.margins.top = Math.max(me.paddingTop, me.margins.top);\r\n\t\t\tme.margins.right = Math.max(me.paddingRight, me.margins.right);\r\n\t\t\tme.margins.bottom = Math.max(me.paddingBottom, me.margins.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tafterFit: function() {\r\n\t\thelpers$1.callback(this.options.afterFit, [this]);\r\n\t},\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\tisFullWidth: function() {\r\n\t\treturn this.options.fullWidth;\r\n\t},\r\n\r\n\t// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not\r\n\tgetRightValue: function(rawValue) {\r\n\t\t// Null and undefined values first\r\n\t\tif (isNullOrUndef(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\t\t// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values\r\n\t\tif ((typeof rawValue === 'number' || rawValue instanceof Number) && !isFinite(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// If it is in fact an object, dive in one more level\r\n\t\tif (rawValue) {\r\n\t\t\tif (this.isHorizontal()) {\r\n\t\t\t\tif (rawValue.x !== undefined) {\r\n\t\t\t\t\treturn this.getRightValue(rawValue.x);\r\n\t\t\t\t}\r\n\t\t\t} else if (rawValue.y !== undefined) {\r\n\t\t\t\treturn this.getRightValue(rawValue.y);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Value is good, return it\r\n\t\treturn rawValue;\r\n\t},\r\n\r\n\t_convertTicksToLabels: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar labels, i, ilen;\r\n\r\n\t\tme.ticks = ticks.map(function(tick) {\r\n\t\t\treturn tick.value;\r\n\t\t});\r\n\r\n\t\tme.beforeTickToLabelConversion();\r\n\r\n\t\t// New implementations should return the formatted tick labels but for BACKWARD\r\n\t\t// COMPAT, we still support no return (`this.ticks` internally changed by calling\r\n\t\t// this method and supposed to contain only string values).\r\n\t\tlabels = me.convertTicksToLabels(ticks) || me.ticks;\r\n\r\n\t\tme.afterTickToLabelConversion();\r\n\r\n\t\t// BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tticks[i].label = labels[i];\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSizes: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelSizes = me._labelSizes;\r\n\r\n\t\tif (!labelSizes) {\r\n\t\t\tme._labelSizes = labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(me.options.ticks), me.getTicks(), me.longestTextCache);\r\n\t\t\tme.longestLabelWidth = labelSizes.widest.width;\r\n\t\t}\r\n\r\n\t\treturn labelSizes;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_parseValue: function(value) {\r\n\t\tvar start, end, min, max;\r\n\r\n\t\tif (isArray(value)) {\r\n\t\t\tstart = +this.getRightValue(value[0]);\r\n\t\t\tend = +this.getRightValue(value[1]);\r\n\t\t\tmin = Math.min(start, end);\r\n\t\t\tmax = Math.max(start, end);\r\n\t\t} else {\r\n\t\t\tvalue = +this.getRightValue(value);\r\n\t\t\tstart = undefined;\r\n\t\t\tend = value;\r\n\t\t\tmin = value;\r\n\t\t\tmax = value;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tmin: min,\r\n\t\t\tmax: max,\r\n\t\t\tstart: start,\r\n\t\t\tend: end\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getScaleLabel: function(rawValue) {\r\n\t\tvar v = this._parseValue(rawValue);\r\n\t\tif (v.start !== undefined) {\r\n\t\t\treturn '[' + v.start + ', ' + v.end + ']';\r\n\t\t}\r\n\r\n\t\treturn +this.getRightValue(rawValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Used to get the value to display in the tooltip for the data at the given index\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetLabelForIndex: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the given data point. Value can either be an index or a numerical value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param value\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetPixelForValue: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Used to get the data value from a given pixel. This is the inverse of getPixelForValue\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param pixel\r\n\t */\r\n\tgetValueForPixel: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the tick at the given index\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar numTicks = me._ticks.length;\r\n\t\tvar tickWidth = 1 / Math.max(numTicks - (offset ? 0 : 1), 1);\r\n\r\n\t\treturn index < 0 || index > numTicks - 1\r\n\t\t\t? null\r\n\t\t\t: me.getPixelForDecimal(index * tickWidth + (offset ? tickWidth / 2 : 0));\r\n\t},\r\n\r\n\t/**\r\n\t * Utility for getting the pixel location of a percentage of scale\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForDecimal: function(decimal) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (me._reversePixels) {\r\n\t\t\tdecimal = 1 - decimal;\r\n\t\t}\r\n\r\n\t\treturn me._startPixel + decimal * me._length;\r\n\t},\r\n\r\n\tgetDecimalForPixel: function(pixel) {\r\n\t\tvar decimal = (pixel - this._startPixel) / this._length;\r\n\t\treturn this._reversePixels ? 1 - decimal : decimal;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the pixel for the minimum chart value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetBasePixel: function() {\r\n\t\treturn this.getPixelForValue(this.getBaseValue());\r\n\t},\r\n\r\n\tgetBaseValue: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a subset of ticks to be plotted to avoid overlapping labels.\r\n\t * @private\r\n\t */\r\n\t_autoSkip: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar axisLength = me._length;\r\n\t\tvar ticksLimit = tickOpts.maxTicksLimit || axisLength / me._tickSize() + 1;\r\n\t\tvar majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\r\n\t\tvar numMajorIndices = majorIndices.length;\r\n\t\tvar first = majorIndices[0];\r\n\t\tvar last = majorIndices[numMajorIndices - 1];\r\n\t\tvar i, ilen, spacing, avgMajorSpacing;\r\n\r\n\t\t// If there are too many major ticks to display them all\r\n\t\tif (numMajorIndices > ticksLimit) {\r\n\t\t\tskipMajors(ticks, majorIndices, numMajorIndices / ticksLimit);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\r\n\t\tspacing = calculateSpacing(majorIndices, ticks, axisLength, ticksLimit);\r\n\r\n\t\tif (numMajorIndices > 0) {\r\n\t\t\tfor (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\r\n\t\t\t\tskip(ticks, spacing, majorIndices[i], majorIndices[i + 1]);\r\n\t\t\t}\r\n\t\t\tavgMajorSpacing = numMajorIndices > 1 ? (last - first) / (numMajorIndices - 1) : null;\r\n\t\t\tskip(ticks, spacing, helpers$1.isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\r\n\t\t\tskip(ticks, spacing, last, helpers$1.isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\t\tskip(ticks, spacing);\r\n\t\treturn nonSkipped(ticks);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_tickSize: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\t// Calculate space needed by label in axis direction.\r\n\t\tvar rot = helpers$1.toRadians(me.labelRotation);\r\n\t\tvar cos = Math.abs(Math.cos(rot));\r\n\t\tvar sin = Math.abs(Math.sin(rot));\r\n\r\n\t\tvar labelSizes = me._getLabelSizes();\r\n\t\tvar padding = optionTicks.autoSkipPadding || 0;\r\n\t\tvar w = labelSizes ? labelSizes.widest.width + padding : 0;\r\n\t\tvar h = labelSizes ? labelSizes.highest.height + padding : 0;\r\n\r\n\t\t// Calculate space needed for 1 tick in axis direction.\r\n\t\treturn me.isHorizontal()\r\n\t\t\t? h * cos > w * sin ? w / cos : h / sin\r\n\t\t\t: h * sin < w * cos ? h / cos : w / sin;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_isVisible: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar display = me.options.display;\r\n\t\tvar i, ilen, meta;\r\n\r\n\t\tif (display !== 'auto') {\r\n\t\t\treturn !!display;\r\n\t\t}\r\n\r\n\t\t// When 'auto', the scale is visible if at least one associated dataset is visible.\r\n\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tif (meta.xAxisID === me.id || meta.yAxisID === me.id) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeGridLineItems: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar options = me.options;\r\n\t\tvar gridLines = options.gridLines;\r\n\t\tvar position = options.position;\r\n\t\tvar offsetGridLines = gridLines.offsetGridLines;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar ticksLength = ticks.length + (offsetGridLines ? 1 : 0);\r\n\r\n\t\tvar tl = getTickMarkLength(gridLines);\r\n\t\tvar items = [];\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar axisHalfWidth = axisWidth / 2;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar alignBorderValue = function(pixel) {\r\n\t\t\treturn alignPixel(chart, pixel, axisWidth);\r\n\t\t};\r\n\t\tvar borderValue, i, tick, lineValue, alignedLineValue;\r\n\t\tvar tx1, ty1, tx2, ty2, x1, y1, x2, y2, lineWidth, lineColor, borderDash, borderDashOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\tborderValue = alignBorderValue(me.bottom);\r\n\t\t\tty1 = me.bottom - tl;\r\n\t\t\tty2 = borderValue - axisHalfWidth;\r\n\t\t\ty1 = alignBorderValue(chartArea.top) + axisHalfWidth;\r\n\t\t\ty2 = chartArea.bottom;\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\tborderValue = alignBorderValue(me.top);\r\n\t\t\ty1 = chartArea.top;\r\n\t\t\ty2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\r\n\t\t\tty1 = borderValue + axisHalfWidth;\r\n\t\t\tty2 = me.top + tl;\r\n\t\t} else if (position === 'left') {\r\n\t\t\tborderValue = alignBorderValue(me.right);\r\n\t\t\ttx1 = me.right - tl;\r\n\t\t\ttx2 = borderValue - axisHalfWidth;\r\n\t\t\tx1 = alignBorderValue(chartArea.left) + axisHalfWidth;\r\n\t\t\tx2 = chartArea.right;\r\n\t\t} else {\r\n\t\t\tborderValue = alignBorderValue(me.left);\r\n\t\t\tx1 = chartArea.left;\r\n\t\t\tx2 = alignBorderValue(chartArea.right) - axisHalfWidth;\r\n\t\t\ttx1 = borderValue + axisHalfWidth;\r\n\t\t\ttx2 = me.left + tl;\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ticksLength; ++i) {\r\n\t\t\ttick = ticks[i] || {};\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(tick.label) && i < ticks.length) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (i === me.zeroLineIndex && options.offset === offsetGridLines) {\r\n\t\t\t\t// Draw the first index specially\r\n\t\t\t\tlineWidth = gridLines.zeroLineWidth;\r\n\t\t\t\tlineColor = gridLines.zeroLineColor;\r\n\t\t\t\tborderDash = gridLines.zeroLineBorderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.zeroLineBorderDashOffset || 0.0;\r\n\t\t\t} else {\r\n\t\t\t\tlineWidth = valueAtIndexOrDefault(gridLines.lineWidth, i, 1);\r\n\t\t\t\tlineColor = valueAtIndexOrDefault(gridLines.color, i, 'rgba(0,0,0,0.1)');\r\n\t\t\t\tborderDash = gridLines.borderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.borderDashOffset || 0.0;\r\n\t\t\t}\r\n\r\n\t\t\tlineValue = getPixelForGridLine(me, tick._index || i, offsetGridLines);\r\n\r\n\t\t\t// Skip if the pixel is out of the range\r\n\t\t\tif (lineValue === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talignedLineValue = alignPixel(chart, lineValue, lineWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\ttx1 = tx2 = x1 = x2 = alignedLineValue;\r\n\t\t\t} else {\r\n\t\t\t\tty1 = ty2 = y1 = y2 = alignedLineValue;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\ttx1: tx1,\r\n\t\t\t\tty1: ty1,\r\n\t\t\t\ttx2: tx2,\r\n\t\t\t\tty2: ty2,\r\n\t\t\t\tx1: x1,\r\n\t\t\t\ty1: y1,\r\n\t\t\t\tx2: x2,\r\n\t\t\t\ty2: y2,\r\n\t\t\t\twidth: lineWidth,\r\n\t\t\t\tcolor: lineColor,\r\n\t\t\t\tborderDash: borderDash,\r\n\t\t\t\tborderDashOffset: borderDashOffset,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\titems.ticksLength = ticksLength;\r\n\t\titems.borderValue = borderValue;\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeLabelItems: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar optionTicks = options.ticks;\r\n\t\tvar position = options.position;\r\n\t\tvar isMirrored = optionTicks.mirror;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar fonts = parseTickFontOptions(optionTicks);\r\n\t\tvar tickPadding = optionTicks.padding;\r\n\t\tvar tl = getTickMarkLength(options.gridLines);\r\n\t\tvar rotation = -helpers$1.toRadians(me.labelRotation);\r\n\t\tvar items = [];\r\n\t\tvar i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\ty = me.bottom - tl - tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'left';\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\ty = me.top + tl + tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'right';\r\n\t\t} else if (position === 'left') {\r\n\t\t\tx = me.right - (isMirrored ? 0 : tl) - tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'left' : 'right';\r\n\t\t} else {\r\n\t\t\tx = me.left + (isMirrored ? 0 : tl) + tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'right' : 'left';\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\ttick = ticks[i];\r\n\t\t\tlabel = tick.label;\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(label)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpixel = me.getPixelForTick(tick._index || i) + optionTicks.labelOffset;\r\n\t\t\tfont = tick.major ? fonts.major : fonts.minor;\r\n\t\t\tlineHeight = font.lineHeight;\r\n\t\t\tlineCount = isArray(label) ? label.length : 1;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tx = pixel;\r\n\t\t\t\ttextOffset = position === 'top'\r\n\t\t\t\t\t? ((!rotation ? 0.5 : 1) - lineCount) * lineHeight\r\n\t\t\t\t\t: (!rotation ? 0.5 : 0) * lineHeight;\r\n\t\t\t} else {\r\n\t\t\t\ty = pixel;\r\n\t\t\t\ttextOffset = (1 - lineCount) * lineHeight / 2;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\tx: x,\r\n\t\t\t\ty: y,\r\n\t\t\t\trotation: rotation,\r\n\t\t\t\tlabel: label,\r\n\t\t\t\tfont: font,\r\n\t\t\t\ttextOffset: textOffset,\r\n\t\t\t\ttextAlign: textAlign\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar gridLines = me.options.gridLines;\r\n\r\n\t\tif (!gridLines.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar chart = me.chart;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar items = me._gridLineItems || (me._gridLineItems = me._computeGridLineItems(chartArea));\r\n\t\tvar width, color, i, ilen, item;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\twidth = item.width;\r\n\t\t\tcolor = item.color;\r\n\r\n\t\t\tif (width && color) {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.lineWidth = width;\r\n\t\t\t\tctx.strokeStyle = color;\r\n\t\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t\tctx.setLineDash(item.borderDash);\r\n\t\t\t\t\tctx.lineDashOffset = item.borderDashOffset;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.beginPath();\r\n\r\n\t\t\t\tif (gridLines.drawTicks) {\r\n\t\t\t\t\tctx.moveTo(item.tx1, item.ty1);\r\n\t\t\t\t\tctx.lineTo(item.tx2, item.ty2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (gridLines.drawOnChartArea) {\r\n\t\t\t\t\tctx.moveTo(item.x1, item.y1);\r\n\t\t\t\t\tctx.lineTo(item.x2, item.y2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.stroke();\r\n\t\t\t\tctx.restore();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (axisWidth) {\r\n\t\t\t// Draw the line at the edge of the axis\r\n\t\t\tvar firstLineWidth = axisWidth;\r\n\t\t\tvar lastLineWidth = valueAtIndexOrDefault(gridLines.lineWidth, items.ticksLength - 1, 1);\r\n\t\t\tvar borderValue = items.borderValue;\r\n\t\t\tvar x1, x2, y1, y2;\r\n\r\n\t\t\tif (me.isHorizontal()) {\r\n\t\t\t\tx1 = alignPixel(chart, me.left, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\tx2 = alignPixel(chart, me.right, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\ty1 = y2 = borderValue;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = alignPixel(chart, me.top, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\ty2 = alignPixel(chart, me.bottom, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\tx1 = x2 = borderValue;\r\n\t\t\t}\r\n\r\n\t\t\tctx.lineWidth = axisWidth;\r\n\t\t\tctx.strokeStyle = valueAtIndexOrDefault(gridLines.color, 0);\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.moveTo(x1, y1);\r\n\t\t\tctx.lineTo(x2, y2);\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\tif (!optionTicks.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar items = me._labelItems || (me._labelItems = me._computeLabelItems());\r\n\t\tvar i, j, ilen, jlen, item, tickFont, label, y;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\ttickFont = item.font;\r\n\r\n\t\t\t// Make sure we draw text in the correct color and font\r\n\t\t\tctx.save();\r\n\t\t\tctx.translate(item.x, item.y);\r\n\t\t\tctx.rotate(item.rotation);\r\n\t\t\tctx.font = tickFont.string;\r\n\t\t\tctx.fillStyle = tickFont.color;\r\n\t\t\tctx.textBaseline = 'middle';\r\n\t\t\tctx.textAlign = item.textAlign;\r\n\r\n\t\t\tlabel = item.label;\r\n\t\t\ty = item.textOffset;\r\n\t\t\tif (isArray(label)) {\r\n\t\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\t\t// We just make sure the multiline element is a string here..\r\n\t\t\t\t\tctx.fillText('' + label[j], 0, y);\r\n\t\t\t\t\ty += tickFont.lineHeight;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tctx.fillText(label, 0, y);\r\n\t\t\t}\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar options = me.options;\r\n\t\tvar scaleLabel = options.scaleLabel;\r\n\r\n\t\tif (!scaleLabel.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar scaleLabelFontColor = valueOrDefault$a(scaleLabel.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar scaleLabelFont = helpers$1.options._parseFont(scaleLabel);\r\n\t\tvar scaleLabelPadding = helpers$1.options.toPadding(scaleLabel.padding);\r\n\t\tvar halfLineHeight = scaleLabelFont.lineHeight / 2;\r\n\t\tvar position = options.position;\r\n\t\tvar rotation = 0;\r\n\t\tvar scaleLabelX, scaleLabelY;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tscaleLabelX = me.left + me.width / 2; // midpoint of the width\r\n\t\t\tscaleLabelY = position === 'bottom'\r\n\t\t\t\t? me.bottom - halfLineHeight - scaleLabelPadding.bottom\r\n\t\t\t\t: me.top + halfLineHeight + scaleLabelPadding.top;\r\n\t\t} else {\r\n\t\t\tvar isLeft = position === 'left';\r\n\t\t\tscaleLabelX = isLeft\r\n\t\t\t\t? me.left + halfLineHeight + scaleLabelPadding.top\r\n\t\t\t\t: me.right - halfLineHeight - scaleLabelPadding.top;\r\n\t\t\tscaleLabelY = me.top + me.height / 2;\r\n\t\t\trotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(scaleLabelX, scaleLabelY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.fillStyle = scaleLabelFontColor; // render in correct colour\r\n\t\tctx.font = scaleLabelFont.string;\r\n\t\tctx.fillText(scaleLabel.labelString, 0, 0);\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!me._isVisible()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._drawGrid(chartArea);\r\n\t\tme._drawTitle();\r\n\t\tme._drawLabels();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_layers: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tz = opts.ticks && opts.ticks.z || 0;\r\n\t\tvar gz = opts.gridLines && opts.gridLines.z || 0;\r\n\r\n\t\tif (!me._isVisible() || tz === gz || me.draw !== me._draw) {\r\n\t\t\t// backward compatibility: draw has been overridden by custom scale\r\n\t\t\treturn [{\r\n\t\t\t\tz: tz,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\tme.draw.apply(me, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t}\r\n\r\n\t\treturn [{\r\n\t\t\tz: gz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawGrid.apply(me, arguments);\r\n\t\t\t\tme._drawTitle.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}, {\r\n\t\t\tz: tz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawLabels.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getMatchingVisibleMetas: function(type) {\r\n\t\tvar me = this;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\treturn me.chart._getSortedVisibleDatasetMetas()\r\n\t\t\t.filter(function(meta) {\r\n\t\t\t\treturn (!type || meta.type === type)\r\n\t\t\t\t\t&& (isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id);\r\n\t\t\t});\r\n\t}\r\n});\r\n\r\nScale.prototype._draw = Scale.prototype.draw;\r\n\r\nvar core_scale = Scale;\n\nvar isNullOrUndef$1 = helpers$1.isNullOrUndef;\r\n\r\nvar defaultConfig = {\r\n\tposition: 'bottom'\r\n};\r\n\r\nvar scale_category = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar min = ticksOpts.min;\r\n\t\tvar max = ticksOpts.max;\r\n\t\tvar minIndex = 0;\r\n\t\tvar maxIndex = labels.length - 1;\r\n\t\tvar findIndex;\r\n\r\n\t\tif (min !== undefined) {\r\n\t\t\t// user specified min value\r\n\t\t\tfindIndex = labels.indexOf(min);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tminIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (max !== undefined) {\r\n\t\t\t// user specified max value\r\n\t\t\tfindIndex = labels.indexOf(max);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tmaxIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.minIndex = minIndex;\r\n\t\tme.maxIndex = maxIndex;\r\n\t\tme.min = labels[minIndex];\r\n\t\tme.max = labels[maxIndex];\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar minIndex = me.minIndex;\r\n\t\tvar maxIndex = me.maxIndex;\r\n\r\n\t\t// If we are viewing some subset of labels, slice the original array\r\n\t\tme.ticks = (minIndex === 0 && maxIndex === labels.length - 1) ? labels : labels.slice(minIndex, maxIndex + 1);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\r\n\t\tif (chart.getDatasetMeta(datasetIndex).controller._getValueScaleId() === me.id) {\r\n\t\t\treturn me.getRightValue(chart.data.datasets[datasetIndex].data[index]);\r\n\t\t}\r\n\r\n\t\treturn me._getLabels()[index];\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar ticks = me.ticks;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (!me.isHorizontal()) {\r\n\t\t\t// For backward compatibility, vertical category scale reverse is inverted.\r\n\t\t\tme._reversePixels = !me._reversePixels;\r\n\t\t}\r\n\r\n\t\tif (!ticks) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._startValue = me.minIndex - (offset ? 0.5 : 0);\r\n\t\tme._valueRange = Math.max(ticks.length - (offset ? 0 : 1), 1);\r\n\t},\r\n\r\n\t// Used to get data value locations.  Value can either be an index or a numerical value\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar valueCategory, labels, idx;\r\n\r\n\t\tif (!isNullOrUndef$1(index) && !isNullOrUndef$1(datasetIndex)) {\r\n\t\t\tvalue = me.chart.data.datasets[datasetIndex].data[index];\r\n\t\t}\r\n\r\n\t\t// If value is a data object, then index is the index in the data array,\r\n\t\t// not the index of the scale. We need to change that.\r\n\t\tif (!isNullOrUndef$1(value)) {\r\n\t\t\tvalueCategory = me.isHorizontal() ? value.x : value.y;\r\n\t\t}\r\n\t\tif (valueCategory !== undefined || (value !== undefined && isNaN(index))) {\r\n\t\t\tlabels = me._getLabels();\r\n\t\t\tvalue = helpers$1.valueOrDefault(valueCategory, value);\r\n\t\t\tidx = labels.indexOf(value);\r\n\t\t\tindex = idx !== -1 ? idx : index;\r\n\t\t\tif (isNaN(index)) {\r\n\t\t\t\tindex = value;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal((index - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticks;\r\n\t\treturn index < 0 || index > ticks.length - 1\r\n\t\t\t? null\r\n\t\t\t: this.getPixelForValue(ticks[index], index + this.minIndex);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar value = Math.round(me._startValue + me.getDecimalForPixel(pixel) * me._valueRange);\r\n\t\treturn Math.min(Math.max(value, 0), me.ticks.length - 1);\r\n\t},\r\n\r\n\tgetBasePixel: function() {\r\n\t\treturn this.bottom;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults = defaultConfig;\nscale_category._defaults = _defaults;\n\nvar noop = helpers$1.noop;\r\nvar isNullOrUndef$2 = helpers$1.isNullOrUndef;\r\n\r\n/**\r\n * Generate a set of linear ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\t// To get a \"nice\" value for the tick spacing, we will use the appropriately named\r\n\t// \"nice number\" algorithm. See https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks\r\n\t// for details.\r\n\r\n\tvar MIN_SPACING = 1e-14;\r\n\tvar stepSize = generationOptions.stepSize;\r\n\tvar unit = stepSize || 1;\r\n\tvar maxNumSpaces = generationOptions.maxTicks - 1;\r\n\tvar min = generationOptions.min;\r\n\tvar max = generationOptions.max;\r\n\tvar precision = generationOptions.precision;\r\n\tvar rmin = dataRange.min;\r\n\tvar rmax = dataRange.max;\r\n\tvar spacing = helpers$1.niceNum((rmax - rmin) / maxNumSpaces / unit) * unit;\r\n\tvar factor, niceMin, niceMax, numSpaces;\r\n\r\n\t// Beyond MIN_SPACING floating point numbers being to lose precision\r\n\t// such that we can't do the math necessary to generate ticks\r\n\tif (spacing < MIN_SPACING && isNullOrUndef$2(min) && isNullOrUndef$2(max)) {\r\n\t\treturn [rmin, rmax];\r\n\t}\r\n\r\n\tnumSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\r\n\tif (numSpaces > maxNumSpaces) {\r\n\t\t// If the calculated num of spaces exceeds maxNumSpaces, recalculate it\r\n\t\tspacing = helpers$1.niceNum(numSpaces * spacing / maxNumSpaces / unit) * unit;\r\n\t}\r\n\r\n\tif (stepSize || isNullOrUndef$2(precision)) {\r\n\t\t// If a precision is not specified, calculate factor based on spacing\r\n\t\tfactor = Math.pow(10, helpers$1._decimalPlaces(spacing));\r\n\t} else {\r\n\t\t// If the user specified a precision, round to that number of decimal places\r\n\t\tfactor = Math.pow(10, precision);\r\n\t\tspacing = Math.ceil(spacing * factor) / factor;\r\n\t}\r\n\r\n\tniceMin = Math.floor(rmin / spacing) * spacing;\r\n\tniceMax = Math.ceil(rmax / spacing) * spacing;\r\n\r\n\t// If min, max and stepSize is set and they make an evenly spaced scale use it.\r\n\tif (stepSize) {\r\n\t\t// If very close to our whole number, use it.\r\n\t\tif (!isNullOrUndef$2(min) && helpers$1.almostWhole(min / spacing, spacing / 1000)) {\r\n\t\t\tniceMin = min;\r\n\t\t}\r\n\t\tif (!isNullOrUndef$2(max) && helpers$1.almostWhole(max / spacing, spacing / 1000)) {\r\n\t\t\tniceMax = max;\r\n\t\t}\r\n\t}\r\n\r\n\tnumSpaces = (niceMax - niceMin) / spacing;\r\n\t// If very close to our rounded value, use it.\r\n\tif (helpers$1.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\r\n\t\tnumSpaces = Math.round(numSpaces);\r\n\t} else {\r\n\t\tnumSpaces = Math.ceil(numSpaces);\r\n\t}\r\n\r\n\tniceMin = Math.round(niceMin * factor) / factor;\r\n\tniceMax = Math.round(niceMax * factor) / factor;\r\n\tticks.push(isNullOrUndef$2(min) ? niceMin : min);\r\n\tfor (var j = 1; j < numSpaces; ++j) {\r\n\t\tticks.push(Math.round((niceMin + j * spacing) * factor) / factor);\r\n\t}\r\n\tticks.push(isNullOrUndef$2(max) ? niceMax : max);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar scale_linearbase = core_scale.extend({\r\n\tgetRightValue: function(value) {\r\n\t\tif (typeof value === 'string') {\r\n\t\t\treturn +value;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, value);\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,\r\n\t\t// do nothing since that would make the chart weird. If the user really wants a weird chart\r\n\t\t// axis, they can manually override it\r\n\t\tif (tickOpts.beginAtZero) {\r\n\t\t\tvar minSign = helpers$1.sign(me.min);\r\n\t\t\tvar maxSign = helpers$1.sign(me.max);\r\n\r\n\t\t\tif (minSign < 0 && maxSign < 0) {\r\n\t\t\t\t// move the top up to 0\r\n\t\t\t\tme.max = 0;\r\n\t\t\t} else if (minSign > 0 && maxSign > 0) {\r\n\t\t\t\t// move the bottom down to 0\r\n\t\t\t\tme.min = 0;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar setMin = tickOpts.min !== undefined || tickOpts.suggestedMin !== undefined;\r\n\t\tvar setMax = tickOpts.max !== undefined || tickOpts.suggestedMax !== undefined;\r\n\r\n\t\tif (tickOpts.min !== undefined) {\r\n\t\t\tme.min = tickOpts.min;\r\n\t\t} else if (tickOpts.suggestedMin !== undefined) {\r\n\t\t\tif (me.min === null) {\r\n\t\t\t\tme.min = tickOpts.suggestedMin;\r\n\t\t\t} else {\r\n\t\t\t\tme.min = Math.min(me.min, tickOpts.suggestedMin);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (tickOpts.max !== undefined) {\r\n\t\t\tme.max = tickOpts.max;\r\n\t\t} else if (tickOpts.suggestedMax !== undefined) {\r\n\t\t\tif (me.max === null) {\r\n\t\t\t\tme.max = tickOpts.suggestedMax;\r\n\t\t\t} else {\r\n\t\t\t\tme.max = Math.max(me.max, tickOpts.suggestedMax);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (setMin !== setMax) {\r\n\t\t\t// We set the min or the max but not both.\r\n\t\t\t// So ensure that our range is good\r\n\t\t\t// Inverted or 0 length range can happen when\r\n\t\t\t// ticks.min is set, and no datasets are visible\r\n\t\t\tif (me.min >= me.max) {\r\n\t\t\t\tif (setMin) {\r\n\t\t\t\t\tme.max = me.min + 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tme.min = me.max - 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tme.max++;\r\n\r\n\t\t\tif (!tickOpts.beginAtZero) {\r\n\t\t\t\tme.min--;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tgetTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar stepSize = tickOpts.stepSize;\r\n\t\tvar maxTicksLimit = tickOpts.maxTicksLimit;\r\n\t\tvar maxTicks;\r\n\r\n\t\tif (stepSize) {\r\n\t\t\tmaxTicks = Math.ceil(me.max / stepSize) - Math.floor(me.min / stepSize) + 1;\r\n\t\t} else {\r\n\t\t\tmaxTicks = me._computeTickLimit();\r\n\t\t\tmaxTicksLimit = maxTicksLimit || 11;\r\n\t\t}\r\n\r\n\t\tif (maxTicksLimit) {\r\n\t\t\tmaxTicks = Math.min(maxTicksLimit, maxTicks);\r\n\t\t}\r\n\r\n\t\treturn maxTicks;\r\n\t},\r\n\r\n\t_computeTickLimit: function() {\r\n\t\treturn Number.POSITIVE_INFINITY;\r\n\t},\r\n\r\n\thandleDirectionalChanges: noop,\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// Figure out what the max number of ticks we can support it is based on the size of\r\n\t\t// the axis area. For now, we say that the minimum tick spacing in pixels must be 40\r\n\t\t// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\r\n\t\t// the graph. Make sure we always have at least 2 ticks\r\n\t\tvar maxTicks = me.getTickLimit();\r\n\t\tmaxTicks = Math.max(2, maxTicks);\r\n\r\n\t\tvar numericGeneratorOptions = {\r\n\t\t\tmaxTicks: maxTicks,\r\n\t\t\tmin: tickOpts.min,\r\n\t\t\tmax: tickOpts.max,\r\n\t\t\tprecision: tickOpts.precision,\r\n\t\t\tstepSize: helpers$1.valueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks(numericGeneratorOptions, me);\r\n\r\n\t\tme.handleDirectionalChanges();\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\tme.ticksAsNumbers = me.ticks.slice();\r\n\t\tme.zeroLineIndex = me.ticks.indexOf(0);\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(me);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar ticks = me.getTicks();\r\n\t\tvar start = me.min;\r\n\t\tvar end = me.max;\r\n\t\tvar offset;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (me.options.offset && ticks.length) {\r\n\t\t\toffset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\r\n\t\t\tstart -= offset;\r\n\t\t\tend += offset;\r\n\t\t}\r\n\t\tme._startValue = start;\r\n\t\tme._endValue = end;\r\n\t\tme._valueRange = end - start;\r\n\t}\r\n});\n\nvar defaultConfig$1 = {\r\n\tposition: 'left',\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t}\r\n};\r\n\r\nvar DEFAULT_MIN = 0;\r\nvar DEFAULT_MAX = 1;\r\n\r\nfunction getOrCreateStack(stacks, stacked, meta) {\r\n\tvar key = [\r\n\t\tmeta.type,\r\n\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\tstacked === undefined && meta.stack === undefined ? meta.index : '',\r\n\t\tmeta.stack\r\n\t].join('.');\r\n\r\n\tif (stacks[key] === undefined) {\r\n\t\tstacks[key] = {\r\n\t\t\tpos: [],\r\n\t\t\tneg: []\r\n\t\t};\r\n\t}\r\n\r\n\treturn stacks[key];\r\n}\r\n\r\nfunction stackData(scale, stacks, meta, data) {\r\n\tvar opts = scale.options;\r\n\tvar stacked = opts.stacked;\r\n\tvar stack = getOrCreateStack(stacks, stacked, meta);\r\n\tvar pos = stack.pos;\r\n\tvar neg = stack.neg;\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tpos[i] = pos[i] || 0;\r\n\t\tneg[i] = neg[i] || 0;\r\n\r\n\t\tif (opts.relativePoints) {\r\n\t\t\tpos[i] = 100;\r\n\t\t} else if (value.min < 0 || value.max < 0) {\r\n\t\t\tneg[i] += value.min;\r\n\t\t} else {\r\n\t\t\tpos[i] += value.max;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction updateMinMax(scale, meta, data) {\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tscale.min = Math.min(scale.min, value.min);\r\n\t\tscale.max = Math.max(scale.max, value.max);\r\n\t}\r\n}\r\n\r\nvar scale_linear = scale_linearbase.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = me._getMatchingVisibleMetas();\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tvar stacks = {};\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, meta, data, values;\r\n\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (i = 0; !hasStacks && i < ilen; ++i) {\r\n\t\t\t\tmeta = metasets[i];\r\n\t\t\t\thasStacks = meta.stack !== undefined;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\tdata = datasets[meta.index].data;\r\n\t\t\tif (hasStacks) {\r\n\t\t\t\tstackData(me, stacks, meta, data);\r\n\t\t\t} else {\r\n\t\t\t\tupdateMinMax(me, meta, data);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.each(stacks, function(stackValues) {\r\n\t\t\tvalues = stackValues.pos.concat(stackValues.neg);\r\n\t\t\tme.min = Math.min(me.min, helpers$1.min(values));\r\n\t\t\tme.max = Math.max(me.max, helpers$1.max(values));\r\n\t\t});\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) && !isNaN(me.min) ? me.min : DEFAULT_MIN;\r\n\t\tme.max = helpers$1.isFinite(me.max) && !isNaN(me.max) ? me.max : DEFAULT_MAX;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickFont;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\treturn Math.ceil(me.width / 40);\r\n\t\t}\r\n\t\ttickFont = helpers$1.options._parseFont(me.options.ticks);\r\n\t\treturn Math.ceil(me.height / tickFont.lineHeight);\r\n\t},\r\n\r\n\t// Called after the ticks are built. We need\r\n\thandleDirectionalChanges: function() {\r\n\t\tif (!this.isHorizontal()) {\r\n\t\t\t// We are in a vertical orientation. The top value is the highest. So reverse the array\r\n\t\t\tthis.ticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\t// Utils\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\treturn me.getPixelForDecimal((+me.getRightValue(value) - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\treturn this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticksAsNumbers;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$1 = defaultConfig$1;\nscale_linear._defaults = _defaults$1;\n\nvar valueOrDefault$b = helpers$1.valueOrDefault;\r\nvar log10 = helpers$1.math.log10;\r\n\r\n/**\r\n * Generate a set of logarithmic ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks$1(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\r\n\tvar tickVal = valueOrDefault$b(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\r\n\r\n\tvar endExp = Math.floor(log10(dataRange.max));\r\n\tvar endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\r\n\tvar exp, significand;\r\n\r\n\tif (tickVal === 0) {\r\n\t\texp = Math.floor(log10(dataRange.minNotZero));\r\n\t\tsignificand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));\r\n\r\n\t\tticks.push(tickVal);\r\n\t\ttickVal = significand * Math.pow(10, exp);\r\n\t} else {\r\n\t\texp = Math.floor(log10(tickVal));\r\n\t\tsignificand = Math.floor(tickVal / Math.pow(10, exp));\r\n\t}\r\n\tvar precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\r\n\r\n\tdo {\r\n\t\tticks.push(tickVal);\r\n\r\n\t\t++significand;\r\n\t\tif (significand === 10) {\r\n\t\t\tsignificand = 1;\r\n\t\t\t++exp;\r\n\t\t\tprecision = exp >= 0 ? 1 : precision;\r\n\t\t}\r\n\r\n\t\ttickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\r\n\t} while (exp < endExp || (exp === endExp && significand < endSignificand));\r\n\r\n\tvar lastTick = valueOrDefault$b(generationOptions.max, tickVal);\r\n\tticks.push(lastTick);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar defaultConfig$2 = {\r\n\tposition: 'left',\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.logarithmic\r\n\t}\r\n};\r\n\r\n// TODO(v3): change this to positiveOrDefault\r\nfunction nonNegativeOrDefault(value, defaultValue) {\r\n\treturn helpers$1.isFinite(value) && value >= 0 ? value : defaultValue;\r\n}\r\n\r\nvar scale_logarithmic = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tfunction IDMatches(meta) {\r\n\t\t\treturn isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\r\n\t\t}\r\n\t\tvar datasetIndex, meta, value, data, i, ilen;\r\n\r\n\t\t// Calculate Range\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\t\tme.minNotZero = Number.POSITIVE_INFINITY;\r\n\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&\r\n\t\t\t\t\tmeta.stack !== undefined) {\r\n\t\t\t\t\thasStacks = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (opts.stacked || hasStacks) {\r\n\t\t\tvar valuesPerStack = {};\r\n\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tvar key = [\r\n\t\t\t\t\tmeta.type,\r\n\t\t\t\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\t\t\t\t((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),\r\n\t\t\t\t\tmeta.stack\r\n\t\t\t\t].join('.');\r\n\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tif (valuesPerStack[key] === undefined) {\r\n\t\t\t\t\t\tvaluesPerStack[key] = [];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvar values = valuesPerStack[key];\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvalues[i] = values[i] || 0;\r\n\t\t\t\t\t\tvalues[i] += value.max;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(valuesPerStack, function(valuesForType) {\r\n\t\t\t\tif (valuesForType.length > 0) {\r\n\t\t\t\t\tvar minVal = helpers$1.min(valuesForType);\r\n\t\t\t\t\tvar maxVal = helpers$1.max(valuesForType);\r\n\t\t\t\t\tme.min = Math.min(me.min, minVal);\r\n\t\t\t\t\tme.max = Math.max(me.max, maxVal);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t} else {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tme.min = Math.min(value.min, me.min);\r\n\t\t\t\t\t\tme.max = Math.max(value.max, me.max);\r\n\r\n\t\t\t\t\t\tif (value.min !== 0) {\r\n\t\t\t\t\t\t\tme.minNotZero = Math.min(value.min, me.minNotZero);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) ? me.min : null;\r\n\t\tme.max = helpers$1.isFinite(me.max) ? me.max : null;\r\n\t\tme.minNotZero = helpers$1.isFinite(me.minNotZero) ? me.minNotZero : null;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max\r\n\t\tthis.handleTickRangeOptions();\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar DEFAULT_MIN = 1;\r\n\t\tvar DEFAULT_MAX = 10;\r\n\r\n\t\tme.min = nonNegativeOrDefault(tickOpts.min, me.min);\r\n\t\tme.max = nonNegativeOrDefault(tickOpts.max, me.max);\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tif (me.min !== 0 && me.min !== null) {\r\n\t\t\t\tme.min = Math.pow(10, Math.floor(log10(me.min)) - 1);\r\n\t\t\t\tme.max = Math.pow(10, Math.floor(log10(me.max)) + 1);\r\n\t\t\t} else {\r\n\t\t\t\tme.min = DEFAULT_MIN;\r\n\t\t\t\tme.max = DEFAULT_MAX;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (me.min === null) {\r\n\t\t\tme.min = Math.pow(10, Math.floor(log10(me.max)) - 1);\r\n\t\t}\r\n\t\tif (me.max === null) {\r\n\t\t\tme.max = me.min !== 0\r\n\t\t\t\t? Math.pow(10, Math.floor(log10(me.min)) + 1)\r\n\t\t\t\t: DEFAULT_MAX;\r\n\t\t}\r\n\t\tif (me.minNotZero === null) {\r\n\t\t\tif (me.min > 0) {\r\n\t\t\t\tme.minNotZero = me.min;\r\n\t\t\t} else if (me.max < 1) {\r\n\t\t\t\tme.minNotZero = Math.pow(10, Math.floor(log10(me.max)));\r\n\t\t\t} else {\r\n\t\t\t\tme.minNotZero = DEFAULT_MIN;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar reverse = !me.isHorizontal();\r\n\r\n\t\tvar generationOptions = {\r\n\t\t\tmin: nonNegativeOrDefault(tickOpts.min),\r\n\t\t\tmax: nonNegativeOrDefault(tickOpts.max)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks$1(generationOptions, me);\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\treverse = !reverse;\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t\tif (reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tthis.tickValues = this.ticks.slice();\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(this);\r\n\t},\r\n\r\n\t// Get the correct tooltip label\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.tickValues;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the value of the first tick.\r\n\t * @param {number} value - The minimum not zero value.\r\n\t * @return {number} The first tick value.\r\n\t * @private\r\n\t */\r\n\t_getFirstTickValue: function(value) {\r\n\t\tvar exp = Math.floor(log10(value));\r\n\t\tvar significand = Math.floor(value / Math.pow(10, exp));\r\n\r\n\t\treturn significand * Math.pow(10, exp);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar start = me.min;\r\n\t\tvar offset = 0;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (start === 0) {\r\n\t\t\tstart = me._getFirstTickValue(me.minNotZero);\r\n\t\t\toffset = valueOrDefault$b(me.options.ticks.fontSize, core_defaults.global.defaultFontSize) / me._length;\r\n\t\t}\r\n\r\n\t\tme._startValue = log10(start);\r\n\t\tme._valueOffset = offset;\r\n\t\tme._valueRange = (log10(me.max) - log10(start)) / (1 - offset);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = 0;\r\n\r\n\t\tvalue = +me.getRightValue(value);\r\n\r\n\t\tif (value > me.min && value > 0) {\r\n\t\t\tdecimal = (log10(value) - me._startValue) / me._valueRange + me._valueOffset;\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal(decimal);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = me.getDecimalForPixel(pixel);\r\n\t\treturn decimal === 0 && me.min === 0\r\n\t\t\t? 0\r\n\t\t\t: Math.pow(10, me._startValue + (decimal - me._valueOffset) * me._valueRange);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$2 = defaultConfig$2;\nscale_logarithmic._defaults = _defaults$2;\n\nvar valueOrDefault$c = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault$1 = helpers$1.valueAtIndexOrDefault;\r\nvar resolve$4 = helpers$1.options.resolve;\r\n\r\nvar defaultConfig$3 = {\r\n\tdisplay: true,\r\n\r\n\t// Boolean - Whether to animate scaling the chart from the centre\r\n\tanimate: true,\r\n\tposition: 'chartArea',\r\n\r\n\tangleLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\tgridLines: {\r\n\t\tcircular: false\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\t// Boolean - Show a backdrop to the scale label\r\n\t\tshowLabelBackdrop: true,\r\n\r\n\t\t// String - The colour of the label backdrop\r\n\t\tbackdropColor: 'rgba(255,255,255,0.75)',\r\n\r\n\t\t// Number - The backdrop padding above & below the label in pixels\r\n\t\tbackdropPaddingY: 2,\r\n\r\n\t\t// Number - The backdrop padding to the side of the label in pixels\r\n\t\tbackdropPaddingX: 2,\r\n\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t},\r\n\r\n\tpointLabels: {\r\n\t\t// Boolean - if true, show point labels\r\n\t\tdisplay: true,\r\n\r\n\t\t// Number - Point label font size in pixels\r\n\t\tfontSize: 10,\r\n\r\n\t\t// Function - Used to convert point labels\r\n\t\tcallback: function(label) {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t}\r\n};\r\n\r\nfunction getTickBackdropHeight(opts) {\r\n\tvar tickOpts = opts.ticks;\r\n\r\n\tif (tickOpts.display && opts.display) {\r\n\t\treturn valueOrDefault$c(tickOpts.fontSize, core_defaults.global.defaultFontSize) + tickOpts.backdropPaddingY * 2;\r\n\t}\r\n\treturn 0;\r\n}\r\n\r\nfunction measureLabelSize(ctx, lineHeight, label) {\r\n\tif (helpers$1.isArray(label)) {\r\n\t\treturn {\r\n\t\t\tw: helpers$1.longestText(ctx, ctx.font, label),\r\n\t\t\th: label.length * lineHeight\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tw: ctx.measureText(label).width,\r\n\t\th: lineHeight\r\n\t};\r\n}\r\n\r\nfunction determineLimits(angle, pos, size, min, max) {\r\n\tif (angle === min || angle === max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - (size / 2),\r\n\t\t\tend: pos + (size / 2)\r\n\t\t};\r\n\t} else if (angle < min || angle > max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - size,\r\n\t\t\tend: pos\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tstart: pos,\r\n\t\tend: pos + size\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper function to fit a radial linear scale with point labels\r\n */\r\nfunction fitWithPointLabels(scale) {\r\n\r\n\t// Right, this is really confusing and there is a lot of maths going on here\r\n\t// The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9\r\n\t//\r\n\t// Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif\r\n\t//\r\n\t// Solution:\r\n\t//\r\n\t// We assume the radius of the polygon is half the size of the canvas at first\r\n\t// at each index we check if the text overlaps.\r\n\t//\r\n\t// Where it does, we store that angle and that index.\r\n\t//\r\n\t// After finding the largest index and angle we calculate how much we need to remove\r\n\t// from the shape radius to move the point inwards by that x.\r\n\t//\r\n\t// We average the left and right distances to get the maximum shape radius that can fit in the box\r\n\t// along with labels.\r\n\t//\r\n\t// Once we have that, we can find the centre point for the chart, by taking the x text protrusion\r\n\t// on each side, removing that from the size, halving it and adding the left x protrusion width.\r\n\t//\r\n\t// This will mean we have a shape fitted to the canvas, as large as it can be with the labels\r\n\t// and position it in the most space efficient manner\r\n\t//\r\n\t// https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif\r\n\r\n\tvar plFont = helpers$1.options._parseFont(scale.options.pointLabels);\r\n\r\n\t// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.\r\n\t// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points\r\n\tvar furthestLimits = {\r\n\t\tl: 0,\r\n\t\tr: scale.width,\r\n\t\tt: 0,\r\n\t\tb: scale.height - scale.paddingTop\r\n\t};\r\n\tvar furthestAngles = {};\r\n\tvar i, textSize, pointPosition;\r\n\r\n\tscale.ctx.font = plFont.string;\r\n\tscale._pointLabelSizes = [];\r\n\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tfor (i = 0; i < valueCount; i++) {\r\n\t\tpointPosition = scale.getPointPosition(i, scale.drawingArea + 5);\r\n\t\ttextSize = measureLabelSize(scale.ctx, plFont.lineHeight, scale.pointLabels[i]);\r\n\t\tscale._pointLabelSizes[i] = textSize;\r\n\r\n\t\t// Add quarter circle to make degree 0 mean top of circle\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians) % 360;\r\n\t\tvar hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\r\n\t\tvar vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\r\n\r\n\t\tif (hLimits.start < furthestLimits.l) {\r\n\t\t\tfurthestLimits.l = hLimits.start;\r\n\t\t\tfurthestAngles.l = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (hLimits.end > furthestLimits.r) {\r\n\t\t\tfurthestLimits.r = hLimits.end;\r\n\t\t\tfurthestAngles.r = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.start < furthestLimits.t) {\r\n\t\t\tfurthestLimits.t = vLimits.start;\r\n\t\t\tfurthestAngles.t = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.end > furthestLimits.b) {\r\n\t\t\tfurthestLimits.b = vLimits.end;\r\n\t\t\tfurthestAngles.b = angleRadians;\r\n\t\t}\r\n\t}\r\n\r\n\tscale.setReductions(scale.drawingArea, furthestLimits, furthestAngles);\r\n}\r\n\r\nfunction getTextAlignForAngle(angle) {\r\n\tif (angle === 0 || angle === 180) {\r\n\t\treturn 'center';\r\n\t} else if (angle < 180) {\r\n\t\treturn 'left';\r\n\t}\r\n\r\n\treturn 'right';\r\n}\r\n\r\nfunction fillText(ctx, text, position, lineHeight) {\r\n\tvar y = position.y + lineHeight / 2;\r\n\tvar i, ilen;\r\n\r\n\tif (helpers$1.isArray(text)) {\r\n\t\tfor (i = 0, ilen = text.length; i < ilen; ++i) {\r\n\t\t\tctx.fillText(text[i], position.x, y);\r\n\t\t\ty += lineHeight;\r\n\t\t}\r\n\t} else {\r\n\t\tctx.fillText(text, position.x, y);\r\n\t}\r\n}\r\n\r\nfunction adjustPointPositionForLabelHeight(angle, textSize, position) {\r\n\tif (angle === 90 || angle === 270) {\r\n\t\tposition.y -= (textSize.h / 2);\r\n\t} else if (angle > 270 || angle < 90) {\r\n\t\tposition.y -= textSize.h;\r\n\t}\r\n}\r\n\r\nfunction drawPointLabels(scale) {\r\n\tvar ctx = scale.ctx;\r\n\tvar opts = scale.options;\r\n\tvar pointLabelOpts = opts.pointLabels;\r\n\tvar tickBackdropHeight = getTickBackdropHeight(opts);\r\n\tvar outerDistance = scale.getDistanceFromCenterForValue(opts.ticks.reverse ? scale.min : scale.max);\r\n\tvar plFont = helpers$1.options._parseFont(pointLabelOpts);\r\n\r\n\tctx.save();\r\n\r\n\tctx.font = plFont.string;\r\n\tctx.textBaseline = 'middle';\r\n\r\n\tfor (var i = scale.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t// Extra pixels out for some label spacing\r\n\t\tvar extra = (i === 0 ? tickBackdropHeight / 2 : 0);\r\n\t\tvar pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + 5);\r\n\r\n\t\t// Keep this in loop since we may support array properties here\r\n\t\tvar pointLabelFontColor = valueAtIndexOrDefault$1(pointLabelOpts.fontColor, i, core_defaults.global.defaultFontColor);\r\n\t\tctx.fillStyle = pointLabelFontColor;\r\n\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians);\r\n\t\tctx.textAlign = getTextAlignForAngle(angle);\r\n\t\tadjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);\r\n\t\tfillText(ctx, scale.pointLabels[i], pointLabelPosition, plFont.lineHeight);\r\n\t}\r\n\tctx.restore();\r\n}\r\n\r\nfunction drawRadiusLine(scale, gridLineOpts, radius, index) {\r\n\tvar ctx = scale.ctx;\r\n\tvar circular = gridLineOpts.circular;\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tvar lineColor = valueAtIndexOrDefault$1(gridLineOpts.color, index - 1);\r\n\tvar lineWidth = valueAtIndexOrDefault$1(gridLineOpts.lineWidth, index - 1);\r\n\tvar pointPosition;\r\n\r\n\tif ((!circular && !valueCount) || !lineColor || !lineWidth) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tctx.save();\r\n\tctx.strokeStyle = lineColor;\r\n\tctx.lineWidth = lineWidth;\r\n\tif (ctx.setLineDash) {\r\n\t\tctx.setLineDash(gridLineOpts.borderDash || []);\r\n\t\tctx.lineDashOffset = gridLineOpts.borderDashOffset || 0.0;\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tif (circular) {\r\n\t\t// Draw circular arcs between the points\r\n\t\tctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);\r\n\t} else {\r\n\t\t// Draw straight lines connecting each index\r\n\t\tpointPosition = scale.getPointPosition(0, radius);\r\n\t\tctx.moveTo(pointPosition.x, pointPosition.y);\r\n\r\n\t\tfor (var i = 1; i < valueCount; i++) {\r\n\t\t\tpointPosition = scale.getPointPosition(i, radius);\r\n\t\t\tctx.lineTo(pointPosition.x, pointPosition.y);\r\n\t\t}\r\n\t}\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n\tctx.restore();\r\n}\r\n\r\nfunction numberOrZero(param) {\r\n\treturn helpers$1.isNumber(param) ? param : 0;\r\n}\r\n\r\nvar scale_radialLinear = scale_linearbase.extend({\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tme.width = me.maxWidth;\r\n\t\tme.height = me.maxHeight;\r\n\t\tme.paddingTop = getTickBackdropHeight(me.options) / 2;\r\n\t\tme.xCenter = Math.floor(me.width / 2);\r\n\t\tme.yCenter = Math.floor((me.height - me.paddingTop) / 2);\r\n\t\tme.drawingArea = Math.min(me.height - me.paddingTop, me.width) / 2;\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar min = Number.POSITIVE_INFINITY;\r\n\t\tvar max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\thelpers$1.each(chart.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tif (chart.isDatasetVisible(datasetIndex)) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\r\n\r\n\t\t\t\thelpers$1.each(dataset.data, function(rawValue, index) {\r\n\t\t\t\t\tvar value = +me.getRightValue(rawValue);\r\n\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tmin = Math.min(value, min);\r\n\t\t\t\t\tmax = Math.max(value, max);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.min = (min === Number.POSITIVE_INFINITY ? 0 : min);\r\n\t\tme.max = (max === Number.NEGATIVE_INFINITY ? 0 : max);\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\treturn Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tscale_linearbase.prototype.convertTicksToLabels.call(me);\r\n\r\n\t\t// Point labels\r\n\t\tme.pointLabels = me.chart.data.labels.map(function() {\r\n\t\t\tvar label = helpers$1.callback(me.options.pointLabels.callback, arguments, me);\r\n\t\t\treturn label || label === 0 ? label : '';\r\n\t\t});\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (opts.display && opts.pointLabels.display) {\r\n\t\t\tfitWithPointLabels(me);\r\n\t\t} else {\r\n\t\t\tme.setCenterPoint(0, 0, 0, 0);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Set radius reductions and determine new radius and center point\r\n\t * @private\r\n\t */\r\n\tsetReductions: function(largestPossibleRadius, furthestLimits, furthestAngles) {\r\n\t\tvar me = this;\r\n\t\tvar radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);\r\n\t\tvar radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);\r\n\t\tvar radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);\r\n\t\tvar radiusReductionBottom = -Math.max(furthestLimits.b - (me.height - me.paddingTop), 0) / Math.cos(furthestAngles.b);\r\n\r\n\t\tradiusReductionLeft = numberOrZero(radiusReductionLeft);\r\n\t\tradiusReductionRight = numberOrZero(radiusReductionRight);\r\n\t\tradiusReductionTop = numberOrZero(radiusReductionTop);\r\n\t\tradiusReductionBottom = numberOrZero(radiusReductionBottom);\r\n\r\n\t\tme.drawingArea = Math.min(\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2),\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));\r\n\t\tme.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);\r\n\t},\r\n\r\n\tsetCenterPoint: function(leftMovement, rightMovement, topMovement, bottomMovement) {\r\n\t\tvar me = this;\r\n\t\tvar maxRight = me.width - rightMovement - me.drawingArea;\r\n\t\tvar maxLeft = leftMovement + me.drawingArea;\r\n\t\tvar maxTop = topMovement + me.drawingArea;\r\n\t\tvar maxBottom = (me.height - me.paddingTop) - bottomMovement - me.drawingArea;\r\n\r\n\t\tme.xCenter = Math.floor(((maxLeft + maxRight) / 2) + me.left);\r\n\t\tme.yCenter = Math.floor(((maxTop + maxBottom) / 2) + me.top + me.paddingTop);\r\n\t},\r\n\r\n\tgetIndexAngle: function(index) {\r\n\t\tvar chart = this.chart;\r\n\t\tvar angleMultiplier = 360 / chart.data.labels.length;\r\n\t\tvar options = chart.options || {};\r\n\t\tvar startAngle = options.startAngle || 0;\r\n\r\n\t\t// Start from the top instead of right, so remove a quarter of the circle\r\n\t\tvar angle = (index * angleMultiplier + startAngle) % 360;\r\n\r\n\t\treturn (angle < 0 ? angle + 360 : angle) * Math.PI * 2 / 360;\r\n\t},\r\n\r\n\tgetDistanceFromCenterForValue: function(value) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// Take into account half font size + the yPadding of the top value\r\n\t\tvar scalingFactor = me.drawingArea / (me.max - me.min);\r\n\t\tif (me.options.ticks.reverse) {\r\n\t\t\treturn (me.max - value) * scalingFactor;\r\n\t\t}\r\n\t\treturn (value - me.min) * scalingFactor;\r\n\t},\r\n\r\n\tgetPointPosition: function(index, distanceFromCenter) {\r\n\t\tvar me = this;\r\n\t\tvar thisAngle = me.getIndexAngle(index) - (Math.PI / 2);\r\n\t\treturn {\r\n\t\t\tx: Math.cos(thisAngle) * distanceFromCenter + me.xCenter,\r\n\t\t\ty: Math.sin(thisAngle) * distanceFromCenter + me.yCenter\r\n\t\t};\r\n\t},\r\n\r\n\tgetPointPositionForValue: function(index, value) {\r\n\t\treturn this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\r\n\t},\r\n\r\n\tgetBasePosition: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.getPointPositionForValue(index || 0,\r\n\t\t\tme.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar angleLineOpts = opts.angleLines;\r\n\t\tvar lineWidth = valueOrDefault$c(angleLineOpts.lineWidth, gridLineOpts.lineWidth);\r\n\t\tvar lineColor = valueOrDefault$c(angleLineOpts.color, gridLineOpts.color);\r\n\t\tvar i, offset, position;\r\n\r\n\t\tif (opts.pointLabels.display) {\r\n\t\t\tdrawPointLabels(me);\r\n\t\t}\r\n\r\n\t\tif (gridLineOpts.display) {\r\n\t\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\t\tif (index !== 0) {\r\n\t\t\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\t\t\t\t\tdrawRadiusLine(me, gridLineOpts, offset, index);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (angleLineOpts.display && lineWidth && lineColor) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = lineColor;\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\tctx.setLineDash(resolve$4([angleLineOpts.borderDash, gridLineOpts.borderDash, []]));\r\n\t\t\t\tctx.lineDashOffset = resolve$4([angleLineOpts.borderDashOffset, gridLineOpts.borderDashOffset, 0.0]);\r\n\t\t\t}\r\n\r\n\t\t\tfor (i = me.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t\t\toffset = me.getDistanceFromCenterForValue(opts.ticks.reverse ? me.min : me.max);\r\n\t\t\t\tposition = me.getPointPosition(i, offset);\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.moveTo(me.xCenter, me.yCenter);\r\n\t\t\t\tctx.lineTo(position.x, position.y);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\tif (!tickOpts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar startAngle = me.getIndexAngle(0);\r\n\t\tvar tickFont = helpers$1.options._parseFont(tickOpts);\r\n\t\tvar tickFontColor = valueOrDefault$c(tickOpts.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar offset, width;\r\n\r\n\t\tctx.save();\r\n\t\tctx.font = tickFont.string;\r\n\t\tctx.translate(me.xCenter, me.yCenter);\r\n\t\tctx.rotate(startAngle);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\tif (index === 0 && !tickOpts.reverse) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\r\n\t\t\tif (tickOpts.showLabelBackdrop) {\r\n\t\t\t\twidth = ctx.measureText(label).width;\r\n\t\t\t\tctx.fillStyle = tickOpts.backdropColor;\r\n\r\n\t\t\t\tctx.fillRect(\r\n\t\t\t\t\t-width / 2 - tickOpts.backdropPaddingX,\r\n\t\t\t\t\t-offset - tickFont.size / 2 - tickOpts.backdropPaddingY,\r\n\t\t\t\t\twidth + tickOpts.backdropPaddingX * 2,\r\n\t\t\t\t\ttickFont.size + tickOpts.backdropPaddingY * 2\r\n\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t\tctx.fillStyle = tickFontColor;\r\n\t\t\tctx.fillText(label, 0, -offset);\r\n\t\t});\r\n\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: helpers$1.noop\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$3 = defaultConfig$3;\nscale_radialLinear._defaults = _defaults$3;\n\nvar deprecated$1 = helpers$1._deprecated;\r\nvar resolve$5 = helpers$1.options.resolve;\r\nvar valueOrDefault$d = helpers$1.valueOrDefault;\r\n\r\n// Integer constants are from the ES6 spec.\r\nvar MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;\r\nvar MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\r\n\r\nvar INTERVALS = {\r\n\tmillisecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1,\r\n\t\tsteps: 1000\r\n\t},\r\n\tsecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1000,\r\n\t\tsteps: 60\r\n\t},\r\n\tminute: {\r\n\t\tcommon: true,\r\n\t\tsize: 60000,\r\n\t\tsteps: 60\r\n\t},\r\n\thour: {\r\n\t\tcommon: true,\r\n\t\tsize: 3600000,\r\n\t\tsteps: 24\r\n\t},\r\n\tday: {\r\n\t\tcommon: true,\r\n\t\tsize: 86400000,\r\n\t\tsteps: 30\r\n\t},\r\n\tweek: {\r\n\t\tcommon: false,\r\n\t\tsize: 604800000,\r\n\t\tsteps: 4\r\n\t},\r\n\tmonth: {\r\n\t\tcommon: true,\r\n\t\tsize: 2.628e9,\r\n\t\tsteps: 12\r\n\t},\r\n\tquarter: {\r\n\t\tcommon: false,\r\n\t\tsize: 7.884e9,\r\n\t\tsteps: 4\r\n\t},\r\n\tyear: {\r\n\t\tcommon: true,\r\n\t\tsize: 3.154e10\r\n\t}\r\n};\r\n\r\nvar UNITS = Object.keys(INTERVALS);\r\n\r\nfunction sorter(a, b) {\r\n\treturn a - b;\r\n}\r\n\r\nfunction arrayUnique(items) {\r\n\tvar hash = {};\r\n\tvar out = [];\r\n\tvar i, ilen, item;\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\titem = items[i];\r\n\t\tif (!hash[item]) {\r\n\t\t\thash[item] = true;\r\n\t\t\tout.push(item);\r\n\t\t}\r\n\t}\r\n\r\n\treturn out;\r\n}\r\n\r\nfunction getMin(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.min, options.ticks.min);\r\n}\r\n\r\nfunction getMax(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.max, options.ticks.max);\r\n}\r\n\r\n/**\r\n * Returns an array of {time, pos} objects used to interpolate a specific `time` or position\r\n * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is\r\n * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other\r\n * extremity (left + width or top + height). Note that it would be more optimized to directly\r\n * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need\r\n * to create the lookup table. The table ALWAYS contains at least two items: min and max.\r\n *\r\n * @param {number[]} timestamps - timestamps sorted from lowest to highest.\r\n * @param {string} distribution - If 'linear', timestamps will be spread linearly along the min\r\n * and max range, so basically, the table will contains only two items: {min, 0} and {max, 1}.\r\n * If 'series', timestamps will be positioned at the same distance from each other. In this\r\n * case, only timestamps that break the time linearity are registered, meaning that in the\r\n * best case, all timestamps are linear, the table contains only min and max.\r\n */\r\nfunction buildLookupTable(timestamps, min, max, distribution) {\r\n\tif (distribution === 'linear' || !timestamps.length) {\r\n\t\treturn [\r\n\t\t\t{time: min, pos: 0},\r\n\t\t\t{time: max, pos: 1}\r\n\t\t];\r\n\t}\r\n\r\n\tvar table = [];\r\n\tvar items = [min];\r\n\tvar i, ilen, prev, curr, next;\r\n\r\n\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\tcurr = timestamps[i];\r\n\t\tif (curr > min && curr < max) {\r\n\t\t\titems.push(curr);\r\n\t\t}\r\n\t}\r\n\r\n\titems.push(max);\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\tnext = items[i + 1];\r\n\t\tprev = items[i - 1];\r\n\t\tcurr = items[i];\r\n\r\n\t\t// only add points that breaks the scale linearity\r\n\t\tif (prev === undefined || next === undefined || Math.round((next + prev) / 2) !== curr) {\r\n\t\t\ttable.push({time: curr, pos: i / (ilen - 1)});\r\n\t\t}\r\n\t}\r\n\r\n\treturn table;\r\n}\r\n\r\n// @see adapted from https://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/\r\nfunction lookup(table, key, value) {\r\n\tvar lo = 0;\r\n\tvar hi = table.length - 1;\r\n\tvar mid, i0, i1;\r\n\r\n\twhile (lo >= 0 && lo <= hi) {\r\n\t\tmid = (lo + hi) >> 1;\r\n\t\ti0 = table[mid - 1] || null;\r\n\t\ti1 = table[mid];\r\n\r\n\t\tif (!i0) {\r\n\t\t\t// given value is outside table (before first item)\r\n\t\t\treturn {lo: null, hi: i1};\r\n\t\t} else if (i1[key] < value) {\r\n\t\t\tlo = mid + 1;\r\n\t\t} else if (i0[key] > value) {\r\n\t\t\thi = mid - 1;\r\n\t\t} else {\r\n\t\t\treturn {lo: i0, hi: i1};\r\n\t\t}\r\n\t}\r\n\r\n\t// given value is outside table (after last item)\r\n\treturn {lo: i1, hi: null};\r\n}\r\n\r\n/**\r\n * Linearly interpolates the given source `value` using the table items `skey` values and\r\n * returns the associated `tkey` value. For example, interpolate(table, 'time', 42, 'pos')\r\n * returns the position for a timestamp equal to 42. If value is out of bounds, values at\r\n * index [0, 1] or [n - 1, n] are used for the interpolation.\r\n */\r\nfunction interpolate$1(table, skey, sval, tkey) {\r\n\tvar range = lookup(table, skey, sval);\r\n\r\n\t// Note: the lookup table ALWAYS contains at least 2 items (min and max)\r\n\tvar prev = !range.lo ? table[0] : !range.hi ? table[table.length - 2] : range.lo;\r\n\tvar next = !range.lo ? table[1] : !range.hi ? table[table.length - 1] : range.hi;\r\n\r\n\tvar span = next[skey] - prev[skey];\r\n\tvar ratio = span ? (sval - prev[skey]) / span : 0;\r\n\tvar offset = (next[tkey] - prev[tkey]) * ratio;\r\n\r\n\treturn prev[tkey] + offset;\r\n}\r\n\r\nfunction toTimestamp(scale, input) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options.time;\r\n\tvar parser = options.parser;\r\n\tvar format = parser || options.format;\r\n\tvar value = input;\r\n\r\n\tif (typeof parser === 'function') {\r\n\t\tvalue = parser(value);\r\n\t}\r\n\r\n\t// Only parse if its not a timestamp already\r\n\tif (!helpers$1.isFinite(value)) {\r\n\t\tvalue = typeof format === 'string'\r\n\t\t\t? adapter.parse(value, format)\r\n\t\t\t: adapter.parse(value);\r\n\t}\r\n\r\n\tif (value !== null) {\r\n\t\treturn +value;\r\n\t}\r\n\r\n\t// Labels are in an incompatible format and no `parser` has been provided.\r\n\t// The user might still use the deprecated `format` option for parsing.\r\n\tif (!parser && typeof format === 'function') {\r\n\t\tvalue = format(input);\r\n\r\n\t\t// `format` could return something else than a timestamp, if so, parse it\r\n\t\tif (!helpers$1.isFinite(value)) {\r\n\t\t\tvalue = adapter.parse(value);\r\n\t\t}\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\nfunction parse(scale, input) {\r\n\tif (helpers$1.isNullOrUndef(input)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tvar options = scale.options.time;\r\n\tvar value = toTimestamp(scale, scale.getRightValue(input));\r\n\tif (value === null) {\r\n\t\treturn value;\r\n\t}\r\n\r\n\tif (options.round) {\r\n\t\tvalue = +scale._adapter.startOf(value, options.round);\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\n/**\r\n * Figures out what unit results in an appropriate number of auto-generated ticks\r\n */\r\nfunction determineUnitForAutoTicks(minUnit, min, max, capacity) {\r\n\tvar ilen = UNITS.length;\r\n\tvar i, interval, factor;\r\n\r\n\tfor (i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\r\n\t\tinterval = INTERVALS[UNITS[i]];\r\n\t\tfactor = interval.steps ? interval.steps : MAX_INTEGER;\r\n\r\n\t\tif (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[ilen - 1];\r\n}\r\n\r\n/**\r\n * Figures out what unit to format a set of ticks with\r\n */\r\nfunction determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\r\n\tvar i, unit;\r\n\r\n\tfor (i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\r\n\t\tunit = UNITS[i];\r\n\t\tif (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\r\n\t\t\treturn unit;\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\r\n}\r\n\r\nfunction determineMajorUnit(unit) {\r\n\tfor (var i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\r\n\t\tif (INTERVALS[UNITS[i]].common) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Generates a maximum of `capacity` timestamps between min and max, rounded to the\r\n * `minor` unit using the given scale time `options`.\r\n * Important: this method can return ticks outside the min and max range, it's the\r\n * responsibility of the calling code to clamp values if needed.\r\n */\r\nfunction generate(scale, min, max, capacity) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options;\r\n\tvar timeOpts = options.time;\r\n\tvar minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, capacity);\r\n\tvar stepSize = resolve$5([timeOpts.stepSize, timeOpts.unitStepSize, 1]);\r\n\tvar weekday = minor === 'week' ? timeOpts.isoWeekday : false;\r\n\tvar first = min;\r\n\tvar ticks = [];\r\n\tvar time;\r\n\r\n\t// For 'week' unit, handle the first day of week option\r\n\tif (weekday) {\r\n\t\tfirst = +adapter.startOf(first, 'isoWeek', weekday);\r\n\t}\r\n\r\n\t// Align first ticks on unit\r\n\tfirst = +adapter.startOf(first, weekday ? 'day' : minor);\r\n\r\n\t// Prevent browser from freezing in case user options request millions of milliseconds\r\n\tif (adapter.diff(max, min, minor) > 100000 * stepSize) {\r\n\t\tthrow min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor;\r\n\t}\r\n\r\n\tfor (time = first; time < max; time = +adapter.add(time, stepSize, minor)) {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\tif (time === max || options.bounds === 'ticks') {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\treturn ticks;\r\n}\r\n\r\n/**\r\n * Returns the start and end offsets from edges in the form of {start, end}\r\n * where each value is a relative width to the scale and ranges between 0 and 1.\r\n * They add extra margins on the both sides by scaling down the original scale.\r\n * Offsets are added when the `offset` option is true.\r\n */\r\nfunction computeOffsets(table, ticks, min, max, options) {\r\n\tvar start = 0;\r\n\tvar end = 0;\r\n\tvar first, last;\r\n\r\n\tif (options.offset && ticks.length) {\r\n\t\tfirst = interpolate$1(table, 'time', ticks[0], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tstart = 1 - first;\r\n\t\t} else {\r\n\t\t\tstart = (interpolate$1(table, 'time', ticks[1], 'pos') - first) / 2;\r\n\t\t}\r\n\t\tlast = interpolate$1(table, 'time', ticks[ticks.length - 1], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tend = last;\r\n\t\t} else {\r\n\t\t\tend = (last - interpolate$1(table, 'time', ticks[ticks.length - 2], 'pos')) / 2;\r\n\t\t}\r\n\t}\r\n\r\n\treturn {start: start, end: end, factor: 1 / (start + 1 + end)};\r\n}\r\n\r\nfunction setMajorTicks(scale, ticks, map, majorUnit) {\r\n\tvar adapter = scale._adapter;\r\n\tvar first = +adapter.startOf(ticks[0].value, majorUnit);\r\n\tvar last = ticks[ticks.length - 1].value;\r\n\tvar major, index;\r\n\r\n\tfor (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\r\n\t\tindex = map[major];\r\n\t\tif (index >= 0) {\r\n\t\t\tticks[index].major = true;\r\n\t\t}\r\n\t}\r\n\treturn ticks;\r\n}\r\n\r\nfunction ticksFromTimestamps(scale, values, majorUnit) {\r\n\tvar ticks = [];\r\n\tvar map = {};\r\n\tvar ilen = values.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = values[i];\r\n\t\tmap[value] = i;\r\n\r\n\t\tticks.push({\r\n\t\t\tvalue: value,\r\n\t\t\tmajor: false\r\n\t\t});\r\n\t}\r\n\r\n\t// We set the major ticks separately from the above loop because calling startOf for every tick\r\n\t// is expensive when there is a large number of ticks\r\n\treturn (ilen === 0 || !majorUnit) ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\r\n}\r\n\r\nvar defaultConfig$4 = {\r\n\tposition: 'bottom',\r\n\r\n\t/**\r\n\t * Data distribution along the scale:\r\n\t * - 'linear': data are spread according to their time (distances can vary),\r\n\t * - 'series': data are spread at the same distance from each other.\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t * @since 2.7.0\r\n\t */\r\n\tdistribution: 'linear',\r\n\r\n\t/**\r\n\t * Scale boundary strategy (bypassed by min/max time options)\r\n\t * - `data`: make sure data are fully visible, ticks outside are removed\r\n\t * - `ticks`: make sure ticks are fully visible, data outside are truncated\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4556\r\n\t * @since 2.7.0\r\n\t */\r\n\tbounds: 'data',\r\n\r\n\tadapters: {},\r\n\ttime: {\r\n\t\tparser: false, // false == a pattern string from https://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment\r\n\t\tunit: false, // false == automatic or override with week, month, year, etc.\r\n\t\tround: false, // none, or override with week, month, year, etc.\r\n\t\tdisplayFormat: false, // DEPRECATED\r\n\t\tisoWeekday: false, // override week start day - see https://momentjs.com/docs/#/get-set/iso-weekday/\r\n\t\tminUnit: 'millisecond',\r\n\t\tdisplayFormats: {}\r\n\t},\r\n\tticks: {\r\n\t\tautoSkip: false,\r\n\r\n\t\t/**\r\n\t\t * Ticks generation input values:\r\n\t\t * - 'auto': generates \"optimal\" ticks based on scale size and time options.\r\n\t\t * - 'data': generates ticks from data (including labels from data {t|x|y} objects).\r\n\t\t * - 'labels': generates ticks from user given `data.labels` values ONLY.\r\n\t\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t\t * @since 2.7.0\r\n\t\t */\r\n\t\tsource: 'auto',\r\n\r\n\t\tmajor: {\r\n\t\t\tenabled: false\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar scale_time = core_scale.extend({\r\n\tinitialize: function() {\r\n\t\tthis.mergeTicksOptions();\r\n\t\tcore_scale.prototype.initialize.call(this);\r\n\t},\r\n\r\n\tupdate: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar time = options.time || (options.time = {});\r\n\t\tvar adapter = me._adapter = new core_adapters._date(options.adapters.date);\r\n\r\n\t\t// DEPRECATIONS: output a message only one time per update\r\n\t\tdeprecated$1('time scale', time.format, 'time.format', 'time.parser');\r\n\t\tdeprecated$1('time scale', time.min, 'time.min', 'ticks.min');\r\n\t\tdeprecated$1('time scale', time.max, 'time.max', 'ticks.max');\r\n\r\n\t\t// Backward compatibility: before introducing adapter, `displayFormats` was\r\n\t\t// supposed to contain *all* unit/string pairs but this can't be resolved\r\n\t\t// when loading the scale (adapters are loaded afterward), so let's populate\r\n\t\t// missing formats on update\r\n\t\thelpers$1.mergeIf(time.displayFormats, adapter.formats());\r\n\r\n\t\treturn core_scale.prototype.update.apply(me, arguments);\r\n\t},\r\n\r\n\t/**\r\n\t * Allows data to be referenced via 't' attribute\r\n\t */\r\n\tgetRightValue: function(rawValue) {\r\n\t\tif (rawValue && rawValue.t !== undefined) {\r\n\t\t\trawValue = rawValue.t;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, rawValue);\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar unit = options.time.unit || 'day';\r\n\t\tvar min = MAX_INTEGER;\r\n\t\tvar max = MIN_INTEGER;\r\n\t\tvar timestamps = [];\r\n\t\tvar datasets = [];\r\n\t\tvar labels = [];\r\n\t\tvar i, j, ilen, jlen, data, timestamp, labelsAdded;\r\n\t\tvar dataLabels = me._getLabels();\r\n\r\n\t\tfor (i = 0, ilen = dataLabels.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(parse(me, dataLabels[i]));\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tdata = chart.data.datasets[i].data;\r\n\r\n\t\t\t\t// Let's consider that all data have the same format.\r\n\t\t\t\tif (helpers$1.isObject(data[0])) {\r\n\t\t\t\t\tdatasets[i] = [];\r\n\r\n\t\t\t\t\tfor (j = 0, jlen = data.length; j < jlen; ++j) {\r\n\t\t\t\t\t\ttimestamp = parse(me, data[j]);\r\n\t\t\t\t\t\ttimestamps.push(timestamp);\r\n\t\t\t\t\t\tdatasets[i][j] = timestamp;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdatasets[i] = labels.slice(0);\r\n\t\t\t\t\tif (!labelsAdded) {\r\n\t\t\t\t\t\ttimestamps = timestamps.concat(labels);\r\n\t\t\t\t\t\tlabelsAdded = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tdatasets[i] = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (labels.length) {\r\n\t\t\tmin = Math.min(min, labels[0]);\r\n\t\t\tmax = Math.max(max, labels[labels.length - 1]);\r\n\t\t}\r\n\r\n\t\tif (timestamps.length) {\r\n\t\t\ttimestamps = ilen > 1 ? arrayUnique(timestamps).sort(sorter) : timestamps.sort(sorter);\r\n\t\t\tmin = Math.min(min, timestamps[0]);\r\n\t\t\tmax = Math.max(max, timestamps[timestamps.length - 1]);\r\n\t\t}\r\n\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// In case there is no valid min/max, set limits based on unit time option\r\n\t\tmin = min === MAX_INTEGER ? +adapter.startOf(Date.now(), unit) : min;\r\n\t\tmax = max === MIN_INTEGER ? +adapter.endOf(Date.now(), unit) + 1 : max;\r\n\r\n\t\t// Make sure that max is strictly higher than min (required by the lookup table)\r\n\t\tme.min = Math.min(min, max);\r\n\t\tme.max = Math.max(min + 1, max);\r\n\r\n\t\t// PRIVATE\r\n\t\tme._table = [];\r\n\t\tme._timestamps = {\r\n\t\t\tdata: timestamps,\r\n\t\t\tdatasets: datasets,\r\n\t\t\tlabels: labels\r\n\t\t};\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar timeOpts = options.time;\r\n\t\tvar timestamps = me._timestamps;\r\n\t\tvar ticks = [];\r\n\t\tvar capacity = me.getLabelCapacity(min);\r\n\t\tvar source = tickOpts.source;\r\n\t\tvar distribution = options.distribution;\r\n\t\tvar i, ilen, timestamp;\r\n\r\n\t\tif (source === 'data' || (source === 'auto' && distribution === 'series')) {\r\n\t\t\ttimestamps = timestamps.data;\r\n\t\t} else if (source === 'labels') {\r\n\t\t\ttimestamps = timestamps.labels;\r\n\t\t} else {\r\n\t\t\ttimestamps = generate(me, min, max, capacity);\r\n\t\t}\r\n\r\n\t\tif (options.bounds === 'ticks' && timestamps.length) {\r\n\t\t\tmin = timestamps[0];\r\n\t\t\tmax = timestamps[timestamps.length - 1];\r\n\t\t}\r\n\r\n\t\t// Enforce limits with user min/max options\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// Remove ticks outside the min/max range\r\n\t\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\t\ttimestamp = timestamps[i];\r\n\t\t\tif (timestamp >= min && timestamp <= max) {\r\n\t\t\t\tticks.push(timestamp);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = min;\r\n\t\tme.max = max;\r\n\r\n\t\t// PRIVATE\r\n\t\t// determineUnitForFormatting relies on the number of ticks so we don't use it when\r\n\t\t// autoSkip is enabled because we don't yet know what the final number of ticks will be\r\n\t\tme._unit = timeOpts.unit || (tickOpts.autoSkip\r\n\t\t\t? determineUnitForAutoTicks(timeOpts.minUnit, me.min, me.max, capacity)\r\n\t\t\t: determineUnitForFormatting(me, ticks.length, timeOpts.minUnit, me.min, me.max));\r\n\t\tme._majorUnit = !tickOpts.major.enabled || me._unit === 'year' ? undefined\r\n\t\t\t: determineMajorUnit(me._unit);\r\n\t\tme._table = buildLookupTable(me._timestamps.data, min, max, distribution);\r\n\t\tme._offsets = computeOffsets(me._table, ticks, min, max, options);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\r\n\t\treturn ticksFromTimestamps(me, ticks, me._majorUnit);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar data = me.chart.data;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar label = data.labels && index < data.labels.length ? data.labels[index] : '';\r\n\t\tvar value = data.datasets[datasetIndex].data[index];\r\n\r\n\t\tif (helpers$1.isObject(value)) {\r\n\t\t\tlabel = me.getRightValue(value);\r\n\t\t}\r\n\t\tif (timeOpts.tooltipFormat) {\r\n\t\t\treturn adapter.format(toTimestamp(me, label), timeOpts.tooltipFormat);\r\n\t\t}\r\n\t\tif (typeof label === 'string') {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t\treturn adapter.format(toTimestamp(me, label), timeOpts.displayFormats.datetime);\r\n\t},\r\n\r\n\t/**\r\n\t * Function to format an individual tick mark\r\n\t * @private\r\n\t */\r\n\ttickFormatFunction: function(time, index, ticks, format) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar formats = options.time.displayFormats;\r\n\t\tvar minorFormat = formats[me._unit];\r\n\t\tvar majorUnit = me._majorUnit;\r\n\t\tvar majorFormat = formats[majorUnit];\r\n\t\tvar tick = ticks[index];\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar major = majorUnit && majorFormat && tick && tick.major;\r\n\t\tvar label = adapter.format(time, format ? format : major ? majorFormat : minorFormat);\r\n\t\tvar nestedTickOpts = major ? tickOpts.major : tickOpts.minor;\r\n\t\tvar formatter = resolve$5([\r\n\t\t\tnestedTickOpts.callback,\r\n\t\t\tnestedTickOpts.userCallback,\r\n\t\t\ttickOpts.callback,\r\n\t\t\ttickOpts.userCallback\r\n\t\t]);\r\n\r\n\t\treturn formatter ? formatter(label, index, ticks) : label;\r\n\t},\r\n\r\n\tconvertTicksToLabels: function(ticks) {\r\n\t\tvar labels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(this.tickFormatFunction(ticks[i].value, i, ticks));\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetPixelForOffset: function(time) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = interpolate$1(me._table, 'time', time, 'pos');\r\n\t\treturn me.getPixelForDecimal((offsets.start + pos) * offsets.factor);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar time = null;\r\n\r\n\t\tif (index !== undefined && datasetIndex !== undefined) {\r\n\t\t\ttime = me._timestamps.datasets[datasetIndex][index];\r\n\t\t}\r\n\r\n\t\tif (time === null) {\r\n\t\t\ttime = parse(me, value);\r\n\t\t}\r\n\r\n\t\tif (time !== null) {\r\n\t\t\treturn me.getPixelForOffset(time);\r\n\t\t}\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.getTicks();\r\n\t\treturn index >= 0 && index < ticks.length ?\r\n\t\t\tthis.getPixelForOffset(ticks[index].value) :\r\n\t\t\tnull;\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = me.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\r\n\t\tvar time = interpolate$1(me._table, 'pos', pos, 'time');\r\n\r\n\t\t// DEPRECATION, we should return time directly\r\n\t\treturn me._adapter._create(time);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSize: function(label) {\r\n\t\tvar me = this;\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar tickLabelWidth = me.ctx.measureText(label).width;\r\n\t\tvar angle = helpers$1.toRadians(me.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\r\n\t\tvar cosRotation = Math.cos(angle);\r\n\t\tvar sinRotation = Math.sin(angle);\r\n\t\tvar tickFontSize = valueOrDefault$d(ticksOpts.fontSize, core_defaults.global.defaultFontSize);\r\n\r\n\t\treturn {\r\n\t\t\tw: (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation),\r\n\t\t\th: (tickLabelWidth * sinRotation) + (tickFontSize * cosRotation)\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Crude approximation of what the label width might be\r\n\t * @private\r\n\t */\r\n\tgetLabelWidth: function(label) {\r\n\t\treturn this._getLabelSize(label).w;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetLabelCapacity: function(exampleTime) {\r\n\t\tvar me = this;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar displayFormats = timeOpts.displayFormats;\r\n\r\n\t\t// pick the longest format (milliseconds) for guestimation\r\n\t\tvar format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\r\n\t\tvar exampleLabel = me.tickFormatFunction(exampleTime, 0, ticksFromTimestamps(me, [exampleTime], me._majorUnit), format);\r\n\t\tvar size = me._getLabelSize(exampleLabel);\r\n\t\tvar capacity = Math.floor(me.isHorizontal() ? me.width / size.w : me.height / size.h);\r\n\r\n\t\tif (me.options.offset) {\r\n\t\t\tcapacity--;\r\n\t\t}\r\n\r\n\t\treturn capacity > 0 ? capacity : 1;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$4 = defaultConfig$4;\nscale_time._defaults = _defaults$4;\n\nvar scales = {\r\n\tcategory: scale_category,\r\n\tlinear: scale_linear,\r\n\tlogarithmic: scale_logarithmic,\r\n\tradialLinear: scale_radialLinear,\r\n\ttime: scale_time\r\n};\n\nvar FORMATS = {\r\n\tdatetime: 'MMM D, YYYY, h:mm:ss a',\r\n\tmillisecond: 'h:mm:ss.SSS a',\r\n\tsecond: 'h:mm:ss a',\r\n\tminute: 'h:mm a',\r\n\thour: 'hA',\r\n\tday: 'MMM D',\r\n\tweek: 'll',\r\n\tmonth: 'MMM YYYY',\r\n\tquarter: '[Q]Q - YYYY',\r\n\tyear: 'YYYY'\r\n};\r\n\r\ncore_adapters._date.override(typeof moment === 'function' ? {\r\n\t_id: 'moment', // DEBUG ONLY\r\n\r\n\tformats: function() {\r\n\t\treturn FORMATS;\r\n\t},\r\n\r\n\tparse: function(value, format) {\r\n\t\tif (typeof value === 'string' && typeof format === 'string') {\r\n\t\t\tvalue = moment(value, format);\r\n\t\t} else if (!(value instanceof moment)) {\r\n\t\t\tvalue = moment(value);\r\n\t\t}\r\n\t\treturn value.isValid() ? value.valueOf() : null;\r\n\t},\r\n\r\n\tformat: function(time, format) {\r\n\t\treturn moment(time).format(format);\r\n\t},\r\n\r\n\tadd: function(time, amount, unit) {\r\n\t\treturn moment(time).add(amount, unit).valueOf();\r\n\t},\r\n\r\n\tdiff: function(max, min, unit) {\r\n\t\treturn moment(max).diff(moment(min), unit);\r\n\t},\r\n\r\n\tstartOf: function(time, unit, weekday) {\r\n\t\ttime = moment(time);\r\n\t\tif (unit === 'isoWeek') {\r\n\t\t\treturn time.isoWeekday(weekday).valueOf();\r\n\t\t}\r\n\t\treturn time.startOf(unit).valueOf();\r\n\t},\r\n\r\n\tendOf: function(time, unit) {\r\n\t\treturn moment(time).endOf(unit).valueOf();\r\n\t},\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility with scale.getValueForPixel().\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(time) {\r\n\t\treturn moment(time);\r\n\t},\r\n} : {});\n\ncore_defaults._set('global', {\r\n\tplugins: {\r\n\t\tfiller: {\r\n\t\t\tpropagate: true\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar mappers = {\r\n\tdataset: function(source) {\r\n\t\tvar index = source.fill;\r\n\t\tvar chart = source.chart;\r\n\t\tvar meta = chart.getDatasetMeta(index);\r\n\t\tvar visible = meta && chart.isDatasetVisible(index);\r\n\t\tvar points = (visible && meta.dataset._children) || [];\r\n\t\tvar length = points.length || 0;\r\n\r\n\t\treturn !length ? null : function(point, i) {\r\n\t\t\treturn (i < length && points[i]._view) || null;\r\n\t\t};\r\n\t},\r\n\r\n\tboundary: function(source) {\r\n\t\tvar boundary = source.boundary;\r\n\t\tvar x = boundary ? boundary.x : null;\r\n\t\tvar y = boundary ? boundary.y : null;\r\n\r\n\t\tif (helpers$1.isArray(boundary)) {\r\n\t\t\treturn function(point, i) {\r\n\t\t\t\treturn boundary[i];\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tx: x === null ? point.x : x,\r\n\t\t\t\ty: y === null ? point.y : y,\r\n\t\t\t};\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// @todo if (fill[0] === '#')\r\nfunction decodeFill(el, index, count) {\r\n\tvar model = el._model || {};\r\n\tvar fill = model.fill;\r\n\tvar target;\r\n\r\n\tif (fill === undefined) {\r\n\t\tfill = !!model.backgroundColor;\r\n\t}\r\n\r\n\tif (fill === false || fill === null) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tif (fill === true) {\r\n\t\treturn 'origin';\r\n\t}\r\n\r\n\ttarget = parseFloat(fill, 10);\r\n\tif (isFinite(target) && Math.floor(target) === target) {\r\n\t\tif (fill[0] === '-' || fill[0] === '+') {\r\n\t\t\ttarget = index + target;\r\n\t\t}\r\n\r\n\t\tif (target === index || target < 0 || target >= count) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t}\r\n\r\n\tswitch (fill) {\r\n\t// compatibility\r\n\tcase 'bottom':\r\n\t\treturn 'start';\r\n\tcase 'top':\r\n\t\treturn 'end';\r\n\tcase 'zero':\r\n\t\treturn 'origin';\r\n\t// supported boundaries\r\n\tcase 'origin':\r\n\tcase 'start':\r\n\tcase 'end':\r\n\t\treturn fill;\r\n\t// invalid fill values\r\n\tdefault:\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction computeLinearBoundary(source) {\r\n\tvar model = source.el._model || {};\r\n\tvar scale = source.el._scale || {};\r\n\tvar fill = source.fill;\r\n\tvar target = null;\r\n\tvar horizontal;\r\n\r\n\tif (isFinite(fill)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\t// Backward compatibility: until v3, we still need to support boundary values set on\r\n\t// the model (scaleTop, scaleBottom and scaleZero) because some external plugins and\r\n\t// controllers might still use it (e.g. the Smith chart).\r\n\r\n\tif (fill === 'start') {\r\n\t\ttarget = model.scaleBottom === undefined ? scale.bottom : model.scaleBottom;\r\n\t} else if (fill === 'end') {\r\n\t\ttarget = model.scaleTop === undefined ? scale.top : model.scaleTop;\r\n\t} else if (model.scaleZero !== undefined) {\r\n\t\ttarget = model.scaleZero;\r\n\t} else if (scale.getBasePixel) {\r\n\t\ttarget = scale.getBasePixel();\r\n\t}\r\n\r\n\tif (target !== undefined && target !== null) {\r\n\t\tif (target.x !== undefined && target.y !== undefined) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\tif (helpers$1.isFinite(target)) {\r\n\t\t\thorizontal = scale.isHorizontal();\r\n\t\t\treturn {\r\n\t\t\t\tx: horizontal ? target : null,\r\n\t\t\t\ty: horizontal ? null : target\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\treturn null;\r\n}\r\n\r\nfunction computeCircularBoundary(source) {\r\n\tvar scale = source.el._scale;\r\n\tvar options = scale.options;\r\n\tvar length = scale.chart.data.labels.length;\r\n\tvar fill = source.fill;\r\n\tvar target = [];\r\n\tvar start, end, center, i, point;\r\n\r\n\tif (!length) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tstart = options.ticks.reverse ? scale.max : scale.min;\r\n\tend = options.ticks.reverse ? scale.min : scale.max;\r\n\tcenter = scale.getPointPositionForValue(0, start);\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tpoint = fill === 'start' || fill === 'end'\r\n\t\t\t? scale.getPointPositionForValue(i, fill === 'start' ? start : end)\r\n\t\t\t: scale.getBasePosition(i);\r\n\t\tif (options.gridLines.circular) {\r\n\t\t\tpoint.cx = center.x;\r\n\t\t\tpoint.cy = center.y;\r\n\t\t\tpoint.angle = scale.getIndexAngle(i) - Math.PI / 2;\r\n\t\t}\r\n\t\ttarget.push(point);\r\n\t}\r\n\treturn target;\r\n}\r\n\r\nfunction computeBoundary(source) {\r\n\tvar scale = source.el._scale || {};\r\n\r\n\tif (scale.getPointPositionForValue) {\r\n\t\treturn computeCircularBoundary(source);\r\n\t}\r\n\treturn computeLinearBoundary(source);\r\n}\r\n\r\nfunction resolveTarget(sources, index, propagate) {\r\n\tvar source = sources[index];\r\n\tvar fill = source.fill;\r\n\tvar visited = [index];\r\n\tvar target;\r\n\r\n\tif (!propagate) {\r\n\t\treturn fill;\r\n\t}\r\n\r\n\twhile (fill !== false && visited.indexOf(fill) === -1) {\r\n\t\tif (!isFinite(fill)) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\ttarget = sources[fill];\r\n\t\tif (!target) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (target.visible) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\tvisited.push(fill);\r\n\t\tfill = target.fill;\r\n\t}\r\n\r\n\treturn false;\r\n}\r\n\r\nfunction createMapper(source) {\r\n\tvar fill = source.fill;\r\n\tvar type = 'dataset';\r\n\r\n\tif (fill === false) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tif (!isFinite(fill)) {\r\n\t\ttype = 'boundary';\r\n\t}\r\n\r\n\treturn mappers[type](source);\r\n}\r\n\r\nfunction isDrawable(point) {\r\n\treturn point && !point.skip;\r\n}\r\n\r\nfunction drawArea(ctx, curve0, curve1, len0, len1) {\r\n\tvar i, cx, cy, r;\r\n\r\n\tif (!len0 || !len1) {\r\n\t\treturn;\r\n\t}\r\n\r\n\t// building first area curve (normal)\r\n\tctx.moveTo(curve0[0].x, curve0[0].y);\r\n\tfor (i = 1; i < len0; ++i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve0[i - 1], curve0[i]);\r\n\t}\r\n\r\n\tif (curve1[0].angle !== undefined) {\r\n\t\tcx = curve1[0].cx;\r\n\t\tcy = curve1[0].cy;\r\n\t\tr = Math.sqrt(Math.pow(curve1[0].x - cx, 2) + Math.pow(curve1[0].y - cy, 2));\r\n\t\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\t\tctx.arc(cx, cy, r, curve1[i].angle, curve1[i - 1].angle, true);\r\n\t\t}\r\n\t\treturn;\r\n\t}\r\n\r\n\t// joining the two area curves\r\n\tctx.lineTo(curve1[len1 - 1].x, curve1[len1 - 1].y);\r\n\r\n\t// building opposite area curve (reverse)\r\n\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve1[i], curve1[i - 1], true);\r\n\t}\r\n}\r\n\r\nfunction doFill(ctx, points, mapper, view, color, loop) {\r\n\tvar count = points.length;\r\n\tvar span = view.spanGaps;\r\n\tvar curve0 = [];\r\n\tvar curve1 = [];\r\n\tvar len0 = 0;\r\n\tvar len1 = 0;\r\n\tvar i, ilen, index, p0, p1, d0, d1, loopOffset;\r\n\r\n\tctx.beginPath();\r\n\r\n\tfor (i = 0, ilen = count; i < ilen; ++i) {\r\n\t\tindex = i % count;\r\n\t\tp0 = points[index]._view;\r\n\t\tp1 = mapper(p0, index, view);\r\n\t\td0 = isDrawable(p0);\r\n\t\td1 = isDrawable(p1);\r\n\r\n\t\tif (loop && loopOffset === undefined && d0) {\r\n\t\t\tloopOffset = i + 1;\r\n\t\t\tilen = count + loopOffset;\r\n\t\t}\r\n\r\n\t\tif (d0 && d1) {\r\n\t\t\tlen0 = curve0.push(p0);\r\n\t\t\tlen1 = curve1.push(p1);\r\n\t\t} else if (len0 && len1) {\r\n\t\t\tif (!span) {\r\n\t\t\t\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\t\t\t\tlen0 = len1 = 0;\r\n\t\t\t\tcurve0 = [];\r\n\t\t\t\tcurve1 = [];\r\n\t\t\t} else {\r\n\t\t\t\tif (d0) {\r\n\t\t\t\t\tcurve0.push(p0);\r\n\t\t\t\t}\r\n\t\t\t\tif (d1) {\r\n\t\t\t\t\tcurve1.push(p1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\r\n\tctx.closePath();\r\n\tctx.fillStyle = color;\r\n\tctx.fill();\r\n}\r\n\r\nvar plugin_filler = {\r\n\tid: 'filler',\r\n\r\n\tafterDatasetsUpdate: function(chart, options) {\r\n\t\tvar count = (chart.data.datasets || []).length;\r\n\t\tvar propagate = options.propagate;\r\n\t\tvar sources = [];\r\n\t\tvar meta, i, el, source;\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\tel = meta.dataset;\r\n\t\t\tsource = null;\r\n\r\n\t\t\tif (el && el._model && el instanceof elements.Line) {\r\n\t\t\t\tsource = {\r\n\t\t\t\t\tvisible: chart.isDatasetVisible(i),\r\n\t\t\t\t\tfill: decodeFill(el, i, count),\r\n\t\t\t\t\tchart: chart,\r\n\t\t\t\t\tel: el\r\n\t\t\t\t};\r\n\t\t\t}\r\n\r\n\t\t\tmeta.$filler = source;\r\n\t\t\tsources.push(source);\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!source) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tsource.fill = resolveTarget(sources, i, propagate);\r\n\t\t\tsource.boundary = computeBoundary(source);\r\n\t\t\tsource.mapper = createMapper(source);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeDatasetsDraw: function(chart) {\r\n\t\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\t\tvar ctx = chart.ctx;\r\n\t\tvar meta, i, el, view, points, mapper, color;\r\n\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tmeta = metasets[i].$filler;\r\n\r\n\t\t\tif (!meta || !meta.visible) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tel = meta.el;\r\n\t\t\tview = el._view;\r\n\t\t\tpoints = el._children || [];\r\n\t\t\tmapper = meta.mapper;\r\n\t\t\tcolor = view.backgroundColor || core_defaults.global.defaultColor;\r\n\r\n\t\t\tif (mapper && color && points.length) {\r\n\t\t\t\thelpers$1.canvas.clipArea(ctx, chart.chartArea);\r\n\t\t\t\tdoFill(ctx, points, mapper, view, color, el._loop);\r\n\t\t\t\thelpers$1.canvas.unclipArea(ctx);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar getRtlHelper$1 = helpers$1.rtl.getRtlAdapter;\r\nvar noop$1 = helpers$1.noop;\r\nvar valueOrDefault$e = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\tlegend: {\r\n\t\tdisplay: true,\r\n\t\tposition: 'top',\r\n\t\talign: 'center',\r\n\t\tfullWidth: true,\r\n\t\treverse: false,\r\n\t\tweight: 1000,\r\n\r\n\t\t// a callback that will handle\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.datasetIndex;\r\n\t\t\tvar ci = this.chart;\r\n\t\t\tvar meta = ci.getDatasetMeta(index);\r\n\r\n\t\t\t// See controller.isDatasetVisible comment\r\n\t\t\tmeta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null;\r\n\r\n\t\t\t// We hid a dataset ... rerender the chart\r\n\t\t\tci.update();\r\n\t\t},\r\n\r\n\t\tonHover: null,\r\n\t\tonLeave: null,\r\n\r\n\t\tlabels: {\r\n\t\t\tboxWidth: 40,\r\n\t\t\tpadding: 10,\r\n\t\t\t// Generates labels shown in the legend\r\n\t\t\t// Valid properties to return:\r\n\t\t\t// text : text to display\r\n\t\t\t// fillStyle : fill of coloured box\r\n\t\t\t// strokeStyle: stroke of coloured box\r\n\t\t\t// hidden : if this legend item refers to a hidden item\r\n\t\t\t// lineCap : cap style for line\r\n\t\t\t// lineDash\r\n\t\t\t// lineDashOffset :\r\n\t\t\t// lineJoin :\r\n\t\t\t// lineWidth :\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar datasets = chart.data.datasets;\r\n\t\t\t\tvar options = chart.options.legend || {};\r\n\t\t\t\tvar usePointStyle = options.labels && options.labels.usePointStyle;\r\n\r\n\t\t\t\treturn chart._getSortedDatasetMetas().map(function(meta) {\r\n\t\t\t\t\tvar style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\r\n\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\ttext: datasets[meta.index].label,\r\n\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\thidden: !chart.isDatasetVisible(meta.index),\r\n\t\t\t\t\t\tlineCap: style.borderCapStyle,\r\n\t\t\t\t\t\tlineDash: style.borderDash,\r\n\t\t\t\t\t\tlineDashOffset: style.borderDashOffset,\r\n\t\t\t\t\t\tlineJoin: style.borderJoinStyle,\r\n\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\tpointStyle: style.pointStyle,\r\n\t\t\t\t\t\trotation: style.rotation,\r\n\r\n\t\t\t\t\t\t// Below is extra data used for toggling the datasets\r\n\t\t\t\t\t\tdatasetIndex: meta.index\r\n\t\t\t\t\t};\r\n\t\t\t\t}, this);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\tlistItemSpan.style.backgroundColor = datasets[i].backgroundColor;\r\n\t\t\tif (datasets[i].label) {\r\n\t\t\t\tlistItem.appendChild(document.createTextNode(datasets[i].label));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t}\r\n});\r\n\r\n/**\r\n * Helper function to get the box width based on the usePointStyle option\r\n * @param {object} labelopts - the label options on the legend\r\n * @param {number} fontSize - the label font size\r\n * @return {number} width of the color box area\r\n */\r\nfunction getBoxWidth(labelOpts, fontSize) {\r\n\treturn labelOpts.usePointStyle && labelOpts.boxWidth > fontSize ?\r\n\t\tfontSize :\r\n\t\tlabelOpts.boxWidth;\r\n}\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Legend = core_element.extend({\r\n\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\r\n\t\t/**\r\n \t\t * @private\r\n \t\t */\r\n\t\tme._hoveredItem = null;\r\n\r\n\t\t// Are we in doughnut mode which has a different data type\r\n\t\tme.doughnutMode = false;\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\t// Any function defined here is inherited by all legend types.\r\n\t// Any function can be extended by the legend type\r\n\r\n\tbeforeUpdate: noop$1,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\t},\r\n\tafterUpdate: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$1,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$1,\r\n\tbuildLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelOpts = me.options.labels || {};\r\n\t\tvar legendItems = helpers$1.callback(labelOpts.generateLabels, [me.chart], me) || [];\r\n\r\n\t\tif (labelOpts.filter) {\r\n\t\t\tlegendItems = legendItems.filter(function(item) {\r\n\t\t\t\treturn labelOpts.filter(item, me.chart.data);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (me.options.reverse) {\r\n\t\t\tlegendItems.reverse();\r\n\t\t}\r\n\r\n\t\tme.legendItems = legendItems;\r\n\t},\r\n\tafterBuildLabels: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$1,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar display = opts.display;\r\n\r\n\t\tvar ctx = me.ctx;\r\n\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\r\n\t\t// Reset hit boxes\r\n\t\tvar hitboxes = me.legendHitBoxes = [];\r\n\r\n\t\tvar minSize = me.minSize;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth; // fill all the width\r\n\t\t\tminSize.height = display ? 10 : 0;\r\n\t\t} else {\r\n\t\t\tminSize.width = display ? 10 : 0;\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t}\r\n\r\n\t\t// Increase sizes here\r\n\t\tif (!display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\t// Labels\r\n\r\n\t\t\t// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one\r\n\t\t\tvar lineWidths = me.lineWidths = [0];\r\n\t\t\tvar totalHeight = 0;\r\n\r\n\t\t\tctx.textAlign = 'left';\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\tif (i === 0 || lineWidths[lineWidths.length - 1] + width + 2 * labelOpts.padding > minSize.width) {\r\n\t\t\t\t\ttotalHeight += fontSize + labelOpts.padding;\r\n\t\t\t\t\tlineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: width,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlineWidths[lineWidths.length - 1] += width + labelOpts.padding;\r\n\t\t\t});\r\n\r\n\t\t\tminSize.height += totalHeight;\r\n\r\n\t\t} else {\r\n\t\t\tvar vPadding = labelOpts.padding;\r\n\t\t\tvar columnWidths = me.columnWidths = [];\r\n\t\t\tvar columnHeights = me.columnHeights = [];\r\n\t\t\tvar totalWidth = labelOpts.padding;\r\n\t\t\tvar currentColWidth = 0;\r\n\t\t\tvar currentColHeight = 0;\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\t// If too tall, go to new column\r\n\t\t\t\tif (i > 0 && currentColHeight + fontSize + 2 * vPadding > minSize.height) {\r\n\t\t\t\t\ttotalWidth += currentColWidth + labelOpts.padding;\r\n\t\t\t\t\tcolumnWidths.push(currentColWidth); // previous column width\r\n\t\t\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\t\t\tcurrentColWidth = 0;\r\n\t\t\t\t\tcurrentColHeight = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Get max width\r\n\t\t\t\tcurrentColWidth = Math.max(currentColWidth, itemWidth);\r\n\t\t\t\tcurrentColHeight += fontSize + vPadding;\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: itemWidth,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\t\t\t});\r\n\r\n\t\t\ttotalWidth += currentColWidth;\r\n\t\t\tcolumnWidths.push(currentColWidth);\r\n\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\tminSize.width += totalWidth;\r\n\t\t}\r\n\r\n\t\tme.width = minSize.width;\r\n\t\tme.height = minSize.height;\r\n\t},\r\n\tafterFit: noop$1,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\treturn this.options.position === 'top' || this.options.position === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the legend on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor;\r\n\t\tvar lineDefault = globalDefaults.elements.line;\r\n\t\tvar legendHeight = me.height;\r\n\t\tvar columnHeights = me.columnHeights;\r\n\t\tvar legendWidth = me.width;\r\n\t\tvar lineWidths = me.lineWidths;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar rtlHelper = getRtlHelper$1(opts.rtl, me.left, me.minSize.width);\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar fontColor = valueOrDefault$e(labelOpts.fontColor, globalDefaults.defaultFontColor);\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\t\tvar cursor;\r\n\r\n\t\t// Canvas setup\r\n\t\tctx.textAlign = rtlHelper.textAlign('left');\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.lineWidth = 0.5;\r\n\t\tctx.strokeStyle = fontColor; // for strikethrough effect\r\n\t\tctx.fillStyle = fontColor; // render in correct colour\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\tvar hitboxes = me.legendHitBoxes;\r\n\r\n\t\t// current position\r\n\t\tvar drawLegendBox = function(x, y, legendItem) {\r\n\t\t\tif (isNaN(boxWidth) || boxWidth <= 0) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Set the ctx for the box\r\n\t\t\tctx.save();\r\n\r\n\t\t\tvar lineWidth = valueOrDefault$e(legendItem.lineWidth, lineDefault.borderWidth);\r\n\t\t\tctx.fillStyle = valueOrDefault$e(legendItem.fillStyle, defaultColor);\r\n\t\t\tctx.lineCap = valueOrDefault$e(legendItem.lineCap, lineDefault.borderCapStyle);\r\n\t\t\tctx.lineDashOffset = valueOrDefault$e(legendItem.lineDashOffset, lineDefault.borderDashOffset);\r\n\t\t\tctx.lineJoin = valueOrDefault$e(legendItem.lineJoin, lineDefault.borderJoinStyle);\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = valueOrDefault$e(legendItem.strokeStyle, defaultColor);\r\n\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t// IE 9 and 10 do not support line dash\r\n\t\t\t\tctx.setLineDash(valueOrDefault$e(legendItem.lineDash, lineDefault.borderDash));\r\n\t\t\t}\r\n\r\n\t\t\tif (labelOpts && labelOpts.usePointStyle) {\r\n\t\t\t\t// Recalculate x and y for drawPoint() because its expecting\r\n\t\t\t\t// x and y to be center of figure (instead of top left)\r\n\t\t\t\tvar radius = boxWidth * Math.SQRT2 / 2;\r\n\t\t\t\tvar centerX = rtlHelper.xPlus(x, boxWidth / 2);\r\n\t\t\t\tvar centerY = y + fontSize / 2;\r\n\r\n\t\t\t\t// Draw pointStyle as legend symbol\r\n\t\t\t\thelpers$1.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY, legendItem.rotation);\r\n\t\t\t} else {\r\n\t\t\t\t// Draw box as legend symbol\r\n\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\tif (lineWidth !== 0) {\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t};\r\n\r\n\t\tvar fillText = function(x, y, legendItem, textWidth) {\r\n\t\t\tvar halfFontSize = fontSize / 2;\r\n\t\t\tvar xLeft = rtlHelper.xPlus(x, boxWidth + halfFontSize);\r\n\t\t\tvar yMiddle = y + halfFontSize;\r\n\r\n\t\t\tctx.fillText(legendItem.text, xLeft, yMiddle);\r\n\r\n\t\t\tif (legendItem.hidden) {\r\n\t\t\t\t// Strikethrough the text if hidden\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.lineWidth = 2;\r\n\t\t\t\tctx.moveTo(xLeft, yMiddle);\r\n\t\t\t\tctx.lineTo(rtlHelper.xPlus(xLeft, textWidth), yMiddle);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tvar alignmentOffset = function(dimension, blockSize) {\r\n\t\t\tswitch (opts.align) {\r\n\t\t\tcase 'start':\r\n\t\t\t\treturn labelOpts.padding;\r\n\t\t\tcase 'end':\r\n\t\t\t\treturn dimension - blockSize;\r\n\t\t\tdefault: // center\r\n\t\t\t\treturn (dimension - blockSize + labelOpts.padding) / 2;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t// Horizontal\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tif (isHorizontal) {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + alignmentOffset(legendWidth, lineWidths[0]),\r\n\t\t\t\ty: me.top + labelOpts.padding,\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + labelOpts.padding,\r\n\t\t\t\ty: me.top + alignmentOffset(legendHeight, columnHeights[0]),\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\thelpers$1.rtl.overrideTextDirection(me.ctx, opts.textDirection);\r\n\r\n\t\tvar itemHeight = fontSize + labelOpts.padding;\r\n\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\tvar textWidth = ctx.measureText(legendItem.text).width;\r\n\t\t\tvar width = boxWidth + (fontSize / 2) + textWidth;\r\n\t\t\tvar x = cursor.x;\r\n\t\t\tvar y = cursor.y;\r\n\r\n\t\t\trtlHelper.setWidth(me.minSize.width);\r\n\r\n\t\t\t// Use (me.left + me.minSize.width) and (me.top + me.minSize.height)\r\n\t\t\t// instead of me.right and me.bottom because me.width and me.height\r\n\t\t\t// may have been changed since me.minSize was calculated\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tif (i > 0 && x + width + labelOpts.padding > me.left + me.minSize.width) {\r\n\t\t\t\t\ty = cursor.y += itemHeight;\r\n\t\t\t\t\tcursor.line++;\r\n\t\t\t\t\tx = cursor.x = me.left + alignmentOffset(legendWidth, lineWidths[cursor.line]);\r\n\t\t\t\t}\r\n\t\t\t} else if (i > 0 && y + itemHeight > me.top + me.minSize.height) {\r\n\t\t\t\tx = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;\r\n\t\t\t\tcursor.line++;\r\n\t\t\t\ty = cursor.y = me.top + alignmentOffset(legendHeight, columnHeights[cursor.line]);\r\n\t\t\t}\r\n\r\n\t\t\tvar realX = rtlHelper.x(x);\r\n\r\n\t\t\tdrawLegendBox(realX, y, legendItem);\r\n\r\n\t\t\thitboxes[i].left = rtlHelper.leftForLtr(realX, hitboxes[i].width);\r\n\t\t\thitboxes[i].top = y;\r\n\r\n\t\t\t// Fill the actual label\r\n\t\t\tfillText(realX, y, legendItem, textWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tcursor.x += width + labelOpts.padding;\r\n\t\t\t} else {\r\n\t\t\t\tcursor.y += itemHeight;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.rtl.restoreTextDirection(me.ctx, opts.textDirection);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLegendItemAt: function(x, y) {\r\n\t\tvar me = this;\r\n\t\tvar i, hitBox, lh;\r\n\r\n\t\tif (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {\r\n\t\t\t// See if we are touching one of the dataset boxes\r\n\t\t\tlh = me.legendHitBoxes;\r\n\t\t\tfor (i = 0; i < lh.length; ++i) {\r\n\t\t\t\thitBox = lh[i];\r\n\r\n\t\t\t\tif (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {\r\n\t\t\t\t\t// Touching an element\r\n\t\t\t\t\treturn me.legendItems[i];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar type = e.type === 'mouseup' ? 'click' : e.type;\r\n\t\tvar hoveredItem;\r\n\r\n\t\tif (type === 'mousemove') {\r\n\t\t\tif (!opts.onHover && !opts.onLeave) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else if (type === 'click') {\r\n\t\t\tif (!opts.onClick) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Chart event already has relative position in it\r\n\t\thoveredItem = me._getLegendItemAt(e.x, e.y);\r\n\r\n\t\tif (type === 'click') {\r\n\t\t\tif (hoveredItem && opts.onClick) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onClick.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (opts.onLeave && hoveredItem !== me._hoveredItem) {\r\n\t\t\t\tif (me._hoveredItem) {\r\n\t\t\t\t\topts.onLeave.call(me, e.native, me._hoveredItem);\r\n\t\t\t\t}\r\n\t\t\t\tme._hoveredItem = hoveredItem;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts.onHover && hoveredItem) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onHover.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction createNewLegendAndAttach(chart, legendOpts) {\r\n\tvar legend = new Legend({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: legendOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, legend, legendOpts);\r\n\tcore_layouts.addBox(chart, legend);\r\n\tchart.legend = legend;\r\n}\r\n\r\nvar plugin_legend = {\r\n\tid: 'legend',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the legend is registered as a plugin, making\r\n\t * Chart.Legend obsolete. To avoid a breaking change, we export the Legend as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Legend,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\t\tvar legend = chart.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\thelpers$1.mergeIf(legendOpts, core_defaults.global.legend);\r\n\r\n\t\t\tif (legend) {\r\n\t\t\t\tcore_layouts.configure(chart, legend, legendOpts);\r\n\t\t\t\tlegend.options = legendOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t\t}\r\n\t\t} else if (legend) {\r\n\t\t\tcore_layouts.removeBox(chart, legend);\r\n\t\t\tdelete chart.legend;\r\n\t\t}\r\n\t},\r\n\r\n\tafterEvent: function(chart, e) {\r\n\t\tvar legend = chart.legend;\r\n\t\tif (legend) {\r\n\t\t\tlegend.handleEvent(e);\r\n\t\t}\r\n\t}\r\n};\n\nvar noop$2 = helpers$1.noop;\r\n\r\ncore_defaults._set('global', {\r\n\ttitle: {\r\n\t\tdisplay: false,\r\n\t\tfontStyle: 'bold',\r\n\t\tfullWidth: true,\r\n\t\tpadding: 10,\r\n\t\tposition: 'top',\r\n\t\ttext: '',\r\n\t\tweight: 2000         // by default greater than legend (1000) to be above\r\n\t}\r\n});\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Title = core_element.extend({\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\r\n\tbeforeUpdate: noop$2,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\r\n\t},\r\n\tafterUpdate: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$2,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$2,\r\n\tbuildLabels: noop$2,\r\n\tafterBuildLabels: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$2,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar minSize = me.minSize = {};\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar lineCount, textSize;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlineCount = helpers$1.isArray(opts.text) ? opts.text.length : 1;\r\n\t\ttextSize = lineCount * helpers$1.options._parseFont(opts).lineHeight + opts.padding * 2;\r\n\r\n\t\tme.width = minSize.width = isHorizontal ? me.maxWidth : textSize;\r\n\t\tme.height = minSize.height = isHorizontal ? textSize : me.maxHeight;\r\n\t},\r\n\tafterFit: noop$2,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the title block on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar fontOpts = helpers$1.options._parseFont(opts);\r\n\t\tvar lineHeight = fontOpts.lineHeight;\r\n\t\tvar offset = lineHeight / 2 + opts.padding;\r\n\t\tvar rotation = 0;\r\n\t\tvar top = me.top;\r\n\t\tvar left = me.left;\r\n\t\tvar bottom = me.bottom;\r\n\t\tvar right = me.right;\r\n\t\tvar maxWidth, titleX, titleY;\r\n\r\n\t\tctx.fillStyle = helpers$1.valueOrDefault(opts.fontColor, core_defaults.global.defaultFontColor); // render in correct colour\r\n\t\tctx.font = fontOpts.string;\r\n\r\n\t\t// Horizontal\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\ttitleX = left + ((right - left) / 2); // midpoint of the width\r\n\t\t\ttitleY = top + offset;\r\n\t\t\tmaxWidth = right - left;\r\n\t\t} else {\r\n\t\t\ttitleX = opts.position === 'left' ? left + offset : right - offset;\r\n\t\t\ttitleY = top + ((bottom - top) / 2);\r\n\t\t\tmaxWidth = bottom - top;\r\n\t\t\trotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(titleX, titleY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\tvar text = opts.text;\r\n\t\tif (helpers$1.isArray(text)) {\r\n\t\t\tvar y = 0;\r\n\t\t\tfor (var i = 0; i < text.length; ++i) {\r\n\t\t\t\tctx.fillText(text[i], 0, y, maxWidth);\r\n\t\t\t\ty += lineHeight;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tctx.fillText(text, 0, 0, maxWidth);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\r\n\r\nfunction createNewTitleBlockAndAttach(chart, titleOpts) {\r\n\tvar title = new Title({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: titleOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, title, titleOpts);\r\n\tcore_layouts.addBox(chart, title);\r\n\tchart.titleBlock = title;\r\n}\r\n\r\nvar plugin_title = {\r\n\tid: 'title',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the title is registered as a plugin, making\r\n\t * Chart.Title obsolete. To avoid a breaking change, we export the Title as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Title,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\t\tvar titleBlock = chart.titleBlock;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\thelpers$1.mergeIf(titleOpts, core_defaults.global.title);\r\n\r\n\t\t\tif (titleBlock) {\r\n\t\t\t\tcore_layouts.configure(chart, titleBlock, titleOpts);\r\n\t\t\t\ttitleBlock.options = titleOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t\t}\r\n\t\t} else if (titleBlock) {\r\n\t\t\tcore_layouts.removeBox(chart, titleBlock);\r\n\t\t\tdelete chart.titleBlock;\r\n\t\t}\r\n\t}\r\n};\n\nvar plugins = {};\r\nvar filler = plugin_filler;\r\nvar legend = plugin_legend;\r\nvar title = plugin_title;\nplugins.filler = filler;\nplugins.legend = legend;\nplugins.title = title;\n\n/**\r\n * @namespace Chart\r\n */\r\n\r\n\r\ncore_controller.helpers = helpers$1;\r\n\r\n// @todo dispatch these helpers into appropriated helpers/helpers.* file and write unit tests!\r\ncore_helpers();\r\n\r\ncore_controller._adapters = core_adapters;\r\ncore_controller.Animation = core_animation;\r\ncore_controller.animationService = core_animations;\r\ncore_controller.controllers = controllers;\r\ncore_controller.DatasetController = core_datasetController;\r\ncore_controller.defaults = core_defaults;\r\ncore_controller.Element = core_element;\r\ncore_controller.elements = elements;\r\ncore_controller.Interaction = core_interaction;\r\ncore_controller.layouts = core_layouts;\r\ncore_controller.platform = platform;\r\ncore_controller.plugins = core_plugins;\r\ncore_controller.Scale = core_scale;\r\ncore_controller.scaleService = core_scaleService;\r\ncore_controller.Ticks = core_ticks;\r\ncore_controller.Tooltip = core_tooltip;\r\n\r\n// Register built-in scales\r\n\r\ncore_controller.helpers.each(scales, function(scale, type) {\r\n\tcore_controller.scaleService.registerScaleType(type, scale, scale._defaults);\r\n});\r\n\r\n// Load to register built-in adapters (as side effects)\r\n\r\n\r\n// Loading built-in plugins\r\n\r\nfor (var k in plugins) {\r\n\tif (plugins.hasOwnProperty(k)) {\r\n\t\tcore_controller.plugins.register(plugins[k]);\r\n\t}\r\n}\r\n\r\ncore_controller.platform.initialize();\r\n\r\nvar src = core_controller;\r\nif (typeof window !== 'undefined') {\r\n\twindow.Chart = core_controller;\r\n}\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Chart\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Chart = core_controller;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Legend\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Legend = plugins.legend._element;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Title\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Title = plugins.title._element;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.plugins instead\r\n * @namespace Chart.pluginService\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.pluginService = core_controller.plugins;\r\n\r\n/**\r\n * Provided for backward compatibility, inheriting from Chart.PlugingBase has no\r\n * effect, instead simply create/register plugins via plain JavaScript objects.\r\n * @interface Chart.PluginBase\r\n * @deprecated since version 2.5.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.PluginBase = core_controller.Element.extend({});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas instead.\r\n * @namespace Chart.canvasHelpers\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.canvasHelpers = core_controller.helpers.canvas;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.layouts instead.\r\n * @namespace Chart.layoutService\r\n * @deprecated since version 2.7.3\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.layoutService = core_controller.layouts;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.LinearScaleBase\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.LinearScaleBase = scale_linearbase;\r\n\r\n/**\r\n * Provided for backward compatibility, instead we should create a new Chart\r\n * by setting the type in the config (`new Chart(id, {type: '{chart-type}'}`).\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n */\r\ncore_controller.helpers.each(\r\n\t[\r\n\t\t'Bar',\r\n\t\t'Bubble',\r\n\t\t'Doughnut',\r\n\t\t'Line',\r\n\t\t'PolarArea',\r\n\t\t'Radar',\r\n\t\t'Scatter'\r\n\t],\r\n\tfunction(klass) {\r\n\t\tcore_controller[klass] = function(ctx, cfg) {\r\n\t\t\treturn new core_controller(ctx, core_controller.helpers.merge(cfg || {}, {\r\n\t\t\t\ttype: klass.charAt(0).toLowerCase() + klass.slice(1)\r\n\t\t\t}));\r\n\t\t};\r\n\t}\r\n);\n\nreturn src;\n\n})));\n\n}","if (typeof FastBoot === 'undefined') {\n/*!\n * Cropper.js v1.5.12\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2021-06-12T08:00:17.411Z\n */\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).Cropper=e()}(this,function(){\"use strict\";function e(e,t){var i,a=Object.keys(e);return Object.getOwnPropertySymbols&&(i=Object.getOwnPropertySymbols(e),t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,i)),a}function B(a){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?e(Object(n),!0).forEach(function(t){var e,i;e=a,t=n[i=t],i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)):e(Object(n)).forEach(function(t){Object.defineProperty(a,t,Object.getOwnPropertyDescriptor(n,t))})}return a}function i(t){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t})(t)}function n(t,e){for(var i=0;i<e.length;i++){var a=e[i];a.enumerable=a.enumerable||!1,a.configurable=!0,\"value\"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function T(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if(\"undefined\"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t[\"@@iterator\"])return Array.from(t)}(t)||function(t,e){if(t){if(\"string\"==typeof t)return a(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return\"Map\"===(i=\"Object\"===i&&t.constructor?t.constructor.name:i)||\"Set\"===i?Array.from(t):\"Arguments\"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?a(t,e):void 0}}(t)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}var t=\"undefined\"!=typeof window&&void 0!==window.document,h=t?window:{},o=!(!t||!h.document.documentElement)&&\"ontouchstart\"in h.document.documentElement,r=t&&\"PointerEvent\"in h,c=\"cropper\",k=\"all\",O=\"crop\",E=\"move\",W=\"zoom\",H=\"e\",N=\"w\",L=\"s\",z=\"n\",Y=\"ne\",X=\"nw\",R=\"se\",S=\"sw\",s=\"\".concat(c,\"-crop\"),d=\"\".concat(c,\"-disabled\"),A=\"\".concat(c,\"-hidden\"),l=\"\".concat(c,\"-hide\"),p=\"\".concat(c,\"-invisible\"),m=\"\".concat(c,\"-modal\"),u=\"\".concat(c,\"-move\"),g=\"\".concat(c,\"Action\"),f=\"\".concat(c,\"Preview\"),v=\"crop\",w=\"move\",b=\"none\",y=\"crop\",x=\"cropend\",M=\"cropmove\",C=\"cropstart\",D=\"dblclick\",j=r?\"pointerdown\":o?\"touchstart\":\"mousedown\",I=r?\"pointermove\":o?\"touchmove\":\"mousemove\",P=r?\"pointerup pointercancel\":o?\"touchend touchcancel\":\"mouseup\",U=\"zoom\",q=\"image/jpeg\",$=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,Q=/^data:/,K=/^data:image\\/jpeg;base64,/,Z=/^img|canvas$/i,G={viewMode:0,dragMode:v,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:\"\",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:200,minContainerHeight:100,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},V=Number.isNaN||h.isNaN;function F(t){return\"number\"==typeof t&&!V(t)}var J=function(t){return 0<t&&t<1/0};function _(t){return void 0===t}function tt(t){return\"object\"===i(t)&&null!==t}var et=Object.prototype.hasOwnProperty;function it(t){if(!tt(t))return!1;try{var e=t.constructor,i=e.prototype;return e&&i&&et.call(i,\"isPrototypeOf\")}catch(t){return!1}}function at(t){return\"function\"==typeof t}var nt=Array.prototype.slice;function ot(t){return Array.from?Array.from(t):nt.call(t)}function ht(i,a){return i&&at(a)&&(Array.isArray(i)||F(i.length)?ot(i).forEach(function(t,e){a.call(i,t,e,i)}):tt(i)&&Object.keys(i).forEach(function(t){a.call(i,i[t],t,i)})),i}var rt=Object.assign||function(i){for(var t=arguments.length,e=new Array(1<t?t-1:0),a=1;a<t;a++)e[a-1]=arguments[a];return tt(i)&&0<e.length&&e.forEach(function(e){tt(e)&&Object.keys(e).forEach(function(t){i[t]=e[t]})}),i},st=/\\.\\d*(?:0|9){12}\\d*$/;function ct(t,e){e=1<arguments.length&&void 0!==e?e:1e11;return st.test(t)?Math.round(t*e)/e:t}var dt=/^width|height|left|top|marginLeft|marginTop$/;function lt(t,e){var i=t.style;ht(e,function(t,e){dt.test(e)&&F(t)&&(t=\"\".concat(t,\"px\")),i[e]=t})}function pt(t,e){var i;e&&(F(t.length)?ht(t,function(t){pt(t,e)}):t.classList?t.classList.add(e):(i=t.className.trim())?i.indexOf(e)<0&&(t.className=\"\".concat(i,\" \").concat(e)):t.className=e)}function mt(t,e){e&&(F(t.length)?ht(t,function(t){mt(t,e)}):t.classList?t.classList.remove(e):0<=t.className.indexOf(e)&&(t.className=t.className.replace(e,\"\")))}function ut(t,e,i){e&&(F(t.length)?ht(t,function(t){ut(t,e,i)}):(i?pt:mt)(t,e))}var gt=/([a-z\\d])([A-Z])/g;function ft(t){return t.replace(gt,\"$1-$2\").toLowerCase()}function vt(t,e){return tt(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute(\"data-\".concat(ft(e)))}function wt(t,e,i){tt(i)?t[e]=i:t.dataset?t.dataset[e]=i:t.setAttribute(\"data-\".concat(ft(e)),i)}var bt,yt,xt=/\\s\\s*/,Mt=(yt=!1,t&&(bt=!1,At=function(){},It=Object.defineProperty({},\"once\",{get:function(){return yt=!0,bt},set:function(t){bt=t}}),h.addEventListener(\"test\",At,It),h.removeEventListener(\"test\",At,It)),yt);function Ct(i,t,a,e){var n=3<arguments.length&&void 0!==e?e:{},o=a;t.trim().split(xt).forEach(function(t){var e;Mt||(e=i.listeners)&&e[t]&&e[t][a]&&(o=e[t][a],delete e[t][a],0===Object.keys(e[t]).length&&delete e[t],0===Object.keys(e).length&&delete i.listeners),i.removeEventListener(t,o,n)})}function Dt(o,t,h,e){var r=3<arguments.length&&void 0!==e?e:{},s=h;t.trim().split(xt).forEach(function(a){var t,n;r.once&&!Mt&&(t=o.listeners,s=function(){delete n[a][h],o.removeEventListener(a,s,r);for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];h.apply(o,e)},(n=void 0===t?{}:t)[a]||(n[a]={}),n[a][h]&&o.removeEventListener(a,n[a][h],r),n[a][h]=s,o.listeners=n),o.addEventListener(a,s,r)})}function Bt(t,e,i){var a;return at(Event)&&at(CustomEvent)?a=new CustomEvent(e,{detail:i,bubbles:!0,cancelable:!0}):(a=document.createEvent(\"CustomEvent\")).initCustomEvent(e,!0,!0,i),t.dispatchEvent(a)}function kt(t){t=t.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var Ot=h.location,Tt=/^(\\w+:)\\/\\/([^:/?#]*):?(\\d*)/i;function Et(t){t=t.match(Tt);return null!==t&&(t[1]!==Ot.protocol||t[2]!==Ot.hostname||t[3]!==Ot.port)}function Wt(t){var e=\"timestamp=\".concat((new Date).getTime());return t+(-1===t.indexOf(\"?\")?\"?\":\"&\")+e}function Ht(t){var e=t.rotate,i=t.scaleX,a=t.scaleY,n=t.translateX,o=t.translateY,t=[];F(n)&&0!==n&&t.push(\"translateX(\".concat(n,\"px)\")),F(o)&&0!==o&&t.push(\"translateY(\".concat(o,\"px)\")),F(e)&&0!==e&&t.push(\"rotate(\".concat(e,\"deg)\")),F(i)&&1!==i&&t.push(\"scaleX(\".concat(i,\")\")),F(a)&&1!==a&&t.push(\"scaleY(\".concat(a,\")\"));t=t.length?t.join(\" \"):\"none\";return{WebkitTransform:t,msTransform:t,transform:t}}function Nt(t,e){var i=t.pageX,a=t.pageY,t={endX:i,endY:a};return e?t:B({startX:i,startY:a},t)}function Lt(t,e){var i=t.aspectRatio,a=t.height,n=t.width,o=1<arguments.length&&void 0!==e?e:\"contain\",h=J(n),t=J(a);return h&&t?(e=a*i,\"contain\"===o&&n<e||\"cover\"===o&&e<n?a=n/i:n=a*i):h?a=n/i:t&&(n=a*i),{width:n,height:a}}var zt=String.fromCharCode;var Yt=/^data:.*,/;function Xt(t){var e,i,a,n,o,h,r,s=new DataView(t);try{if(255===s.getUint8(0)&&216===s.getUint8(1))for(var c=s.byteLength,d=2;d+1<c;){if(255===s.getUint8(d)&&225===s.getUint8(d+1)){i=d;break}d+=1}if(i&&(n=i+10,\"Exif\"===function(t,e,i){var a=\"\";i+=e;for(var n=e;n<i;n+=1)a+=zt(t.getUint8(n));return a}(s,i+4,4)&&(!(r=18761===(o=s.getUint16(n)))&&19789!==o||42!==s.getUint16(n+2,r)||8<=(h=s.getUint32(n+4,r))&&(a=n+h))),a)for(var l,p=s.getUint16(a,r),m=0;m<p;m+=1)if(l=a+12*m+2,274===s.getUint16(l,r)){l+=8,e=s.getUint16(l,r),s.setUint16(l,1,r);break}}catch(t){e=1}return e}var Rt={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,e=this.options,i=this.container,a=this.cropper,n=Number(e.minContainerWidth),e=Number(e.minContainerHeight);pt(a,A),mt(t,A);e={width:Math.max(i.offsetWidth,0<=n?n:200),height:Math.max(i.offsetHeight,0<=e?e:100)};lt(a,{width:(this.containerData=e).width,height:e.height}),pt(t,A),mt(a,A)},initCanvas:function(){var t=this.containerData,e=this.imageData,i=this.options.viewMode,a=Math.abs(e.rotate)%180==90,n=a?e.naturalHeight:e.naturalWidth,o=a?e.naturalWidth:e.naturalHeight,h=n/o,a=t.width,e=t.height;t.height*h>t.width?3===i?a=t.height*h:e=t.width/h:3===i?e=t.width/h:a=t.height*h;e={aspectRatio:h,naturalWidth:n,naturalHeight:o,width:a,height:e};this.canvasData=e,this.limited=1===i||2===i,this.limitCanvas(!0,!0),e.width=Math.min(Math.max(e.width,e.minWidth),e.maxWidth),e.height=Math.min(Math.max(e.height,e.minHeight),e.maxHeight),e.left=(t.width-e.width)/2,e.top=(t.height-e.height)/2,e.oldLeft=e.left,e.oldTop=e.top,this.initialCanvasData=rt({},e)},limitCanvas:function(t,e){var i,a=this.options,n=this.containerData,o=this.canvasData,h=this.cropBoxData,r=a.viewMode,s=o.aspectRatio,c=this.cropped&&h;t&&(t=Number(a.minCanvasWidth)||0,i=Number(a.minCanvasHeight)||0,1<r?(t=Math.max(t,n.width),i=Math.max(i,n.height),3===r&&(t<i*s?t=i*s:i=t/s)):0<r&&(t?t=Math.max(t,c?h.width:0):i?i=Math.max(i,c?h.height:0):c&&((t=h.width)<(i=h.height)*s?t=i*s:i=t/s)),t=(s=Lt({aspectRatio:s,width:t,height:i})).width,i=s.height,o.minWidth=t,o.minHeight=i,o.maxWidth=1/0,o.maxHeight=1/0),e&&((c?0:1)<r?(i=n.width-o.width,e=n.height-o.height,o.minLeft=Math.min(0,i),o.minTop=Math.min(0,e),o.maxLeft=Math.max(0,i),o.maxTop=Math.max(0,e),c&&this.limited&&(o.minLeft=Math.min(h.left,h.left+(h.width-o.width)),o.minTop=Math.min(h.top,h.top+(h.height-o.height)),o.maxLeft=h.left,o.maxTop=h.top,2===r&&(o.width>=n.width&&(o.minLeft=Math.min(0,i),o.maxLeft=Math.max(0,i)),o.height>=n.height&&(o.minTop=Math.min(0,e),o.maxTop=Math.max(0,e))))):(o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=n.width,o.maxTop=n.height))},renderCanvas:function(t,e){var i,a,n=this.canvasData,o=this.imageData;e&&(i=(a=function(t){var e=t.width,i=t.height,a=t.degree;if(90==(a=Math.abs(a)%180))return{width:i,height:e};var n=a%90*Math.PI/180,o=Math.sin(n),t=Math.cos(n),n=e*t+i*o,t=e*o+i*t;return 90<a?{width:t,height:n}:{width:n,height:t}}({width:o.naturalWidth*Math.abs(o.scaleX||1),height:o.naturalHeight*Math.abs(o.scaleY||1),degree:o.rotate||0})).width,e=a.height,o=n.width*(i/n.naturalWidth),a=n.height*(e/n.naturalHeight),n.left-=(o-n.width)/2,n.top-=(a-n.height)/2,n.width=o,n.height=a,n.aspectRatio=i/e,n.naturalWidth=i,n.naturalHeight=e,this.limitCanvas(!0,!1)),(n.width>n.maxWidth||n.width<n.minWidth)&&(n.left=n.oldLeft),(n.height>n.maxHeight||n.height<n.minHeight)&&(n.top=n.oldTop),n.width=Math.min(Math.max(n.width,n.minWidth),n.maxWidth),n.height=Math.min(Math.max(n.height,n.minHeight),n.maxHeight),this.limitCanvas(!1,!0),n.left=Math.min(Math.max(n.left,n.minLeft),n.maxLeft),n.top=Math.min(Math.max(n.top,n.minTop),n.maxTop),n.oldLeft=n.left,n.oldTop=n.top,lt(this.canvas,rt({width:n.width,height:n.height},Ht({translateX:n.left,translateY:n.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var e=this.canvasData,i=this.imageData,a=i.naturalWidth*(e.width/e.naturalWidth),n=i.naturalHeight*(e.height/e.naturalHeight);rt(i,{width:a,height:n,left:(e.width-a)/2,top:(e.height-n)/2}),lt(this.image,rt({width:i.width,height:i.height},Ht(rt({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,e=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,a=Number(t.autoCropArea)||.8,t={width:e.width,height:e.height};i&&(e.height*i>e.width?t.height=t.width/i:t.width=t.height*i),this.cropBoxData=t,this.limitCropBox(!0,!0),t.width=Math.min(Math.max(t.width,t.minWidth),t.maxWidth),t.height=Math.min(Math.max(t.height,t.minHeight),t.maxHeight),t.width=Math.max(t.minWidth,t.width*a),t.height=Math.max(t.minHeight,t.height*a),t.left=e.left+(e.width-t.width)/2,t.top=e.top+(e.height-t.height)/2,t.oldLeft=t.left,t.oldTop=t.top,this.initialCropBoxData=rt({},t)},limitCropBox:function(t,e){var i,a,n=this.options,o=this.containerData,h=this.canvasData,r=this.cropBoxData,s=this.limited,c=n.aspectRatio;t&&(i=Number(n.minCropBoxWidth)||0,a=Number(n.minCropBoxHeight)||0,t=s?Math.min(o.width,h.width,h.width+h.left,o.width-h.left):o.width,n=s?Math.min(o.height,h.height,h.height+h.top,o.height-h.top):o.height,i=Math.min(i,o.width),a=Math.min(a,o.height),c&&(i&&a?i<a*c?a=i/c:i=a*c:i?a=i/c:a&&(i=a*c),t<n*c?n=t/c:t=n*c),r.minWidth=Math.min(i,t),r.minHeight=Math.min(a,n),r.maxWidth=t,r.maxHeight=n),e&&(s?(r.minLeft=Math.max(0,h.left),r.minTop=Math.max(0,h.top),r.maxLeft=Math.min(o.width,h.left+h.width)-r.width,r.maxTop=Math.min(o.height,h.top+h.height)-r.height):(r.minLeft=0,r.minTop=0,r.maxLeft=o.width-r.width,r.maxTop=o.height-r.height))},renderCropBox:function(){var t=this.options,e=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&wt(this.face,g,i.width>=e.width&&i.height>=e.height?E:k),lt(this.cropBox,rt({width:i.width,height:i.height},Ht({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Bt(this.element,y,this.getData())}},St={initPreview:function(){var t=this.element,i=this.crossOrigin,e=this.options.preview,a=i?this.crossOriginUrl:this.url,n=t.alt||\"The image to preview\",o=document.createElement(\"img\");i&&(o.crossOrigin=i),o.src=a,o.alt=n,this.viewBox.appendChild(o),this.viewBoxImage=o,e&&(\"string\"==typeof(o=e)?o=t.ownerDocument.querySelectorAll(e):e.querySelector&&(o=[e]),ht(this.previews=o,function(t){var e=document.createElement(\"img\");wt(t,f,{width:t.offsetWidth,height:t.offsetHeight,html:t.innerHTML}),i&&(e.crossOrigin=i),e.src=a,e.alt=n,e.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;\"',t.innerHTML=\"\",t.appendChild(e)}))},resetPreview:function(){ht(this.previews,function(t){var e=vt(t,f);lt(t,{width:e.width,height:e.height}),t.innerHTML=e.html,function(e,i){if(tt(e[i]))try{delete e[i]}catch(t){e[i]=void 0}else if(e.dataset)try{delete e.dataset[i]}catch(t){e.dataset[i]=void 0}else e.removeAttribute(\"data-\".concat(ft(i)))}(t,f)})},preview:function(){var h=this.imageData,t=this.canvasData,e=this.cropBoxData,r=e.width,s=e.height,c=h.width,d=h.height,l=e.left-t.left-h.left,p=e.top-t.top-h.top;this.cropped&&!this.disabled&&(lt(this.viewBoxImage,rt({width:c,height:d},Ht(rt({translateX:-l,translateY:-p},h)))),ht(this.previews,function(t){var e=vt(t,f),i=e.width,a=e.height,n=i,o=a,e=1;r&&(o=s*(e=i/r)),s&&a<o&&(n=r*(e=a/s),o=a),lt(t,{width:n,height:o}),lt(t.getElementsByTagName(\"img\")[0],rt({width:c*e,height:d*e},Ht(rt({translateX:-l*e,translateY:-p*e},h))))}))}},r={bind:function(){var t=this.element,e=this.options,i=this.cropper;at(e.cropstart)&&Dt(t,C,e.cropstart),at(e.cropmove)&&Dt(t,M,e.cropmove),at(e.cropend)&&Dt(t,x,e.cropend),at(e.crop)&&Dt(t,y,e.crop),at(e.zoom)&&Dt(t,U,e.zoom),Dt(i,j,this.onCropStart=this.cropStart.bind(this)),e.zoomable&&e.zoomOnWheel&&Dt(i,\"wheel\",this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&Dt(i,D,this.onDblclick=this.dblclick.bind(this)),Dt(t.ownerDocument,I,this.onCropMove=this.cropMove.bind(this)),Dt(t.ownerDocument,P,this.onCropEnd=this.cropEnd.bind(this)),e.responsive&&Dt(window,\"resize\",this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,e=this.options,i=this.cropper;at(e.cropstart)&&Ct(t,C,e.cropstart),at(e.cropmove)&&Ct(t,M,e.cropmove),at(e.cropend)&&Ct(t,x,e.cropend),at(e.crop)&&Ct(t,y,e.crop),at(e.zoom)&&Ct(t,U,e.zoom),Ct(i,j,this.onCropStart),e.zoomable&&e.zoomOnWheel&&Ct(i,\"wheel\",this.onWheel,{passive:!1,capture:!0}),e.toggleDragModeOnDblclick&&Ct(i,D,this.onDblclick),Ct(t.ownerDocument,I,this.onCropMove),Ct(t.ownerDocument,P,this.onCropEnd),e.responsive&&Ct(window,\"resize\",this.onResize)}},o={resize:function(){var t,e,i,a,n,o,h;this.disabled||(t=this.options,e=this.container,a=this.containerData,i=e.offsetWidth/a.width,a=e.offsetHeight/a.height,1!=(n=Math.abs(i-1)>Math.abs(a-1)?i:a)&&(t.restore&&(o=this.getCanvasData(),h=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(ht(o,function(t,e){o[e]=t*n})),this.setCropBoxData(ht(h,function(t,e){h[e]=t*n})))))},dblclick:function(){var t,e;this.disabled||this.options.dragMode===b||this.setDragMode((t=this.dragBox,e=s,(t.classList?t.classList.contains(e):-1<t.className.indexOf(e))?w:v))},wheel:function(t){var e=this,i=Number(this.options.wheelZoomRatio)||.1,a=1;this.disabled||(t.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout(function(){e.wheeling=!1},50),t.deltaY?a=0<t.deltaY?1:-1:t.wheelDelta?a=-t.wheelDelta/120:t.detail&&(a=0<t.detail?1:-1),this.zoom(-a*i,t)))},cropStart:function(t){var e,i=t.buttons,a=t.button;this.disabled||(\"mousedown\"===t.type||\"pointerdown\"===t.type&&\"mouse\"===t.pointerType)&&(F(i)&&1!==i||F(a)&&0!==a||t.ctrlKey)||(a=this.options,e=this.pointers,t.changedTouches?ht(t.changedTouches,function(t){e[t.identifier]=Nt(t)}):e[t.pointerId||0]=Nt(t),a=1<Object.keys(e).length&&a.zoomable&&a.zoomOnTouch?W:vt(t.target,g),$.test(a)&&!1!==Bt(this.element,C,{originalEvent:t,action:a})&&(t.preventDefault(),this.action=a,this.cropping=!1,a===O&&(this.cropping=!0,pt(this.dragBox,m))))},cropMove:function(t){var e,i=this.action;!this.disabled&&i&&(e=this.pointers,t.preventDefault(),!1!==Bt(this.element,M,{originalEvent:t,action:i})&&(t.changedTouches?ht(t.changedTouches,function(t){rt(e[t.identifier]||{},Nt(t,!0))}):rt(e[t.pointerId||0]||{},Nt(t,!0)),this.change(t)))},cropEnd:function(t){var e,i;this.disabled||(e=this.action,i=this.pointers,t.changedTouches?ht(t.changedTouches,function(t){delete i[t.identifier]}):delete i[t.pointerId||0],e&&(t.preventDefault(),Object.keys(i).length||(this.action=\"\"),this.cropping&&(this.cropping=!1,ut(this.dragBox,m,this.cropped&&this.options.modal)),Bt(this.element,x,{originalEvent:t,action:e})))}},t={change:function(t){var e=this.options,i=this.canvasData,a=this.containerData,n=this.cropBoxData,o=this.pointers,h=this.action,r=e.aspectRatio,s=n.left,c=n.top,d=n.width,l=n.height,p=s+d,m=c+l,u=0,g=0,f=a.width,v=a.height,w=!0;!r&&t.shiftKey&&(r=d&&l?d/l:1),this.limited&&(u=n.minLeft,g=n.minTop,f=u+Math.min(a.width,i.width,i.left+i.width),v=g+Math.min(a.height,i.height,i.top+i.height));function b(t){switch(t){case H:p+D.x>f&&(D.x=f-p);break;case N:s+D.x<u&&(D.x=u-s);break;case z:c+D.y<g&&(D.y=g-c);break;case L:m+D.y>v&&(D.y=v-m)}}var y,x,M,C=o[Object.keys(o)[0]],D={x:C.endX-C.startX,y:C.endY-C.startY};switch(h){case k:s+=D.x,c+=D.y;break;case H:if(0<=D.x&&(f<=p||r&&(c<=g||v<=m))){w=!1;break}b(H),(d+=D.x)<0&&(h=N,s-=d=-d),r&&(c+=(n.height-(l=d/r))/2);break;case z:if(D.y<=0&&(c<=g||r&&(s<=u||f<=p))){w=!1;break}b(z),l-=D.y,c+=D.y,l<0&&(h=L,c-=l=-l),r&&(s+=(n.width-(d=l*r))/2);break;case N:if(D.x<=0&&(s<=u||r&&(c<=g||v<=m))){w=!1;break}b(N),d-=D.x,s+=D.x,d<0&&(h=H,s-=d=-d),r&&(c+=(n.height-(l=d/r))/2);break;case L:if(0<=D.y&&(v<=m||r&&(s<=u||f<=p))){w=!1;break}b(L),(l+=D.y)<0&&(h=z,c-=l=-l),r&&(s+=(n.width-(d=l*r))/2);break;case Y:if(r){if(D.y<=0&&(c<=g||f<=p)){w=!1;break}b(z),l-=D.y,c+=D.y,d=l*r}else b(z),b(H),!(0<=D.x)||p<f?d+=D.x:D.y<=0&&c<=g&&(w=!1),D.y<=0&&!(g<c)||(l-=D.y,c+=D.y);d<0&&l<0?(h=S,c-=l=-l,s-=d=-d):d<0?(h=X,s-=d=-d):l<0&&(h=R,c-=l=-l);break;case X:if(r){if(D.y<=0&&(c<=g||s<=u)){w=!1;break}b(z),l-=D.y,c+=D.y,s+=n.width-(d=l*r)}else b(z),b(N),!(D.x<=0)||u<s?(d-=D.x,s+=D.x):D.y<=0&&c<=g&&(w=!1),D.y<=0&&!(g<c)||(l-=D.y,c+=D.y);d<0&&l<0?(h=R,c-=l=-l,s-=d=-d):d<0?(h=Y,s-=d=-d):l<0&&(h=S,c-=l=-l);break;case S:if(r){if(D.x<=0&&(s<=u||v<=m)){w=!1;break}b(N),d-=D.x,s+=D.x,l=d/r}else b(L),b(N),!(D.x<=0)||u<s?(d-=D.x,s+=D.x):0<=D.y&&v<=m&&(w=!1),0<=D.y&&!(m<v)||(l+=D.y);d<0&&l<0?(h=Y,c-=l=-l,s-=d=-d):d<0?(h=R,s-=d=-d):l<0&&(h=X,c-=l=-l);break;case R:if(r){if(0<=D.x&&(f<=p||v<=m)){w=!1;break}b(H),l=(d+=D.x)/r}else b(L),b(H),!(0<=D.x)||p<f?d+=D.x:0<=D.y&&v<=m&&(w=!1),0<=D.y&&!(m<v)||(l+=D.y);d<0&&l<0?(h=X,c-=l=-l,s-=d=-d):d<0?(h=S,s-=d=-d):l<0&&(h=Y,c-=l=-l);break;case E:this.move(D.x,D.y),w=!1;break;case W:this.zoom((x=B({},y=o),M=0,ht(y,function(n,t){delete x[t],ht(x,function(t){var e=Math.abs(n.startX-t.startX),i=Math.abs(n.startY-t.startY),a=Math.abs(n.endX-t.endX),t=Math.abs(n.endY-t.endY),i=Math.sqrt(e*e+i*i),i=(Math.sqrt(a*a+t*t)-i)/i;Math.abs(i)>Math.abs(M)&&(M=i)})}),M),t),w=!1;break;case O:if(!D.x||!D.y){w=!1;break}y=kt(this.cropper),s=C.startX-y.left,c=C.startY-y.top,d=n.minWidth,l=n.minHeight,0<D.x?h=0<D.y?R:Y:D.x<0&&(s-=d,h=0<D.y?S:X),D.y<0&&(c-=l),this.cropped||(mt(this.cropBox,A),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}w&&(n.width=d,n.height=l,n.left=s,n.top=c,this.action=h,this.renderCropBox()),ht(o,function(t){t.startX=t.endX,t.startY=t.endY})}},At={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&pt(this.dragBox,m),mt(this.cropBox,A),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=rt({},this.initialImageData),this.canvasData=rt({},this.initialCanvasData),this.cropBoxData=rt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(rt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),mt(this.dragBox,m),pt(this.cropBox,A)),this},replace:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,ht(this.previews,function(t){t.getElementsByTagName(\"img\")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,mt(this.cropper,d)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,pt(this.cropper,d)),this},destroy:function(){var t=this.element;return t[c]&&(t[c]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate()),this},move:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=i.left,i=i.top;return this.moveTo(_(t)?t:a+Number(t),_(e)?e:i+Number(e))},moveTo:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.canvasData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.movable&&(F(t)&&(i.left=t,a=!0),F(e)&&(i.top=e,a=!0),a&&this.renderCanvas(!0)),this},zoom:function(t,e){var i=this.canvasData;return t=Number(t),this.zoomTo(i.width*(t=t<0?1/(1-t):1+t)/i.naturalWidth,null,e)},zoomTo:function(t,e,i){var a,n,o,h=this.options,r=this.canvasData,s=r.width,c=r.height,d=r.naturalWidth,l=r.naturalHeight;if(0<=(t=Number(t))&&this.ready&&!this.disabled&&h.zoomable){h=d*t,l=l*t;if(!1===Bt(this.element,U,{ratio:t,oldRatio:s/d,originalEvent:i}))return this;i?(t=this.pointers,d=kt(this.cropper),i=t&&Object.keys(t).length?(o=n=a=0,ht(t,function(t){var e=t.startX,t=t.startY;a+=e,n+=t,o+=1}),{pageX:a/=o,pageY:n/=o}):{pageX:i.pageX,pageY:i.pageY},r.left-=(h-s)*((i.pageX-d.left-r.left)/s),r.top-=(l-c)*((i.pageY-d.top-r.top)/c)):it(e)&&F(e.x)&&F(e.y)?(r.left-=(h-s)*((e.x-r.left)/s),r.top-=(l-c)*((e.y-r.top)/c)):(r.left-=(h-s)/2,r.top-=(l-c)/2),r.width=h,r.height=l,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return F(t=Number(t))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var e=this.imageData.scaleY;return this.scale(t,F(e)?e:1)},scaleY:function(t){var e=this.imageData.scaleX;return this.scale(F(e)?e:1,t)},scale:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:t,i=this.imageData,a=!1;return t=Number(t),e=Number(e),this.ready&&!this.disabled&&this.options.scalable&&(F(t)&&(i.scaleX=t,a=!0),F(e)&&(i.scaleY=e,a=!0),a&&this.renderCanvas(!0,!0)),this},getData:function(){var i,a,t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this.options,n=this.imageData,o=this.canvasData,h=this.cropBoxData;return this.ready&&this.cropped?(i={x:h.left-o.left,y:h.top-o.top,width:h.width,height:h.height},a=n.width/n.naturalWidth,ht(i,function(t,e){i[e]=t/a}),t&&(h=Math.round(i.y+i.height),t=Math.round(i.x+i.width),i.x=Math.round(i.x),i.y=Math.round(i.y),i.width=t-i.x,i.height=h-i.y)):i={x:0,y:0,width:0,height:0},e.rotatable&&(i.rotate=n.rotate||0),e.scalable&&(i.scaleX=n.scaleX||1,i.scaleY=n.scaleY||1),i},setData:function(t){var e,i=this.options,a=this.imageData,n=this.canvasData,o={};return this.ready&&!this.disabled&&it(t)&&(e=!1,i.rotatable&&F(t.rotate)&&t.rotate!==a.rotate&&(a.rotate=t.rotate,e=!0),i.scalable&&(F(t.scaleX)&&t.scaleX!==a.scaleX&&(a.scaleX=t.scaleX,e=!0),F(t.scaleY)&&t.scaleY!==a.scaleY&&(a.scaleY=t.scaleY,e=!0)),e&&this.renderCanvas(!0,!0),a=a.width/a.naturalWidth,F(t.x)&&(o.left=t.x*a+n.left),F(t.y)&&(o.top=t.y*a+n.top),F(t.width)&&(o.width=t.width*a),F(t.height)&&(o.height=t.height*a),this.setCropBoxData(o)),this},getContainerData:function(){return this.ready?rt({},this.containerData):{}},getImageData:function(){return this.sized?rt({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,i={};return this.ready&&ht([\"left\",\"top\",\"width\",\"height\",\"naturalWidth\",\"naturalHeight\"],function(t){i[t]=e[t]}),i},setCanvasData:function(t){var e=this.canvasData,i=e.aspectRatio;return this.ready&&!this.disabled&&it(t)&&(F(t.left)&&(e.left=t.left),F(t.top)&&(e.top=t.top),F(t.width)?(e.width=t.width,e.height=t.width/i):F(t.height)&&(e.height=t.height,e.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t,e=this.cropBoxData;return(t=this.ready&&this.cropped?{left:e.left,top:e.top,width:e.width,height:e.height}:t)||{}},setCropBoxData:function(t){var e,i,a=this.cropBoxData,n=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&it(t)&&(F(t.left)&&(a.left=t.left),F(t.top)&&(a.top=t.top),F(t.width)&&t.width!==a.width&&(e=!0,a.width=t.width),F(t.height)&&t.height!==a.height&&(i=!0,a.height=t.height),n&&(e?a.height=a.width/n:i&&(a.width=a.height*n)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var e,i,a,n,o,h,r,s,c,d,l,p,m,u=this.canvasData,h=(w=this.image,e=this.imageData,i=u,y=t,a=e.aspectRatio,n=e.naturalWidth,b=e.naturalHeight,o=void 0===(m=e.rotate)?0:m,h=void 0===(v=e.scaleX)?1:v,g=void 0===(l=e.scaleY)?1:l,r=i.aspectRatio,s=i.naturalWidth,c=i.naturalHeight,d=void 0===(p=y.fillColor)?\"transparent\":p,x=y.imageSmoothingEnabled,f=void 0===x||x,v=void 0===(m=y.imageSmoothingQuality)?\"low\":m,l=void 0===(e=y.maxWidth)?1/0:e,p=void 0===(i=y.maxHeight)?1/0:i,m=void 0===(x=y.minWidth)?0:x,i=void 0===(e=y.minHeight)?0:e,y=(x=document.createElement(\"canvas\")).getContext(\"2d\"),e=Lt({aspectRatio:r,width:l,height:p}),r=Lt({aspectRatio:r,width:m,height:i},\"cover\"),s=Math.min(e.width,Math.max(r.width,s)),c=Math.min(e.height,Math.max(r.height,c)),p=Lt({aspectRatio:a,width:l,height:p}),i=Lt({aspectRatio:a,width:m,height:i},\"cover\"),n=Math.min(p.width,Math.max(i.width,n)),b=Math.min(p.height,Math.max(i.height,b)),b=[-n/2,-b/2,n,b],x.width=ct(s),x.height=ct(c),y.fillStyle=d,y.fillRect(0,0,s,c),y.save(),y.translate(s/2,c/2),y.rotate(o*Math.PI/180),y.scale(h,g),y.imageSmoothingEnabled=f,y.imageSmoothingQuality=v,y.drawImage.apply(y,[w].concat(T(b.map(function(t){return Math.floor(ct(t))})))),y.restore(),x);if(!this.cropped)return h;var g=this.getData(),f=g.x,v=g.y,w=g.width,b=g.height,y=h.width/Math.floor(u.naturalWidth);1!=y&&(f*=y,v*=y,w*=y,b*=y);var x=w/b,g=Lt({aspectRatio:x,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),u=Lt({aspectRatio:x,width:t.minWidth||0,height:t.minHeight||0},\"cover\"),x=Lt({aspectRatio:x,width:t.width||(1!=y?h.width:w),height:t.height||(1!=y?h.height:b)}),y=x.width,x=x.height,y=Math.min(g.width,Math.max(u.width,y)),x=Math.min(g.height,Math.max(u.height,x)),g=document.createElement(\"canvas\"),u=g.getContext(\"2d\");g.width=ct(y),g.height=ct(x),u.fillStyle=t.fillColor||\"transparent\",u.fillRect(0,0,y,x);x=t.imageSmoothingEnabled,t=t.imageSmoothingQuality;u.imageSmoothingEnabled=void 0===x||x,t&&(u.imageSmoothingQuality=t);var M,C,D,B,k,x=h.width,t=h.height,f=f,v=v;f<=-w||x<f?B=C=M=f=0:f<=0?(C=-f,f=0,B=M=Math.min(x,w+f)):f<=x&&(C=0,B=M=Math.min(w,x-f)),M<=0||v<=-b||t<v?k=D=O=v=0:v<=0?(D=-v,v=0,k=O=Math.min(t,b+v)):v<=t&&(D=0,k=O=Math.min(b,t-v));var O=[f,v,M,O];return 0<B&&0<k&&O.push(C*(w=y/w),D*w,B*w,k*w),u.drawImage.apply(u,[h].concat(T(O.map(function(t){return Math.floor(ct(t))})))),g},setAspectRatio:function(t){var e=this.options;return this.disabled||_(t)||(e.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var e,i,a=this.options,n=this.dragBox,o=this.face;return this.ready&&!this.disabled&&(i=a.movable&&t===w,a.dragMode=t=(e=t===v)||i?t:b,wt(n,g,t),ut(n,s,e),ut(n,u,i),a.cropBoxMovable||(wt(o,g,t),ut(o,s,e),ut(o,u,i))),this}},jt=h.Cropper,It=function(){function i(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}(this,i),!t||!Z.test(t.tagName))throw new Error(\"The first argument is required and must be an <img> or <canvas> element.\");this.element=t,this.options=rt({},G,it(e)&&e),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}var t,e,a;return t=i,a=[{key:\"noConflict\",value:function(){return window.Cropper=jt,i}},{key:\"setDefaults\",value:function(t){rt(G,it(t)&&t)}}],(e=[{key:\"init\",value:function(){var t,e=this.element,i=e.tagName.toLowerCase();if(!e[c]){if(e[c]=this,\"img\"===i){if(this.isImg=!0,t=e.getAttribute(\"src\")||\"\",!(this.originalUrl=t))return;t=e.src}else\"canvas\"===i&&window.HTMLCanvasElement&&(t=e.toDataURL());this.load(t)}}},{key:\"load\",value:function(t){var e,i,a,n,o,h,r=this;t&&(this.url=t,this.imageData={},e=this.element,(i=this.options).rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer?Q.test(t)?K.test(t)?this.read((h=(h=t).replace(Yt,\"\"),a=atob(h),h=new ArrayBuffer(a.length),ht(n=new Uint8Array(h),function(t,e){n[e]=a.charCodeAt(e)}),h)):this.clone():(o=new XMLHttpRequest,h=this.clone.bind(this),this.reloading=!0,(this.xhr=o).onabort=h,o.onerror=h,o.ontimeout=h,o.onprogress=function(){o.getResponseHeader(\"content-type\")!==q&&o.abort()},o.onload=function(){r.read(o.response)},o.onloadend=function(){r.reloading=!1,r.xhr=null},i.checkCrossOrigin&&Et(t)&&e.crossOrigin&&(t=Wt(t)),o.open(\"GET\",t,!0),o.responseType=\"arraybuffer\",o.withCredentials=\"use-credentials\"===e.crossOrigin,o.send()):this.clone())}},{key:\"read\",value:function(t){var e=this.options,i=this.imageData,a=Xt(t),n=0,o=1,h=1;1<a&&(this.url=function(t,e){for(var i=[],a=new Uint8Array(t);0<a.length;)i.push(zt.apply(null,ot(a.subarray(0,8192)))),a=a.subarray(8192);return\"data:\".concat(e,\";base64,\").concat(btoa(i.join(\"\")))}(t,q),n=(a=function(t){var e=0,i=1,a=1;switch(t){case 2:i=-1;break;case 3:e=-180;break;case 4:a=-1;break;case 5:e=90,a=-1;break;case 6:e=90;break;case 7:e=90,i=-1;break;case 8:e=-90}return{rotate:e,scaleX:i,scaleY:a}}(a)).rotate,o=a.scaleX,h=a.scaleY),e.rotatable&&(i.rotate=n),e.scalable&&(i.scaleX=o,i.scaleY=h),this.clone()}},{key:\"clone\",value:function(){var t=this.element,e=this.url,i=t.crossOrigin,a=e;this.options.checkCrossOrigin&&Et(e)&&(i=i||\"anonymous\",a=Wt(e)),this.crossOrigin=i,this.crossOriginUrl=a;var n=document.createElement(\"img\");i&&(n.crossOrigin=i),n.src=a||e,n.alt=t.alt||\"The image to crop\",(this.image=n).onload=this.start.bind(this),n.onerror=this.stop.bind(this),pt(n,l),t.parentNode.insertBefore(n,t.nextSibling)}},{key:\"start\",value:function(){var i=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;function e(t,e){rt(i.imageData,{naturalWidth:t,naturalHeight:e,aspectRatio:t/e}),i.initialImageData=rt({},i.imageData),i.sizing=!1,i.sized=!0,i.build()}var a,n,o=h.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(h.navigator.userAgent);!t.naturalWidth||o?(a=document.createElement(\"img\"),n=document.body||document.documentElement,(this.sizingImage=a).onload=function(){e(a.width,a.height),o||n.removeChild(a)},a.src=t.src,o||(a.style.cssText=\"left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;\",n.appendChild(a))):e(t.naturalWidth,t.naturalHeight)}},{key:\"stop\",value:function(){var t=this.image;t.onload=null,t.onerror=null,t.parentNode.removeChild(t),this.image=null}},{key:\"build\",value:function(){var t,e,i,a,n,o,h,r,s;this.sized&&!this.ready&&(t=this.element,e=this.options,i=this.image,a=t.parentNode,(s=document.createElement(\"div\")).innerHTML='<div class=\"cropper-container\" touch-action=\"none\"><div class=\"cropper-wrap-box\"><div class=\"cropper-canvas\"></div></div><div class=\"cropper-drag-box\"></div><div class=\"cropper-crop-box\"><span class=\"cropper-view-box\"></span><span class=\"cropper-dashed dashed-h\"></span><span class=\"cropper-dashed dashed-v\"></span><span class=\"cropper-center\"></span><span class=\"cropper-face\"></span><span class=\"cropper-line line-e\" data-cropper-action=\"e\"></span><span class=\"cropper-line line-n\" data-cropper-action=\"n\"></span><span class=\"cropper-line line-w\" data-cropper-action=\"w\"></span><span class=\"cropper-line line-s\" data-cropper-action=\"s\"></span><span class=\"cropper-point point-e\" data-cropper-action=\"e\"></span><span class=\"cropper-point point-n\" data-cropper-action=\"n\"></span><span class=\"cropper-point point-w\" data-cropper-action=\"w\"></span><span class=\"cropper-point point-s\" data-cropper-action=\"s\"></span><span class=\"cropper-point point-ne\" data-cropper-action=\"ne\"></span><span class=\"cropper-point point-nw\" data-cropper-action=\"nw\"></span><span class=\"cropper-point point-sw\" data-cropper-action=\"sw\"></span><span class=\"cropper-point point-se\" data-cropper-action=\"se\"></span></div></div>',o=(n=s.querySelector(\".\".concat(c,\"-container\"))).querySelector(\".\".concat(c,\"-canvas\")),h=n.querySelector(\".\".concat(c,\"-drag-box\")),s=(r=n.querySelector(\".\".concat(c,\"-crop-box\"))).querySelector(\".\".concat(c,\"-face\")),this.container=a,this.cropper=n,this.canvas=o,this.dragBox=h,this.cropBox=r,this.viewBox=n.querySelector(\".\".concat(c,\"-view-box\")),this.face=s,o.appendChild(i),pt(t,A),a.insertBefore(n,t.nextSibling),this.isImg||mt(i,l),this.initPreview(),this.bind(),e.initialAspectRatio=Math.max(0,e.initialAspectRatio)||NaN,e.aspectRatio=Math.max(0,e.aspectRatio)||NaN,e.viewMode=Math.max(0,Math.min(3,Math.round(e.viewMode)))||0,pt(r,A),e.guides||pt(r.getElementsByClassName(\"\".concat(c,\"-dashed\")),A),e.center||pt(r.getElementsByClassName(\"\".concat(c,\"-center\")),A),e.background&&pt(n,\"\".concat(c,\"-bg\")),e.highlight||pt(s,p),e.cropBoxMovable&&(pt(s,u),wt(s,g,k)),e.cropBoxResizable||(pt(r.getElementsByClassName(\"\".concat(c,\"-line\")),A),pt(r.getElementsByClassName(\"\".concat(c,\"-point\")),A)),this.render(),this.ready=!0,this.setDragMode(e.dragMode),e.autoCrop&&this.crop(),this.setData(e.data),at(e.ready)&&Dt(t,\"ready\",e.ready,{once:!0}),Bt(t,\"ready\"))}},{key:\"unbuild\",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),mt(this.element,A))}},{key:\"uncreate\",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}])&&n(t.prototype,e),a&&n(t,a),i}();return rt(It.prototype,Rt,St,r,o,t,At),It});\n}","(function() {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['Cropper'],\n      __esModule: true,\n    };\n  }\n\n  define('cropperjs', [], vendorModule);\n})();\n","(function() {\n  var computedStore = new WeakMap();\n\n  define('ember-macro-helpers/-computed-store', function() {\n    return {\n      'default': computedStore,\n      __esModule: true\n    };\n  });\n\n  var _computed = Ember.computed;\n\n  // attempt to monkey patch before anything else runs\n  Ember.computed = function computed() {\n    var args = Array.prototype.slice.call(arguments);\n    var cp = _computed.apply(this, args);\n    var dependentKeys = args.slice(0, args.length - 1);\n    var getter = args[args.length - 1];\n    computedStore.set(cp, {\n      dependentKeys: dependentKeys,\n      getter: getter\n    });\n    return cp;\n  };\n\n  // support built-in macros\n  Object.keys(_computed).forEach(function(_macro) {\n    Ember.computed[_macro] = function macro() {\n      var args = Array.prototype.slice.call(arguments);\n      var cp = _computed[_macro].apply(this, args);\n      var dependentKeys = args;\n      var getter = cp._getter; // unfortunate private access (is there a better way?)\n      computedStore.set(cp, {\n        dependentKeys: dependentKeys,\n        getter: getter\n      });\n      return cp;\n    };\n  });\n})();\n","(function() {\n  define('ember-cli-shims/deprecations', [], function() {\n    var values = {\"ember-application\":{\"default\":[\"@ember/application\"]},\"ember-array\":{\"default\":[\"@ember/array\"]},\"ember-array/mutable\":{\"default\":[\"@ember/array/mutable\"]},\"ember-array/utils\":{\"A\":[\"@ember/array\",\"A\"],\"isEmberArray\":[\"@ember/array\",\"isArray\"],\"wrap\":[\"@ember/array\",\"makeArray\"]},\"ember-component\":{\"default\":[\"@ember/component\"]},\"ember-components/checkbox\":{\"default\":[\"@ember/component/checkbox\"]},\"ember-components/text-area\":{\"default\":[\"@ember/component/text-area\"]},\"ember-components/text-field\":{\"default\":[\"@ember/component/text-field\"]},\"ember-computed\":{\"default\":[\"@ember/object\",\"computed\"],\"alias\":[\"@ember/object/computed\",\"alias\"],\"and\":[\"@ember/object/computed\",\"and\"],\"bool\":[\"@ember/object/computed\",\"bool\"],\"collect\":[\"@ember/object/computed\",\"collect\"],\"deprecatingAlias\":[\"@ember/object/computed\",\"deprecatingAlias\"],\"empty\":[\"@ember/object/computed\",\"empty\"],\"equal\":[\"@ember/object/computed\",\"equal\"],\"filter\":[\"@ember/object/computed\",\"filter\"],\"filterBy\":[\"@ember/object/computed\",\"filterBy\"],\"filterProperty\":[\"@ember/object/computed\",\"filterProperty\"],\"gt\":[\"@ember/object/computed\",\"gt\"],\"gte\":[\"@ember/object/computed\",\"gte\"],\"intersect\":[\"@ember/object/computed\",\"intersect\"],\"lt\":[\"@ember/object/computed\",\"lt\"],\"lte\":[\"@ember/object/computed\",\"lte\"],\"map\":[\"@ember/object/computed\",\"map\"],\"mapBy\":[\"@ember/object/computed\",\"mapBy\"],\"mapProperty\":[\"@ember/object/computed\",\"mapProperty\"],\"match\":[\"@ember/object/computed\",\"match\"],\"max\":[\"@ember/object/computed\",\"max\"],\"min\":[\"@ember/object/computed\",\"min\"],\"none\":[\"@ember/object/computed\",\"none\"],\"not\":[\"@ember/object/computed\",\"not\"],\"notEmpty\":[\"@ember/object/computed\",\"notEmpty\"],\"oneWay\":[\"@ember/object/computed\",\"oneWay\"],\"or\":[\"@ember/object/computed\",\"or\"],\"readOnly\":[\"@ember/object/computed\",\"readOnly\"],\"reads\":[\"@ember/object/computed\",\"reads\"],\"setDiff\":[\"@ember/object/computed\",\"setDiff\"],\"sort\":[\"@ember/object/computed\",\"sort\"],\"sum\":[\"@ember/object/computed\",\"sum\"],\"union\":[\"@ember/object/computed\",\"union\"],\"uniq\":[\"@ember/object/computed\",\"uniq\"]},\"ember-controller\":{\"default\":[\"@ember/controller\"]},\"ember-controller/inject\":{\"default\":[\"@ember/controller\",\"inject\"]},\"ember-controller/proxy\":{\"default\":[\"@ember/array/proxy\"]},\"ember-debug\":{\"inspect\":[\"@ember/debug\",\"inspect\"],\"log\":[\"@ember/debug\",\"debug\"],\"run\":[\"@ember/debug\",\"runInDebug\"],\"warn\":[\"@ember/debug\",\"warn\"]},\"ember-debug/container-debug-adapter\":{\"default\":[\"@ember/debug/container-debug-adapter\"]},\"ember-debug/data-adapter\":{\"default\":[\"@ember/debug/data-adapter\"]},\"ember-deprecations\":{\"deprecate\":[\"@ember/debug\",\"deprecate\"],\"deprecateFunc\":[\"@ember/debug\",\"deprecateFunc\"]},\"ember-enumerable\":{\"default\":[\"@ember/enumerable\"]},\"ember-evented\":{\"default\":[\"@ember/object/evented\"]},\"ember-evented/on\":{\"default\":[\"@ember/object/evented\",\"on\"]},\"ember-globals-resolver\":{\"default\":[\"@ember/application/globals-resolver\"]},\"ember-helper\":{\"default\":[\"@ember/component/helper\"],\"helper\":[\"@ember/component/helper\",\"helper\"]},\"ember-instrumentation\":{\"instrument\":[\"@ember/instrumentation\",\"instrument\"],\"reset\":[\"@ember/instrumentation\",\"reset\"],\"subscribe\":[\"@ember/instrumentation\",\"subscribe\"],\"unsubscribe\":[\"@ember/instrumentation\",\"unsubscribe\"]},\"ember-locations/hash\":{\"default\":[\"@ember/routing/hash-location\"]},\"ember-locations/history\":{\"default\":[\"@ember/routing/history-location\"]},\"ember-locations/none\":{\"default\":[\"@ember/routing/none-location\"]},\"ember-map\":{\"default\":[\"@ember/map\"],\"withDefault\":[\"@ember/map/with-default\"]},\"ember-metal/events\":{\"addListener\":[\"@ember/object/events\",\"addListener\"],\"removeListener\":[\"@ember/object/events\",\"removeListener\"],\"send\":[\"@ember/object/events\",\"sendEvent\"]},\"ember-metal/get\":{\"default\":[\"@ember/object\",\"get\"],\"getProperties\":[\"@ember/object\",\"getProperties\"]},\"ember-metal/mixin\":{\"default\":[\"@ember/object/mixin\"]},\"ember-metal/observer\":{\"default\":[\"@ember/object\",\"observer\"],\"addObserver\":[\"@ember/object/observers\",\"addObserver\"],\"removeObserver\":[\"@ember/object/observers\",\"removeObserver\"]},\"ember-metal/on-load\":{\"default\":[\"@ember/application\",\"onLoad\"],\"run\":[\"@ember/application\",\"runLoadHooks\"]},\"ember-metal/set\":{\"default\":[\"@ember/object\",\"set\"],\"setProperties\":[\"@ember/object\",\"setProperties\"],\"trySet\":[\"@ember/object\",\"trySet\"]},\"ember-metal/utils\":{\"aliasMethod\":[\"@ember/object\",\"aliasMethod\"],\"assert\":[\"@ember/debug\",\"assert\"],\"cacheFor\":[\"@ember/object/internals\",\"cacheFor\"],\"copy\":[\"@ember/object/internals\",\"copy\"],\"guidFor\":[\"@ember/object/internals\",\"guidFor\"]},\"ember-object\":{\"default\":[\"@ember/object\"]},\"ember-owner/get\":{\"default\":[\"@ember/application\",\"getOwner\"]},\"ember-owner/set\":{\"default\":[\"@ember/application\",\"setOwner\"]},\"ember-platform\":{\"assign\":[\"@ember/polyfills\",\"assign\"],\"create\":[\"@ember/polyfills\",\"create\"],\"hasAccessors\":[\"@ember/polyfills\",\"hasPropertyAccessors\"],\"keys\":[\"@ember/polyfills\",\"keys\"]},\"ember-route\":{\"default\":[\"@ember/routing/route\"]},\"ember-router\":{\"default\":[\"@ember/routing/router\"]},\"ember-runloop\":{\"default\":[\"@ember/runloop\",\"run\"],\"begin\":[\"@ember/runloop\",\"begin\"],\"bind\":[\"@ember/runloop\",\"bind\"],\"cancel\":[\"@ember/runloop\",\"cancel\"],\"debounce\":[\"@ember/runloop\",\"debounce\"],\"end\":[\"@ember/runloop\",\"end\"],\"join\":[\"@ember/runloop\",\"join\"],\"later\":[\"@ember/runloop\",\"later\"],\"next\":[\"@ember/runloop\",\"next\"],\"once\":[\"@ember/runloop\",\"once\"],\"schedule\":[\"@ember/runloop\",\"schedule\"],\"scheduleOnce\":[\"@ember/runloop\",\"scheduleOnce\"],\"throttle\":[\"@ember/runloop\",\"throttle\"]},\"ember-service\":{\"default\":[\"@ember/service\"]},\"ember-service/inject\":{\"default\":[\"@ember/service\",\"inject\"]},\"ember-string\":{\"camelize\":[\"@ember/string\",\"camelize\"],\"capitalize\":[\"@ember/string\",\"capitalize\"],\"classify\":[\"@ember/string\",\"classify\"],\"dasherize\":[\"@ember/string\",\"dasherize\"],\"decamelize\":[\"@ember/string\",\"decamelize\"],\"fmt\":[\"@ember/string\",\"fmt\"],\"htmlSafe\":[\"@ember/string\",\"htmlSafe\"],\"loc\":[\"@ember/string\",\"loc\"],\"underscore\":[\"@ember/string\",\"underscore\"],\"w\":[\"@ember/string\",\"w\"]},\"ember-test/adapter\":{\"default\":[\"@ember/test/adapter\"]},\"ember-utils\":{\"isBlank\":[\"@ember/utils\",\"isBlank\"],\"isEmpty\":[\"@ember/utils\",\"isEmpty\"],\"isNone\":[\"@ember/utils\",\"isNone\"],\"isPresent\":[\"@ember/utils\",\"isPresent\"],\"tryInvoke\":[\"@ember/utils\",\"tryInvoke\"],\"typeOf\":[\"@ember/utils\",\"typeOf\"]}};\n    \n    Object.defineProperty(values, '__esModule', {\n      value: true\n    });\n\n    return values;\n  });\n})();","(function() {\n/* globals define, Ember, jQuery */\n\n  function processEmberShims() {\n    var shims = {\n      'ember-application': {\n        'default': Ember.Application\n      },\n      'ember-array': {\n        'default': Ember.Array\n      },\n      'ember-array/mutable': {\n        'default': Ember.MutableArray\n      },\n      'ember-array/utils': {\n        'A':            Ember.A,\n        'isEmberArray': Ember.isArray,\n        'wrap':         Ember.makeArray\n      },\n      'ember-component': {\n        'default': Ember.Component\n      },\n      'ember-components/checkbox': {\n        'default': Ember.Checkbox\n      },\n      'ember-components/text-area': {\n        'default': Ember.TextArea\n      },\n      'ember-components/text-field': {\n        'default': Ember.TextField\n      },\n      'ember-controller': {\n        'default': Ember.Controller\n      },\n      'ember-controller/inject': {\n        'default': Ember.inject.controller\n      },\n      'ember-controller/proxy': {\n        'default': Ember.ArrayProxy\n      },\n      'ember-controllers/sortable': {\n        'default': Ember.SortableMixin\n      },\n      'ember-debug': {\n        'log':      Ember.debug,\n        'inspect':  Ember.inspect,\n        'run':      Ember.runInDebug,\n        'warn':     Ember.warn\n      },\n      'ember-debug/container-debug-adapter': {\n        'default': Ember.ContainerDebugAdapter\n      },\n      'ember-debug/data-adapter': {\n        'default': Ember.DataAdapter\n      },\n      'ember-deprecations': {\n        'deprecate':      Ember.deprecate,\n        'deprecateFunc':  Ember.deprecateFunc\n      },\n      'ember-enumerable': {\n        'default': Ember.Enumerable\n      },\n      'ember-evented': {\n        'default': Ember.Evented\n      },\n      'ember-evented/on': {\n        'default': Ember.on\n      },\n      'ember-globals-resolver': {\n        'default': Ember.DefaultResolver\n      },\n      'ember-helper': {\n        'default':  Ember.Helper,\n        'helper':   Ember.Helper && Ember.Helper.helper\n      },\n      'ember-instrumentation': {\n        'instrument':   Ember.Instrumentation.instrument,\n        'reset':        Ember.Instrumentation.reset,\n        'subscribe':    Ember.Instrumentation.subscribe,\n        'unsubscribe':  Ember.Instrumentation.unsubscribe\n      },\n      'ember-locations/hash': {\n        'default': Ember.HashLocation\n      },\n      'ember-locations/history': {\n        'default': Ember.HistoryLocation\n      },\n      'ember-locations/none': {\n        'default': Ember.NoneLocation\n      },\n      'ember-map': {\n        'default':      Ember.Map,\n        'withDefault':  Ember.MapWithDefault\n      },\n      'ember-metal/destroy': {\n        'default': Ember.destroy\n      },\n      'ember-metal/events': {\n        'addListener':    Ember.addListener,\n        'removeListener': Ember.removeListener,\n        'send':           Ember.sendEvent\n      },\n      'ember-metal/get': {\n        'default': Ember.get,\n        'getProperties': Ember.getProperties\n      },\n      'ember-metal/mixin': {\n        'default': Ember.Mixin\n      },\n      'ember-metal/observer': {\n        'default':        Ember.observer,\n        'addObserver':    Ember.addObserver,\n        'removeObserver': Ember.removeObserver\n      },\n      'ember-metal/on-load': {\n        'default':  Ember.onLoad,\n        'run':      Ember.runLoadHooks\n      },\n      'ember-metal/set': {\n        'default':        Ember.set,\n        'setProperties':  Ember.setProperties,\n        'trySet':         Ember.trySet\n      },\n      'ember-metal/utils': {\n        'aliasMethod':  Ember.aliasMethod,\n        'assert':       Ember.assert,\n        'cacheFor':     Ember.cacheFor,\n        'copy':         Ember.copy,\n        'guidFor':      Ember.guidFor\n      },\n      'ember-object': {\n        'default': Ember.Object\n      },\n      'ember-owner/get': {\n        'default': Ember.getOwner\n      },\n      'ember-owner/set': {\n        'default': Ember.setOwner\n      },\n      'ember-platform': {\n        'assign':         Ember.assign || Ember.merge,\n        'create':         Ember.create,\n        'defineProperty': Ember.platform.defineProperty,\n        'hasAccessors':   Ember.platform.hasPropertyAccessors,\n        'keys':           Ember.keys\n      },\n      'ember-route': {\n        'default': Ember.Route\n      },\n      'ember-router': {\n        'default': Ember.Router\n      },\n      'ember-runloop': {\n        'default':      Ember.run,\n        'begin':        Ember.run.begin,\n        'bind':         Ember.run.bind,\n        'cancel':       Ember.run.cancel,\n        'debounce':     Ember.run.debounce,\n        'end':          Ember.run.end,\n        'join':         Ember.run.join,\n        'later':        Ember.run.later,\n        'next':         Ember.run.next,\n        'once':         Ember.run.once,\n        'schedule':     Ember.run.schedule,\n        'scheduleOnce': Ember.run.scheduleOnce,\n        'throttle':     Ember.run.throttle\n      },\n      'ember-service': {\n        'default': Ember.Service\n      },\n      'ember-service/inject': {\n        'default': Ember.inject.service\n      },\n      'ember-set/ordered': {\n        'default': Ember.OrderedSet\n      },\n      'ember-string': {\n        'camelize':     Ember.String.camelize,\n        'capitalize':   Ember.String.capitalize,\n        'classify':     Ember.String.classify,\n        'dasherize':    Ember.String.dasherize,\n        'decamelize':   Ember.String.decamelize,\n        'fmt':          Ember.String.fmt,\n        'htmlSafe':     Ember.String.htmlSafe,\n        'loc':          Ember.String.loc,\n        'underscore':   Ember.String.underscore,\n        'w':            Ember.String.w\n      },\n      'ember-utils': {\n        'isBlank':    Ember.isBlank,\n        'isEmpty':    Ember.isEmpty,\n        'isNone':     Ember.isNone,\n        'isPresent':  Ember.isPresent,\n        'tryInvoke':  Ember.tryInvoke,\n        'typeOf':     Ember.typeOf\n      }\n    };\n\n    // populate `ember/computed` named exports\n    shims['ember-computed'] = {\n      'default': Ember.computed\n    };\n    var computedMacros = [\n      \"empty\",\"notEmpty\", \"none\", \"not\", \"bool\", \"match\",\n      \"equal\", \"gt\", \"gte\", \"lt\", \"lte\", \"alias\", \"oneWay\",\n      \"reads\", \"readOnly\", \"deprecatingAlias\",\n      \"and\", \"or\", \"collect\", \"sum\", \"min\", \"max\",\n      \"map\", \"sort\", \"setDiff\", \"mapBy\", \"mapProperty\",\n      \"filter\", \"filterBy\", \"filterProperty\", \"uniq\",\n      \"union\", \"intersect\"\n    ];\n    for (var i = 0, l = computedMacros.length; i < l; i++) {\n      var key = computedMacros[i];\n      shims['ember-computed'][key] = Ember.computed[key];\n    }\n\n    for (var moduleName in shims) {\n      generateModule(moduleName, shims[moduleName], true);\n    }\n  }\n\n  function processTestShims() {\n    if (Ember.Test) {\n      var testShims = {\n        'ember-test': {\n          'default': Ember.Test\n        },\n        'ember-test/adapter': {\n          'default': Ember.Test.Adapter\n        },\n        'ember-test/qunit-adapter': {\n          'default': Ember.Test.QUnitAdapter\n        }\n      };\n\n      for (var moduleName in testShims) {\n        generateModule(moduleName, testShims[moduleName]);\n      }\n    }\n  }\n\n  function generateModule(name, values, deprecated) {\n    define(name, ['ember-cli-shims/deprecations'], function(deprecations) {\n      'use strict';\n\n      if (deprecated) {\n        var moduleDeprecations = deprecations[name];\n\n        var message = 'Importing from the `' + name + '` module has been deprecated. ';\n        if (moduleDeprecations) {\n          message += 'Please use the new module imports:\\n\\n';\n          Object.keys(moduleDeprecations).forEach(function(key) {\n            var newImport = moduleDeprecations[key];\n            if (newImport[1]) {\n              message += 'import { ' + newImport[1] + ' } from \\'' + newImport[0] + '\\'\\n';\n            } else {\n              var importName = Ember.String.classify(newImport[0].split('/').pop());\n              message += 'import ' + importName + ' from \\'' + newImport[0] + '\\'\\n';\n            }\n          });\n          message += '\\n';\n\n        } else {\n          message += 'Please use globals instead.';\n        }\n\n        Ember.deprecate(message, false, {\n          id: 'ember-cli-shims.deprecated-shims',\n          until: '3.0.0',\n          url: 'https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md'\n        });\n      }\n\n      Object.defineProperty(values, '__esModule', {\n        value: true\n      });\n\n      return values;\n    });\n  }\n\n  generateModule('ember', { default: Ember });\n  processEmberShims();\n  processTestShims();\n  generateModule('jquery', { 'default': self.jQuery });\n  generateModule('rsvp', { 'default': Ember.RSVP });\n})();\n","if (typeof FastBoot === 'undefined') {\n      var preferNative = false;\n      (function (originalGlobal) {\n  define('fetch', ['exports'], function (exports) {\n    'use strict';\n\n    var Ember = originalGlobal.Ember;\n    var Promise = Ember.RSVP.Promise;\n    var supportProps = ['FormData', 'FileReader', 'Blob', 'URLSearchParams', 'Symbol', 'ArrayBuffer'];\n    var polyfillProps = ['fetch', 'Headers', 'Request', 'Response', 'AbortController'];\n    var combinedProps = supportProps;\n\n    if (preferNative) {\n      combinedProps = supportProps.concat(polyfillProps);\n    }\n\n    combinedProps.forEach(function (prop) {\n      if (originalGlobal[prop]) {\n        Object.defineProperty(exports, prop, {\n          configurable: true,\n          get: function () {\n            return originalGlobal[prop];\n          },\n          set: function (v) {\n            originalGlobal[prop] = v;\n          }\n        });\n      }\n    }); // shadow github/fetch global object\n    // https://github.com/github/fetch/blob/v3.4.0/fetch.js\n\n    var globalThis = exports; // shadow mo/abortcontroller-polyfill global object\n    // https://github.com/mo/abortcontroller-polyfill/blob/v1.4.0/src/abortcontroller-polyfill.js\n\n    var self = exports;\n\n    (function () {\n      'use strict';\n\n      class Emitter {\n        constructor() {\n          Object.defineProperty(this, 'listeners', {\n            value: {},\n            writable: true,\n            configurable: true\n          });\n        }\n\n        addEventListener(type, callback, options) {\n          if (!(type in this.listeners)) {\n            this.listeners[type] = [];\n          }\n\n          this.listeners[type].push({\n            callback,\n            options\n          });\n        }\n\n        removeEventListener(type, callback) {\n          if (!(type in this.listeners)) {\n            return;\n          }\n\n          const stack = this.listeners[type];\n\n          for (let i = 0, l = stack.length; i < l; i++) {\n            if (stack[i].callback === callback) {\n              stack.splice(i, 1);\n              return;\n            }\n          }\n        }\n\n        dispatchEvent(event) {\n          if (!(event.type in this.listeners)) {\n            return;\n          }\n\n          const stack = this.listeners[event.type];\n          const stackToCall = stack.slice();\n\n          for (let i = 0, l = stackToCall.length; i < l; i++) {\n            const listener = stackToCall[i];\n\n            try {\n              listener.callback.call(this, event);\n            } catch (e) {\n              Promise.resolve().then(() => {\n                throw e;\n              });\n            }\n\n            if (listener.options && listener.options.once) {\n              this.removeEventListener(event.type, listener.callback);\n            }\n          }\n\n          return !event.defaultPrevented;\n        }\n\n      }\n\n      class AbortSignal extends Emitter {\n        constructor() {\n          super(); // Some versions of babel does not transpile super() correctly for IE <= 10, if the parent\n          // constructor has failed to run, then \"this.listeners\" will still be undefined and then we call\n          // the parent constructor directly instead as a workaround. For general details, see babel bug:\n          // https://github.com/babel/babel/issues/3041\n          // This hack was added as a fix for the issue described here:\n          // https://github.com/Financial-Times/polyfill-library/pull/59#issuecomment-477558042\n\n          if (!this.listeners) {\n            Emitter.call(this);\n          } // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController().signal) to be [] for compat with the native impl\n\n\n          Object.defineProperty(this, 'aborted', {\n            value: false,\n            writable: true,\n            configurable: true\n          });\n          Object.defineProperty(this, 'onabort', {\n            value: null,\n            writable: true,\n            configurable: true\n          });\n        }\n\n        toString() {\n          return '[object AbortSignal]';\n        }\n\n        dispatchEvent(event) {\n          if (event.type === 'abort') {\n            this.aborted = true;\n\n            if (typeof this.onabort === 'function') {\n              this.onabort.call(this, event);\n            }\n          }\n\n          super.dispatchEvent(event);\n        }\n\n      }\n\n      class AbortController {\n        constructor() {\n          // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController()) to be [] for compat with the native impl\n          Object.defineProperty(this, 'signal', {\n            value: new AbortSignal(),\n            writable: true,\n            configurable: true\n          });\n        }\n\n        abort() {\n          let event;\n\n          try {\n            event = new Event('abort');\n          } catch (e) {\n            if (typeof document !== 'undefined') {\n              if (!document.createEvent) {\n                // For Internet Explorer 8:\n                event = document.createEventObject();\n                event.type = 'abort';\n              } else {\n                // For Internet Explorer 11:\n                event = document.createEvent('Event');\n                event.initEvent('abort', false, false);\n              }\n            } else {\n              // Fallback where document isn't available:\n              event = {\n                type: 'abort',\n                bubbles: false,\n                cancelable: false\n              };\n            }\n          }\n\n          this.signal.dispatchEvent(event);\n        }\n\n        toString() {\n          return '[object AbortController]';\n        }\n\n      }\n\n      if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n        // These are necessary to make sure that we get correct output for:\n        // Object.prototype.toString.call(new AbortController())\n        AbortController.prototype[Symbol.toStringTag] = 'AbortController';\n        AbortSignal.prototype[Symbol.toStringTag] = 'AbortSignal';\n      }\n\n      function polyfillNeeded(self) {\n        if (self.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL) {\n          console.log('__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill');\n          return true;\n        } // Note that the \"unfetch\" minimal fetch polyfill defines fetch() without\n        // defining window.Request, and this polyfill need to work on top of unfetch\n        // so the below feature detection needs the !self.AbortController part.\n        // The Request.prototype check is also needed because Safari versions 11.1.2\n        // up to and including 12.1.x has a window.AbortController present but still\n        // does NOT correctly implement abortable fetch:\n        // https://bugs.webkit.org/show_bug.cgi?id=174980#c2\n\n\n        return typeof self.Request === 'function' && !self.Request.prototype.hasOwnProperty('signal') || !self.AbortController;\n      }\n\n      (function (self) {\n        if (!polyfillNeeded(self)) {\n          return;\n        }\n\n        self.AbortController = AbortController;\n        self.AbortSignal = AbortSignal;\n      })(typeof self !== 'undefined' ? self : global);\n    })();\n\n    var WHATWGFetch = function (exports) {\n      'use strict';\n\n      var global = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global;\n      var support = {\n        searchParams: 'URLSearchParams' in global,\n        iterable: 'Symbol' in global && 'iterator' in Symbol,\n        blob: 'FileReader' in global && 'Blob' in global && function () {\n          try {\n            new Blob();\n            return true;\n          } catch (e) {\n            return false;\n          }\n        }(),\n        formData: 'FormData' in global,\n        arrayBuffer: 'ArrayBuffer' in global\n      };\n\n      function isDataView(obj) {\n        return obj && DataView.prototype.isPrototypeOf(obj);\n      }\n\n      if (support.arrayBuffer) {\n        var viewClasses = ['[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]'];\n\n        var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n          return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n        };\n      }\n\n      function normalizeName(name) {\n        if (typeof name !== 'string') {\n          name = String(name);\n        }\n\n        if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n          throw new TypeError('Invalid character in header field name: \"' + name + '\"');\n        }\n\n        return name.toLowerCase();\n      }\n\n      function normalizeValue(value) {\n        if (typeof value !== 'string') {\n          value = String(value);\n        }\n\n        return value;\n      } // Build a destructive iterator for the value list\n\n\n      function iteratorFor(items) {\n        var iterator = {\n          next: function () {\n            var value = items.shift();\n            return {\n              done: value === undefined,\n              value: value\n            };\n          }\n        };\n\n        if (support.iterable) {\n          iterator[Symbol.iterator] = function () {\n            return iterator;\n          };\n        }\n\n        return iterator;\n      }\n\n      function Headers(headers) {\n        this.map = {};\n\n        if (headers instanceof Headers) {\n          headers.forEach(function (value, name) {\n            this.append(name, value);\n          }, this);\n        } else if (Array.isArray(headers)) {\n          headers.forEach(function (header) {\n            this.append(header[0], header[1]);\n          }, this);\n        } else if (headers) {\n          Object.getOwnPropertyNames(headers).forEach(function (name) {\n            this.append(name, headers[name]);\n          }, this);\n        }\n      }\n\n      Headers.prototype.append = function (name, value) {\n        name = normalizeName(name);\n        value = normalizeValue(value);\n        var oldValue = this.map[name];\n        this.map[name] = oldValue ? oldValue + ', ' + value : value;\n      };\n\n      Headers.prototype['delete'] = function (name) {\n        delete this.map[normalizeName(name)];\n      };\n\n      Headers.prototype.get = function (name) {\n        name = normalizeName(name);\n        return this.has(name) ? this.map[name] : null;\n      };\n\n      Headers.prototype.has = function (name) {\n        return this.map.hasOwnProperty(normalizeName(name));\n      };\n\n      Headers.prototype.set = function (name, value) {\n        this.map[normalizeName(name)] = normalizeValue(value);\n      };\n\n      Headers.prototype.forEach = function (callback, thisArg) {\n        for (var name in this.map) {\n          if (this.map.hasOwnProperty(name)) {\n            callback.call(thisArg, this.map[name], name, this);\n          }\n        }\n      };\n\n      Headers.prototype.keys = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push(name);\n        });\n        return iteratorFor(items);\n      };\n\n      Headers.prototype.values = function () {\n        var items = [];\n        this.forEach(function (value) {\n          items.push(value);\n        });\n        return iteratorFor(items);\n      };\n\n      Headers.prototype.entries = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push([name, value]);\n        });\n        return iteratorFor(items);\n      };\n\n      if (support.iterable) {\n        Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n      }\n\n      function consumed(body) {\n        if (body.bodyUsed) {\n          return Promise.reject(new TypeError('Already read'));\n        }\n\n        body.bodyUsed = true;\n      }\n\n      function fileReaderReady(reader) {\n        return new Promise(function (resolve, reject) {\n          reader.onload = function () {\n            resolve(reader.result);\n          };\n\n          reader.onerror = function () {\n            reject(reader.error);\n          };\n        });\n      }\n\n      function readBlobAsArrayBuffer(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        reader.readAsArrayBuffer(blob);\n        return promise;\n      }\n\n      function readBlobAsText(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        reader.readAsText(blob);\n        return promise;\n      }\n\n      function readArrayBufferAsText(buf) {\n        var view = new Uint8Array(buf);\n        var chars = new Array(view.length);\n\n        for (var i = 0; i < view.length; i++) {\n          chars[i] = String.fromCharCode(view[i]);\n        }\n\n        return chars.join('');\n      }\n\n      function bufferClone(buf) {\n        if (buf.slice) {\n          return buf.slice(0);\n        } else {\n          var view = new Uint8Array(buf.byteLength);\n          view.set(new Uint8Array(buf));\n          return view.buffer;\n        }\n      }\n\n      function Body() {\n        this.bodyUsed = false;\n\n        this._initBody = function (body) {\n          /*\n            fetch-mock wraps the Response object in an ES6 Proxy to\n            provide useful test harness features such as flush. However, on\n            ES5 browsers without fetch or Proxy support pollyfills must be used;\n            the proxy-pollyfill is unable to proxy an attribute unless it exists\n            on the object before the Proxy is created. This change ensures\n            Response.bodyUsed exists on the instance, while maintaining the\n            semantic of setting Request.bodyUsed in the constructor before\n            _initBody is called.\n          */\n          this.bodyUsed = this.bodyUsed;\n          this._bodyInit = body;\n\n          if (!body) {\n            this._bodyText = '';\n          } else if (typeof body === 'string') {\n            this._bodyText = body;\n          } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n            this._bodyBlob = body;\n          } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n            this._bodyFormData = body;\n          } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n            this._bodyText = body.toString();\n          } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n            this._bodyArrayBuffer = bufferClone(body.buffer); // IE 10-11 can't handle a DataView body.\n\n            this._bodyInit = new Blob([this._bodyArrayBuffer]);\n          } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n            this._bodyArrayBuffer = bufferClone(body);\n          } else {\n            this._bodyText = body = Object.prototype.toString.call(body);\n          }\n\n          if (!this.headers.get('content-type')) {\n            if (typeof body === 'string') {\n              this.headers.set('content-type', 'text/plain;charset=UTF-8');\n            } else if (this._bodyBlob && this._bodyBlob.type) {\n              this.headers.set('content-type', this._bodyBlob.type);\n            } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n              this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n            }\n          }\n        };\n\n        if (support.blob) {\n          this.blob = function () {\n            var rejected = consumed(this);\n\n            if (rejected) {\n              return rejected;\n            }\n\n            if (this._bodyBlob) {\n              return Promise.resolve(this._bodyBlob);\n            } else if (this._bodyArrayBuffer) {\n              return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n            } else if (this._bodyFormData) {\n              throw new Error('could not read FormData body as blob');\n            } else {\n              return Promise.resolve(new Blob([this._bodyText]));\n            }\n          };\n\n          this.arrayBuffer = function () {\n            if (this._bodyArrayBuffer) {\n              var isConsumed = consumed(this);\n\n              if (isConsumed) {\n                return isConsumed;\n              }\n\n              if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n                return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));\n              } else {\n                return Promise.resolve(this._bodyArrayBuffer);\n              }\n            } else {\n              return this.blob().then(readBlobAsArrayBuffer);\n            }\n          };\n        }\n\n        this.text = function () {\n          var rejected = consumed(this);\n\n          if (rejected) {\n            return rejected;\n          }\n\n          if (this._bodyBlob) {\n            return readBlobAsText(this._bodyBlob);\n          } else if (this._bodyArrayBuffer) {\n            return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));\n          } else if (this._bodyFormData) {\n            throw new Error('could not read FormData body as text');\n          } else {\n            return Promise.resolve(this._bodyText);\n          }\n        };\n\n        if (support.formData) {\n          this.formData = function () {\n            return this.text().then(decode);\n          };\n        }\n\n        this.json = function () {\n          return this.text().then(JSON.parse);\n        };\n\n        return this;\n      } // HTTP methods whose capitalization should be normalized\n\n\n      var methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\n\n      function normalizeMethod(method) {\n        var upcased = method.toUpperCase();\n        return methods.indexOf(upcased) > -1 ? upcased : method;\n      }\n\n      function Request(input, options) {\n        if (!(this instanceof Request)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n\n        options = options || {};\n        var body = options.body;\n\n        if (input instanceof Request) {\n          if (input.bodyUsed) {\n            throw new TypeError('Already read');\n          }\n\n          this.url = input.url;\n          this.credentials = input.credentials;\n\n          if (!options.headers) {\n            this.headers = new Headers(input.headers);\n          }\n\n          this.method = input.method;\n          this.mode = input.mode;\n          this.signal = input.signal;\n\n          if (!body && input._bodyInit != null) {\n            body = input._bodyInit;\n            input.bodyUsed = true;\n          }\n        } else {\n          this.url = String(input);\n        }\n\n        this.credentials = options.credentials || this.credentials || 'same-origin';\n\n        if (options.headers || !this.headers) {\n          this.headers = new Headers(options.headers);\n        }\n\n        this.method = normalizeMethod(options.method || this.method || 'GET');\n        this.mode = options.mode || this.mode || null;\n        this.signal = options.signal || this.signal;\n        this.referrer = null;\n\n        if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n          throw new TypeError('Body not allowed for GET or HEAD requests');\n        }\n\n        this._initBody(body);\n\n        if (this.method === 'GET' || this.method === 'HEAD') {\n          if (options.cache === 'no-store' || options.cache === 'no-cache') {\n            // Search for a '_' parameter in the query string\n            var reParamSearch = /([?&])_=[^&]*/;\n\n            if (reParamSearch.test(this.url)) {\n              // If it already exists then set the value with the current time\n              this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n            } else {\n              // Otherwise add a new '_' parameter to the end with the current time\n              var reQueryString = /\\?/;\n              this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n            }\n          }\n        }\n      }\n\n      Request.prototype.clone = function () {\n        return new Request(this, {\n          body: this._bodyInit\n        });\n      };\n\n      function decode(body) {\n        var form = new FormData();\n        body.trim().split('&').forEach(function (bytes) {\n          if (bytes) {\n            var split = bytes.split('=');\n            var name = split.shift().replace(/\\+/g, ' ');\n            var value = split.join('=').replace(/\\+/g, ' ');\n            form.append(decodeURIComponent(name), decodeURIComponent(value));\n          }\n        });\n        return form;\n      }\n\n      function parseHeaders(rawHeaders) {\n        var headers = new Headers(); // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n        // https://tools.ietf.org/html/rfc7230#section-3.2\n\n        var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' '); // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n        // https://github.com/github/fetch/issues/748\n        // https://github.com/zloirock/core-js/issues/751\n\n        preProcessedHeaders.split('\\r').map(function (header) {\n          return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header;\n        }).forEach(function (line) {\n          var parts = line.split(':');\n          var key = parts.shift().trim();\n\n          if (key) {\n            var value = parts.join(':').trim();\n            headers.append(key, value);\n          }\n        });\n        return headers;\n      }\n\n      Body.call(Request.prototype);\n\n      function Response(bodyInit, options) {\n        if (!(this instanceof Response)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n\n        if (!options) {\n          options = {};\n        }\n\n        this.type = 'default';\n        this.status = options.status === undefined ? 200 : options.status;\n        this.ok = this.status >= 200 && this.status < 300;\n        this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n        this.headers = new Headers(options.headers);\n        this.url = options.url || '';\n\n        this._initBody(bodyInit);\n      }\n\n      Body.call(Response.prototype);\n\n      Response.prototype.clone = function () {\n        return new Response(this._bodyInit, {\n          status: this.status,\n          statusText: this.statusText,\n          headers: new Headers(this.headers),\n          url: this.url\n        });\n      };\n\n      Response.error = function () {\n        var response = new Response(null, {\n          status: 0,\n          statusText: ''\n        });\n        response.type = 'error';\n        return response;\n      };\n\n      var redirectStatuses = [301, 302, 303, 307, 308];\n\n      Response.redirect = function (url, status) {\n        if (redirectStatuses.indexOf(status) === -1) {\n          throw new RangeError('Invalid status code');\n        }\n\n        return new Response(null, {\n          status: status,\n          headers: {\n            location: url\n          }\n        });\n      };\n\n      exports.DOMException = global.DOMException;\n\n      try {\n        new exports.DOMException();\n      } catch (err) {\n        exports.DOMException = function (message, name) {\n          this.message = message;\n          this.name = name;\n          var error = Error(message);\n          this.stack = error.stack;\n        };\n\n        exports.DOMException.prototype = Object.create(Error.prototype);\n        exports.DOMException.prototype.constructor = exports.DOMException;\n      }\n\n      function fetch(input, init) {\n        return new Promise(function (resolve, reject) {\n          var request = new Request(input, init);\n\n          if (request.signal && request.signal.aborted) {\n            return reject(new exports.DOMException('Aborted', 'AbortError'));\n          }\n\n          var xhr = new XMLHttpRequest();\n\n          function abortXhr() {\n            xhr.abort();\n          }\n\n          xhr.onload = function () {\n            var options = {\n              status: xhr.status,\n              statusText: xhr.statusText,\n              headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n            };\n            options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n            var body = 'response' in xhr ? xhr.response : xhr.responseText;\n            setTimeout(function () {\n              resolve(new Response(body, options));\n            }, 0);\n          };\n\n          xhr.onerror = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request failed'));\n            }, 0);\n          };\n\n          xhr.ontimeout = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request failed'));\n            }, 0);\n          };\n\n          xhr.onabort = function () {\n            setTimeout(function () {\n              reject(new exports.DOMException('Aborted', 'AbortError'));\n            }, 0);\n          };\n\n          function fixUrl(url) {\n            try {\n              return url === '' && global.location.href ? global.location.href : url;\n            } catch (e) {\n              return url;\n            }\n          }\n\n          xhr.open(request.method, fixUrl(request.url), true);\n\n          if (request.credentials === 'include') {\n            xhr.withCredentials = true;\n          } else if (request.credentials === 'omit') {\n            xhr.withCredentials = false;\n          }\n\n          if ('responseType' in xhr) {\n            if (support.blob) {\n              xhr.responseType = 'blob';\n            } else if (support.arrayBuffer && request.headers.get('Content-Type') && request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1) {\n              xhr.responseType = 'arraybuffer';\n            }\n          }\n\n          if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers)) {\n            Object.getOwnPropertyNames(init.headers).forEach(function (name) {\n              xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n            });\n          } else {\n            request.headers.forEach(function (value, name) {\n              xhr.setRequestHeader(name, value);\n            });\n          }\n\n          if (request.signal) {\n            request.signal.addEventListener('abort', abortXhr);\n\n            xhr.onreadystatechange = function () {\n              // DONE (success or failure)\n              if (xhr.readyState === 4) {\n                request.signal.removeEventListener('abort', abortXhr);\n              }\n            };\n          }\n\n          xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n        });\n      }\n\n      fetch.polyfill = true;\n\n      if (!global.fetch) {\n        global.fetch = fetch;\n        global.Headers = Headers;\n        global.Request = Request;\n        global.Response = Response;\n      }\n\n      exports.Headers = Headers;\n      exports.Request = Request;\n      exports.Response = Response;\n      exports.fetch = fetch;\n      return exports;\n    }({});\n\n    if (!globalThis.fetch) {\n      throw new Error('fetch is not defined - maybe your browser targets are not covering everything you need?');\n    }\n\n    var pending = 0;\n\n    function decrement(result) {\n      pending--;\n      return result;\n    }\n\n    if (Ember.Test) {\n      Ember.Test.registerWaiter(function () {\n        return pending === 0;\n      });\n\n      exports['default'] = function () {\n        pending++;\n        return exports.fetch.apply(originalGlobal, arguments).then(function (response) {\n          response.clone().blob().then(decrement, decrement);\n          return response;\n        }, function (reason) {\n          decrement(reason);\n          throw reason;\n        });\n      };\n    } else {\n      exports['default'] = exports.fetch;\n    }\n\n    supportProps.forEach(function (prop) {\n      delete exports[prop];\n    });\n  });\n})(typeof window !== 'undefined' && window || typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global);\n    }","if (typeof FastBoot === 'undefined') {\n/*! Hammer.JS - v2.0.7 - 2016-04-22\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2016 Jorik Tangelder;\n * Licensed under the MIT license */\n(function(window, document, exportName, undefined) {\n  'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n    return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n    if (Array.isArray(arg)) {\n        each(arg, context[fn], context);\n        return true;\n    }\n    return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n    var i;\n\n    if (!obj) {\n        return;\n    }\n\n    if (obj.forEach) {\n        obj.forEach(iterator, context);\n    } else if (obj.length !== undefined) {\n        i = 0;\n        while (i < obj.length) {\n            iterator.call(context, obj[i], i, obj);\n            i++;\n        }\n    } else {\n        for (i in obj) {\n            obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n        }\n    }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n    var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n    return function() {\n        var e = new Error('get-stack-trace');\n        var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n            .replace(/^\\s+at\\s+/gm, '')\n            .replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n        var log = window.console && (window.console.warn || window.console.log);\n        if (log) {\n            log.call(window.console, deprecationMessage, stack);\n        }\n        return method.apply(this, arguments);\n    };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n    assign = function assign(target) {\n        if (target === undefined || target === null) {\n            throw new TypeError('Cannot convert undefined or null to object');\n        }\n\n        var output = Object(target);\n        for (var index = 1; index < arguments.length; index++) {\n            var source = arguments[index];\n            if (source !== undefined && source !== null) {\n                for (var nextKey in source) {\n                    if (source.hasOwnProperty(nextKey)) {\n                        output[nextKey] = source[nextKey];\n                    }\n                }\n            }\n        }\n        return output;\n    };\n} else {\n    assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean} [merge=false]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n    var keys = Object.keys(src);\n    var i = 0;\n    while (i < keys.length) {\n        if (!merge || (merge && dest[keys[i]] === undefined)) {\n            dest[keys[i]] = src[keys[i]];\n        }\n        i++;\n    }\n    return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n    return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n    var baseP = base.prototype,\n        childP;\n\n    childP = child.prototype = Object.create(baseP);\n    childP.constructor = child;\n    childP._super = baseP;\n\n    if (properties) {\n        assign(childP, properties);\n    }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n    return function boundFn() {\n        return fn.apply(context, arguments);\n    };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n    if (typeof val == TYPE_FUNCTION) {\n        return val.apply(args ? args[0] || undefined : undefined, args);\n    }\n    return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n    return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.addEventListener(type, handler, false);\n    });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.removeEventListener(type, handler, false);\n    });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n    while (node) {\n        if (node == parent) {\n            return true;\n        }\n        node = node.parentNode;\n    }\n    return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n    return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n    return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n    if (src.indexOf && !findByKey) {\n        return src.indexOf(find);\n    } else {\n        var i = 0;\n        while (i < src.length) {\n            if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n                return i;\n            }\n            i++;\n        }\n        return -1;\n    }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n    return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n    var results = [];\n    var values = [];\n    var i = 0;\n\n    while (i < src.length) {\n        var val = key ? src[i][key] : src[i];\n        if (inArray(values, val) < 0) {\n            results.push(src[i]);\n        }\n        values[i] = val;\n        i++;\n    }\n\n    if (sort) {\n        if (!key) {\n            results = results.sort();\n        } else {\n            results = results.sort(function sortUniqueArray(a, b) {\n                return a[key] > b[key];\n            });\n        }\n    }\n\n    return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n    var prefix, prop;\n    var camelProp = property[0].toUpperCase() + property.slice(1);\n\n    var i = 0;\n    while (i < VENDOR_PREFIXES.length) {\n        prefix = VENDOR_PREFIXES[i];\n        prop = (prefix) ? prefix + camelProp : property;\n\n        if (prop in obj) {\n            return prop;\n        }\n        i++;\n    }\n    return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n    return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n    var doc = element.ownerDocument || element;\n    return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n    var self = this;\n    this.manager = manager;\n    this.callback = callback;\n    this.element = manager.element;\n    this.target = manager.options.inputTarget;\n\n    // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n    // so when disabled the input events are completely bypassed.\n    this.domHandler = function(ev) {\n        if (boolOrFn(manager.options.enable, [manager])) {\n            self.handler(ev);\n        }\n    };\n\n    this.init();\n\n}\n\nInput.prototype = {\n    /**\n     * should handle the inputEvent data and trigger the callback\n     * @virtual\n     */\n    handler: function() { },\n\n    /**\n     * bind the events\n     */\n    init: function() {\n        this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    },\n\n    /**\n     * unbind the events\n     */\n    destroy: function() {\n        this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n    var Type;\n    var inputClass = manager.options.inputClass;\n\n    if (inputClass) {\n        Type = inputClass;\n    } else if (SUPPORT_POINTER_EVENTS) {\n        Type = PointerEventInput;\n    } else if (SUPPORT_ONLY_TOUCH) {\n        Type = TouchInput;\n    } else if (!SUPPORT_TOUCH) {\n        Type = MouseInput;\n    } else {\n        Type = TouchMouseInput;\n    }\n    return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n    var pointersLen = input.pointers.length;\n    var changedPointersLen = input.changedPointers.length;\n    var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n    var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n    input.isFirst = !!isFirst;\n    input.isFinal = !!isFinal;\n\n    if (isFirst) {\n        manager.session = {};\n    }\n\n    // source event is the normalized value of the domEvents\n    // like 'touchstart, mouseup, pointerdown'\n    input.eventType = eventType;\n\n    // compute scale, rotation etc\n    computeInputData(manager, input);\n\n    // emit secret event\n    manager.emit('hammer.input', input);\n\n    manager.recognize(input);\n    manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n    var session = manager.session;\n    var pointers = input.pointers;\n    var pointersLength = pointers.length;\n\n    // store the first input to calculate the distance and direction\n    if (!session.firstInput) {\n        session.firstInput = simpleCloneInputData(input);\n    }\n\n    // to compute scale and rotation we need to store the multiple touches\n    if (pointersLength > 1 && !session.firstMultiple) {\n        session.firstMultiple = simpleCloneInputData(input);\n    } else if (pointersLength === 1) {\n        session.firstMultiple = false;\n    }\n\n    var firstInput = session.firstInput;\n    var firstMultiple = session.firstMultiple;\n    var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n    var center = input.center = getCenter(pointers);\n    input.timeStamp = now();\n    input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n    input.angle = getAngle(offsetCenter, center);\n    input.distance = getDistance(offsetCenter, center);\n\n    computeDeltaXY(session, input);\n    input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n    var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n    input.overallVelocityX = overallVelocity.x;\n    input.overallVelocityY = overallVelocity.y;\n    input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n    input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n    input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n    input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n        session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n    computeIntervalInputData(session, input);\n\n    // find the correct target\n    var target = manager.element;\n    if (hasParent(input.srcEvent.target, target)) {\n        target = input.srcEvent.target;\n    }\n    input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n    var center = input.center;\n    var offset = session.offsetDelta || {};\n    var prevDelta = session.prevDelta || {};\n    var prevInput = session.prevInput || {};\n\n    if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n        prevDelta = session.prevDelta = {\n            x: prevInput.deltaX || 0,\n            y: prevInput.deltaY || 0\n        };\n\n        offset = session.offsetDelta = {\n            x: center.x,\n            y: center.y\n        };\n    }\n\n    input.deltaX = prevDelta.x + (center.x - offset.x);\n    input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n    var last = session.lastInterval || input,\n        deltaTime = input.timeStamp - last.timeStamp,\n        velocity, velocityX, velocityY, direction;\n\n    if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n        var deltaX = input.deltaX - last.deltaX;\n        var deltaY = input.deltaY - last.deltaY;\n\n        var v = getVelocity(deltaTime, deltaX, deltaY);\n        velocityX = v.x;\n        velocityY = v.y;\n        velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n        direction = getDirection(deltaX, deltaY);\n\n        session.lastInterval = input;\n    } else {\n        // use latest velocity info if it doesn't overtake a minimum period\n        velocity = last.velocity;\n        velocityX = last.velocityX;\n        velocityY = last.velocityY;\n        direction = last.direction;\n    }\n\n    input.velocity = velocity;\n    input.velocityX = velocityX;\n    input.velocityY = velocityY;\n    input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n    // make a simple copy of the pointers because we will get a reference if we don't\n    // we only need clientXY for the calculations\n    var pointers = [];\n    var i = 0;\n    while (i < input.pointers.length) {\n        pointers[i] = {\n            clientX: round(input.pointers[i].clientX),\n            clientY: round(input.pointers[i].clientY)\n        };\n        i++;\n    }\n\n    return {\n        timeStamp: now(),\n        pointers: pointers,\n        center: getCenter(pointers),\n        deltaX: input.deltaX,\n        deltaY: input.deltaY\n    };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n    var pointersLength = pointers.length;\n\n    // no need to loop when only one touch\n    if (pointersLength === 1) {\n        return {\n            x: round(pointers[0].clientX),\n            y: round(pointers[0].clientY)\n        };\n    }\n\n    var x = 0, y = 0, i = 0;\n    while (i < pointersLength) {\n        x += pointers[i].clientX;\n        y += pointers[i].clientY;\n        i++;\n    }\n\n    return {\n        x: round(x / pointersLength),\n        y: round(y / pointersLength)\n    };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n    return {\n        x: x / deltaTime || 0,\n        y: y / deltaTime || 0\n    };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n    if (x === y) {\n        return DIRECTION_NONE;\n    }\n\n    if (abs(x) >= abs(y)) {\n        return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n    }\n    return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n\n    return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n    return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n    return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n    return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n    mousedown: INPUT_START,\n    mousemove: INPUT_MOVE,\n    mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n    this.evEl = MOUSE_ELEMENT_EVENTS;\n    this.evWin = MOUSE_WINDOW_EVENTS;\n\n    this.pressed = false; // mousedown state\n\n    Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function MEhandler(ev) {\n        var eventType = MOUSE_INPUT_MAP[ev.type];\n\n        // on start we want to have the left mouse button down\n        if (eventType & INPUT_START && ev.button === 0) {\n            this.pressed = true;\n        }\n\n        if (eventType & INPUT_MOVE && ev.which !== 1) {\n            eventType = INPUT_END;\n        }\n\n        // mouse must be down\n        if (!this.pressed) {\n            return;\n        }\n\n        if (eventType & INPUT_END) {\n            this.pressed = false;\n        }\n\n        this.callback(this.manager, eventType, {\n            pointers: [ev],\n            changedPointers: [ev],\n            pointerType: INPUT_TYPE_MOUSE,\n            srcEvent: ev\n        });\n    }\n});\n\nvar POINTER_INPUT_MAP = {\n    pointerdown: INPUT_START,\n    pointermove: INPUT_MOVE,\n    pointerup: INPUT_END,\n    pointercancel: INPUT_CANCEL,\n    pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n    2: INPUT_TYPE_TOUCH,\n    3: INPUT_TYPE_PEN,\n    4: INPUT_TYPE_MOUSE,\n    5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n    POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n    POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n    this.evEl = POINTER_ELEMENT_EVENTS;\n    this.evWin = POINTER_WINDOW_EVENTS;\n\n    Input.apply(this, arguments);\n\n    this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function PEhandler(ev) {\n        var store = this.store;\n        var removePointer = false;\n\n        var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n        var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n        var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n        var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n        // get index of the event in the store\n        var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n        // start and mouse must be down\n        if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n            if (storeIndex < 0) {\n                store.push(ev);\n                storeIndex = store.length - 1;\n            }\n        } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n            removePointer = true;\n        }\n\n        // it not found, so the pointer hasn't been down (so it's probably a hover)\n        if (storeIndex < 0) {\n            return;\n        }\n\n        // update the event in the store\n        store[storeIndex] = ev;\n\n        this.callback(this.manager, eventType, {\n            pointers: store,\n            changedPointers: [ev],\n            pointerType: pointerType,\n            srcEvent: ev\n        });\n\n        if (removePointer) {\n            // remove from the store\n            store.splice(storeIndex, 1);\n        }\n    }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n    this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n    this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n    this.started = false;\n\n    Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n    handler: function TEhandler(ev) {\n        var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n        // should we handle the touch events?\n        if (type === INPUT_START) {\n            this.started = true;\n        }\n\n        if (!this.started) {\n            return;\n        }\n\n        var touches = normalizeSingleTouches.call(this, ev, type);\n\n        // when done, reset the started state\n        if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n            this.started = false;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n    var all = toArray(ev.touches);\n    var changed = toArray(ev.changedTouches);\n\n    if (type & (INPUT_END | INPUT_CANCEL)) {\n        all = uniqueArray(all.concat(changed), 'identifier', true);\n    }\n\n    return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n    this.evTarget = TOUCH_TARGET_EVENTS;\n    this.targetIds = {};\n\n    Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n    handler: function MTEhandler(ev) {\n        var type = TOUCH_INPUT_MAP[ev.type];\n        var touches = getTouches.call(this, ev, type);\n        if (!touches) {\n            return;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n    var allTouches = toArray(ev.touches);\n    var targetIds = this.targetIds;\n\n    // when there is only one touch, the process can be simplified\n    if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n        targetIds[allTouches[0].identifier] = true;\n        return [allTouches, allTouches];\n    }\n\n    var i,\n        targetTouches,\n        changedTouches = toArray(ev.changedTouches),\n        changedTargetTouches = [],\n        target = this.target;\n\n    // get target touches from touches\n    targetTouches = allTouches.filter(function(touch) {\n        return hasParent(touch.target, target);\n    });\n\n    // collect touches\n    if (type === INPUT_START) {\n        i = 0;\n        while (i < targetTouches.length) {\n            targetIds[targetTouches[i].identifier] = true;\n            i++;\n        }\n    }\n\n    // filter changed touches to only contain touches that exist in the collected target ids\n    i = 0;\n    while (i < changedTouches.length) {\n        if (targetIds[changedTouches[i].identifier]) {\n            changedTargetTouches.push(changedTouches[i]);\n        }\n\n        // cleanup removed touches\n        if (type & (INPUT_END | INPUT_CANCEL)) {\n            delete targetIds[changedTouches[i].identifier];\n        }\n        i++;\n    }\n\n    if (!changedTargetTouches.length) {\n        return;\n    }\n\n    return [\n        // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n        uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n        changedTargetTouches\n    ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\n\nvar DEDUP_TIMEOUT = 2500;\nvar DEDUP_DISTANCE = 25;\n\nfunction TouchMouseInput() {\n    Input.apply(this, arguments);\n\n    var handler = bindFn(this.handler, this);\n    this.touch = new TouchInput(this.manager, handler);\n    this.mouse = new MouseInput(this.manager, handler);\n\n    this.primaryTouch = null;\n    this.lastTouches = [];\n}\n\ninherit(TouchMouseInput, Input, {\n    /**\n     * handle mouse and touch events\n     * @param {Hammer} manager\n     * @param {String} inputEvent\n     * @param {Object} inputData\n     */\n    handler: function TMEhandler(manager, inputEvent, inputData) {\n        var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n            isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n        if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n            return;\n        }\n\n        // when we're in a touch event, record touches to  de-dupe synthetic mouse event\n        if (isTouch) {\n            recordTouches.call(this, inputEvent, inputData);\n        } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n            return;\n        }\n\n        this.callback(manager, inputEvent, inputData);\n    },\n\n    /**\n     * remove the event listeners\n     */\n    destroy: function destroy() {\n        this.touch.destroy();\n        this.mouse.destroy();\n    }\n});\n\nfunction recordTouches(eventType, eventData) {\n    if (eventType & INPUT_START) {\n        this.primaryTouch = eventData.changedPointers[0].identifier;\n        setLastTouch.call(this, eventData);\n    } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n        setLastTouch.call(this, eventData);\n    }\n}\n\nfunction setLastTouch(eventData) {\n    var touch = eventData.changedPointers[0];\n\n    if (touch.identifier === this.primaryTouch) {\n        var lastTouch = {x: touch.clientX, y: touch.clientY};\n        this.lastTouches.push(lastTouch);\n        var lts = this.lastTouches;\n        var removeLastTouch = function() {\n            var i = lts.indexOf(lastTouch);\n            if (i > -1) {\n                lts.splice(i, 1);\n            }\n        };\n        setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n    }\n}\n\nfunction isSyntheticEvent(eventData) {\n    var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n    for (var i = 0; i < this.lastTouches.length; i++) {\n        var t = this.lastTouches[i];\n        var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n        if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n            return true;\n        }\n    }\n    return false;\n}\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\nvar TOUCH_ACTION_MAP = getTouchActionProps();\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n    this.manager = manager;\n    this.set(value);\n}\n\nTouchAction.prototype = {\n    /**\n     * set the touchAction value on the element or enable the polyfill\n     * @param {String} value\n     */\n    set: function(value) {\n        // find out the touch-action by the event handlers\n        if (value == TOUCH_ACTION_COMPUTE) {\n            value = this.compute();\n        }\n\n        if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n            this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n        }\n        this.actions = value.toLowerCase().trim();\n    },\n\n    /**\n     * just re-set the touchAction value\n     */\n    update: function() {\n        this.set(this.manager.options.touchAction);\n    },\n\n    /**\n     * compute the value for the touchAction property based on the recognizer's settings\n     * @returns {String} value\n     */\n    compute: function() {\n        var actions = [];\n        each(this.manager.recognizers, function(recognizer) {\n            if (boolOrFn(recognizer.options.enable, [recognizer])) {\n                actions = actions.concat(recognizer.getTouchAction());\n            }\n        });\n        return cleanTouchActions(actions.join(' '));\n    },\n\n    /**\n     * this method is called on each input cycle and provides the preventing of the browser behavior\n     * @param {Object} input\n     */\n    preventDefaults: function(input) {\n        var srcEvent = input.srcEvent;\n        var direction = input.offsetDirection;\n\n        // if the touch action did prevented once this session\n        if (this.manager.session.prevented) {\n            srcEvent.preventDefault();\n            return;\n        }\n\n        var actions = this.actions;\n        var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n        var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n        var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n        if (hasNone) {\n            //do not prevent defaults if this is a tap gesture\n\n            var isTapPointer = input.pointers.length === 1;\n            var isTapMovement = input.distance < 2;\n            var isTapTouchTime = input.deltaTime < 250;\n\n            if (isTapPointer && isTapMovement && isTapTouchTime) {\n                return;\n            }\n        }\n\n        if (hasPanX && hasPanY) {\n            // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n            return;\n        }\n\n        if (hasNone ||\n            (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n            (hasPanX && direction & DIRECTION_VERTICAL)) {\n            return this.preventSrc(srcEvent);\n        }\n    },\n\n    /**\n     * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n     * @param {Object} srcEvent\n     */\n    preventSrc: function(srcEvent) {\n        this.manager.session.prevented = true;\n        srcEvent.preventDefault();\n    }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n    // none\n    if (inStr(actions, TOUCH_ACTION_NONE)) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n    var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n    // if both pan-x and pan-y are set (different recognizers\n    // for different directions, e.g. horizontal pan but vertical swipe?)\n    // we need none (as otherwise with pan-x pan-y combined none of these\n    // recognizers will work, since the browser would handle all panning\n    if (hasPanX && hasPanY) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    // pan-x OR pan-y\n    if (hasPanX || hasPanY) {\n        return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n    }\n\n    // manipulation\n    if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n        return TOUCH_ACTION_MANIPULATION;\n    }\n\n    return TOUCH_ACTION_AUTO;\n}\n\nfunction getTouchActionProps() {\n    if (!NATIVE_TOUCH_ACTION) {\n        return false;\n    }\n    var touchMap = {};\n    var cssSupports = window.CSS && window.CSS.supports;\n    ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\n        // If css.supports is not supported but there is native touch-action assume it supports\n        // all values. This is the case for IE 10 and 11.\n        touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n    });\n    return touchMap;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n *               Possible\n *                  |\n *            +-----+---------------+\n *            |                     |\n *      +-----+-----+               |\n *      |           |               |\n *   Failed      Cancelled          |\n *                          +-------+------+\n *                          |              |\n *                      Recognized       Began\n *                                         |\n *                                      Changed\n *                                         |\n *                                  Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n    this.options = assign({}, this.defaults, options || {});\n\n    this.id = uniqueId();\n\n    this.manager = null;\n\n    // default is enable true\n    this.options.enable = ifUndefined(this.options.enable, true);\n\n    this.state = STATE_POSSIBLE;\n\n    this.simultaneous = {};\n    this.requireFail = [];\n}\n\nRecognizer.prototype = {\n    /**\n     * @virtual\n     * @type {Object}\n     */\n    defaults: {},\n\n    /**\n     * set options\n     * @param {Object} options\n     * @return {Recognizer}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // also update the touchAction, in case something changed about the directions/enabled state\n        this.manager && this.manager.touchAction.update();\n        return this;\n    },\n\n    /**\n     * recognize simultaneous with an other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    recognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n            return this;\n        }\n\n        var simultaneous = this.simultaneous;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (!simultaneous[otherRecognizer.id]) {\n            simultaneous[otherRecognizer.id] = otherRecognizer;\n            otherRecognizer.recognizeWith(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRecognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        delete this.simultaneous[otherRecognizer.id];\n        return this;\n    },\n\n    /**\n     * recognizer can only run when an other is failing\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    requireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n            return this;\n        }\n\n        var requireFail = this.requireFail;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (inArray(requireFail, otherRecognizer) === -1) {\n            requireFail.push(otherRecognizer);\n            otherRecognizer.requireFailure(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the requireFailure link. it does not remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRequireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        var index = inArray(this.requireFail, otherRecognizer);\n        if (index > -1) {\n            this.requireFail.splice(index, 1);\n        }\n        return this;\n    },\n\n    /**\n     * has require failures boolean\n     * @returns {boolean}\n     */\n    hasRequireFailures: function() {\n        return this.requireFail.length > 0;\n    },\n\n    /**\n     * if the recognizer can recognize simultaneous with an other recognizer\n     * @param {Recognizer} otherRecognizer\n     * @returns {Boolean}\n     */\n    canRecognizeWith: function(otherRecognizer) {\n        return !!this.simultaneous[otherRecognizer.id];\n    },\n\n    /**\n     * You should use `tryEmit` instead of `emit` directly to check\n     * that all the needed recognizers has failed before emitting.\n     * @param {Object} input\n     */\n    emit: function(input) {\n        var self = this;\n        var state = this.state;\n\n        function emit(event) {\n            self.manager.emit(event, input);\n        }\n\n        // 'panstart' and 'panmove'\n        if (state < STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n\n        emit(self.options.event); // simple 'eventName' events\n\n        if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n            emit(input.additionalEvent);\n        }\n\n        // panend and pancancel\n        if (state >= STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n    },\n\n    /**\n     * Check that all the require failure recognizers has failed,\n     * if true, it emits a gesture event,\n     * otherwise, setup the state to FAILED.\n     * @param {Object} input\n     */\n    tryEmit: function(input) {\n        if (this.canEmit()) {\n            return this.emit(input);\n        }\n        // it's failing anyway\n        this.state = STATE_FAILED;\n    },\n\n    /**\n     * can we emit?\n     * @returns {boolean}\n     */\n    canEmit: function() {\n        var i = 0;\n        while (i < this.requireFail.length) {\n            if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n                return false;\n            }\n            i++;\n        }\n        return true;\n    },\n\n    /**\n     * update the recognizer\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        // make a new copy of the inputData\n        // so we can change the inputData without messing up the other recognizers\n        var inputDataClone = assign({}, inputData);\n\n        // is is enabled and allow recognizing?\n        if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n            this.reset();\n            this.state = STATE_FAILED;\n            return;\n        }\n\n        // reset when we've reached the end\n        if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n            this.state = STATE_POSSIBLE;\n        }\n\n        this.state = this.process(inputDataClone);\n\n        // the recognizer has recognized a gesture\n        // so trigger an event\n        if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n            this.tryEmit(inputDataClone);\n        }\n    },\n\n    /**\n     * return the state of the recognizer\n     * the actual recognizing happens in this method\n     * @virtual\n     * @param {Object} inputData\n     * @returns {Const} STATE\n     */\n    process: function(inputData) { }, // jshint ignore:line\n\n    /**\n     * return the preferred touch-action\n     * @virtual\n     * @returns {Array}\n     */\n    getTouchAction: function() { },\n\n    /**\n     * called when the gesture isn't allowed to recognize\n     * like when another is being recognized or it is disabled\n     * @virtual\n     */\n    reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n    if (state & STATE_CANCELLED) {\n        return 'cancel';\n    } else if (state & STATE_ENDED) {\n        return 'end';\n    } else if (state & STATE_CHANGED) {\n        return 'move';\n    } else if (state & STATE_BEGAN) {\n        return 'start';\n    }\n    return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n    if (direction == DIRECTION_DOWN) {\n        return 'down';\n    } else if (direction == DIRECTION_UP) {\n        return 'up';\n    } else if (direction == DIRECTION_LEFT) {\n        return 'left';\n    } else if (direction == DIRECTION_RIGHT) {\n        return 'right';\n    }\n    return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n    var manager = recognizer.manager;\n    if (manager) {\n        return manager.get(otherRecognizer);\n    }\n    return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n    Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof AttrRecognizer\n     */\n    defaults: {\n        /**\n         * @type {Number}\n         * @default 1\n         */\n        pointers: 1\n    },\n\n    /**\n     * Used to check if it the recognizer receives valid input, like input.distance > 10.\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {Boolean} recognized\n     */\n    attrTest: function(input) {\n        var optionPointers = this.options.pointers;\n        return optionPointers === 0 || input.pointers.length === optionPointers;\n    },\n\n    /**\n     * Process the input and return the state for the recognizer\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {*} State\n     */\n    process: function(input) {\n        var state = this.state;\n        var eventType = input.eventType;\n\n        var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n        var isValid = this.attrTest(input);\n\n        // on cancel input and we've recognized before, return STATE_CANCELLED\n        if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n            return state | STATE_CANCELLED;\n        } else if (isRecognized || isValid) {\n            if (eventType & INPUT_END) {\n                return state | STATE_ENDED;\n            } else if (!(state & STATE_BEGAN)) {\n                return STATE_BEGAN;\n            }\n            return state | STATE_CHANGED;\n        }\n        return STATE_FAILED;\n    }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n\n    this.pX = null;\n    this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PanRecognizer\n     */\n    defaults: {\n        event: 'pan',\n        threshold: 10,\n        pointers: 1,\n        direction: DIRECTION_ALL\n    },\n\n    getTouchAction: function() {\n        var direction = this.options.direction;\n        var actions = [];\n        if (direction & DIRECTION_HORIZONTAL) {\n            actions.push(TOUCH_ACTION_PAN_Y);\n        }\n        if (direction & DIRECTION_VERTICAL) {\n            actions.push(TOUCH_ACTION_PAN_X);\n        }\n        return actions;\n    },\n\n    directionTest: function(input) {\n        var options = this.options;\n        var hasMoved = true;\n        var distance = input.distance;\n        var direction = input.direction;\n        var x = input.deltaX;\n        var y = input.deltaY;\n\n        // lock to axis?\n        if (!(direction & options.direction)) {\n            if (options.direction & DIRECTION_HORIZONTAL) {\n                direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n                hasMoved = x != this.pX;\n                distance = Math.abs(input.deltaX);\n            } else {\n                direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n                hasMoved = y != this.pY;\n                distance = Math.abs(input.deltaY);\n            }\n        }\n        input.direction = direction;\n        return hasMoved && distance > options.threshold && direction & options.direction;\n    },\n\n    attrTest: function(input) {\n        return AttrRecognizer.prototype.attrTest.call(this, input) &&\n            (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n    },\n\n    emit: function(input) {\n\n        this.pX = input.deltaX;\n        this.pY = input.deltaY;\n\n        var direction = directionStr(input.direction);\n\n        if (direction) {\n            input.additionalEvent = this.options.event + direction;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'pinch',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n    },\n\n    emit: function(input) {\n        if (input.scale !== 1) {\n            var inOut = input.scale < 1 ? 'in' : 'out';\n            input.additionalEvent = this.options.event + inOut;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    this._timer = null;\n    this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PressRecognizer\n     */\n    defaults: {\n        event: 'press',\n        pointers: 1,\n        time: 251, // minimal time of the pointer to be pressed\n        threshold: 9 // a minimal movement is ok, but keep it low\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_AUTO];\n    },\n\n    process: function(input) {\n        var options = this.options;\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTime = input.deltaTime > options.time;\n\n        this._input = input;\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n            this.reset();\n        } else if (input.eventType & INPUT_START) {\n            this.reset();\n            this._timer = setTimeoutContext(function() {\n                this.state = STATE_RECOGNIZED;\n                this.tryEmit();\n            }, options.time, this);\n        } else if (input.eventType & INPUT_END) {\n            return STATE_RECOGNIZED;\n        }\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function(input) {\n        if (this.state !== STATE_RECOGNIZED) {\n            return;\n        }\n\n        if (input && (input.eventType & INPUT_END)) {\n            this.manager.emit(this.options.event + 'up', input);\n        } else {\n            this._input.timeStamp = now();\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof RotateRecognizer\n     */\n    defaults: {\n        event: 'rotate',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n    }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof SwipeRecognizer\n     */\n    defaults: {\n        event: 'swipe',\n        threshold: 10,\n        velocity: 0.3,\n        direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n        pointers: 1\n    },\n\n    getTouchAction: function() {\n        return PanRecognizer.prototype.getTouchAction.call(this);\n    },\n\n    attrTest: function(input) {\n        var direction = this.options.direction;\n        var velocity;\n\n        if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n            velocity = input.overallVelocity;\n        } else if (direction & DIRECTION_HORIZONTAL) {\n            velocity = input.overallVelocityX;\n        } else if (direction & DIRECTION_VERTICAL) {\n            velocity = input.overallVelocityY;\n        }\n\n        return this._super.attrTest.call(this, input) &&\n            direction & input.offsetDirection &&\n            input.distance > this.options.threshold &&\n            input.maxPointers == this.options.pointers &&\n            abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n    },\n\n    emit: function(input) {\n        var direction = directionStr(input.offsetDirection);\n        if (direction) {\n            this.manager.emit(this.options.event + direction, input);\n        }\n\n        this.manager.emit(this.options.event, input);\n    }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    // previous time and center,\n    // used for tap counting\n    this.pTime = false;\n    this.pCenter = false;\n\n    this._timer = null;\n    this._input = null;\n    this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'tap',\n        pointers: 1,\n        taps: 1,\n        interval: 300, // max time between the multi-tap taps\n        time: 250, // max time of the pointer to be down (like finger on the screen)\n        threshold: 9, // a minimal movement is ok, but keep it low\n        posThreshold: 10 // a multi-tap can be a bit off the initial position\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_MANIPULATION];\n    },\n\n    process: function(input) {\n        var options = this.options;\n\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTouchTime = input.deltaTime < options.time;\n\n        this.reset();\n\n        if ((input.eventType & INPUT_START) && (this.count === 0)) {\n            return this.failTimeout();\n        }\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (validMovement && validTouchTime && validPointers) {\n            if (input.eventType != INPUT_END) {\n                return this.failTimeout();\n            }\n\n            var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n            var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n            this.pTime = input.timeStamp;\n            this.pCenter = input.center;\n\n            if (!validMultiTap || !validInterval) {\n                this.count = 1;\n            } else {\n                this.count += 1;\n            }\n\n            this._input = input;\n\n            // if tap count matches we have recognized it,\n            // else it has began recognizing...\n            var tapCount = this.count % options.taps;\n            if (tapCount === 0) {\n                // no failing requirements, immediately trigger the tap event\n                // or wait as long as the multitap interval to trigger\n                if (!this.hasRequireFailures()) {\n                    return STATE_RECOGNIZED;\n                } else {\n                    this._timer = setTimeoutContext(function() {\n                        this.state = STATE_RECOGNIZED;\n                        this.tryEmit();\n                    }, options.interval, this);\n                    return STATE_BEGAN;\n                }\n            }\n        }\n        return STATE_FAILED;\n    },\n\n    failTimeout: function() {\n        this._timer = setTimeoutContext(function() {\n            this.state = STATE_FAILED;\n        }, this.options.interval, this);\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function() {\n        if (this.state == STATE_RECOGNIZED) {\n            this._input.tapCount = this.count;\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n    options = options || {};\n    options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n    return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.7';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n    /**\n     * set if DOM events are being triggered.\n     * But this is slower and unused by simple implementations, so disabled by default.\n     * @type {Boolean}\n     * @default false\n     */\n    domEvents: false,\n\n    /**\n     * The value for the touchAction property/fallback.\n     * When set to `compute` it will magically set the correct value based on the added recognizers.\n     * @type {String}\n     * @default compute\n     */\n    touchAction: TOUCH_ACTION_COMPUTE,\n\n    /**\n     * @type {Boolean}\n     * @default true\n     */\n    enable: true,\n\n    /**\n     * EXPERIMENTAL FEATURE -- can be removed/changed\n     * Change the parent input target element.\n     * If Null, then it is being set the to main element.\n     * @type {Null|EventTarget}\n     * @default null\n     */\n    inputTarget: null,\n\n    /**\n     * force an input class\n     * @type {Null|Function}\n     * @default null\n     */\n    inputClass: null,\n\n    /**\n     * Default recognizer setup when calling `Hammer()`\n     * When creating a new Manager these will be skipped.\n     * @type {Array}\n     */\n    preset: [\n        // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n        [RotateRecognizer, {enable: false}],\n        [PinchRecognizer, {enable: false}, ['rotate']],\n        [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n        [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n        [TapRecognizer],\n        [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n        [PressRecognizer]\n    ],\n\n    /**\n     * Some CSS properties can be used to improve the working of Hammer.\n     * Add them to this method and they will be set when creating a new Manager.\n     * @namespace\n     */\n    cssProps: {\n        /**\n         * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userSelect: 'none',\n\n        /**\n         * Disable the Windows Phone grippers when pressing an element.\n         * @type {String}\n         * @default 'none'\n         */\n        touchSelect: 'none',\n\n        /**\n         * Disables the default callout shown when you touch and hold a touch target.\n         * On iOS, when you touch and hold a touch target such as a link, Safari displays\n         * a callout containing information about the link. This property allows you to disable that callout.\n         * @type {String}\n         * @default 'none'\n         */\n        touchCallout: 'none',\n\n        /**\n         * Specifies whether zooming is enabled. Used by IE10>\n         * @type {String}\n         * @default 'none'\n         */\n        contentZooming: 'none',\n\n        /**\n         * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userDrag: 'none',\n\n        /**\n         * Overrides the highlight color shown when the user taps a link or a JavaScript\n         * clickable element in iOS. This property obeys the alpha value, if specified.\n         * @type {String}\n         * @default 'rgba(0,0,0,0)'\n         */\n        tapHighlightColor: 'rgba(0,0,0,0)'\n    }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n    this.options = assign({}, Hammer.defaults, options || {});\n\n    this.options.inputTarget = this.options.inputTarget || element;\n\n    this.handlers = {};\n    this.session = {};\n    this.recognizers = [];\n    this.oldCssProps = {};\n\n    this.element = element;\n    this.input = createInputInstance(this);\n    this.touchAction = new TouchAction(this, this.options.touchAction);\n\n    toggleCssProps(this, true);\n\n    each(this.options.recognizers, function(item) {\n        var recognizer = this.add(new (item[0])(item[1]));\n        item[2] && recognizer.recognizeWith(item[2]);\n        item[3] && recognizer.requireFailure(item[3]);\n    }, this);\n}\n\nManager.prototype = {\n    /**\n     * set options\n     * @param {Object} options\n     * @returns {Manager}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // Options that need a little more setup\n        if (options.touchAction) {\n            this.touchAction.update();\n        }\n        if (options.inputTarget) {\n            // Clean up existing event listeners and reinitialize\n            this.input.destroy();\n            this.input.target = options.inputTarget;\n            this.input.init();\n        }\n        return this;\n    },\n\n    /**\n     * stop recognizing for this session.\n     * This session will be discarded, when a new [input]start event is fired.\n     * When forced, the recognizer cycle is stopped immediately.\n     * @param {Boolean} [force]\n     */\n    stop: function(force) {\n        this.session.stopped = force ? FORCED_STOP : STOP;\n    },\n\n    /**\n     * run the recognizers!\n     * called by the inputHandler function on every movement of the pointers (touches)\n     * it walks through all the recognizers and tries to detect the gesture that is being made\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        var session = this.session;\n        if (session.stopped) {\n            return;\n        }\n\n        // run the touch-action polyfill\n        this.touchAction.preventDefaults(inputData);\n\n        var recognizer;\n        var recognizers = this.recognizers;\n\n        // this holds the recognizer that is being recognized.\n        // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n        // if no recognizer is detecting a thing, it is set to `null`\n        var curRecognizer = session.curRecognizer;\n\n        // reset when the last recognizer is recognized\n        // or when we're in a new session\n        if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n            curRecognizer = session.curRecognizer = null;\n        }\n\n        var i = 0;\n        while (i < recognizers.length) {\n            recognizer = recognizers[i];\n\n            // find out if we are allowed try to recognize the input for this one.\n            // 1.   allow if the session is NOT forced stopped (see the .stop() method)\n            // 2.   allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n            //      that is being recognized.\n            // 3.   allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n            //      this can be setup with the `recognizeWith()` method on the recognizer.\n            if (session.stopped !== FORCED_STOP && ( // 1\n                    !curRecognizer || recognizer == curRecognizer || // 2\n                    recognizer.canRecognizeWith(curRecognizer))) { // 3\n                recognizer.recognize(inputData);\n            } else {\n                recognizer.reset();\n            }\n\n            // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n            // current active recognizer. but only if we don't already have an active recognizer\n            if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n                curRecognizer = session.curRecognizer = recognizer;\n            }\n            i++;\n        }\n    },\n\n    /**\n     * get a recognizer by its event name.\n     * @param {Recognizer|String} recognizer\n     * @returns {Recognizer|Null}\n     */\n    get: function(recognizer) {\n        if (recognizer instanceof Recognizer) {\n            return recognizer;\n        }\n\n        var recognizers = this.recognizers;\n        for (var i = 0; i < recognizers.length; i++) {\n            if (recognizers[i].options.event == recognizer) {\n                return recognizers[i];\n            }\n        }\n        return null;\n    },\n\n    /**\n     * add a recognizer to the manager\n     * existing recognizers with the same event name will be removed\n     * @param {Recognizer} recognizer\n     * @returns {Recognizer|Manager}\n     */\n    add: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'add', this)) {\n            return this;\n        }\n\n        // remove existing\n        var existing = this.get(recognizer.options.event);\n        if (existing) {\n            this.remove(existing);\n        }\n\n        this.recognizers.push(recognizer);\n        recognizer.manager = this;\n\n        this.touchAction.update();\n        return recognizer;\n    },\n\n    /**\n     * remove a recognizer by name or instance\n     * @param {Recognizer|String} recognizer\n     * @returns {Manager}\n     */\n    remove: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'remove', this)) {\n            return this;\n        }\n\n        recognizer = this.get(recognizer);\n\n        // let's make sure this recognizer exists\n        if (recognizer) {\n            var recognizers = this.recognizers;\n            var index = inArray(recognizers, recognizer);\n\n            if (index !== -1) {\n                recognizers.splice(index, 1);\n                this.touchAction.update();\n            }\n        }\n\n        return this;\n    },\n\n    /**\n     * bind event\n     * @param {String} events\n     * @param {Function} handler\n     * @returns {EventEmitter} this\n     */\n    on: function(events, handler) {\n        if (events === undefined) {\n            return;\n        }\n        if (handler === undefined) {\n            return;\n        }\n\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            handlers[event] = handlers[event] || [];\n            handlers[event].push(handler);\n        });\n        return this;\n    },\n\n    /**\n     * unbind event, leave emit blank to remove all handlers\n     * @param {String} events\n     * @param {Function} [handler]\n     * @returns {EventEmitter} this\n     */\n    off: function(events, handler) {\n        if (events === undefined) {\n            return;\n        }\n\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            if (!handler) {\n                delete handlers[event];\n            } else {\n                handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n            }\n        });\n        return this;\n    },\n\n    /**\n     * emit event to the listeners\n     * @param {String} event\n     * @param {Object} data\n     */\n    emit: function(event, data) {\n        // we also want to trigger dom events\n        if (this.options.domEvents) {\n            triggerDomEvent(event, data);\n        }\n\n        // no handlers, so skip it all\n        var handlers = this.handlers[event] && this.handlers[event].slice();\n        if (!handlers || !handlers.length) {\n            return;\n        }\n\n        data.type = event;\n        data.preventDefault = function() {\n            data.srcEvent.preventDefault();\n        };\n\n        var i = 0;\n        while (i < handlers.length) {\n            handlers[i](data);\n            i++;\n        }\n    },\n\n    /**\n     * destroy the manager and unbinds all events\n     * it doesn't unbind dom events, that is the user own responsibility\n     */\n    destroy: function() {\n        this.element && toggleCssProps(this, false);\n\n        this.handlers = {};\n        this.session = {};\n        this.input.destroy();\n        this.element = null;\n    }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n    var element = manager.element;\n    if (!element.style) {\n        return;\n    }\n    var prop;\n    each(manager.options.cssProps, function(value, name) {\n        prop = prefixed(element.style, name);\n        if (add) {\n            manager.oldCssProps[prop] = element.style[prop];\n            element.style[prop] = value;\n        } else {\n            element.style[prop] = manager.oldCssProps[prop] || '';\n        }\n    });\n    if (!add) {\n        manager.oldCssProps = {};\n    }\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n    var gestureEvent = document.createEvent('Event');\n    gestureEvent.initEvent(event, true, true);\n    gestureEvent.gesture = data;\n    data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n    INPUT_START: INPUT_START,\n    INPUT_MOVE: INPUT_MOVE,\n    INPUT_END: INPUT_END,\n    INPUT_CANCEL: INPUT_CANCEL,\n\n    STATE_POSSIBLE: STATE_POSSIBLE,\n    STATE_BEGAN: STATE_BEGAN,\n    STATE_CHANGED: STATE_CHANGED,\n    STATE_ENDED: STATE_ENDED,\n    STATE_RECOGNIZED: STATE_RECOGNIZED,\n    STATE_CANCELLED: STATE_CANCELLED,\n    STATE_FAILED: STATE_FAILED,\n\n    DIRECTION_NONE: DIRECTION_NONE,\n    DIRECTION_LEFT: DIRECTION_LEFT,\n    DIRECTION_RIGHT: DIRECTION_RIGHT,\n    DIRECTION_UP: DIRECTION_UP,\n    DIRECTION_DOWN: DIRECTION_DOWN,\n    DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n    DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n    DIRECTION_ALL: DIRECTION_ALL,\n\n    Manager: Manager,\n    Input: Input,\n    TouchAction: TouchAction,\n\n    TouchInput: TouchInput,\n    MouseInput: MouseInput,\n    PointerEventInput: PointerEventInput,\n    TouchMouseInput: TouchMouseInput,\n    SingleTouchInput: SingleTouchInput,\n\n    Recognizer: Recognizer,\n    AttrRecognizer: AttrRecognizer,\n    Tap: TapRecognizer,\n    Pan: PanRecognizer,\n    Swipe: SwipeRecognizer,\n    Pinch: PinchRecognizer,\n    Rotate: RotateRecognizer,\n    Press: PressRecognizer,\n\n    on: addEventListeners,\n    off: removeEventListeners,\n    each: each,\n    merge: merge,\n    extend: extend,\n    assign: assign,\n    inherit: inherit,\n    bindFn: bindFn,\n    prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n//  style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (typeof define === 'function' && define.amd) {\n    define(function() {\n        return Hammer;\n    });\n} else if (typeof module != 'undefined' && module.exports) {\n    module.exports = Hammer;\n} else {\n    window[exportName] = Hammer;\n}\n\n})(window, document, 'Hammer');\n\n}","if (typeof FastBoot === 'undefined') {\n!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof define&&define.amd)define([],e);else{var n;\"undefined\"!=typeof window?n=window:\"undefined\"!=typeof global?n=global:\"undefined\"!=typeof self&&(n=self),n.AnimationFrame=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){\n/**\n * An even better animation frame.\n *\n * @copyright Oleg Slobodskoi 2015\n * @website https://github.com/kof/animationFrame\n * @license MIT\n */\n\nmodule.exports = require('./lib/animation-frame')\n\n},{\"./lib/animation-frame\":2}],2:[function(require,module,exports){\n'use strict'\n\nvar nativeImpl = require('./native')\nvar now = require('./now')\nvar performance = require('./performance')\n\n// Weird native implementation doesn't work if context is defined.\nvar nativeRequest = nativeImpl.request\nvar nativeCancel = nativeImpl.cancel\n\n/**\n * Animation frame constructor.\n *\n * Options:\n *   - `useNative` use the native animation frame if possible, defaults to true\n *   - `frameRate` pass a custom frame rate\n *\n * @param {Object|Number} options\n */\nfunction AnimationFrame(options) {\n    if (!(this instanceof AnimationFrame)) return new AnimationFrame(options)\n    options || (options = {})\n\n    // Its a frame rate.\n    if (typeof options == 'number') options = {frameRate: options}\n    options.useNative != null || (options.useNative = true)\n    this.options = options\n    this.frameRate = options.frameRate || AnimationFrame.FRAME_RATE\n    this._frameLength = 1000 / this.frameRate\n    this._isCustomFrameRate = this.frameRate !== AnimationFrame.FRAME_RATE\n    this._timeoutId = null\n    this._callbacks = {}\n    this._lastTickTime = 0\n    this._tickCounter = 0\n}\n\nmodule.exports = AnimationFrame\n\n/**\n * Default frame rate used for shim implementation. Native implementation\n * will use the screen frame rate, but js have no way to detect it.\n *\n * If you know your target device, define it manually.\n *\n * @type {Number}\n * @api public\n */\nAnimationFrame.FRAME_RATE = 60\n\n/**\n * Replace the globally defined implementation or define it globally.\n *\n * @param {Object|Number} [options]\n * @api public\n */\nAnimationFrame.shim = function(options) {\n    var animationFrame = new AnimationFrame(options)\n\n    window.requestAnimationFrame = function(callback) {\n        return animationFrame.request(callback)\n    }\n    window.cancelAnimationFrame = function(id) {\n        return animationFrame.cancel(id)\n    }\n\n    return animationFrame\n}\n\n/**\n * Request animation frame.\n * We will use the native RAF as soon as we know it does works.\n *\n * @param {Function} callback\n * @return {Number} timeout id or requested animation frame id\n * @api public\n */\nAnimationFrame.prototype.request = function(callback) {\n    var self = this\n\n    // Alawys inc counter to ensure it never has a conflict with the native counter.\n    // After the feature test phase we don't know exactly which implementation has been used.\n    // Therefore on #cancel we do it for both.\n    ++this._tickCounter\n\n    if (nativeImpl.supported && this.options.useNative && !this._isCustomFrameRate) {\n        return nativeRequest(callback)\n    }\n\n    if (!callback) throw new TypeError('Not enough arguments')\n\n    if (this._timeoutId == null) {\n        // Much faster than Math.max\n        // http://jsperf.com/math-max-vs-comparison/3\n        // http://jsperf.com/date-now-vs-date-gettime/11\n        var delay = this._frameLength + this._lastTickTime - now()\n        if (delay < 0) delay = 0\n\n        this._timeoutId = setTimeout(function() {\n            self._lastTickTime = now()\n            self._timeoutId = null\n            ++self._tickCounter\n            var callbacks = self._callbacks\n            self._callbacks = {}\n            for (var id in callbacks) {\n                if (callbacks[id]) {\n                    if (nativeImpl.supported && self.options.useNative) {\n                        nativeRequest(callbacks[id])\n                    } else {\n                        callbacks[id](performance.now())\n                    }\n                }\n            }\n        }, delay)\n    }\n\n    this._callbacks[this._tickCounter] = callback\n\n    return this._tickCounter\n}\n\n/**\n * Cancel animation frame.\n *\n * @param {Number} timeout id or requested animation frame id\n *\n * @api public\n */\nAnimationFrame.prototype.cancel = function(id) {\n    if (nativeImpl.supported && this.options.useNative) nativeCancel(id)\n    delete this._callbacks[id]\n}\n\n},{\"./native\":3,\"./now\":4,\"./performance\":6}],3:[function(require,module,exports){\n'use strict'\n\nvar global = window\n\n// Test if we are within a foreign domain. Use raf from the top if possible.\ntry {\n    // Accessing .name will throw SecurityError within a foreign domain.\n    global.top.name\n    global = global.top\n} catch(e) {}\n\nexports.request = global.requestAnimationFrame\nexports.cancel = global.cancelAnimationFrame || global.cancelRequestAnimationFrame\nexports.supported = false\n\nvar vendors = ['Webkit', 'Moz', 'ms', 'O']\n\n// Grab the native implementation.\nfor (var i = 0; i < vendors.length && !exports.request; i++) {\n    exports.request = global[vendors[i] + 'RequestAnimationFrame']\n    exports.cancel = global[vendors[i] + 'CancelAnimationFrame'] ||\n        global[vendors[i] + 'CancelRequestAnimationFrame']\n}\n\n// Test if native implementation works.\n// There are some issues on ios6\n// http://shitwebkitdoes.tumblr.com/post/47186945856/native-requestanimationframe-broken-on-ios-6\n// https://gist.github.com/KrofDrakula/5318048\n\nif (exports.request) {\n    exports.request.call(null, function() {\n        exports.supported = true\n    });\n}\n\n},{}],4:[function(require,module,exports){\n'use strict'\n\n/**\n * Crossplatform Date.now()\n *\n * @return {Number} time in ms\n * @api private\n */\nmodule.exports = Date.now || function() {\n    return (new Date).getTime()\n}\n\n},{}],5:[function(require,module,exports){\n'use strict'\n\nvar now = require('./now')\n\n/**\n * Replacement for PerformanceTiming.navigationStart for the case when\n * performance.now is not implemented.\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/PerformanceTiming.navigationStart\n *\n * @type {Number}\n * @api private\n */\nexports.navigationStart = now()\n\n},{\"./now\":4}],6:[function(require,module,exports){\n'use strict'\n\nvar now = require('./now')\nvar PerformanceTiming = require('./performance-timing')\n\n/**\n * Crossplatform performance.now()\n *\n * https://developer.mozilla.org/en-US/docs/Web/API/Performance.now()\n *\n * @return {Number} relative time in ms\n * @api public\n */\nexports.now = function () {\n    if (window.performance && window.performance.now) return window.performance.now()\n    return now() - PerformanceTiming.navigationStart\n}\n\n\n},{\"./now\":4,\"./performance-timing\":5}]},{},[1])(1)\n});\n}","(() => {\n  'use strict';\n\n  if (false) {\n    // @ts-ignore\n    const glimmerRuntime = Ember.__loader.require('@glimmer/runtime'); // Ember.destroy is already set by default, ignoring it here\n\n\n    Ember._registerDestructor = glimmerRuntime.registerDestructor;\n    Ember._unregisterDestructor = glimmerRuntime.unregisterDestructor;\n    Ember._associateDestroyableChild = glimmerRuntime.associateDestroyableChild;\n    Ember._isDestroying = glimmerRuntime.isDestroying;\n    Ember._isDestroyed = glimmerRuntime.isDestroyed; // on 3.20.0-beta.4 through 3.20.2 (estimated) there is an issue with the upstream\n    // `assertDestroyablesDestroyed` method that triggers the assertion in cases that it\n    // should not; in order to allow code bases to function on those specific Ember versions\n    // (including our own test suite) we detect and do nothing\n    //\n    // See https://github.com/glimmerjs/glimmer-vm/pull/1119\n\n    if (false) {\n      Ember._assertDestroyablesDestroyed = glimmerRuntime.assertDestroyablesDestroyed;\n      Ember._enableDestroyableTracking = glimmerRuntime.enableDestroyableTracking;\n    } else {\n      Ember._assertDestroyablesDestroyed = function () {};\n\n      Ember._enableDestroyableTracking = function () {};\n    }\n  } else {\n    const Meta = true ? Ember.__loader.require('@ember/-internals/meta/lib/meta').Meta : Ember.__loader.require('ember-meta/lib/meta').Meta;\n    let isTesting = false;\n    let DESTRUCTORS = new WeakMap();\n    let DESTROYABLE_PARENTS = new WeakMap();\n    const DESTROYABLE_CHILDREN = new WeakMap();\n    /**\n     * Tears down the meta on an object so that it can be garbage collected.\n     * Multiple calls will have no effect.\n     *\n     * On Ember < 3.16.4 this just calls `meta.destroy`\n     * On Ember >= 3.16.4 this calls setSourceDestroying and schedules setSourceDestroyed + `meta.destroy`\n     *\n     * @param {Object} obj  the object to destroy\n     * @return {void}\n     */\n\n    const _upstreamDestroy = Ember.destroy;\n\n    function getDestructors(destroyable) {\n      if (!DESTRUCTORS.has(destroyable)) {\n        DESTRUCTORS.set(destroyable, new Set());\n      }\n\n      return DESTRUCTORS.get(destroyable);\n    }\n\n    function getDestroyableChildren(destroyable) {\n      if (!DESTROYABLE_CHILDREN.has(destroyable)) {\n        DESTROYABLE_CHILDREN.set(destroyable, new Set());\n      }\n\n      return DESTROYABLE_CHILDREN.get(destroyable);\n    }\n\n    function isDestroying(destroyable) {\n      return Ember.meta(destroyable).isSourceDestroying();\n    }\n\n    function isDestroyed(destroyable) {\n      return Ember.meta(destroyable).isSourceDestroyed();\n    }\n\n    function assertNotDestroyed(destroyable) {\n      (true && !(!isDestroyed(destroyable)) && Ember.assert(`'${destroyable}' was already destroyed.`, !isDestroyed(destroyable)));\n      (true && !(!isDestroying(destroyable)) && Ember.assert(`'${destroyable}' is already being destroyed.`, !isDestroying(destroyable)));\n    }\n\n    function associateDestroyableChild(parent, child) {\n      if (true\n      /* DEBUG */\n      ) assertNotDestroyed(parent);\n      if (true\n      /* DEBUG */\n      ) assertNotDestroyed(child);\n      (true && !(!DESTROYABLE_PARENTS.has(child)) && Ember.assert(`'${child}' is already a child of '${parent}'.`, !DESTROYABLE_PARENTS.has(child)));\n      DESTROYABLE_PARENTS.set(child, parent);\n      getDestroyableChildren(parent).add(child);\n      return child;\n    }\n\n    function unregisterDestructor(destroyable, destructor) {\n      if (true\n      /* DEBUG */\n      ) assertNotDestroyed(destroyable);\n      const destructors = getDestructors(destroyable);\n      (true && !(destructors.has(destructor)) && Ember.assert(`'${destructor}' is not registered with '${destroyable}'.`, destructors.has(destructor)));\n      destructors.delete(destructor);\n    }\n\n    function registerDestructor(destroyable, destructor) {\n      if (true\n      /* DEBUG */\n      ) assertNotDestroyed(destroyable);\n      const destructors = getDestructors(destroyable);\n      (true && !(!destructors.has(destructor)) && Ember.assert(`'${destructor}' is already registered with '${destroyable}'.`, !destructors.has(destructor)));\n      destructors.add(destructor);\n      return destructor;\n    }\n\n    function destroy(destroyable) {\n      if (isDestroying(destroyable) || isDestroyed(destroyable)) return;\n\n      if (true) {\n        // Ember.destroy calls setSourceDestroying (which runs runDestructors) and schedules setSourceDestroyed\n        _upstreamDestroy(destroyable);\n\n        return;\n      }\n\n      const m = Ember.meta(destroyable);\n      m.setSourceDestroying(); // This calls `runDestructors`\n    }\n\n    const RUNNING = new WeakSet();\n\n    function runDestructors(destroyable) {\n      if (RUNNING.has(destroyable)) return;\n      RUNNING.add(destroyable);\n      const m = Ember.meta(destroyable);\n\n      for (const child of getDestroyableChildren(destroyable)) destroy(child);\n\n      for (const destructor of getDestructors(destroyable)) {\n        Ember.run.schedule('actions', undefined, destructor, destroyable);\n      }\n\n      Ember.run.schedule('destroy', () => {\n        if (!true) {\n          // between Ember 2.18 and 3.16.4 Ember.destroy\n          _upstreamDestroy(destroyable);\n\n          m.setSourceDestroyed();\n        }\n\n        DESTRUCTORS.delete(destroyable);\n        DESTROYABLE_PARENTS.delete(destroyable);\n      });\n    }\n\n    function enableDestroyableTracking() {\n      DESTRUCTORS = new Map();\n      DESTROYABLE_PARENTS = new Map();\n      isTesting = true;\n    }\n\n    function assertDestroyablesDestroyed() {\n      if (!isTesting) {\n        throw new Error('Attempted to assert destroyables destroyed, but you did not start a destroyable test. Did you forget to call `enableDestroyableTracking()`');\n      }\n\n      const destructors = DESTRUCTORS;\n      const children = DESTROYABLE_PARENTS;\n      isTesting = false;\n      DESTRUCTORS = new WeakMap();\n      DESTROYABLE_PARENTS = new WeakMap();\n\n      if (destructors.size > 0 || children.size > 0) {\n        const error = new Error(`Some destroyables were not destroyed during this test`);\n        Object.defineProperty(error, 'destroyables', {\n          get() {\n            return [...new Set([...destructors.keys(), ...children.keys()])];\n          }\n\n        });\n        throw error;\n      }\n    }\n\n    const {\n      setSourceDestroying\n    } = Meta.prototype;\n\n    Meta.prototype.setSourceDestroying = function () {\n      setSourceDestroying.call(this);\n      runDestructors(this.source);\n    };\n\n    const callWillDestroy = instance => instance.willDestroy(); // would prefer a WeakSet here but not available on IE11\n\n\n    const willDestroyRegistered = new WeakMap();\n\n    Ember.CoreObject.prototype.init = function destroyablesPolyfill_init() {\n      if (!willDestroyRegistered.has(this)) {\n        registerDestructor(this, callWillDestroy);\n        willDestroyRegistered.set(this, true);\n      }\n    };\n\n    Ember.CoreObject.prototype.destroy = function destroyablesPolyfill_destroy() {\n      destroy(this);\n      return this;\n    };\n\n    Ember.destroy = destroy;\n    Ember._registerDestructor = registerDestructor;\n    Ember._unregisterDestructor = unregisterDestructor;\n    Ember._associateDestroyableChild = associateDestroyableChild;\n    Ember._isDestroying = isDestroying;\n    Ember._isDestroyed = isDestroyed;\n    Ember._assertDestroyablesDestroyed = assertDestroyablesDestroyed;\n    Ember._enableDestroyableTracking = enableDestroyableTracking;\n  }\n})();","(function(define){\n/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.16.1\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n\ttypeof define === 'function' && define.amd ? define(factory) :\n\t(global.Popper = factory());\n}(this, (function () { 'use strict';\n\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n\nvar timeoutDuration = function () {\n  var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n  for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n    if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n      return 1;\n    }\n  }\n  return 0;\n}();\n\nfunction microtaskDebounce(fn) {\n  var called = false;\n  return function () {\n    if (called) {\n      return;\n    }\n    called = true;\n    window.Promise.resolve().then(function () {\n      called = false;\n      fn();\n    });\n  };\n}\n\nfunction taskDebounce(fn) {\n  var scheduled = false;\n  return function () {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(function () {\n        scheduled = false;\n        fn();\n      }, timeoutDuration);\n    }\n  };\n}\n\nvar supportsMicroTasks = isBrowser && window.Promise;\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nvar debounce = supportsMicroTasks ? microtaskDebounce : taskDebounce;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n  var getType = {};\n  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\n/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nfunction getStyleComputedProperty(element, property) {\n  if (element.nodeType !== 1) {\n    return [];\n  }\n  // NOTE: 1 DOM access here\n  var window = element.ownerDocument.defaultView;\n  var css = window.getComputedStyle(element, null);\n  return property ? css[property] : css;\n}\n\n/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nfunction getParentNode(element) {\n  if (element.nodeName === 'HTML') {\n    return element;\n  }\n  return element.parentNode || element.host;\n}\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nfunction getScrollParent(element) {\n  // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n  if (!element) {\n    return document.body;\n  }\n\n  switch (element.nodeName) {\n    case 'HTML':\n    case 'BODY':\n      return element.ownerDocument.body;\n    case '#document':\n      return element.body;\n  }\n\n  // Firefox want us to check `-x` and `-y` variations as well\n\n  var _getStyleComputedProp = getStyleComputedProperty(element),\n      overflow = _getStyleComputedProp.overflow,\n      overflowX = _getStyleComputedProp.overflowX,\n      overflowY = _getStyleComputedProp.overflowY;\n\n  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n    return element;\n  }\n\n  return getScrollParent(getParentNode(element));\n}\n\n/**\n * Returns the reference node of the reference object, or the reference object itself.\n * @method\n * @memberof Popper.Utils\n * @param {Element|Object} reference - the reference element (the popper will be relative to this)\n * @returns {Element} parent\n */\nfunction getReferenceNode(reference) {\n  return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n\nvar isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nvar isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nfunction isIE(version) {\n  if (version === 11) {\n    return isIE11;\n  }\n  if (version === 10) {\n    return isIE10;\n  }\n  return isIE11 || isIE10;\n}\n\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nfunction getOffsetParent(element) {\n  if (!element) {\n    return document.documentElement;\n  }\n\n  var noOffsetParent = isIE(10) ? document.body : null;\n\n  // NOTE: 1 DOM access here\n  var offsetParent = element.offsetParent || null;\n  // Skip hidden elements which don't have an offsetParent\n  while (offsetParent === noOffsetParent && element.nextElementSibling) {\n    offsetParent = (element = element.nextElementSibling).offsetParent;\n  }\n\n  var nodeName = offsetParent && offsetParent.nodeName;\n\n  if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n    return element ? element.ownerDocument.documentElement : document.documentElement;\n  }\n\n  // .offsetParent will return the closest TH, TD or TABLE in case\n  // no offsetParent is present, I hate this job...\n  if (['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') {\n    return getOffsetParent(offsetParent);\n  }\n\n  return offsetParent;\n}\n\nfunction isOffsetContainer(element) {\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY') {\n    return false;\n  }\n  return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element;\n}\n\n/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nfunction getRoot(node) {\n  if (node.parentNode !== null) {\n    return getRoot(node.parentNode);\n  }\n\n  return node;\n}\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nfunction findCommonOffsetParent(element1, element2) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n    return document.documentElement;\n  }\n\n  // Here we make sure to give as \"start\" the element that comes first in the DOM\n  var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING;\n  var start = order ? element1 : element2;\n  var end = order ? element2 : element1;\n\n  // Get common ancestor container\n  var range = document.createRange();\n  range.setStart(start, 0);\n  range.setEnd(end, 0);\n  var commonAncestorContainer = range.commonAncestorContainer;\n\n  // Both nodes are inside #document\n\n  if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) {\n    if (isOffsetContainer(commonAncestorContainer)) {\n      return commonAncestorContainer;\n    }\n\n    return getOffsetParent(commonAncestorContainer);\n  }\n\n  // one of the nodes is inside shadowDOM, find which one\n  var element1root = getRoot(element1);\n  if (element1root.host) {\n    return findCommonOffsetParent(element1root.host, element2);\n  } else {\n    return findCommonOffsetParent(element1, getRoot(element2).host);\n  }\n}\n\n/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nfunction getScroll(element) {\n  var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top';\n\n  var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n  var nodeName = element.nodeName;\n\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    var html = element.ownerDocument.documentElement;\n    var scrollingElement = element.ownerDocument.scrollingElement || html;\n    return scrollingElement[upperSide];\n  }\n\n  return element[upperSide];\n}\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nfunction includeScroll(rect, element) {\n  var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var scrollTop = getScroll(element, 'top');\n  var scrollLeft = getScroll(element, 'left');\n  var modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n\n/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nfunction getBordersSize(styles, axis) {\n  var sideA = axis === 'x' ? 'Left' : 'Top';\n  var sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n  return parseFloat(styles['border' + sideA + 'Width']) + parseFloat(styles['border' + sideB + 'Width']);\n}\n\nfunction getSize(axis, body, html, computedStyle) {\n  return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE(10) ? parseInt(html['offset' + axis]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')]) + parseInt(computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')]) : 0);\n}\n\nfunction getWindowSizes(document) {\n  var body = document.body;\n  var html = document.documentElement;\n  var computedStyle = isIE(10) && getComputedStyle(html);\n\n  return {\n    height: getSize('Height', body, html, computedStyle),\n    width: getSize('Width', body, html, computedStyle)\n  };\n}\n\nvar classCallCheck = function (instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n};\n\nvar createClass = function () {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  return function (Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) defineProperties(Constructor, staticProps);\n    return Constructor;\n  };\n}();\n\n\n\n\n\nvar defineProperty = function (obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];\n\n    for (var key in source) {\n      if (Object.prototype.hasOwnProperty.call(source, key)) {\n        target[key] = source[key];\n      }\n    }\n  }\n\n  return target;\n};\n\n/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nfunction getClientRect(offsets) {\n  return _extends({}, offsets, {\n    right: offsets.left + offsets.width,\n    bottom: offsets.top + offsets.height\n  });\n}\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nfunction getBoundingClientRect(element) {\n  var rect = {};\n\n  // IE10 10 FIX: Please, don't ask, the element isn't\n  // considered in DOM in some circumstances...\n  // This isn't reproducible in IE10 compatibility mode of IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      var scrollTop = getScroll(element, 'top');\n      var scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    } else {\n      rect = element.getBoundingClientRect();\n    }\n  } catch (e) {}\n\n  var result = {\n    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top\n  };\n\n  // subtract scrollbar size from sizes\n  var sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  var width = sizes.width || element.clientWidth || result.width;\n  var height = sizes.height || element.clientHeight || result.height;\n\n  var horizScrollbar = element.offsetWidth - width;\n  var vertScrollbar = element.offsetHeight - height;\n\n  // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n  // we make this check conditional for performance reasons\n  if (horizScrollbar || vertScrollbar) {\n    var styles = getStyleComputedProperty(element);\n    horizScrollbar -= getBordersSize(styles, 'x');\n    vertScrollbar -= getBordersSize(styles, 'y');\n\n    result.width -= horizScrollbar;\n    result.height -= vertScrollbar;\n  }\n\n  return getClientRect(result);\n}\n\nfunction getOffsetRectRelativeToArbitraryNode(children, parent) {\n  var fixedPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n\n  var isIE10 = isIE(10);\n  var isHTML = parent.nodeName === 'HTML';\n  var childrenRect = getBoundingClientRect(children);\n  var parentRect = getBoundingClientRect(parent);\n  var scrollParent = getScrollParent(children);\n\n  var styles = getStyleComputedProperty(parent);\n  var borderTopWidth = parseFloat(styles.borderTopWidth);\n  var borderLeftWidth = parseFloat(styles.borderLeftWidth);\n\n  // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n  if (fixedPosition && isHTML) {\n    parentRect.top = Math.max(parentRect.top, 0);\n    parentRect.left = Math.max(parentRect.left, 0);\n  }\n  var offsets = getClientRect({\n    top: childrenRect.top - parentRect.top - borderTopWidth,\n    left: childrenRect.left - parentRect.left - borderLeftWidth,\n    width: childrenRect.width,\n    height: childrenRect.height\n  });\n  offsets.marginTop = 0;\n  offsets.marginLeft = 0;\n\n  // Subtract margins of documentElement in case it's being used as parent\n  // we do this only on HTML because it's the only element that behaves\n  // differently when margins are applied to it. The margins are included in\n  // the box of the documentElement, in the other cases not.\n  if (!isIE10 && isHTML) {\n    var marginTop = parseFloat(styles.marginTop);\n    var marginLeft = parseFloat(styles.marginLeft);\n\n    offsets.top -= borderTopWidth - marginTop;\n    offsets.bottom -= borderTopWidth - marginTop;\n    offsets.left -= borderLeftWidth - marginLeft;\n    offsets.right -= borderLeftWidth - marginLeft;\n\n    // Attach marginTop and marginLeft because in some circumstances we may need them\n    offsets.marginTop = marginTop;\n    offsets.marginLeft = marginLeft;\n  }\n\n  if (isIE10 && !fixedPosition ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') {\n    offsets = includeScroll(offsets, parent);\n  }\n\n  return offsets;\n}\n\nfunction getViewportOffsetRectRelativeToArtbitraryNode(element) {\n  var excludeScroll = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var html = element.ownerDocument.documentElement;\n  var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n  var width = Math.max(html.clientWidth, window.innerWidth || 0);\n  var height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n  var scrollTop = !excludeScroll ? getScroll(html) : 0;\n  var scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n  var offset = {\n    top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n    left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n    width: width,\n    height: height\n  };\n\n  return getClientRect(offset);\n}\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nfunction isFixed(element) {\n  var nodeName = element.nodeName;\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    return false;\n  }\n  if (getStyleComputedProperty(element, 'position') === 'fixed') {\n    return true;\n  }\n  var parentNode = getParentNode(element);\n  if (!parentNode) {\n    return false;\n  }\n  return isFixed(parentNode);\n}\n\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nfunction getFixedPositionOffsetParent(element) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element || !element.parentElement || isIE()) {\n    return document.documentElement;\n  }\n  var el = element.parentElement;\n  while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n    el = el.parentElement;\n  }\n  return el || document.documentElement;\n}\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nfunction getBoundaries(popper, reference, padding, boundariesElement) {\n  var fixedPosition = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n\n  // NOTE: 1 DOM access here\n\n  var boundaries = { top: 0, left: 0 };\n  var offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n  // Handle viewport case\n  if (boundariesElement === 'viewport') {\n    boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n  } else {\n    // Handle other cases based on DOM element used as boundaries\n    var boundariesNode = void 0;\n    if (boundariesElement === 'scrollParent') {\n      boundariesNode = getScrollParent(getParentNode(reference));\n      if (boundariesNode.nodeName === 'BODY') {\n        boundariesNode = popper.ownerDocument.documentElement;\n      }\n    } else if (boundariesElement === 'window') {\n      boundariesNode = popper.ownerDocument.documentElement;\n    } else {\n      boundariesNode = boundariesElement;\n    }\n\n    var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent, fixedPosition);\n\n    // In case of HTML, we need a different computation\n    if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n      var _getWindowSizes = getWindowSizes(popper.ownerDocument),\n          height = _getWindowSizes.height,\n          width = _getWindowSizes.width;\n\n      boundaries.top += offsets.top - offsets.marginTop;\n      boundaries.bottom = height + offsets.top;\n      boundaries.left += offsets.left - offsets.marginLeft;\n      boundaries.right = width + offsets.left;\n    } else {\n      // for all the other DOM elements, this one is good\n      boundaries = offsets;\n    }\n  }\n\n  // Add paddings\n  padding = padding || 0;\n  var isPaddingNumber = typeof padding === 'number';\n  boundaries.left += isPaddingNumber ? padding : padding.left || 0;\n  boundaries.top += isPaddingNumber ? padding : padding.top || 0;\n  boundaries.right -= isPaddingNumber ? padding : padding.right || 0;\n  boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0;\n\n  return boundaries;\n}\n\nfunction getArea(_ref) {\n  var width = _ref.width,\n      height = _ref.height;\n\n  return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) {\n  var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0;\n\n  if (placement.indexOf('auto') === -1) {\n    return placement;\n  }\n\n  var boundaries = getBoundaries(popper, reference, padding, boundariesElement);\n\n  var rects = {\n    top: {\n      width: boundaries.width,\n      height: refRect.top - boundaries.top\n    },\n    right: {\n      width: boundaries.right - refRect.right,\n      height: boundaries.height\n    },\n    bottom: {\n      width: boundaries.width,\n      height: boundaries.bottom - refRect.bottom\n    },\n    left: {\n      width: refRect.left - boundaries.left,\n      height: boundaries.height\n    }\n  };\n\n  var sortedAreas = Object.keys(rects).map(function (key) {\n    return _extends({\n      key: key\n    }, rects[key], {\n      area: getArea(rects[key])\n    });\n  }).sort(function (a, b) {\n    return b.area - a.area;\n  });\n\n  var filteredAreas = sortedAreas.filter(function (_ref2) {\n    var width = _ref2.width,\n        height = _ref2.height;\n    return width >= popper.clientWidth && height >= popper.clientHeight;\n  });\n\n  var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key;\n\n  var variation = placement.split('-')[1];\n\n  return computedPlacement + (variation ? '-' + variation : '');\n}\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nfunction getReferenceOffsets(state, popper, reference) {\n  var fixedPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n  var commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n  return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n\n/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nfunction getOuterSizes(element) {\n  var window = element.ownerDocument.defaultView;\n  var styles = window.getComputedStyle(element);\n  var x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  var y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  var result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x\n  };\n  return result;\n}\n\n/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nfunction getOppositePlacement(placement) {\n  var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n  return placement.replace(/left|right|bottom|top/g, function (matched) {\n    return hash[matched];\n  });\n}\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nfunction getPopperOffsets(popper, referenceOffsets, placement) {\n  placement = placement.split('-')[0];\n\n  // Get popper node sizes\n  var popperRect = getOuterSizes(popper);\n\n  // Add position, width and height to our offsets object\n  var popperOffsets = {\n    width: popperRect.width,\n    height: popperRect.height\n  };\n\n  // depending by the popper placement we have to compute its offsets slightly differently\n  var isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n  var mainSide = isHoriz ? 'top' : 'left';\n  var secondarySide = isHoriz ? 'left' : 'top';\n  var measurement = isHoriz ? 'height' : 'width';\n  var secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n  popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2;\n  if (placement === secondarySide) {\n    popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n  } else {\n    popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)];\n  }\n\n  return popperOffsets;\n}\n\n/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction find(arr, check) {\n  // use native find if supported\n  if (Array.prototype.find) {\n    return arr.find(check);\n  }\n\n  // use `filter` to obtain the same behavior of `find`\n  return arr.filter(check)[0];\n}\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nfunction findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(function (cur) {\n      return cur[prop] === value;\n    });\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  var match = find(arr, function (obj) {\n    return obj[prop] === value;\n  });\n  return arr.indexOf(match);\n}\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nfunction runModifiers(modifiers, data, ends) {\n  var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n  modifiersToRun.forEach(function (modifier) {\n    if (modifier['function']) {\n      // eslint-disable-line dot-notation\n      console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n    }\n    var fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n    if (modifier.enabled && isFunction(fn)) {\n      // Add properties to offsets to make them a complete clientRect object\n      // we do this before each modifier to make sure the previous one doesn't\n      // mess with these values\n      data.offsets.popper = getClientRect(data.offsets.popper);\n      data.offsets.reference = getClientRect(data.offsets.reference);\n\n      data = fn(data, modifier);\n    }\n  });\n\n  return data;\n}\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.<br />\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nfunction update() {\n  // if popper is destroyed, don't perform any further update\n  if (this.state.isDestroyed) {\n    return;\n  }\n\n  var data = {\n    instance: this,\n    styles: {},\n    arrowStyles: {},\n    attributes: {},\n    flipped: false,\n    offsets: {}\n  };\n\n  // compute reference element offsets\n  data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference, this.options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding);\n\n  // store the computed placement inside `originalPlacement`\n  data.originalPlacement = data.placement;\n\n  data.positionFixed = this.options.positionFixed;\n\n  // compute the popper offsets\n  data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement);\n\n  data.offsets.popper.position = this.options.positionFixed ? 'fixed' : 'absolute';\n\n  // run the modifiers\n  data = runModifiers(this.modifiers, data);\n\n  // the first `update` will call `onCreate` callback\n  // the other ones will call `onUpdate` callback\n  if (!this.state.isCreated) {\n    this.state.isCreated = true;\n    this.options.onCreate(data);\n  } else {\n    this.options.onUpdate(data);\n  }\n}\n\n/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nfunction isModifierEnabled(modifiers, modifierName) {\n  return modifiers.some(function (_ref) {\n    var name = _ref.name,\n        enabled = _ref.enabled;\n    return enabled && name === modifierName;\n  });\n}\n\n/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nfunction getSupportedPropertyName(property) {\n  var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n  var upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n  for (var i = 0; i < prefixes.length; i++) {\n    var prefix = prefixes[i];\n    var toCheck = prefix ? '' + prefix + upperProp : property;\n    if (typeof document.body.style[toCheck] !== 'undefined') {\n      return toCheck;\n    }\n  }\n  return null;\n}\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nfunction destroy() {\n  this.state.isDestroyed = true;\n\n  // touch DOM only if `applyStyle` modifier is enabled\n  if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n    this.popper.removeAttribute('x-placement');\n    this.popper.style.position = '';\n    this.popper.style.top = '';\n    this.popper.style.left = '';\n    this.popper.style.right = '';\n    this.popper.style.bottom = '';\n    this.popper.style.willChange = '';\n    this.popper.style[getSupportedPropertyName('transform')] = '';\n  }\n\n  this.disableEventListeners();\n\n  // remove the popper if user explicitly asked for the deletion on destroy\n  // do not use `remove` because IE11 doesn't support it\n  if (this.options.removeOnDestroy) {\n    this.popper.parentNode.removeChild(this.popper);\n  }\n  return this;\n}\n\n/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nfunction getWindow(element) {\n  var ownerDocument = element.ownerDocument;\n  return ownerDocument ? ownerDocument.defaultView : window;\n}\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n  var isBody = scrollParent.nodeName === 'BODY';\n  var target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n  target.addEventListener(event, callback, { passive: true });\n\n  if (!isBody) {\n    attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents);\n  }\n  scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction setupEventListeners(reference, options, state, updateBound) {\n  // Resize event listener on window\n  state.updateBound = updateBound;\n  getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n  // Scroll event listener on scroll parents\n  var scrollElement = getScrollParent(reference);\n  attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents);\n  state.scrollElement = scrollElement;\n  state.eventsEnabled = true;\n\n  return state;\n}\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nfunction enableEventListeners() {\n  if (!this.state.eventsEnabled) {\n    this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate);\n  }\n}\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nfunction removeEventListeners(reference, state) {\n  // Remove resize event listener on window\n  getWindow(reference).removeEventListener('resize', state.updateBound);\n\n  // Remove scroll event listener on scroll parents\n  state.scrollParents.forEach(function (target) {\n    target.removeEventListener('scroll', state.updateBound);\n  });\n\n  // Reset state\n  state.updateBound = null;\n  state.scrollParents = [];\n  state.scrollElement = null;\n  state.eventsEnabled = false;\n  return state;\n}\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nfunction disableEventListeners() {\n  if (this.state.eventsEnabled) {\n    cancelAnimationFrame(this.scheduleUpdate);\n    this.state = removeEventListeners(this.reference, this.state);\n  }\n}\n\n/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nfunction isNumeric(n) {\n  return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setStyles(element, styles) {\n  Object.keys(styles).forEach(function (prop) {\n    var unit = '';\n    // add unit if the value is numeric and is one of the following\n    if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) {\n      unit = 'px';\n    }\n    element.style[prop] = styles[prop] + unit;\n  });\n}\n\n/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nfunction setAttributes(element, attributes) {\n  Object.keys(attributes).forEach(function (prop) {\n    var value = attributes[prop];\n    if (value !== false) {\n      element.setAttribute(prop, attributes[prop]);\n    } else {\n      element.removeAttribute(prop);\n    }\n  });\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nfunction applyStyle(data) {\n  // any property present in `data.styles` will be applied to the popper,\n  // in this way we can make the 3rd party modifiers add custom styles to it\n  // Be aware, modifiers could override the properties defined in the previous\n  // lines of this modifier!\n  setStyles(data.instance.popper, data.styles);\n\n  // any property present in `data.attributes` will be applied to the popper,\n  // they will be set as HTML attributes of the element\n  setAttributes(data.instance.popper, data.attributes);\n\n  // if arrowElement is defined and arrowStyles has some properties\n  if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n    setStyles(data.arrowElement, data.arrowStyles);\n  }\n\n  return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nfunction applyStyleOnLoad(reference, popper, options, modifierOptions, state) {\n  // compute reference element offsets\n  var referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding);\n\n  popper.setAttribute('x-placement', placement);\n\n  // Apply `position` to popper before anything else because\n  // without the position applied we can't guarantee correct computations\n  setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n  return options;\n}\n\n/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nfunction getRoundedOffsets(data, shouldRound) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n  var round = Math.round,\n      floor = Math.floor;\n\n  var noRound = function noRound(v) {\n    return v;\n  };\n\n  var referenceWidth = round(reference.width);\n  var popperWidth = round(popper.width);\n\n  var isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n  var isVariation = data.placement.indexOf('-') !== -1;\n  var sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  var bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  var horizontalToInteger = !shouldRound ? noRound : isVertical || isVariation || sameWidthParity ? round : floor;\n  var verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(bothOddWidth && !isVariation && shouldRound ? popper.left - 1 : popper.left),\n    top: verticalToInteger(popper.top),\n    bottom: verticalToInteger(popper.bottom),\n    right: horizontalToInteger(popper.right)\n  };\n}\n\nvar isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction computeStyle(data, options) {\n  var x = options.x,\n      y = options.y;\n  var popper = data.offsets.popper;\n\n  // Remove this legacy support in Popper.js v2\n\n  var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'applyStyle';\n  }).gpuAcceleration;\n  if (legacyGpuAccelerationOption !== undefined) {\n    console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');\n  }\n  var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration;\n\n  var offsetParent = getOffsetParent(data.instance.popper);\n  var offsetParentRect = getBoundingClientRect(offsetParent);\n\n  // Styles\n  var styles = {\n    position: popper.position\n  };\n\n  var offsets = getRoundedOffsets(data, window.devicePixelRatio < 2 || !isFirefox);\n\n  var sideA = x === 'bottom' ? 'top' : 'bottom';\n  var sideB = y === 'right' ? 'left' : 'right';\n\n  // if gpuAcceleration is set to `true` and transform is supported,\n  //  we use `translate3d` to apply the position to the popper we\n  // automatically use the supported prefixed version if needed\n  var prefixedProperty = getSupportedPropertyName('transform');\n\n  // now, let's make a step back and look at this code closely (wtf?)\n  // If the content of the popper grows once it's been positioned, it\n  // may happen that the popper gets misplaced because of the new content\n  // overflowing its reference element\n  // To avoid this problem, we provide two options (x and y), which allow\n  // the consumer to define the offset origin.\n  // If we position a popper on top of a reference element, we can set\n  // `x` to `top` to make the popper grow towards its top instead of\n  // its bottom.\n  var left = void 0,\n      top = void 0;\n  if (sideA === 'bottom') {\n    // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)\n    // and not the bottom of the html element\n    if (offsetParent.nodeName === 'HTML') {\n      top = -offsetParent.clientHeight + offsets.bottom;\n    } else {\n      top = -offsetParentRect.height + offsets.bottom;\n    }\n  } else {\n    top = offsets.top;\n  }\n  if (sideB === 'right') {\n    if (offsetParent.nodeName === 'HTML') {\n      left = -offsetParent.clientWidth + offsets.right;\n    } else {\n      left = -offsetParentRect.width + offsets.right;\n    }\n  } else {\n    left = offsets.left;\n  }\n  if (gpuAcceleration && prefixedProperty) {\n    styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)';\n    styles[sideA] = 0;\n    styles[sideB] = 0;\n    styles.willChange = 'transform';\n  } else {\n    // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n    var invertTop = sideA === 'bottom' ? -1 : 1;\n    var invertLeft = sideB === 'right' ? -1 : 1;\n    styles[sideA] = top * invertTop;\n    styles[sideB] = left * invertLeft;\n    styles.willChange = sideA + ', ' + sideB;\n  }\n\n  // Attributes\n  var attributes = {\n    'x-placement': data.placement\n  };\n\n  // Update `data` attributes, styles and arrowStyles\n  data.attributes = _extends({}, attributes, data.attributes);\n  data.styles = _extends({}, styles, data.styles);\n  data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);\n\n  return data;\n}\n\n/**\n * Helper used to know if the given modifier depends from another one.<br />\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nfunction isModifierRequired(modifiers, requestingName, requestedName) {\n  var requesting = find(modifiers, function (_ref) {\n    var name = _ref.name;\n    return name === requestingName;\n  });\n\n  var isRequired = !!requesting && modifiers.some(function (modifier) {\n    return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order;\n  });\n\n  if (!isRequired) {\n    var _requesting = '`' + requestingName + '`';\n    var requested = '`' + requestedName + '`';\n    console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!');\n  }\n  return isRequired;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction arrow(data, options) {\n  var _data$offsets$arrow;\n\n  // arrow depends on keepTogether in order to work\n  if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n    return data;\n  }\n\n  var arrowElement = options.element;\n\n  // if arrowElement is a string, suppose it's a CSS selector\n  if (typeof arrowElement === 'string') {\n    arrowElement = data.instance.popper.querySelector(arrowElement);\n\n    // if arrowElement is not found, don't run the modifier\n    if (!arrowElement) {\n      return data;\n    }\n  } else {\n    // if the arrowElement isn't a query selector we must check that the\n    // provided DOM node is child of its popper node\n    if (!data.instance.popper.contains(arrowElement)) {\n      console.warn('WARNING: `arrow.element` must be child of its popper element!');\n      return data;\n    }\n  }\n\n  var placement = data.placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n  var len = isVertical ? 'height' : 'width';\n  var sideCapitalized = isVertical ? 'Top' : 'Left';\n  var side = sideCapitalized.toLowerCase();\n  var altSide = isVertical ? 'left' : 'top';\n  var opSide = isVertical ? 'bottom' : 'right';\n  var arrowElementSize = getOuterSizes(arrowElement)[len];\n\n  //\n  // extends keepTogether behavior making sure the popper and its\n  // reference have enough pixels in conjunction\n  //\n\n  // top/left side\n  if (reference[opSide] - arrowElementSize < popper[side]) {\n    data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize);\n  }\n  // bottom/right side\n  if (reference[side] + arrowElementSize > popper[opSide]) {\n    data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide];\n  }\n  data.offsets.popper = getClientRect(data.offsets.popper);\n\n  // compute center of the popper\n  var center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n  // Compute the sideValue using the updated popper offsets\n  // take popper margin in account because we don't have this info available\n  var css = getStyleComputedProperty(data.instance.popper);\n  var popperMarginSide = parseFloat(css['margin' + sideCapitalized]);\n  var popperBorderSide = parseFloat(css['border' + sideCapitalized + 'Width']);\n  var sideValue = center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n  // prevent arrowElement from being placed not contiguously to its popper\n  sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n  data.arrowElement = arrowElement;\n  data.offsets.arrow = (_data$offsets$arrow = {}, defineProperty(_data$offsets$arrow, side, Math.round(sideValue)), defineProperty(_data$offsets$arrow, altSide, ''), _data$offsets$arrow);\n\n  return data;\n}\n\n/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nfunction getOppositeVariation(variation) {\n  if (variation === 'end') {\n    return 'start';\n  } else if (variation === 'start') {\n    return 'end';\n  }\n  return variation;\n}\n\n/**\n * List of accepted placements to use as values of the `placement` option.<br />\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.<br />\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nvar placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start'];\n\n// Get rid of `auto` `auto-start` and `auto-end`\nvar validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nfunction clockwise(placement) {\n  var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n  var index = validPlacements.indexOf(placement);\n  var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index));\n  return counter ? arr.reverse() : arr;\n}\n\nvar BEHAVIORS = {\n  FLIP: 'flip',\n  CLOCKWISE: 'clockwise',\n  COUNTERCLOCKWISE: 'counterclockwise'\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction flip(data, options) {\n  // if `inner` modifier is enabled, we can't use the `flip` modifier\n  if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n    return data;\n  }\n\n  if (data.flipped && data.placement === data.originalPlacement) {\n    // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n    return data;\n  }\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement, data.positionFixed);\n\n  var placement = data.placement.split('-')[0];\n  var placementOpposite = getOppositePlacement(placement);\n  var variation = data.placement.split('-')[1] || '';\n\n  var flipOrder = [];\n\n  switch (options.behavior) {\n    case BEHAVIORS.FLIP:\n      flipOrder = [placement, placementOpposite];\n      break;\n    case BEHAVIORS.CLOCKWISE:\n      flipOrder = clockwise(placement);\n      break;\n    case BEHAVIORS.COUNTERCLOCKWISE:\n      flipOrder = clockwise(placement, true);\n      break;\n    default:\n      flipOrder = options.behavior;\n  }\n\n  flipOrder.forEach(function (step, index) {\n    if (placement !== step || flipOrder.length === index + 1) {\n      return data;\n    }\n\n    placement = data.placement.split('-')[0];\n    placementOpposite = getOppositePlacement(placement);\n\n    var popperOffsets = data.offsets.popper;\n    var refOffsets = data.offsets.reference;\n\n    // using floor because the reference offsets may contain decimals we are not going to consider here\n    var floor = Math.floor;\n    var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom);\n\n    var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n    var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n    var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n    var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n    var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom;\n\n    // flip the variation if required\n    var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n    // flips variation if reference element overflows boundaries\n    var flippedVariationByRef = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom);\n\n    // flips variation if popper content overflows boundaries\n    var flippedVariationByContent = !!options.flipVariationsByContent && (isVertical && variation === 'start' && overflowsRight || isVertical && variation === 'end' && overflowsLeft || !isVertical && variation === 'start' && overflowsBottom || !isVertical && variation === 'end' && overflowsTop);\n\n    var flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n    if (overlapsRef || overflowsBoundaries || flippedVariation) {\n      // this boolean to detect any flip loop\n      data.flipped = true;\n\n      if (overlapsRef || overflowsBoundaries) {\n        placement = flipOrder[index + 1];\n      }\n\n      if (flippedVariation) {\n        variation = getOppositeVariation(variation);\n      }\n\n      data.placement = placement + (variation ? '-' + variation : '');\n\n      // this object contains `position`, we want to preserve it along with\n      // any additional property we may add in the future\n      data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));\n\n      data = runModifiers(data.instance.modifiers, data, 'flip');\n    }\n  });\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction keepTogether(data) {\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var placement = data.placement.split('-')[0];\n  var floor = Math.floor;\n  var isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n  var side = isVertical ? 'right' : 'bottom';\n  var opSide = isVertical ? 'left' : 'top';\n  var measurement = isVertical ? 'width' : 'height';\n\n  if (popper[side] < floor(reference[opSide])) {\n    data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement];\n  }\n  if (popper[opSide] > floor(reference[side])) {\n    data.offsets.popper[opSide] = floor(reference[side]);\n  }\n\n  return data;\n}\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nfunction toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  var split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  var value = +split[1];\n  var unit = split[2];\n\n  // If it's not a number it's an operator, I guess\n  if (!value) {\n    return str;\n  }\n\n  if (unit.indexOf('%') === 0) {\n    var element = void 0;\n    switch (unit) {\n      case '%p':\n        element = popperOffsets;\n        break;\n      case '%':\n      case '%r':\n      default:\n        element = referenceOffsets;\n    }\n\n    var rect = getClientRect(element);\n    return rect[measurement] / 100 * value;\n  } else if (unit === 'vh' || unit === 'vw') {\n    // if is a vh or vw, we calculate the size based on the viewport\n    var size = void 0;\n    if (unit === 'vh') {\n      size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0);\n    } else {\n      size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0);\n    }\n    return size / 100 * value;\n  } else {\n    // if is an explicit pixel unit, we get rid of the unit and keep the value\n    // if is an implicit unit, it's px, and we return just the value\n    return value;\n  }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nfunction parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) {\n  var offsets = [0, 0];\n\n  // Use height if placement is left or right and index is 0 otherwise use width\n  // in this way the first offset will use an axis and the second one\n  // will use the other one\n  var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n  // Split the offset string to obtain a list of values and operands\n  // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n  var fragments = offset.split(/(\\+|\\-)/).map(function (frag) {\n    return frag.trim();\n  });\n\n  // Detect if the offset string contains a pair of values or a single one\n  // they could be separated by comma or space\n  var divider = fragments.indexOf(find(fragments, function (frag) {\n    return frag.search(/,|\\s/) !== -1;\n  }));\n\n  if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n    console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');\n  }\n\n  // If divider is found, we divide the list of values and operands to divide\n  // them by ofset X and Y.\n  var splitRegex = /\\s*,\\s*|\\s+/;\n  var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments];\n\n  // Convert the values with units to absolute pixels to allow our computations\n  ops = ops.map(function (op, index) {\n    // Most of the units rely on the orientation of the popper\n    var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width';\n    var mergeWithPrevious = false;\n    return op\n    // This aggregates any `+` or `-` sign that aren't considered operators\n    // e.g.: 10 + +5 => [10, +, +5]\n    .reduce(function (a, b) {\n      if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n        a[a.length - 1] = b;\n        mergeWithPrevious = true;\n        return a;\n      } else if (mergeWithPrevious) {\n        a[a.length - 1] += b;\n        mergeWithPrevious = false;\n        return a;\n      } else {\n        return a.concat(b);\n      }\n    }, [])\n    // Here we convert the string values into number values (in px)\n    .map(function (str) {\n      return toValue(str, measurement, popperOffsets, referenceOffsets);\n    });\n  });\n\n  // Loop trough the offsets arrays and execute the operations\n  ops.forEach(function (op, index) {\n    op.forEach(function (frag, index2) {\n      if (isNumeric(frag)) {\n        offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n      }\n    });\n  });\n  return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nfunction offset(data, _ref) {\n  var offset = _ref.offset;\n  var placement = data.placement,\n      _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var basePlacement = placement.split('-')[0];\n\n  var offsets = void 0;\n  if (isNumeric(+offset)) {\n    offsets = [+offset, 0];\n  } else {\n    offsets = parseOffset(offset, popper, reference, basePlacement);\n  }\n\n  if (basePlacement === 'left') {\n    popper.top += offsets[0];\n    popper.left -= offsets[1];\n  } else if (basePlacement === 'right') {\n    popper.top += offsets[0];\n    popper.left += offsets[1];\n  } else if (basePlacement === 'top') {\n    popper.left += offsets[0];\n    popper.top -= offsets[1];\n  } else if (basePlacement === 'bottom') {\n    popper.left += offsets[0];\n    popper.top += offsets[1];\n  }\n\n  data.popper = popper;\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction preventOverflow(data, options) {\n  var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper);\n\n  // If offsetParent is the reference element, we really want to\n  // go one step up and use the next offsetParent as reference to\n  // avoid to make this modifier completely useless and look like broken\n  if (data.instance.reference === boundariesElement) {\n    boundariesElement = getOffsetParent(boundariesElement);\n  }\n\n  // NOTE: DOM access here\n  // resets the popper's position so that the document size can be calculated excluding\n  // the size of the popper element itself\n  var transformProp = getSupportedPropertyName('transform');\n  var popperStyles = data.instance.popper.style; // assignment to help minification\n  var top = popperStyles.top,\n      left = popperStyles.left,\n      transform = popperStyles[transformProp];\n\n  popperStyles.top = '';\n  popperStyles.left = '';\n  popperStyles[transformProp] = '';\n\n  var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement, data.positionFixed);\n\n  // NOTE: DOM access here\n  // restores the original style properties after the offsets have been computed\n  popperStyles.top = top;\n  popperStyles.left = left;\n  popperStyles[transformProp] = transform;\n\n  options.boundaries = boundaries;\n\n  var order = options.priority;\n  var popper = data.offsets.popper;\n\n  var check = {\n    primary: function primary(placement) {\n      var value = popper[placement];\n      if (popper[placement] < boundaries[placement] && !options.escapeWithReference) {\n        value = Math.max(popper[placement], boundaries[placement]);\n      }\n      return defineProperty({}, placement, value);\n    },\n    secondary: function secondary(placement) {\n      var mainSide = placement === 'right' ? 'left' : 'top';\n      var value = popper[mainSide];\n      if (popper[placement] > boundaries[placement] && !options.escapeWithReference) {\n        value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height));\n      }\n      return defineProperty({}, mainSide, value);\n    }\n  };\n\n  order.forEach(function (placement) {\n    var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n    popper = _extends({}, popper, check[side](placement));\n  });\n\n  data.offsets.popper = popper;\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction shift(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var shiftvariation = placement.split('-')[1];\n\n  // if shift shiftvariation is specified, run the modifier\n  if (shiftvariation) {\n    var _data$offsets = data.offsets,\n        reference = _data$offsets.reference,\n        popper = _data$offsets.popper;\n\n    var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n    var side = isVertical ? 'left' : 'top';\n    var measurement = isVertical ? 'width' : 'height';\n\n    var shiftOffsets = {\n      start: defineProperty({}, side, reference[side]),\n      end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])\n    };\n\n    data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction hide(data) {\n  if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n    return data;\n  }\n\n  var refRect = data.offsets.reference;\n  var bound = find(data.instance.modifiers, function (modifier) {\n    return modifier.name === 'preventOverflow';\n  }).boundaries;\n\n  if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === true) {\n      return data;\n    }\n\n    data.hide = true;\n    data.attributes['x-out-of-boundaries'] = '';\n  } else {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === false) {\n      return data;\n    }\n\n    data.hide = false;\n    data.attributes['x-out-of-boundaries'] = false;\n  }\n\n  return data;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nfunction inner(data) {\n  var placement = data.placement;\n  var basePlacement = placement.split('-')[0];\n  var _data$offsets = data.offsets,\n      popper = _data$offsets.popper,\n      reference = _data$offsets.reference;\n\n  var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n  var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n  popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n  data.placement = getOppositePlacement(placement);\n  data.offsets.popper = getClientRect(popper);\n\n  return data;\n}\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.<br />\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.<br />\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nvar modifiers = {\n  /**\n   * Modifier used to shift the popper on the start or end of its reference\n   * element.<br />\n   * It will read the variation of the `placement` property.<br />\n   * It can be one either `-end` or `-start`.\n   * @memberof modifiers\n   * @inner\n   */\n  shift: {\n    /** @prop {number} order=100 - Index used to define the order of execution */\n    order: 100,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: shift\n  },\n\n  /**\n   * The `offset` modifier can shift your popper on both its axis.\n   *\n   * It accepts the following units:\n   * - `px` or unit-less, interpreted as pixels\n   * - `%` or `%r`, percentage relative to the length of the reference element\n   * - `%p`, percentage relative to the length of the popper element\n   * - `vw`, CSS viewport width unit\n   * - `vh`, CSS viewport height unit\n   *\n   * For length is intended the main axis relative to the placement of the popper.<br />\n   * This means that if the placement is `top` or `bottom`, the length will be the\n   * `width`. In case of `left` or `right`, it will be the `height`.\n   *\n   * You can provide a single value (as `Number` or `String`), or a pair of values\n   * as `String` divided by a comma or one (or more) white spaces.<br />\n   * The latter is a deprecated method because it leads to confusion and will be\n   * removed in v2.<br />\n   * Additionally, it accepts additions and subtractions between different units.\n   * Note that multiplications and divisions aren't supported.\n   *\n   * Valid examples are:\n   * ```\n   * 10\n   * '10%'\n   * '10, 10'\n   * '10%, 10'\n   * '10 + 10%'\n   * '10 - 5vh + 3%'\n   * '-10px + 5vh, 5px - 6%'\n   * ```\n   * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n   * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n   * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  offset: {\n    /** @prop {number} order=200 - Index used to define the order of execution */\n    order: 200,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: offset,\n    /** @prop {Number|String} offset=0\n     * The offset value as described in the modifier description\n     */\n    offset: 0\n  },\n\n  /**\n   * Modifier used to prevent the popper from being positioned outside the boundary.\n   *\n   * A scenario exists where the reference itself is not within the boundaries.<br />\n   * We can say it has \"escaped the boundaries\" — or just \"escaped\".<br />\n   * In this case we need to decide whether the popper should either:\n   *\n   * - detach from the reference and remain \"trapped\" in the boundaries, or\n   * - if it should ignore the boundary and \"escape with its reference\"\n   *\n   * When `escapeWithReference` is set to`true` and reference is completely\n   * outside its boundaries, the popper will overflow (or completely leave)\n   * the boundaries in order to remain attached to the edge of the reference.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  preventOverflow: {\n    /** @prop {number} order=300 - Index used to define the order of execution */\n    order: 300,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: preventOverflow,\n    /**\n     * @prop {Array} [priority=['left','right','top','bottom']]\n     * Popper will try to prevent overflow following these priorities by default,\n     * then, it could overflow on the left and on top of the `boundariesElement`\n     */\n    priority: ['left', 'right', 'top', 'bottom'],\n    /**\n     * @prop {number} padding=5\n     * Amount of pixel used to define a minimum distance between the boundaries\n     * and the popper. This makes sure the popper always has a little padding\n     * between the edges of its container\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='scrollParent'\n     * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n     * `viewport` or any DOM element.\n     */\n    boundariesElement: 'scrollParent'\n  },\n\n  /**\n   * Modifier used to make sure the reference and its popper stay near each other\n   * without leaving any gap between the two. Especially useful when the arrow is\n   * enabled and you want to ensure that it points to its reference element.\n   * It cares only about the first axis. You can still have poppers with margin\n   * between the popper and its reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  keepTogether: {\n    /** @prop {number} order=400 - Index used to define the order of execution */\n    order: 400,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: keepTogether\n  },\n\n  /**\n   * This modifier is used to move the `arrowElement` of the popper to make\n   * sure it is positioned between the reference element and its popper element.\n   * It will read the outer size of the `arrowElement` node to detect how many\n   * pixels of conjunction are needed.\n   *\n   * It has no effect if no `arrowElement` is provided.\n   * @memberof modifiers\n   * @inner\n   */\n  arrow: {\n    /** @prop {number} order=500 - Index used to define the order of execution */\n    order: 500,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: arrow,\n    /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n    element: '[x-arrow]'\n  },\n\n  /**\n   * Modifier used to flip the popper's placement when it starts to overlap its\n   * reference element.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   *\n   * **NOTE:** this modifier will interrupt the current update cycle and will\n   * restart it if it detects the need to flip the placement.\n   * @memberof modifiers\n   * @inner\n   */\n  flip: {\n    /** @prop {number} order=600 - Index used to define the order of execution */\n    order: 600,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: flip,\n    /**\n     * @prop {String|Array} behavior='flip'\n     * The behavior used to change the popper's placement. It can be one of\n     * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n     * placements (with optional variations)\n     */\n    behavior: 'flip',\n    /**\n     * @prop {number} padding=5\n     * The popper will flip if it hits the edges of the `boundariesElement`\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='viewport'\n     * The element which will define the boundaries of the popper position.\n     * The popper will never be placed outside of the defined boundaries\n     * (except if `keepTogether` is enabled)\n     */\n    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariationsByContent: false\n  },\n\n  /**\n   * Modifier used to make the popper flow toward the inner of the reference element.\n   * By default, when this modifier is disabled, the popper will be placed outside\n   * the reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  inner: {\n    /** @prop {number} order=700 - Index used to define the order of execution */\n    order: 700,\n    /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n    enabled: false,\n    /** @prop {ModifierFn} */\n    fn: inner\n  },\n\n  /**\n   * Modifier used to hide the popper when its reference element is outside of the\n   * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n   * be used to hide with a CSS selector the popper when its reference is\n   * out of boundaries.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   * @memberof modifiers\n   * @inner\n   */\n  hide: {\n    /** @prop {number} order=800 - Index used to define the order of execution */\n    order: 800,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: hide\n  },\n\n  /**\n   * Computes the style that will be applied to the popper element to gets\n   * properly positioned.\n   *\n   * Note that this modifier will not touch the DOM, it just prepares the styles\n   * so that `applyStyle` modifier can apply it. This separation is useful\n   * in case you need to replace `applyStyle` with a custom implementation.\n   *\n   * This modifier has `850` as `order` value to maintain backward compatibility\n   * with previous versions of Popper.js. Expect the modifiers ordering method\n   * to change in future major versions of the library.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  computeStyle: {\n    /** @prop {number} order=850 - Index used to define the order of execution */\n    order: 850,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: computeStyle,\n    /**\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: true,\n    /**\n     * @prop {string} [x='bottom']\n     * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n     * Change this if your popper should grow in a direction different from `bottom`\n     */\n    x: 'bottom',\n    /**\n     * @prop {string} [x='left']\n     * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n     * Change this if your popper should grow in a direction different from `right`\n     */\n    y: 'right'\n  },\n\n  /**\n   * Applies the computed styles to the popper element.\n   *\n   * All the DOM manipulations are limited to this modifier. This is useful in case\n   * you want to integrate Popper.js inside a framework or view library and you\n   * want to delegate all the DOM manipulations to it.\n   *\n   * Note that if you disable this modifier, you must make sure the popper element\n   * has its position set to `absolute` before Popper.js can do its work!\n   *\n   * Just disable this modifier and define your own to achieve the desired effect.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  applyStyle: {\n    /** @prop {number} order=900 - Index used to define the order of execution */\n    order: 900,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: applyStyle,\n    /** @prop {Function} */\n    onLoad: applyStyleOnLoad,\n    /**\n     * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: undefined\n  }\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n\n/**\n * Default options provided to Popper.js constructor.<br />\n * These can be overridden using the `options` argument of Popper.js.<br />\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n *   modifiers: {\n *     preventOverflow: { enabled: false }\n *   }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nvar Defaults = {\n  /**\n   * Popper's placement.\n   * @prop {Popper.placements} placement='bottom'\n   */\n  placement: 'bottom',\n\n  /**\n   * Set this to true if you want popper to position it self in 'fixed' mode\n   * @prop {Boolean} positionFixed=false\n   */\n  positionFixed: false,\n\n  /**\n   * Whether events (resize, scroll) are initially enabled.\n   * @prop {Boolean} eventsEnabled=true\n   */\n  eventsEnabled: true,\n\n  /**\n   * Set to true if you want to automatically remove the popper when\n   * you call the `destroy` method.\n   * @prop {Boolean} removeOnDestroy=false\n   */\n  removeOnDestroy: false,\n\n  /**\n   * Callback called when the popper is created.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onCreate}\n   */\n  onCreate: function onCreate() {},\n\n  /**\n   * Callback called when the popper is updated. This callback is not called\n   * on the initialization/creation of the popper, but only on subsequent\n   * updates.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onUpdate}\n   */\n  onUpdate: function onUpdate() {},\n\n  /**\n   * List of modifiers used to modify the offsets before they are applied to the popper.\n   * They provide most of the functionalities of Popper.js.\n   * @prop {modifiers}\n   */\n  modifiers: modifiers\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n\n// Utils\n// Methods\nvar Popper = function () {\n  /**\n   * Creates a new Popper.js instance.\n   * @class Popper\n   * @param {Element|referenceObject} reference - The reference element used to position the popper\n   * @param {Element} popper - The HTML / XML element used as the popper\n   * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n   * @return {Object} instance - The generated Popper.js instance\n   */\n  function Popper(reference, popper) {\n    var _this = this;\n\n    var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    classCallCheck(this, Popper);\n\n    this.scheduleUpdate = function () {\n      return requestAnimationFrame(_this.update);\n    };\n\n    // make update() debounced, so that it only runs at most once-per-tick\n    this.update = debounce(this.update.bind(this));\n\n    // with {} we create a new object with the options inside it\n    this.options = _extends({}, Popper.Defaults, options);\n\n    // init state\n    this.state = {\n      isDestroyed: false,\n      isCreated: false,\n      scrollParents: []\n    };\n\n    // get reference and popper elements (allow jQuery wrappers)\n    this.reference = reference && reference.jquery ? reference[0] : reference;\n    this.popper = popper && popper.jquery ? popper[0] : popper;\n\n    // Deep merge modifiers options\n    this.options.modifiers = {};\n    Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) {\n      _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});\n    });\n\n    // Refactoring modifiers' list (Object => Array)\n    this.modifiers = Object.keys(this.options.modifiers).map(function (name) {\n      return _extends({\n        name: name\n      }, _this.options.modifiers[name]);\n    })\n    // sort the modifiers by order\n    .sort(function (a, b) {\n      return a.order - b.order;\n    });\n\n    // modifiers have the ability to execute arbitrary code when Popper.js get inited\n    // such code is executed in the same order of its modifier\n    // they could add new properties to their options configuration\n    // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n    this.modifiers.forEach(function (modifierOptions) {\n      if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n        modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state);\n      }\n    });\n\n    // fire the first update to position the popper in the right place\n    this.update();\n\n    var eventsEnabled = this.options.eventsEnabled;\n    if (eventsEnabled) {\n      // setup event listeners, they will take care of update the position in specific situations\n      this.enableEventListeners();\n    }\n\n    this.state.eventsEnabled = eventsEnabled;\n  }\n\n  // We can't use class properties because they don't get listed in the\n  // class prototype and break stuff like Sinon stubs\n\n\n  createClass(Popper, [{\n    key: 'update',\n    value: function update$$1() {\n      return update.call(this);\n    }\n  }, {\n    key: 'destroy',\n    value: function destroy$$1() {\n      return destroy.call(this);\n    }\n  }, {\n    key: 'enableEventListeners',\n    value: function enableEventListeners$$1() {\n      return enableEventListeners.call(this);\n    }\n  }, {\n    key: 'disableEventListeners',\n    value: function disableEventListeners$$1() {\n      return disableEventListeners.call(this);\n    }\n\n    /**\n     * Schedules an update. It will run on the next UI update available.\n     * @method scheduleUpdate\n     * @memberof Popper\n     */\n\n\n    /**\n     * Collection of utilities useful when writing custom modifiers.\n     * Starting from version 1.7, this method is available only if you\n     * include `popper-utils.js` before `popper.js`.\n     *\n     * **DEPRECATION**: This way to access PopperUtils is deprecated\n     * and will be removed in v2! Use the PopperUtils module directly instead.\n     * Due to the high instability of the methods contained in Utils, we can't\n     * guarantee them to follow semver. Use them at your own risk!\n     * @static\n     * @private\n     * @type {Object}\n     * @deprecated since version 1.8\n     * @member Utils\n     * @memberof Popper\n     */\n\n  }]);\n  return Popper;\n}();\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.<br />\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n\n\nPopper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\nPopper.placements = placements;\nPopper.Defaults = Defaults;\n\nreturn Popper;\n\n})));\n\n\n})((function(){ function newDefine(){ var args = Array.prototype.slice.call(arguments); args.unshift(\"popper.js\"); return define.apply(null, args); }; newDefine.amd = true; return newDefine; })());","(function(define){\n/**!\n * @fileOverview Kickass library to create and place poppers near their reference elements.\n * @version 1.3.3\n * @license\n * Copyright (c) 2016 Federico Zivolo and contributors\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('popper.js')) :\n\ttypeof define === 'function' && define.amd ? define(['popper.js'], factory) :\n\t(global.Tooltip = factory(global.Popper));\n}(this, (function (Popper) { 'use strict';\n\nPopper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;\n\n/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nfunction isFunction(functionToCheck) {\n  var getType = {};\n  return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]';\n}\n\nvar classCallCheck = function (instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n};\n\nvar createClass = function () {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  return function (Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) defineProperties(Constructor, staticProps);\n    return Constructor;\n  };\n}();\n\n\n\n\n\n\n\nvar _extends = Object.assign || function (target) {\n  for (var i = 1; i < arguments.length; i++) {\n    var source = arguments[i];\n\n    for (var key in source) {\n      if (Object.prototype.hasOwnProperty.call(source, key)) {\n        target[key] = source[key];\n      }\n    }\n  }\n\n  return target;\n};\n\nvar DEFAULT_OPTIONS = {\n  container: false,\n  delay: 0,\n  html: false,\n  placement: 'top',\n  title: '',\n  template: '<div class=\"tooltip\" role=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>',\n  trigger: 'hover focus',\n  offset: 0,\n  arrowSelector: '.tooltip-arrow, .tooltip__arrow',\n  innerSelector: '.tooltip-inner, .tooltip__inner'\n};\n\nvar Tooltip = function () {\n  /**\n   * Create a new Tooltip.js instance\n   * @class Tooltip\n   * @param {HTMLElement} reference - The DOM node used as reference of the tooltip (it can be a jQuery element).\n   * @param {Object} options\n   * @param {String} options.placement='top'\n   *      Placement of the popper accepted values: `top(-start, -end), right(-start, -end), bottom(-start, -end),\n   *      left(-start, -end)`\n   * @param {String} [options.arrowSelector='.tooltip-arrow, .tooltip__arrow'] - className used to locate the DOM arrow element in the tooltip.\n   * @param {String} [options.innerSelector='.tooltip-inner, .tooltip__inner'] - className used to locate the DOM inner element in the tooltip.\n   * @param {HTMLElement|String|false} options.container=false - Append the tooltip to a specific element.\n   * @param {Number|Object} options.delay=0\n   *      Delay showing and hiding the tooltip (ms) - does not apply to manual trigger type.\n   *      If a number is supplied, delay is applied to both hide/show.\n   *      Object structure is: `{ show: 500, hide: 100 }`\n   * @param {Boolean} options.html=false - Insert HTML into the tooltip. If false, the content will inserted with `textContent`.\n   * @param {String} [options.template='<div class=\"tooltip\" role=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>']\n   *      Base HTML to used when creating the tooltip.\n   *      The tooltip's `title` will be injected into the `.tooltip-inner` or `.tooltip__inner`.\n   *      `.tooltip-arrow` or `.tooltip__arrow` will become the tooltip's arrow.\n   *      The outermost wrapper element should have the `.tooltip` class.\n   * @param {String|HTMLElement|TitleFunction} options.title='' - Default title value if `title` attribute isn't present.\n   * @param {String} [options.trigger='hover focus']\n   *      How tooltip is triggered - click, hover, focus, manual.\n   *      You may pass multiple triggers; separate them with a space. `manual` cannot be combined with any other trigger.\n   * @param {Boolean} options.closeOnClickOutside=false - Close a popper on click outside of the popper and reference element. This has effect only when options.trigger is 'click'.\n   * @param {String|HTMLElement} options.boundariesElement\n   *      The element used as boundaries for the tooltip. For more information refer to Popper.js'\n   *      [boundariesElement docs](https://popper.js.org/popper-documentation.html)\n   * @param {Number|String} options.offset=0 - Offset of the tooltip relative to its reference. For more information refer to Popper.js'\n   *      [offset docs](https://popper.js.org/popper-documentation.html)\n   * @param {Object} options.popperOptions={} - Popper options, will be passed directly to popper instance. For more information refer to Popper.js'\n   *      [options docs](https://popper.js.org/popper-documentation.html)\n   * @return {Object} instance - The generated tooltip instance\n   */\n  function Tooltip(reference, options) {\n    classCallCheck(this, Tooltip);\n\n    _initialiseProps.call(this);\n\n    // apply user options over default ones\n    options = _extends({}, DEFAULT_OPTIONS, options);\n\n    reference.jquery && (reference = reference[0]);\n\n    // cache reference and options\n    this.reference = reference;\n    this.options = options;\n\n    // get events list\n    var events = typeof options.trigger === 'string' ? options.trigger.split(' ').filter(function (trigger) {\n      return ['click', 'hover', 'focus'].indexOf(trigger) !== -1;\n    }) : [];\n\n    // set initial state\n    this._isOpen = false;\n    this._popperOptions = {};\n\n    // set event listeners\n    this._setEventListeners(reference, events, options);\n  }\n\n  //\n  // Public methods\n  //\n\n  /**\n   * Reveals an element's tooltip. This is considered a \"manual\" triggering of the tooltip.\n   * Tooltips with zero-length titles are never displayed.\n   * @method Tooltip#show\n   * @memberof Tooltip\n   */\n\n\n  /**\n   * Hides an element’s tooltip. This is considered a “manual” triggering of the tooltip.\n   * @method Tooltip#hide\n   * @memberof Tooltip\n   */\n\n\n  /**\n   * Hides and destroys an element’s tooltip.\n   * @method Tooltip#dispose\n   * @memberof Tooltip\n   */\n\n\n  /**\n   * Toggles an element’s tooltip. This is considered a “manual” triggering of the tooltip.\n   * @method Tooltip#toggle\n   * @memberof Tooltip\n   */\n\n\n  /**\n   * Updates the tooltip's title content\n   * @method Tooltip#updateTitleContent\n   * @memberof Tooltip\n   * @param {String|HTMLElement} title - The new content to use for the title\n   */\n\n\n  //\n  // Private methods\n  //\n\n  createClass(Tooltip, [{\n    key: '_create',\n\n\n    /**\n     * Creates a new tooltip node\n     * @memberof Tooltip\n     * @private\n     * @param {HTMLElement} reference\n     * @param {String} template\n     * @param {String|HTMLElement|TitleFunction} title\n     * @param {Boolean} allowHtml\n     * @return {HTMLElement} tooltipNode\n     */\n    value: function _create(reference, template, title, allowHtml) {\n      // create tooltip element\n      var tooltipGenerator = window.document.createElement('div');\n      tooltipGenerator.innerHTML = template.trim();\n      var tooltipNode = tooltipGenerator.childNodes[0];\n\n      // add unique ID to our tooltip (needed for accessibility reasons)\n      tooltipNode.id = 'tooltip_' + Math.random().toString(36).substr(2, 10);\n\n      // set initial `aria-hidden` state to `false` (it's visible!)\n      tooltipNode.setAttribute('aria-hidden', 'false');\n\n      // add title to tooltip\n      var titleNode = tooltipGenerator.querySelector(this.options.innerSelector);\n      this._addTitleContent(reference, title, allowHtml, titleNode);\n\n      // return the generated tooltip node\n      return tooltipNode;\n    }\n  }, {\n    key: '_addTitleContent',\n    value: function _addTitleContent(reference, title, allowHtml, titleNode) {\n      if (title.nodeType === 1 || title.nodeType === 11) {\n        // if title is a element node or document fragment, append it only if allowHtml is true\n        allowHtml && titleNode.appendChild(title);\n      } else if (isFunction(title)) {\n        // Recursively call ourself so that the return value of the function gets handled appropriately - either\n        // as a dom node, a string, or even as another function.\n        this._addTitleContent(reference, title.call(reference), allowHtml, titleNode);\n      } else {\n        // if it's just a simple text, set textContent or innerHtml depending by `allowHtml` value\n        allowHtml ? titleNode.innerHTML = title : titleNode.textContent = title;\n      }\n    }\n  }, {\n    key: '_show',\n    value: function _show(reference, options) {\n      // don't show if it's already visible\n      // or if it's not being showed\n      if (this._isOpen && !this._isOpening) {\n        return this;\n      }\n      this._isOpen = true;\n\n      // if the tooltipNode already exists, just show it\n      if (this._tooltipNode) {\n        this._tooltipNode.style.visibility = 'visible';\n        this._tooltipNode.setAttribute('aria-hidden', 'false');\n        this.popperInstance.update();\n        return this;\n      }\n\n      // get title\n      var title = reference.getAttribute('title') || options.title;\n\n      // don't show tooltip if no title is defined\n      if (!title) {\n        return this;\n      }\n\n      // create tooltip node\n      var tooltipNode = this._create(reference, options.template, title, options.html);\n\n      // Add `aria-describedby` to our reference element for accessibility reasons\n      reference.setAttribute('aria-describedby', tooltipNode.id);\n\n      // append tooltip to container\n      var container = this._findContainer(options.container, reference);\n\n      this._append(tooltipNode, container);\n\n      this._popperOptions = _extends({}, options.popperOptions, {\n        placement: options.placement\n      });\n\n      this._popperOptions.modifiers = _extends({}, this._popperOptions.modifiers, {\n        arrow: _extends({}, this._popperOptions.modifiers && this._popperOptions.modifiers.arrow, {\n          element: options.arrowSelector\n        }),\n        offset: _extends({}, this._popperOptions.modifiers && this._popperOptions.modifiers.offset, {\n          offset: options.offset || this._popperOptions.modifiers && this._popperOptions.modifiers.offset && this._popperOptions.modifiers.offset.offset || options.offset\n        })\n      });\n\n      if (options.boundariesElement) {\n        this._popperOptions.modifiers.preventOverflow = {\n          boundariesElement: options.boundariesElement\n        };\n      }\n\n      this.popperInstance = new Popper(reference, tooltipNode, this._popperOptions);\n\n      this._tooltipNode = tooltipNode;\n\n      return this;\n    }\n  }, {\n    key: '_hide',\n    value: function _hide() /*reference, options*/{\n      // don't hide if it's already hidden\n      if (!this._isOpen) {\n        return this;\n      }\n\n      this._isOpen = false;\n\n      // hide tooltipNode\n      this._tooltipNode.style.visibility = 'hidden';\n      this._tooltipNode.setAttribute('aria-hidden', 'true');\n\n      return this;\n    }\n  }, {\n    key: '_dispose',\n    value: function _dispose() {\n      var _this = this;\n\n      // remove event listeners first to prevent any unexpected behaviour\n      this._events.forEach(function (_ref) {\n        var func = _ref.func,\n            event = _ref.event;\n\n        _this.reference.removeEventListener(event, func);\n      });\n      this._events = [];\n\n      if (this._tooltipNode) {\n        this._hide();\n\n        // destroy instance\n        this.popperInstance.destroy();\n\n        // destroy tooltipNode if removeOnDestroy is not set, as popperInstance.destroy() already removes the element\n        if (!this.popperInstance.options.removeOnDestroy) {\n          this._tooltipNode.parentNode.removeChild(this._tooltipNode);\n          this._tooltipNode = null;\n        }\n      }\n      return this;\n    }\n  }, {\n    key: '_findContainer',\n    value: function _findContainer(container, reference) {\n      // if container is a query, get the relative element\n      if (typeof container === 'string') {\n        container = window.document.querySelector(container);\n      } else if (container === false) {\n        // if container is `false`, set it to reference parent\n        container = reference.parentNode;\n      }\n      return container;\n    }\n\n    /**\n     * Append tooltip to container\n     * @memberof Tooltip\n     * @private\n     * @param {HTMLElement} tooltipNode\n     * @param {HTMLElement|String|false} container\n     */\n\n  }, {\n    key: '_append',\n    value: function _append(tooltipNode, container) {\n      container.appendChild(tooltipNode);\n    }\n  }, {\n    key: '_setEventListeners',\n    value: function _setEventListeners(reference, events, options) {\n      var _this2 = this;\n\n      var directEvents = [];\n      var oppositeEvents = [];\n\n      events.forEach(function (event) {\n        switch (event) {\n          case 'hover':\n            directEvents.push('mouseenter');\n            oppositeEvents.push('mouseleave');\n            break;\n          case 'focus':\n            directEvents.push('focus');\n            oppositeEvents.push('blur');\n            break;\n          case 'click':\n            directEvents.push('click');\n            oppositeEvents.push('click');\n            break;\n        }\n      });\n\n      // schedule show tooltip\n      directEvents.forEach(function (event) {\n        var func = function func(evt) {\n          if (_this2._isOpening === true) {\n            return;\n          }\n          evt.usedByTooltip = true;\n          _this2._scheduleShow(reference, options.delay, options, evt);\n        };\n        _this2._events.push({ event: event, func: func });\n        reference.addEventListener(event, func);\n      });\n\n      // schedule hide tooltip\n      oppositeEvents.forEach(function (event) {\n        var func = function func(evt) {\n          if (evt.usedByTooltip === true) {\n            return;\n          }\n          _this2._scheduleHide(reference, options.delay, options, evt);\n        };\n        _this2._events.push({ event: event, func: func });\n        reference.addEventListener(event, func);\n        if (event === 'click' && options.closeOnClickOutside) {\n          document.addEventListener('mousedown', function (e) {\n            if (!_this2._isOpening) {\n              return;\n            }\n            var popper = _this2.popperInstance.popper;\n            if (reference.contains(e.target) || popper.contains(e.target)) {\n              return;\n            }\n            func(e);\n          }, true);\n        }\n      });\n    }\n  }, {\n    key: '_scheduleShow',\n    value: function _scheduleShow(reference, delay, options /*, evt */) {\n      var _this3 = this;\n\n      this._isOpening = true;\n      // defaults to 0\n      var computedDelay = delay && delay.show || delay || 0;\n      this._showTimeout = window.setTimeout(function () {\n        return _this3._show(reference, options);\n      }, computedDelay);\n    }\n  }, {\n    key: '_scheduleHide',\n    value: function _scheduleHide(reference, delay, options, evt) {\n      var _this4 = this;\n\n      this._isOpening = false;\n      // defaults to 0\n      var computedDelay = delay && delay.hide || delay || 0;\n      window.clearTimeout(this._showTimeout);\n      window.setTimeout(function () {\n        if (_this4._isOpen === false) {\n          return;\n        }\n        if (!document.body.contains(_this4._tooltipNode)) {\n          return;\n        }\n\n        // if we are hiding because of a mouseleave, we must check that the new\n        // reference isn't the tooltip, because in this case we don't want to hide it\n        if (evt.type === 'mouseleave') {\n          var isSet = _this4._setTooltipNodeEvent(evt, reference, delay, options);\n\n          // if we set the new event, don't hide the tooltip yet\n          // the new event will take care to hide it if necessary\n          if (isSet) {\n            return;\n          }\n        }\n\n        _this4._hide(reference, options);\n      }, computedDelay);\n    }\n  }, {\n    key: '_updateTitleContent',\n    value: function _updateTitleContent(title) {\n      if (typeof this._tooltipNode === 'undefined') {\n        if (typeof this.options.title !== 'undefined') {\n          this.options.title = title;\n        }\n        return;\n      }\n      var titleNode = this._tooltipNode.querySelector(this.options.innerSelector);\n      this._clearTitleContent(titleNode, this.options.html, this.reference.getAttribute('title') || this.options.title);\n      this._addTitleContent(this.reference, title, this.options.html, titleNode);\n      this.options.title = title;\n      this.popperInstance.update();\n    }\n  }, {\n    key: '_clearTitleContent',\n    value: function _clearTitleContent(titleNode, allowHtml, lastTitle) {\n      if (lastTitle.nodeType === 1 || lastTitle.nodeType === 11) {\n        allowHtml && titleNode.removeChild(lastTitle);\n      } else {\n        allowHtml ? titleNode.innerHTML = '' : titleNode.textContent = '';\n      }\n    }\n  }]);\n  return Tooltip;\n}();\n\n/**\n * Title function, its context is the Tooltip instance.\n * @memberof Tooltip\n * @callback TitleFunction\n * @return {String} placement - The desired title.\n */\n\n\nvar _initialiseProps = function _initialiseProps() {\n  var _this5 = this;\n\n  this.show = function () {\n    return _this5._show(_this5.reference, _this5.options);\n  };\n\n  this.hide = function () {\n    return _this5._hide();\n  };\n\n  this.dispose = function () {\n    return _this5._dispose();\n  };\n\n  this.toggle = function () {\n    if (_this5._isOpen) {\n      return _this5.hide();\n    } else {\n      return _this5.show();\n    }\n  };\n\n  this.updateTitleContent = function (title) {\n    return _this5._updateTitleContent(title);\n  };\n\n  this._events = [];\n\n  this._setTooltipNodeEvent = function (evt, reference, delay, options) {\n    var relatedreference = evt.relatedreference || evt.toElement || evt.relatedTarget;\n\n    var callback = function callback(evt2) {\n      var relatedreference2 = evt2.relatedreference || evt2.toElement || evt2.relatedTarget;\n\n      // Remove event listener after call\n      _this5._tooltipNode.removeEventListener(evt.type, callback);\n\n      // If the new reference is not the reference element\n      if (!reference.contains(relatedreference2)) {\n        // Schedule to hide tooltip\n        _this5._scheduleHide(reference, options.delay, options, evt2);\n      }\n    };\n\n    if (_this5._tooltipNode.contains(relatedreference)) {\n      // listen to mouseleave on the tooltip element to be able to hide the tooltip\n      _this5._tooltipNode.addEventListener(evt.type, callback);\n      return true;\n    }\n\n    return false;\n  };\n};\n\nreturn Tooltip;\n\n})));\n\n\n})((function(){ function newDefine(){ var args = Array.prototype.slice.call(arguments); args.unshift(\"tooltip.js\"); return define.apply(null, args); }; newDefine.amd = true; return newDefine; })());","/**\n * @license\n * Video.js 7.14.3 <http://videojs.com/>\n * Copyright Brightcove, Inc. <https://www.brightcove.com/>\n * Available under Apache License Version 2.0\n * <https://github.com/videojs/video.js/blob/main/LICENSE>\n *\n * Includes vtt.js <https://github.com/mozilla/vtt.js>\n * Available under Apache License Version 2.0\n * <https://github.com/mozilla/vtt.js/blob/main/LICENSE>\n */\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).videojs=t()}(this,function(){\"use strict\";var u=\"7.14.3\",e=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}for(var i,_=\"undefined\"!=typeof window?window:\"undefined\"!=typeof e?e:\"undefined\"!=typeof self?self:{},n=\"undefined\"!=typeof e?e:\"undefined\"!=typeof window?window:{},r=\"undefined\"!=typeof document?document:(r=n[\"__GLOBAL_DOCUMENT_CACHE@4\"])||(n[\"__GLOBAL_DOCUMENT_CACHE@4\"]={}),d=r,l={prefixed:!0},a=[[\"requestFullscreen\",\"exitFullscreen\",\"fullscreenElement\",\"fullscreenEnabled\",\"fullscreenchange\",\"fullscreenerror\",\"fullscreen\"],[\"webkitRequestFullscreen\",\"webkitExitFullscreen\",\"webkitFullscreenElement\",\"webkitFullscreenEnabled\",\"webkitfullscreenchange\",\"webkitfullscreenerror\",\"-webkit-full-screen\"],[\"mozRequestFullScreen\",\"mozCancelFullScreen\",\"mozFullScreenElement\",\"mozFullScreenEnabled\",\"mozfullscreenchange\",\"mozfullscreenerror\",\"-moz-full-screen\"],[\"msRequestFullscreen\",\"msExitFullscreen\",\"msFullscreenElement\",\"msFullscreenEnabled\",\"MSFullscreenChange\",\"MSFullscreenError\",\"-ms-fullscreen\"]],s=a[0],o=0;o<a.length;o++)if(a[o][1]in d){i=a[o];break}if(i){for(var c=0;c<i.length;c++)l[s[c]]=i[c];l.prefixed=i[0]!==s[0]}var h=[],p=function(a,s){return function(e,t,i){var n,r=s.levels[t],t=new RegExp(\"^(\"+r+\")$\");\"log\"!==e&&i.unshift(e.toUpperCase()+\":\"),i.unshift(a+\":\"),h&&(h.push([].concat(i)),n=h.length-1e3,h.splice(0,0<n?n:0)),!_.console||(n=!(n=_.console[e])&&\"debug\"===e?_.console.info||_.console.log:n)&&r&&t.test(e)&&n[Array.isArray(i)?\"apply\":\"call\"](_.console,i)}};var f=function t(i){function n(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];a(\"log\",r,t)}var r=\"info\",a=p(i,n);return n.createLogger=function(e){return t(i+\": \"+e)},n.levels={all:\"debug|log|warn|error\",off:\"\",debug:\"debug|log|warn|error\",info:\"log|warn|error\",warn:\"warn|error\",error:\"error\",DEFAULT:r},n.level=function(e){if(\"string\"==typeof e){if(!n.levels.hasOwnProperty(e))throw new Error('\"'+e+'\" in not a valid log level');r=e}return r},(n.history=function(){return h?[].concat(h):[]}).filter=function(t){return(h||[]).filter(function(e){return new RegExp(\".*\"+t+\".*\").test(e[0])})},n.history.clear=function(){h&&(h.length=0)},n.history.disable=function(){null!==h&&(h.length=0,h=null)},n.history.enable=function(){null===h&&(h=[])},n.error=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a(\"error\",r,t)},n.warn=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a(\"warn\",r,t)},n.debug=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return a(\"debug\",r,t)},n}(\"VIDEOJS\"),m=f.createLogger,g=t(function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},t.apply(this,arguments)}e.exports=t}),y=Object.prototype.toString,v=function(e){return S(e)?Object.keys(e):[]};function b(t,i){v(t).forEach(function(e){return i(t[e],e)})}function T(i){for(var e=arguments.length,t=new Array(1<e?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];return Object.assign?g.apply(void 0,[i].concat(t)):(t.forEach(function(e){e&&b(e,function(e,t){i[t]=e})}),i)}function S(e){return!!e&&\"object\"==typeof e}function E(e){return S(e)&&\"[object Object]\"===y.call(e)&&e.constructor===Object}function k(e,t){if(!e||!t)return\"\";if(\"function\"!=typeof _.getComputedStyle)return\"\";var i;try{i=_.getComputedStyle(e)}catch(e){return\"\"}return i?i.getPropertyValue(t)||i[t]:\"\"}var C=_.navigator&&_.navigator.userAgent||\"\",w=/AppleWebKit\\/([\\d.]+)/i.exec(C),I=w?parseFloat(w.pop()):null,x=/iPod/i.test(C),A=(zt=C.match(/OS (\\d+)_/i))&&zt[1]?zt[1]:null,P=/Android/i.test(C),L=function(){var e=C.match(/Android (\\d+)(?:\\.(\\d+))?(?:\\.(\\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),i=e[2]&&parseFloat(e[2]);return t&&i?parseFloat(e[1]+\".\"+e[2]):t||null}(),D=P&&L<5&&I<537,O=/Firefox/i.test(C),R=/Edg/i.test(C),M=!R&&(/Chrome/i.test(C)||/CriOS/i.test(C)),N=(ii=C.match(/(Chrome|CriOS)\\/(\\d+)/))&&ii[2]?parseFloat(ii[2]):null,U=ni=!(ni=(ni=/MSIE\\s(\\d+)\\.\\d/.exec(C))&&parseFloat(ni[1]))&&/Trident\\/7.0/i.test(C)&&/rv:11.0/.test(C)?11:ni,B=/Safari/i.test(C)&&!M&&!P&&!R,F=/Windows/i.test(C),j=Boolean(K()&&(\"ontouchstart\"in _||_.navigator.maxTouchPoints||_.DocumentTouch&&_.document instanceof _.DocumentTouch)),H=/iPad/i.test(C)||B&&j&&!/iPhone/i.test(C),q=/iPhone/i.test(C)&&!H,V=q||H||x,W=(B||V)&&!M,z=Object.freeze({__proto__:null,IS_IPOD:x,IOS_VERSION:A,IS_ANDROID:P,ANDROID_VERSION:L,IS_NATIVE_ANDROID:D,IS_FIREFOX:O,IS_EDGE:R,IS_CHROME:M,CHROME_VERSION:N,IE_VERSION:U,IS_SAFARI:B,IS_WINDOWS:F,TOUCH_ENABLED:j,IS_IPAD:H,IS_IPHONE:q,IS_IOS:V,IS_ANY_SAFARI:W});function G(e){return\"string\"==typeof e&&Boolean(e.trim())}function X(e){if(0<=e.indexOf(\" \"))throw new Error(\"class has illegal whitespace characters\")}function K(){return d===_.document}function Y(e){return S(e)&&1===e.nodeType}function Q(){try{return _.parent!==_.self}catch(e){return!0}}function $(i){return function(e,t){if(!G(e))return d[i](null);t=Y(t=G(t)?d.querySelector(t):t)?t:d;return t[i]&&t[i](e)}}function J(e,i,t,n){void 0===i&&(i={}),void 0===t&&(t={});var r=d.createElement(e=void 0===e?\"div\":e);return Object.getOwnPropertyNames(i).forEach(function(e){var t=i[e];-1!==e.indexOf(\"aria-\")||\"role\"===e||\"type\"===e?(f.warn(\"Setting attributes in the second argument of createEl()\\nhas been deprecated. Use the third argument instead.\\ncreateEl(type, properties, attributes). Attempting to set \"+e+\" to \"+t+\".\"),r.setAttribute(e,t)):\"textContent\"===e?Z(r,t):r[e]===t&&\"tabIndex\"!==e||(r[e]=t)}),Object.getOwnPropertyNames(t).forEach(function(e){r.setAttribute(e,t[e])}),n&&ve(r,n),r}function Z(e,t){return\"undefined\"==typeof e.textContent?e.innerText=t:e.textContent=t,e}function ee(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function te(e,t){return X(t),e.classList?e.classList.contains(t):new RegExp(\"(^|\\\\s)\"+t+\"($|\\\\s)\").test(e.className)}function ie(e,t){return e.classList?e.classList.add(t):te(e,t)||(e.className=(e.className+\" \"+t).trim()),e}function ne(e,t){return e?(e.classList?e.classList.remove(t):(X(t),e.className=e.className.split(/\\s+/).filter(function(e){return e!==t}).join(\" \")),e):(f.warn(\"removeClass was called with an element that doesn't exist\"),null)}function re(e,t,i){var n=te(e,t);if((i=\"boolean\"!=typeof(i=\"function\"==typeof i?i(e,t):i)?!n:i)!==n)return(i?ie:ne)(e,t),e}function ae(i,n){Object.getOwnPropertyNames(n).forEach(function(e){var t=n[e];null===t||\"undefined\"==typeof t||!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?\"\":t)})}function se(e){var t={},i=\",autoplay,controls,playsinline,loop,muted,default,defaultMuted,\";if(e&&e.attributes&&0<e.attributes.length)for(var n=e.attributes,r=n.length-1;0<=r;r--){var a=n[r].name,s=n[r].value;\"boolean\"!=typeof e[a]&&-1===i.indexOf(\",\"+a+\",\")||(s=null!==s),t[a]=s}return t}function oe(e,t){return e.getAttribute(t)}function ue(e,t,i){e.setAttribute(t,i)}function le(e,t){e.removeAttribute(t)}function ce(){d.body.focus(),d.onselectstart=function(){return!1}}function de(){d.onselectstart=function(){return!0}}function he(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),i={};return[\"bottom\",\"height\",\"left\",\"right\",\"top\",\"width\"].forEach(function(e){void 0!==t[e]&&(i[e]=t[e])}),i.height||(i.height=parseFloat(k(e,\"height\"))),i.width||(i.width=parseFloat(k(e,\"width\"))),i}}function pe(e){if(!e||e&&!e.offsetParent)return{left:0,top:0,width:0,height:0};for(var t=e.offsetWidth,i=e.offsetHeight,n=0,r=0;e.offsetParent&&e!==d[l.fullscreenElement];)n+=e.offsetLeft,r+=e.offsetTop,e=e.offsetParent;return{left:n,top:r,width:t,height:i}}function fe(e,t){var i={x:0,y:0};if(V)for(var n=e;n&&\"html\"!==n.nodeName.toLowerCase();){var r,a=k(n,\"transform\");/^matrix/.test(a)?(r=a.slice(7,-1).split(/,\\s/).map(Number),i.x+=r[4],i.y+=r[5]):/^matrix3d/.test(a)&&(a=a.slice(9,-1).split(/,\\s/).map(Number),i.x+=a[12],i.y+=a[13]),n=n.parentNode}var s={},o=pe(t.target),u=pe(e),l=u.width,c=u.height,e=t.offsetY-(u.top-o.top),o=t.offsetX-(u.left-o.left);return t.changedTouches&&(o=t.changedTouches[0].pageX-u.left,e=t.changedTouches[0].pageY+u.top,V&&(o-=i.x,e-=i.y)),s.y=1-Math.max(0,Math.min(1,e/c)),s.x=Math.max(0,Math.min(1,o/l)),s}function me(e){return S(e)&&3===e.nodeType}function ge(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function ye(e){return\"function\"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return Y(e=\"function\"==typeof e?e():e)||me(e)?e:\"string\"==typeof e&&/\\S/.test(e)?d.createTextNode(e):void 0}).filter(function(e){return e})}function ve(t,e){return ye(e).forEach(function(e){return t.appendChild(e)}),t}function _e(e,t){return ve(ge(e),t)}function be(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||(\"mouseup\"===e.type&&0===e.button&&0===e.buttons||0===e.button&&1===e.buttons))}var Te,Se=$(\"querySelector\"),Ee=$(\"querySelectorAll\"),ke=Object.freeze({__proto__:null,isReal:K,isEl:Y,isInFrame:Q,createEl:J,textContent:Z,prependTo:ee,hasClass:te,addClass:ie,removeClass:ne,toggleClass:re,setAttributes:ae,getAttributes:se,getAttribute:oe,setAttribute:ue,removeAttribute:le,blockTextSelection:ce,unblockTextSelection:de,getBoundingClientRect:he,findPosition:pe,getPointerPosition:fe,isTextNode:me,emptyEl:ge,normalizeContent:ye,appendContent:ve,insertContent:_e,isSingleLeftClick:be,$:Se,$$:Ee}),Ce=!1,we=function(){if(!1!==Te.options.autoSetup){var e=Array.prototype.slice.call(d.getElementsByTagName(\"video\")),t=Array.prototype.slice.call(d.getElementsByTagName(\"audio\")),i=Array.prototype.slice.call(d.getElementsByTagName(\"video-js\")),n=e.concat(t,i);if(n&&0<n.length)for(var r=0,a=n.length;r<a;r++){var s=n[r];if(!s||!s.getAttribute){Ie(1);break}void 0===s.player&&null!==s.getAttribute(\"data-setup\")&&Te(s)}else Ce||Ie(1)}};function Ie(e,t){K()&&(t&&(Te=t),_.setTimeout(we,e))}function xe(){Ce=!0,_.removeEventListener(\"load\",xe)}K()&&(\"complete\"===d.readyState?xe():_.addEventListener(\"load\",xe));function Ae(e){var t=d.createElement(\"style\");return t.className=e,t}function Pe(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}var Le=3;_.WeakMap||(rn=function(){function e(){this.vdata=\"vdata\"+Math.floor(_.performance&&_.performance.now()||Date.now()),this.data={}}var t=e.prototype;return t.set=function(e,t){var i=e[this.vdata]||Le++;return e[this.vdata]||(e[this.vdata]=i),this.data[i]=t,this},t.get=function(e){var t=e[this.vdata];if(t)return this.data[t];f(\"We have no data for this element\",e)},t.has=function(e){return e[this.vdata]in this.data},t.delete=function(e){var t=e[this.vdata];t&&(delete this.data[t],delete e[this.vdata])},e}());var De,Oe=new(_.WeakMap?WeakMap:rn);function Re(e,t){var i;Oe.has(e)&&(0===(i=Oe.get(e)).handlers[t].length&&(delete i.handlers[t],e.removeEventListener?e.removeEventListener(t,i.dispatcher,!1):e.detachEvent&&e.detachEvent(\"on\"+t,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),0===Object.getOwnPropertyNames(i).length&&Oe.delete(e))}function Me(t,i,e,n){e.forEach(function(e){t(i,e,n)})}function Ne(e){if(e.fixed_)return e;function t(){return!0}function i(){return!1}if(!e||!e.isPropagationStopped||!e.isImmediatePropagationStopped){var n,r,a,s=e||_.event;for(n in e={},s)\"layerX\"!==n&&\"layerY\"!==n&&\"keyLocation\"!==n&&\"webkitMovementX\"!==n&&\"webkitMovementY\"!==n&&(\"returnValue\"===n&&s.preventDefault||(e[n]=s[n]));e.target||(e.target=e.srcElement||d),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){s.preventDefault&&s.preventDefault(),e.returnValue=!1,s.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){s.stopPropagation&&s.stopPropagation(),e.cancelBubble=!0,s.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=i,e.stopImmediatePropagation=function(){s.stopImmediatePropagation&&s.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=i,null!==e.clientX&&void 0!==e.clientX&&(r=d.documentElement,a=d.body,e.pageX=e.clientX+(r&&r.scrollLeft||a&&a.scrollLeft||0)-(r&&r.clientLeft||a&&a.clientLeft||0),e.pageY=e.clientY+(r&&r.scrollTop||a&&a.scrollTop||0)-(r&&r.clientTop||a&&a.clientTop||0)),e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e.fixed_=!0,e}var Ue=function(){if(\"boolean\"!=typeof De){De=!1;try{var e=Object.defineProperty({},\"passive\",{get:function(){De=!0}});_.addEventListener(\"test\",null,e),_.removeEventListener(\"test\",null,e)}catch(e){}}return De},Be=[\"touchstart\",\"touchmove\"];function Fe(s,e,t){if(Array.isArray(e))return Me(Fe,s,e,t);Oe.has(s)||Oe.set(s,{});var o=Oe.get(s);o.handlers||(o.handlers={}),o.handlers[e]||(o.handlers[e]=[]),t.guid||(t.guid=Le++),o.handlers[e].push(t),o.dispatcher||(o.disabled=!1,o.dispatcher=function(e,t){if(!o.disabled){e=Ne(e);var i=o.handlers[e.type];if(i)for(var n=i.slice(0),r=0,a=n.length;r<a&&!e.isImmediatePropagationStopped();r++)try{n[r].call(s,e,t)}catch(e){f.error(e)}}}),1===o.handlers[e].length&&(s.addEventListener?(t=!1,Ue()&&-1<Be.indexOf(e)&&(t={passive:!0}),s.addEventListener(e,o.dispatcher,t)):s.attachEvent&&s.attachEvent(\"on\"+e,o.dispatcher))}function je(e,t,i){if(Oe.has(e)){var n=Oe.get(e);if(n.handlers){if(Array.isArray(t))return Me(je,e,t,i);var r=function(e,t){n.handlers[t]=[],Re(e,t)};if(void 0!==t){var a=n.handlers[t];if(a)if(i){if(i.guid)for(var s=0;s<a.length;s++)a[s].guid===i.guid&&a.splice(s--,1);Re(e,t)}else r(e,t)}else for(var o in n.handlers)Object.prototype.hasOwnProperty.call(n.handlers||{},o)&&r(e,o)}}}function He(e,t,i){var n=Oe.has(e)?Oe.get(e):{},r=e.parentNode||e.ownerDocument;return\"string\"==typeof t?t={type:t,target:e}:t.target||(t.target=e),t=Ne(t),n.dispatcher&&n.dispatcher.call(e,t,i),r&&!t.isPropagationStopped()&&!0===t.bubbles?He.call(null,r,t,i):!r&&!t.defaultPrevented&&t.target&&t.target[t.type]&&(Oe.has(t.target)||Oe.set(t.target,{}),r=Oe.get(t.target),t.target[t.type]&&(r.disabled=!0,\"function\"==typeof t.target[t.type]&&t.target[t.type](),r.disabled=!1)),!t.defaultPrevented}function qe(e,t,i){if(Array.isArray(t))return Me(qe,e,t,i);function n(){je(e,t,n),i.apply(this,arguments)}n.guid=i.guid=i.guid||Le++,Fe(e,t,n)}function Ve(e,t,i){function n(){je(e,t,n),i.apply(this,arguments)}n.guid=i.guid=i.guid||Le++,Fe(e,t,n)}function We(e,t,i){return t.guid||(t.guid=Le++),(e=t.bind(e)).guid=i?i+\"_\"+t.guid:t.guid,e}function ze(t,i){var n=_.performance.now();return function(){var e=_.performance.now();i<=e-n&&(t.apply(void 0,arguments),n=e)}}function Ge(n,r,a,s){var o;function e(){var e=this,t=arguments,i=function(){i=o=null,a||n.apply(e,t)};!o&&a&&n.apply(e,t),s.clearTimeout(o),o=s.setTimeout(i,r)}return void 0===s&&(s=_),e.cancel=function(){s.clearTimeout(o),o=null},e}function Xe(){}var Ke,Ye=Object.freeze({__proto__:null,fixEvent:Ne,on:Fe,off:je,trigger:He,one:qe,any:Ve});Xe.prototype.allowedEvents_={},Xe.prototype.addEventListener=Xe.prototype.on=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},Fe(this,e,t),this.addEventListener=i},Xe.prototype.removeEventListener=Xe.prototype.off=function(e,t){je(this,e,t)},Xe.prototype.one=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},qe(this,e,t),this.addEventListener=i},Xe.prototype.any=function(e,t){var i=this.addEventListener;this.addEventListener=function(){},Ve(this,e,t),this.addEventListener=i},Xe.prototype.dispatchEvent=Xe.prototype.trigger=function(e){var t=e.type||e;e=Ne(e=\"string\"==typeof e?{type:t}:e),this.allowedEvents_[t]&&this[\"on\"+t]&&this[\"on\"+t](e),He(this,e)},Xe.prototype.queueTrigger=function(e){var t=this;Ke=Ke||new Map;var i=e.type||e,n=Ke.get(this);n||(n=new Map,Ke.set(this,n));var r=n.get(i);n.delete(i),_.clearTimeout(r);r=_.setTimeout(function(){0===n.size&&(n=null,Ke.delete(t)),t.trigger(e)},0);n.set(i,r)};function Qe(e){return\"function\"==typeof e.name?e.name():\"string\"==typeof e.name?e.name:e.name_||(e.constructor&&e.constructor.name?e.constructor.name:typeof e)}function $e(e){return\"string\"==typeof e&&/\\S/.test(e)||Array.isArray(e)&&!!e.length}function Je(e,t,i){if(!e||!e.nodeName&&!nt(e))throw new Error(\"Invalid target for \"+Qe(t)+\"#\"+i+\"; must be a DOM node or evented object.\")}function Ze(e,t,i){if(!$e(e))throw new Error(\"Invalid event type for \"+Qe(t)+\"#\"+i+\"; must be a non-empty string or array.\")}function et(e,t,i){if(\"function\"!=typeof e)throw new Error(\"Invalid listener for \"+Qe(t)+\"#\"+i+\"; must be a function.\")}function tt(e,t,i){var n,r,a=t.length<3||t[0]===e||t[0]===e.eventBusEl_,t=a?(n=e.eventBusEl_,3<=t.length&&t.shift(),r=t[0],t[1]):(n=t[0],r=t[1],t[2]);return Je(n,e,i),Ze(r,e,i),et(t,e,i),{isTargetingSelf:a,target:n,type:r,listener:t=We(e,t)}}function it(e,t,i,n){Je(e,e,t),e.nodeName?Ye[t](e,i,n):e[t](i,n)}var nt=function(t){return t instanceof Xe||!!t.eventBusEl_&&[\"on\",\"one\",\"off\",\"trigger\"].every(function(e){return\"function\"==typeof t[e]})},rt={on:function(){for(var e=this,t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];var r,a=tt(this,i,\"on\"),s=a.isTargetingSelf,o=a.target,u=a.type,l=a.listener;it(o,\"on\",u,l),s||((r=function(){return e.off(o,u,l)}).guid=l.guid,(s=function(){return e.off(\"dispose\",r)}).guid=l.guid,it(this,\"on\",\"dispose\",r),it(o,\"on\",\"dispose\",s))},one:function(){for(var r=this,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=tt(this,t,\"one\"),a=n.isTargetingSelf,s=n.target,o=n.type,u=n.listener;a?it(s,\"one\",o,u):((a=function e(){r.off(s,o,e);for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];u.apply(null,i)}).guid=u.guid,it(s,\"one\",o,a))},any:function(){for(var r=this,e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=tt(this,t,\"any\"),a=n.isTargetingSelf,s=n.target,o=n.type,u=n.listener;a?it(s,\"any\",o,u):((a=function e(){r.off(s,o,e);for(var t=arguments.length,i=new Array(t),n=0;n<t;n++)i[n]=arguments[n];u.apply(null,i)}).guid=u.guid,it(s,\"any\",o,a))},off:function(e,t,i){!e||$e(e)?je(this.eventBusEl_,e,t):(t=t,Je(e=e,this,\"off\"),Ze(t,this,\"off\"),et(i,this,\"off\"),i=We(this,i),this.off(\"dispose\",i),e.nodeName?(je(e,t,i),je(e,\"dispose\",i)):nt(e)&&(e.off(t,i),e.off(\"dispose\",i)))},trigger:function(e,t){Je(this.eventBusEl_,this,\"trigger\");var i=e&&\"string\"!=typeof e?e.type:e;if(!$e(i)){i=\"Invalid event type for \"+Qe(this)+\"#trigger; must be a non-empty string or object with a type key that has a non-empty value.\";if(!e)throw new Error(i);(this.log||f).error(i)}return He(this.eventBusEl_,e,t)}};function at(e,t){t=(t=void 0===t?{}:t).eventBusKey;if(t){if(!e[t].nodeName)throw new Error('The eventBusKey \"'+t+'\" does not refer to an element.');e.eventBusEl_=e[t]}else e.eventBusEl_=J(\"span\",{className:\"vjs-event-bus\"});return T(e,rt),e.eventedCallbacks&&e.eventedCallbacks.forEach(function(e){e()}),e.on(\"dispose\",function(){e.off(),_.setTimeout(function(){e.eventBusEl_=null},0)}),e}var st={state:{},setState:function(e){var i,n=this;return b(e=\"function\"==typeof e?e():e,function(e,t){n.state[t]!==e&&((i=i||{})[t]={from:n.state[t],to:e}),n.state[t]=e}),i&&nt(this)&&this.trigger({changes:i,type:\"statechanged\"}),i}};function ot(e,t){return T(e,st),e.state=T({},e.state,t),\"function\"==typeof e.handleStateChanged&&nt(e)&&e.on(\"statechanged\",e.handleStateChanged),e}function ut(e){return\"string\"!=typeof e?e:e.replace(/./,function(e){return e.toLowerCase()})}function lt(e){return\"string\"!=typeof e?e:e.replace(/./,function(e){return e.toUpperCase()})}function ct(){for(var i={},e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.forEach(function(e){e&&b(e,function(e,t){E(e)?(E(i[t])||(i[t]={}),i[t]=ct(i[t],e)):i[t]=e})}),i}var dt=_.Map||function(){function e(){this.map_={}}var t=e.prototype;return t.has=function(e){return e in this.map_},t.delete=function(e){var t=this.has(e);return delete this.map_[e],t},t.set=function(e,t){return this.map_[e]=t,this},t.forEach=function(e,t){for(var i in this.map_)e.call(t,this.map_[i],i,this)},e}(),ht=_.Set||function(){function e(){this.set_={}}var t=e.prototype;return t.has=function(e){return e in this.set_},t.delete=function(e){var t=this.has(e);return delete this.set_[e],t},t.add=function(e){return this.set_[e]=1,this},t.forEach=function(e,t){for(var i in this.set_)e.call(t,i,i,this)},e}(),pt=function(){function s(e,t,i){!e&&this.play?this.player_=e=this:this.player_=e,this.isDisposed_=!1,this.parentComponent_=null,this.options_=ct({},this.options_),t=this.options_=ct(this.options_,t),this.id_=t.id||t.el&&t.el.id,this.id_||(e=e&&e.id&&e.id()||\"no_player\",this.id_=e+\"_component_\"+Le++),this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),!1!==t.evented&&(at(this,{eventBusKey:this.el_?\"el_\":null}),this.handleLanguagechange=this.handleLanguagechange.bind(this),this.on(this.player_,\"languagechange\",this.handleLanguagechange)),ot(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},this.setTimeoutIds_=new ht,this.setIntervalIds_=new ht,this.rafIds_=new ht,this.namedRafs_=new dt,(this.clearingTimersOnDispose_=!1)!==t.initChildren&&this.initChildren(),this.ready(i),!1!==t.reportTouchActivity&&this.enableTouchActivity()}var e=s.prototype;return e.dispose=function(){if(!this.isDisposed_){if(this.readyQueue_&&(this.readyQueue_.length=0),this.trigger({type:\"dispose\",bubbles:!1}),this.isDisposed_=!0,this.children_)for(var e=this.children_.length-1;0<=e;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.parentComponent_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Oe.has(this.el_)&&Oe.delete(this.el_),this.el_=null),this.player_=null}},e.isDisposed=function(){return Boolean(this.isDisposed_)},e.player=function(){return this.player_},e.options=function(e){return e&&(this.options_=ct(this.options_,e)),this.options_},e.el=function(){return this.el_},e.createEl=function(e,t,i){return J(e,t,i)},e.localize=function(e,i,t){void 0===t&&(t=e);var n=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),a=r&&r[n],n=n&&n.split(\"-\")[0],n=r&&r[n],t=t;return a&&a[e]?t=a[e]:n&&n[e]&&(t=n[e]),t=i?t.replace(/\\{(\\d+)\\}/g,function(e,t){t=i[t-1];return\"undefined\"==typeof t?e:t}):t},e.handleLanguagechange=function(){},e.contentEl=function(){return this.contentEl_||this.el_},e.id=function(){return this.id_},e.name=function(){return this.name_},e.children=function(){return this.children_},e.getChildById=function(e){return this.childIndex_[e]},e.getChild=function(e){if(e)return this.childNameIndex_[e]},e.getDescendant=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];for(var t=t.reduce(function(e,t){return e.concat(t)},[]),n=this,r=0;r<t.length;r++)if(!(n=n.getChild(t[r]))||!n.getChild)return;return n},e.addChild=function(e,t,i){if(void 0===t&&(t={}),void 0===i&&(i=this.children_.length),\"string\"==typeof e){var n=lt(e),r=t.componentClass||n;t.name=n;var a=s.getComponent(r);if(!a)throw new Error(\"Component \"+r+\" does not exist\");if(\"function\"!=typeof a)return null;a=new a(this.player_||this,t)}else a=e;return a.parentComponent_&&a.parentComponent_.removeChild(a),this.children_.splice(i,0,a),a.parentComponent_=this,\"function\"==typeof a.id&&(this.childIndex_[a.id()]=a),(n=n||a.name&&lt(a.name()))&&(this.childNameIndex_[n]=a,this.childNameIndex_[ut(n)]=a),\"function\"==typeof a.el&&a.el()&&(n=null,this.children_[i+1]&&(this.children_[i+1].el_?n=this.children_[i+1].el_:Y(this.children_[i+1])&&(n=this.children_[i+1])),this.contentEl().insertBefore(a.el(),n)),a},e.removeChild=function(e){if((e=\"string\"==typeof e?this.getChild(e):e)&&this.children_){for(var t,i=!1,n=this.children_.length-1;0<=n;n--)if(this.children_[n]===e){i=!0,this.children_.splice(n,1);break}i&&(e.parentComponent_=null,this.childIndex_[e.id()]=null,this.childNameIndex_[lt(e.name())]=null,this.childNameIndex_[ut(e.name())]=null,(t=e.el())&&t.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el()))}},e.initChildren=function(){var i,t,e,n=this,r=this.options_.children;r&&(i=this.options_,t=s.getComponent(\"Tech\"),(e=Array.isArray(r)?r:Object.keys(r)).concat(Object.keys(this.options_).filter(function(t){return!e.some(function(e){return\"string\"==typeof e?t===e:t===e.name})})).map(function(e){var t,e=\"string\"==typeof e?r[t=e]||n.options_[t]||{}:(t=e.name,e);return{name:t,opts:e}}).filter(function(e){e=s.getComponent(e.opts.componentClass||lt(e.name));return e&&!t.isTech(e)}).forEach(function(e){var t=e.name,e=e.opts;!1!==(e=void 0!==i[t]?i[t]:e)&&((e=!0===e?{}:e).playerOptions=n.options_.playerOptions,(e=n.addChild(t,e))&&(n[t]=e))}))},e.buildCSSClass=function(){return\"\"},e.ready=function(e,t){if(void 0===t&&(t=!1),e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},e.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&0<e.length&&e.forEach(function(e){e.call(this)},this),this.trigger(\"ready\")},1)},e.$=function(e,t){return Se(e,t||this.contentEl())},e.$$=function(e,t){return Ee(e,t||this.contentEl())},e.hasClass=function(e){return te(this.el_,e)},e.addClass=function(e){ie(this.el_,e)},e.removeClass=function(e){ne(this.el_,e)},e.toggleClass=function(e,t){re(this.el_,e,t)},e.show=function(){this.removeClass(\"vjs-hidden\")},e.hide=function(){this.addClass(\"vjs-hidden\")},e.lockShowing=function(){this.addClass(\"vjs-lock-showing\")},e.unlockShowing=function(){this.removeClass(\"vjs-lock-showing\")},e.getAttribute=function(e){return oe(this.el_,e)},e.setAttribute=function(e,t){ue(this.el_,e,t)},e.removeAttribute=function(e){le(this.el_,e)},e.width=function(e,t){return this.dimension(\"width\",e,t)},e.height=function(e,t){return this.dimension(\"height\",e,t)},e.dimensions=function(e,t){this.width(e,!0),this.height(t)},e.dimension=function(e,t,i){if(void 0!==t)return-1!==(\"\"+(t=null===t||t!=t?0:t)).indexOf(\"%\")||-1!==(\"\"+t).indexOf(\"px\")?this.el_.style[e]=t:this.el_.style[e]=\"auto\"===t?\"\":t+\"px\",void(i||this.trigger(\"componentresize\"));if(!this.el_)return 0;t=this.el_.style[e],i=t.indexOf(\"px\");return-1!==i?parseInt(t.slice(0,i),10):parseInt(this.el_[\"offset\"+lt(e)],10)},e.currentDimension=function(e){var t=0;if(\"width\"!==e&&\"height\"!==e)throw new Error(\"currentDimension only accepts width or height value\");return t=k(this.el_,e),0!==(t=parseFloat(t))&&!isNaN(t)||(e=\"offset\"+lt(e),t=this.el_[e]),t},e.currentDimensions=function(){return{width:this.currentDimension(\"width\"),height:this.currentDimension(\"height\")}},e.currentWidth=function(){return this.currentDimension(\"width\")},e.currentHeight=function(){return this.currentDimension(\"height\")},e.focus=function(){this.el_.focus()},e.blur=function(){this.el_.blur()},e.handleKeyDown=function(e){this.player_&&(e.stopPropagation(),this.player_.handleKeyDown(e))},e.handleKeyPress=function(e){this.handleKeyDown(e)},e.emitTapEvents=function(){var i,t=0,n=null;this.on(\"touchstart\",function(e){1===e.touches.length&&(n={pageX:e.touches[0].pageX,pageY:e.touches[0].pageY},t=_.performance.now(),i=!0)}),this.on(\"touchmove\",function(e){var t;1<e.touches.length?i=!1:n&&(t=e.touches[0].pageX-n.pageX,e=e.touches[0].pageY-n.pageY,10<Math.sqrt(t*t+e*e)&&(i=!1))});function e(){i=!1}this.on(\"touchleave\",e),this.on(\"touchcancel\",e),this.on(\"touchend\",function(e){!(n=null)===i&&_.performance.now()-t<200&&(e.preventDefault(),this.trigger(\"tap\"))})},e.enableTouchActivity=function(){var t,i,e;this.player()&&this.player().reportUserActivity&&(t=We(this.player(),this.player().reportUserActivity),this.on(\"touchstart\",function(){t(),this.clearInterval(i),i=this.setInterval(t,250)}),e=function(e){t(),this.clearInterval(i)},this.on(\"touchmove\",t),this.on(\"touchend\",e),this.on(\"touchcancel\",e))},e.setTimeout=function(e,t){var i,n=this;return e=We(this,e),this.clearTimersOnDispose_(),i=_.setTimeout(function(){n.setTimeoutIds_.has(i)&&n.setTimeoutIds_.delete(i),e()},t),this.setTimeoutIds_.add(i),i},e.clearTimeout=function(e){return this.setTimeoutIds_.has(e)&&(this.setTimeoutIds_.delete(e),_.clearTimeout(e)),e},e.setInterval=function(e,t){e=We(this,e),this.clearTimersOnDispose_();t=_.setInterval(e,t);return this.setIntervalIds_.add(t),t},e.clearInterval=function(e){return this.setIntervalIds_.has(e)&&(this.setIntervalIds_.delete(e),_.clearInterval(e)),e},e.requestAnimationFrame=function(e){var t,i=this;return this.supportsRaf_?(this.clearTimersOnDispose_(),e=We(this,e),t=_.requestAnimationFrame(function(){i.rafIds_.has(t)&&i.rafIds_.delete(t),e()}),this.rafIds_.add(t),t):this.setTimeout(e,1e3/60)},e.requestNamedAnimationFrame=function(e,t){var i=this;if(!this.namedRafs_.has(e)){this.clearTimersOnDispose_(),t=We(this,t);var n=this.requestAnimationFrame(function(){t(),i.namedRafs_.has(e)&&i.namedRafs_.delete(e)});return this.namedRafs_.set(e,n),e}},e.cancelNamedAnimationFrame=function(e){this.namedRafs_.has(e)&&(this.cancelAnimationFrame(this.namedRafs_.get(e)),this.namedRafs_.delete(e))},e.cancelAnimationFrame=function(e){return this.supportsRaf_?(this.rafIds_.has(e)&&(this.rafIds_.delete(e),_.cancelAnimationFrame(e)),e):this.clearTimeout(e)},e.clearTimersOnDispose_=function(){var n=this;this.clearingTimersOnDispose_||(this.clearingTimersOnDispose_=!0,this.one(\"dispose\",function(){[[\"namedRafs_\",\"cancelNamedAnimationFrame\"],[\"rafIds_\",\"cancelAnimationFrame\"],[\"setTimeoutIds_\",\"clearTimeout\"],[\"setIntervalIds_\",\"clearInterval\"]].forEach(function(e){var t=e[0],i=e[1];n[t].forEach(function(e,t){return n[i](t)})}),n.clearingTimersOnDispose_=!1}))},s.registerComponent=function(e,t){if(\"string\"!=typeof e||!e)throw new Error('Illegal component name, \"'+e+'\"; must be a non-empty string.');var i=s.getComponent(\"Tech\"),n=i&&i.isTech(t),i=s===t||s.prototype.isPrototypeOf(t.prototype);if(n||!i){var r=n?\"techs must be registered using Tech.registerTech()\":\"must be a Component subclass\";throw new Error('Illegal component, \"'+e+'\"; '+r+\".\")}e=lt(e),s.components_||(s.components_={});r=s.getComponent(\"Player\");if(\"Player\"===e&&r&&r.players){var a=r.players,r=Object.keys(a);if(a&&0<r.length&&r.map(function(e){return a[e]}).every(Boolean))throw new Error(\"Can not register Player component after player has been created.\")}return s.components_[e]=t,s.components_[ut(e)]=t},s.getComponent=function(e){if(e&&s.components_)return s.components_[e]},s}();pt.prototype.supportsRaf_=\"function\"==typeof _.requestAnimationFrame&&\"function\"==typeof _.cancelAnimationFrame,pt.registerComponent(\"Component\",pt);var ft=function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e};var mt=function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t};function gt(e,t,i,n){return function(e,t,i){if(\"number\"!=typeof t||t<0||i<t)throw new Error(\"Failed to execute '\"+e+\"' on 'TimeRanges': The index provided (\"+t+\") is non-numeric or out of bounds (0-\"+i+\").\")}(e,n,i.length-1),i[n][t]}function yt(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error(\"This TimeRanges object is empty\")},end:function(){throw new Error(\"This TimeRanges object is empty\")}}:{length:e.length,start:gt.bind(null,\"start\",0,e),end:gt.bind(null,\"end\",1,e)}}function vt(e,t){return Array.isArray(e)?yt(e):void 0===e||void 0===t?yt():yt([[e,t]])}function _t(e,t){var i,n,r=0;if(!t)return 0;e&&e.length||(e=vt(0,0));for(var a=0;a<e.length;a++)i=e.start(a),r+=(n=t<(n=e.end(a))?t:n)-i;return r/t}function bt(e){if(e instanceof bt)return e;\"number\"==typeof e?this.code=e:\"string\"==typeof e?this.message=e:S(e)&&(\"number\"==typeof e.code&&(this.code=e.code),T(this,e)),this.message||(this.message=bt.defaultMessages[this.code]||\"\")}bt.prototype.code=0,bt.prototype.message=\"\",bt.prototype.status=null,bt.errorTypes=[\"MEDIA_ERR_CUSTOM\",\"MEDIA_ERR_ABORTED\",\"MEDIA_ERR_NETWORK\",\"MEDIA_ERR_DECODE\",\"MEDIA_ERR_SRC_NOT_SUPPORTED\",\"MEDIA_ERR_ENCRYPTED\"],bt.defaultMessages={1:\"You aborted the media playback\",2:\"A network error caused the media download to fail part-way.\",3:\"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.\",4:\"The media could not be loaded, either because the server or network failed or because the format is not supported.\",5:\"The media is encrypted and we do not have the keys to decrypt it.\"};for(var Tt=0;Tt<bt.errorTypes.length;Tt++)bt[bt.errorTypes[Tt]]=Tt,bt.prototype[bt.errorTypes[Tt]]=Tt;var St=function(e,t){var i,n=null;try{i=JSON.parse(e,t)}catch(e){n=e}return[n,i]};function Et(e){return null!=e&&\"function\"==typeof e.then}function kt(e){Et(e)&&e.then(null,function(e){})}function Ct(n){return[\"kind\",\"label\",\"language\",\"id\",\"inBandMetadataTrackDispatchType\",\"mode\",\"src\"].reduce(function(e,t,i){return n[t]&&(e[t]=n[t]),e},{cues:n.cues&&Array.prototype.map.call(n.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})})}var wt=function(e){var t=e.$$(\"track\"),i=Array.prototype.map.call(t,function(e){return e.track});return Array.prototype.map.call(t,function(e){var t=Ct(e.track);return e.src&&(t.src=e.src),t}).concat(Array.prototype.filter.call(e.textTracks(),function(e){return-1===i.indexOf(e)}).map(Ct))},It=function(e,i){return e.forEach(function(e){var t=i.addRemoteTextTrack(e).track;!e.src&&e.cues&&e.cues.forEach(function(e){return t.addCue(e)})}),i.textTracks()},xt=t(function(e,t){function i(e){if(!e||\"object\"!=typeof e||(t=e.which||e.keyCode||e.charCode)&&(e=t),\"number\"==typeof e)return o[e];var t=String(e),e=n[t.toLowerCase()];return e||((e=r[t.toLowerCase()])?e:1===t.length?t.charCodeAt(0):void 0)}i.isEventKey=function(e,t){if(e&&\"object\"==typeof e){var i=e.which||e.keyCode||e.charCode;if(null==i)return!1;if(\"string\"==typeof t){e=n[t.toLowerCase()];if(e)return e===i;if(e=r[t.toLowerCase()])return e===i}else if(\"number\"==typeof t)return t===i;return!1}};for(var n=(t=e.exports=i).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,\"pause/break\":19,\"caps lock\":20,esc:27,space:32,\"page up\":33,\"page down\":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,\"left command\":91,\"right command\":93,\"numpad *\":106,\"numpad +\":107,\"numpad -\":109,\"numpad .\":110,\"numpad /\":111,\"num lock\":144,\"scroll lock\":145,\"my computer\":182,\"my calculator\":183,\";\":186,\"=\":187,\",\":188,\"-\":189,\".\":190,\"/\":191,\"`\":192,\"[\":219,\"\\\\\":220,\"]\":221,\"'\":222},r=t.aliases={windows:91,\"⇧\":16,\"⌥\":18,\"⌃\":17,\"⌘\":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91},a=97;a<123;a++)n[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)n[a-48]=a;for(a=1;a<13;a++)n[\"f\"+a]=a+111;for(a=0;a<10;a++)n[\"numpad \"+a]=a+96;var s,o=t.names=t.title={};for(a in n)o[n[a]]=a;for(s in r)n[s]=r[s]});xt.code,xt.codes,xt.aliases,xt.names,xt.title;var At=\"vjs-modal-dialog\",Pt=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.handleKeyDown_=function(e){return i.handleKeyDown(e)},i.close_=function(e){return i.close(e)},i.opened_=i.hasBeenOpened_=i.hasBeenFilled_=!1,i.closeable(!i.options_.uncloseable),i.content(i.options_.content),i.contentEl_=J(\"div\",{className:At+\"-content\"},{role:\"document\"}),i.descEl_=J(\"p\",{className:At+\"-description vjs-control-text\",id:i.el().getAttribute(\"aria-describedby\")}),Z(i.descEl_,i.description()),i.el_.appendChild(i.descEl_),i.el_.appendChild(i.contentEl_),i}mt(e,n);var t=e.prototype;return t.createEl=function(){return n.prototype.createEl.call(this,\"div\",{className:this.buildCSSClass(),tabIndex:-1},{\"aria-describedby\":this.id()+\"_description\",\"aria-hidden\":\"true\",\"aria-label\":this.label(),role:\"dialog\"})},t.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,n.prototype.dispose.call(this)},t.buildCSSClass=function(){return At+\" vjs-hidden \"+n.prototype.buildCSSClass.call(this)},t.label=function(){return this.localize(this.options_.label||\"Modal Window\")},t.description=function(){var e=this.options_.description||this.localize(\"This is a modal window.\");return this.closeable()&&(e+=\" \"+this.localize(\"This modal can be closed by pressing the Escape key or activating the close button.\")),e},t.open=function(){var e;this.opened_||(e=this.player(),this.trigger(\"beforemodalopen\"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!e.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&e.pause(),this.on(\"keydown\",this.handleKeyDown_),this.hadControls_=e.controls(),e.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute(\"aria-hidden\",\"false\"),this.trigger(\"modalopen\"),this.hasBeenOpened_=!0)},t.opened=function(e){return\"boolean\"==typeof e&&this[e?\"open\":\"close\"](),this.opened_},t.close=function(){var e;this.opened_&&(e=this.player(),this.trigger(\"beforemodalclose\"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&e.play(),this.off(\"keydown\",this.handleKeyDown_),this.hadControls_&&e.controls(!0),this.hide(),this.el().setAttribute(\"aria-hidden\",\"true\"),this.trigger(\"modalclose\"),this.conditionalBlur_(),this.options_.temporary&&this.dispose())},t.closeable=function(e){var t,i;return\"boolean\"==typeof e&&(t=this.closeable_=!!e,i=this.getChild(\"closeButton\"),t&&!i&&(e=this.contentEl_,this.contentEl_=this.el_,i=this.addChild(\"closeButton\",{controlText:\"Close Modal Dialog\"}),this.contentEl_=e,this.on(i,\"close\",this.close_)),!t&&i&&(this.off(i,\"close\",this.close_),this.removeChild(i),i.dispose())),this.closeable_},t.fill=function(){this.fillWith(this.content())},t.fillWith=function(e){var t=this.contentEl(),i=t.parentNode,n=t.nextSibling;this.trigger(\"beforemodalfill\"),this.hasBeenFilled_=!0,i.removeChild(t),this.empty(),_e(t,e),this.trigger(\"modalfill\"),n?i.insertBefore(t,n):i.appendChild(t);t=this.getChild(\"closeButton\");t&&i.appendChild(t.el_)},t.empty=function(){this.trigger(\"beforemodalempty\"),ge(this.contentEl()),this.trigger(\"modalempty\")},t.content=function(e){return\"undefined\"!=typeof e&&(this.content_=e),this.content_},t.conditionalFocus_=function(){var e=d.activeElement,t=this.player_.el_;this.previouslyActiveEl_=null,!t.contains(e)&&t!==e||(this.previouslyActiveEl_=e,this.focus())},t.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null)},t.handleKeyDown=function(e){if(e.stopPropagation(),xt.isEventKey(e,\"Escape\")&&this.closeable())return e.preventDefault(),void this.close();if(xt.isEventKey(e,\"Tab\")){for(var t,i=this.focusableEls_(),n=this.el_.querySelector(\":focus\"),r=0;r<i.length;r++)if(n===i[r]){t=r;break}d.activeElement===this.el_&&(t=0),e.shiftKey&&0===t?(i[i.length-1].focus(),e.preventDefault()):e.shiftKey||t!==i.length-1||(i[0].focus(),e.preventDefault())}},t.focusableEls_=function(){var e=this.el_.querySelectorAll(\"*\");return Array.prototype.filter.call(e,function(e){return(e instanceof _.HTMLAnchorElement||e instanceof _.HTMLAreaElement)&&e.hasAttribute(\"href\")||(e instanceof _.HTMLInputElement||e instanceof _.HTMLSelectElement||e instanceof _.HTMLTextAreaElement||e instanceof _.HTMLButtonElement)&&!e.hasAttribute(\"disabled\")||e instanceof _.HTMLIFrameElement||e instanceof _.HTMLObjectElement||e instanceof _.HTMLEmbedElement||e.hasAttribute(\"tabindex\")&&-1!==e.getAttribute(\"tabindex\")||e.hasAttribute(\"contenteditable\")})},e}(pt);Pt.prototype.options_={pauseOnOpen:!0,temporary:!0},pt.registerComponent(\"ModalDialog\",Pt);var Lt,Dt=function(n){function e(e){var t;void 0===e&&(e=[]),(t=n.call(this)||this).tracks_=[],Object.defineProperty(ft(t),\"length\",{get:function(){return this.tracks_.length}});for(var i=0;i<e.length;i++)t.addTrack(e[i]);return t}mt(e,n);var t=e.prototype;return t.addTrack=function(e){var t=this,i=this.tracks_.length;\"\"+i in this||Object.defineProperty(this,i,{get:function(){return this.tracks_[i]}}),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:\"addtrack\",target:this})),e.labelchange_=function(){t.trigger({track:e,type:\"labelchange\",target:t})},nt(e)&&e.addEventListener(\"labelchange\",e.labelchange_)},t.removeTrack=function(e){for(var t,i=0,n=this.length;i<n;i++)if(this[i]===e){(t=this[i]).off&&t.off(),this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:\"removetrack\",target:this})},t.getTrackById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var r=this[i];if(r.id===e){t=r;break}}return t},e}(Xe);for(Lt in Dt.prototype.allowedEvents_={change:\"change\",addtrack:\"addtrack\",removetrack:\"removetrack\",labelchange:\"labelchange\"},Dt.prototype.allowedEvents_)Dt.prototype[\"on\"+Lt]=null;function Ot(e,t){for(var i=0;i<e.length;i++)Object.keys(e[i]).length&&t.id!==e[i].id&&(e[i].enabled=!1)}function Rt(e,t){for(var i=0;i<e.length;i++)Object.keys(e[i]).length&&t.id!==e[i].id&&(e[i].selected=!1)}function Mt(e){var t=[\"protocol\",\"hostname\",\"port\",\"pathname\",\"search\",\"hash\",\"host\"],i=d.createElement(\"a\");i.href=e;for(var n={},r=0;r<t.length;r++)n[t[r]]=i[t[r]];return\"http:\"===n.protocol&&(n.host=n.host.replace(/:80$/,\"\")),\"https:\"===n.protocol&&(n.host=n.host.replace(/:443$/,\"\")),n.protocol||(n.protocol=_.location.protocol),n.host||(n.host=_.location.host),n}function Nt(e){var t;return e.match(/^https?:\\/\\//)||((t=d.createElement(\"a\")).href=e,e=t.href),e}function Ut(e){if(\"string\"==typeof e){e=/^(\\/?)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?)(\\.([^\\.\\/\\?]+)))(?:[\\/]*|[\\?].*)$/.exec(e);if(e)return e.pop().toLowerCase()}return\"\"}function Bt(e,t){return void 0===t&&(t=_.location),(\":\"===(e=Mt(e)).protocol?t:e).protocol+e.host!==t.protocol+t.host}var Ft=function(n){function e(e){for(var t,i=(e=void 0===e?[]:e).length-1;0<=i;i--)if(e[i].enabled){Ot(e,e[i]);break}return(t=n.call(this,e)||this).changing_=!1,t}mt(e,n);var t=e.prototype;return t.addTrack=function(e){var t=this;e.enabled&&Ot(this,e),n.prototype.addTrack.call(this,e),e.addEventListener&&(e.enabledChange_=function(){t.changing_||(t.changing_=!0,Ot(t,e),t.changing_=!1,t.trigger(\"change\"))},e.addEventListener(\"enabledchange\",e.enabledChange_))},t.removeTrack=function(e){n.prototype.removeTrack.call(this,e),e.removeEventListener&&e.enabledChange_&&(e.removeEventListener(\"enabledchange\",e.enabledChange_),e.enabledChange_=null)},e}(Dt),e=function(n){function e(e){for(var t,i=(e=void 0===e?[]:e).length-1;0<=i;i--)if(e[i].selected){Rt(e,e[i]);break}return(t=n.call(this,e)||this).changing_=!1,Object.defineProperty(ft(t),\"selectedIndex\",{get:function(){for(var e=0;e<this.length;e++)if(this[e].selected)return e;return-1},set:function(){}}),t}mt(e,n);var t=e.prototype;return t.addTrack=function(e){var t=this;e.selected&&Rt(this,e),n.prototype.addTrack.call(this,e),e.addEventListener&&(e.selectedChange_=function(){t.changing_||(t.changing_=!0,Rt(t,e),t.changing_=!1,t.trigger(\"change\"))},e.addEventListener(\"selectedchange\",e.selectedChange_))},t.removeTrack=function(e){n.prototype.removeTrack.call(this,e),e.removeEventListener&&e.selectedChange_&&(e.removeEventListener(\"selectedchange\",e.selectedChange_),e.selectedChange_=null)},e}(Dt),n=function(i){function e(){return i.apply(this,arguments)||this}mt(e,i);var t=e.prototype;return t.addTrack=function(e){var t=this;i.prototype.addTrack.call(this,e),this.queueChange_||(this.queueChange_=function(){return t.queueTrigger(\"change\")}),this.triggerSelectedlanguagechange||(this.triggerSelectedlanguagechange_=function(){return t.trigger(\"selectedlanguagechange\")}),e.addEventListener(\"modechange\",this.queueChange_);-1===[\"metadata\",\"chapters\"].indexOf(e.kind)&&e.addEventListener(\"modechange\",this.triggerSelectedlanguagechange_)},t.removeTrack=function(e){i.prototype.removeTrack.call(this,e),e.removeEventListener&&(this.queueChange_&&e.removeEventListener(\"modechange\",this.queueChange_),this.selectedlanguagechange_&&e.removeEventListener(\"modechange\",this.triggerSelectedlanguagechange_))},e}(Dt),r=function(){function e(e){void 0===e&&(e=[]),this.trackElements_=[],Object.defineProperty(this,\"length\",{get:function(){return this.trackElements_.length}});for(var t=0,i=e.length;t<i;t++)this.addTrackElement_(e[t])}var t=e.prototype;return t.addTrackElement_=function(e){var t=this.trackElements_.length;\"\"+t in this||Object.defineProperty(this,t,{get:function(){return this.trackElements_[t]}}),-1===this.trackElements_.indexOf(e)&&this.trackElements_.push(e)},t.getTrackElementByTrack_=function(e){for(var t,i=0,n=this.trackElements_.length;i<n;i++)if(e===this.trackElements_[i].track){t=this.trackElements_[i];break}return t},t.removeTrackElement_=function(e){for(var t=0,i=this.trackElements_.length;t<i;t++)if(e===this.trackElements_[t]){this.trackElements_[t].track&&\"function\"==typeof this.trackElements_[t].track.off&&this.trackElements_[t].track.off(),\"function\"==typeof this.trackElements_[t].off&&this.trackElements_[t].off(),this.trackElements_.splice(t,1);break}},e}(),jt=function(){function t(e){t.prototype.setCues_.call(this,e),Object.defineProperty(this,\"length\",{get:function(){return this.length_}})}var e=t.prototype;return e.setCues_=function(e){var t=this.length||0,i=0,n=e.length;this.cues_=e,this.length_=e.length;function r(e){\"\"+e in this||Object.defineProperty(this,\"\"+e,{get:function(){return this.cues_[e]}})}if(t<n)for(i=t;i<n;i++)r.call(this,i)},e.getCueById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var r=this[i];if(r.id===e){t=r;break}}return t},t}(),Ht={alternative:\"alternative\",captions:\"captions\",main:\"main\",sign:\"sign\",subtitles:\"subtitles\",commentary:\"commentary\"},qt={alternative:\"alternative\",descriptions:\"descriptions\",main:\"main\",\"main-desc\":\"main-desc\",translation:\"translation\",commentary:\"commentary\"},Vt={subtitles:\"subtitles\",captions:\"captions\",descriptions:\"descriptions\",chapters:\"chapters\",metadata:\"metadata\"},Wt={disabled:\"disabled\",hidden:\"hidden\",showing:\"showing\"},w=function(a){function e(e){void 0===e&&(e={});var t,i=a.call(this)||this,n={id:e.id||\"vjs_track_\"+Le++,kind:e.kind||\"\",language:e.language||\"\"},r=e.label||\"\";for(t in n)!function(e){Object.defineProperty(ft(i),e,{get:function(){return n[e]},set:function(){}})}(t);return Object.defineProperty(ft(i),\"label\",{get:function(){return r},set:function(e){e!==r&&(r=e,this.trigger(\"labelchange\"))}}),i}return mt(e,a),e}(Xe),zt=Object.freeze({__proto__:null,parseUrl:Mt,getAbsoluteURL:Nt,getFileExtension:Ut,isCrossOrigin:Bt}),Gt=function(e){if(!e)return!1;var t=Xt.call(e);return\"[object Function]\"===t||\"function\"==typeof e&&\"[object RegExp]\"!==t||\"undefined\"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}\n/**\n   * @license\n   * slighly modified parse-headers 2.0.2 <https://github.com/kesla/parse-headers/>\n   * Copyright (c) 2014 David Björklund\n   * Available under the MIT license\n   * <https://github.com/kesla/parse-headers/blob/master/LICENCE>\n   */,Xt=Object.prototype.toString;var Kt=function(e){var n={};return e&&e.trim().split(\"\\n\").forEach(function(e){var t=e.indexOf(\":\"),i=e.slice(0,t).trim().toLowerCase(),t=e.slice(t+1).trim();\"undefined\"==typeof n[i]?n[i]=t:Array.isArray(n[i])?n[i].push(t):n[i]=[n[i],t]}),n},Yt=$t,I=$t;function Qt(e,t,i){var n=e;return Gt(t)?(i=t,\"string\"==typeof e&&(n={uri:e})):n=g({},t,{uri:e}),n.callback=i,n}function $t(e,t,i){return Jt(t=Qt(e,t,i))}function Jt(n){if(\"undefined\"==typeof n.callback)throw new Error(\"callback argument missing\");var r=!1,a=function(e,t,i){r||(r=!0,n.callback(e,t,i))};function s(){var e=void 0,e=l.response||l.responseText||function(e){try{if(\"document\"===e.responseType)return e.responseXML;var t=e.responseXML&&\"parsererror\"===e.responseXML.documentElement.nodeName;if(\"\"===e.responseType&&!t)return e.responseXML}catch(e){}return null}(l);if(m)try{e=JSON.parse(e)}catch(e){}return e}function t(e){return clearTimeout(u),(e=!(e instanceof Error)?new Error(\"\"+(e||\"Unknown XMLHttpRequest Error\")):e).statusCode=0,a(e,g)}function e(){if(!o){clearTimeout(u);var e=n.useXDR&&void 0===l.status?200:1223===l.status?204:l.status,t=g,i=null;return 0!==e?(t={body:s(),statusCode:e,method:d,headers:{},url:c,rawRequest:l},l.getAllResponseHeaders&&(t.headers=Kt(l.getAllResponseHeaders()))):i=new Error(\"Internal XMLHttpRequest Error\"),a(i,t,t.body)}}var i,o,u,l=n.xhr||null,c=(l=l||new(n.cors||n.useXDR?$t.XDomainRequest:$t.XMLHttpRequest)).url=n.uri||n.url,d=l.method=n.method||\"GET\",h=n.body||n.data,p=l.headers=n.headers||{},f=!!n.sync,m=!1,g={body:void 0,headers:{},statusCode:0,method:d,url:c,rawRequest:l};if(\"json\"in n&&!1!==n.json&&(m=!0,p.accept||p.Accept||(p.Accept=\"application/json\"),\"GET\"!==d&&\"HEAD\"!==d&&(p[\"content-type\"]||p[\"Content-Type\"]||(p[\"Content-Type\"]=\"application/json\"),h=JSON.stringify(!0===n.json?h:n.json))),l.onreadystatechange=function(){4===l.readyState&&setTimeout(e,0)},l.onload=e,l.onerror=t,l.onprogress=function(){},l.onabort=function(){o=!0},l.ontimeout=t,l.open(d,c,!f,n.username,n.password),f||(l.withCredentials=!!n.withCredentials),!f&&0<n.timeout&&(u=setTimeout(function(){var e;o||(o=!0,l.abort(\"timeout\"),(e=new Error(\"XMLHttpRequest timeout\")).code=\"ETIMEDOUT\",t(e))},n.timeout)),l.setRequestHeader)for(i in p)p.hasOwnProperty(i)&&l.setRequestHeader(i,p[i]);else if(n.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return;return 1}(n.headers))throw new Error(\"Headers cannot be set on an XDomainRequest object\");return\"responseType\"in n&&(l.responseType=n.responseType),\"beforeSend\"in n&&\"function\"==typeof n.beforeSend&&n.beforeSend(l),l.send(h||null),l}$t.XMLHttpRequest=_.XMLHttpRequest||function(){},$t.XDomainRequest=\"withCredentials\"in new $t.XMLHttpRequest?$t.XMLHttpRequest:_.XDomainRequest,function(e,t){for(var i=0;i<e.length;i++)t(e[i])}([\"get\",\"put\",\"post\",\"patch\",\"head\",\"delete\"],function(n){$t[\"delete\"===n?\"del\":n]=function(e,t,i){return(t=Qt(e,t,i)).method=n.toUpperCase(),Jt(t)}}),Yt.default=I;function Zt(e,t){var i=new _.WebVTT.Parser(_,_.vttjs,_.WebVTT.StringDecoder()),n=[];i.oncue=function(e){t.addCue(e)},i.onparsingerror=function(e){n.push(e)},i.onflush=function(){t.trigger({type:\"loadeddata\",target:t})},i.parse(e),0<n.length&&(_.console&&_.console.groupCollapsed&&_.console.groupCollapsed(\"Text Track parsing errors for \"+t.src),n.forEach(function(e){return f.error(e)}),_.console&&_.console.groupEnd&&_.console.groupEnd()),i.flush()}function ei(e,n){var t={uri:e};(e=Bt(e))&&(t.cors=e),(e=\"use-credentials\"===n.tech_.crossOrigin())&&(t.withCredentials=e),Yt(t,We(this,function(e,t,i){return e?f.error(e,t):(n.loaded_=!0,void(\"function\"!=typeof _.WebVTT?n.tech_&&n.tech_.any([\"vttjsloaded\",\"vttjserror\"],function(e){return\"vttjserror\"!==e.type?Zt(i,n):void f.error(\"vttjs failed to load, stopping trying to process \"+n.src)}):Zt(i,n)))}))}var ti=function(u){function e(e){var t;if(!(e=void 0===e?{}:e).tech)throw new Error(\"A tech was not provided.\");var e=ct(e,{kind:Vt[e.kind]||\"subtitles\",language:e.language||e.srclang||\"\"}),i=Wt[e.mode]||\"disabled\",n=e.default;\"metadata\"!==e.kind&&\"chapters\"!==e.kind||(i=\"hidden\"),(t=u.call(this,e)||this).tech_=e.tech,t.cues_=[],t.activeCues_=[],t.preload_=!1!==t.tech_.preloadTextTracks;var r=new jt(t.cues_),s=new jt(t.activeCues_),o=!1,a=We(ft(t),function(){this.tech_.isReady_&&!this.tech_.isDisposed()&&(this.activeCues=this.activeCues,o&&(this.trigger(\"cuechange\"),o=!1))});return t.tech_.one(\"dispose\",function(){t.tech_.off(\"timeupdate\",a)}),\"disabled\"!==i&&t.tech_.on(\"timeupdate\",a),Object.defineProperties(ft(t),{default:{get:function(){return n},set:function(){}},mode:{get:function(){return i},set:function(e){Wt[e]&&i!==e&&(i=e,this.preload_||\"disabled\"===i||0!==this.cues.length||ei(this.src,this),this.tech_.off(\"timeupdate\",a),\"disabled\"!==i&&this.tech_.on(\"timeupdate\",a),this.trigger(\"modechange\"))}},cues:{get:function(){return this.loaded_?r:null},set:function(){}},activeCues:{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var e=this.tech_.currentTime(),t=[],i=0,n=this.cues.length;i<n;i++){var r=this.cues[i];(r.startTime<=e&&r.endTime>=e||r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e)&&t.push(r)}if(o=!1,t.length!==this.activeCues_.length)o=!0;else for(var a=0;a<t.length;a++)-1===this.activeCues_.indexOf(t[a])&&(o=!0);return this.activeCues_=t,s.setCues_(this.activeCues_),s},set:function(){}}}),e.src?(t.src=e.src,t.preload_||(t.loaded_=!0),(t.preload_||\"subtitles\"!==e.kind&&\"captions\"!==e.kind)&&ei(t.src,ft(t))):t.loaded_=!0,t}mt(e,u);var t=e.prototype;return t.addCue=function(e){var t=e;if(_.vttjs&&!(e instanceof _.vttjs.VTTCue)){for(var i in t=new _.vttjs.VTTCue(e.startTime,e.endTime,e.text),e)i in t||(t[i]=e[i]);t.id=e.id,t.originalCue_=e}for(var n=this.tech_.textTracks(),r=0;r<n.length;r++)n[r]!==this&&n[r].removeCue(t);this.cues_.push(t),this.cues.setCues_(this.cues_)},t.removeCue=function(e){for(var t=this.cues_.length;t--;){var i=this.cues_[t];if(i===e||i.originalCue_&&i.originalCue_===e){this.cues_.splice(t,1),this.cues.setCues_(this.cues_);break}}},e}(w);ti.prototype.allowedEvents_={cuechange:\"cuechange\"};var ii=function(n){function e(e){var t=ct(e=void 0===e?{}:e,{kind:qt[e.kind]||\"\"}),e=n.call(this,t)||this,i=!1;return Object.defineProperty(ft(e),\"enabled\",{get:function(){return i},set:function(e){\"boolean\"==typeof e&&e!==i&&(i=e,this.trigger(\"enabledchange\"))}}),t.enabled&&(e.enabled=t.enabled),e.loaded_=!0,e}return mt(e,n),e}(w),ni=function(n){function e(e){var t=ct(e=void 0===e?{}:e,{kind:Ht[e.kind]||\"\"}),e=n.call(this,t)||this,i=!1;return Object.defineProperty(ft(e),\"selected\",{get:function(){return i},set:function(e){\"boolean\"==typeof e&&e!==i&&(i=e,this.trigger(\"selectedchange\"))}}),t.selected&&(e.selected=t.selected),e}return mt(e,n),e}(w),x=function(r){function e(e){var t;void 0===e&&(e={});var i=r.call(this)||this,n=new ti(e);return i.kind=n.kind,i.src=n.src,i.srclang=n.language,i.label=n.label,i.default=n.default,Object.defineProperties(ft(i),{readyState:{get:function(){return t}},track:{get:function(){return n}}}),t=0,n.addEventListener(\"loadeddata\",function(){t=2,i.trigger({type:\"load\",target:ft(i)})}),i}return mt(e,r),e}(Xe);x.prototype.allowedEvents_={load:\"load\"},x.NONE=0,x.LOADING=1,x.LOADED=2,x.ERROR=3;var ri={audio:{ListClass:Ft,TrackClass:ii,capitalName:\"Audio\"},video:{ListClass:e,TrackClass:ni,capitalName:\"Video\"},text:{ListClass:n,TrackClass:ti,capitalName:\"Text\"}};Object.keys(ri).forEach(function(e){ri[e].getterName=e+\"Tracks\",ri[e].privateName=e+\"Tracks_\"});var ai={remoteText:{ListClass:n,TrackClass:ti,capitalName:\"RemoteText\",getterName:\"remoteTextTracks\",privateName:\"remoteTextTracks_\"},remoteTextEl:{ListClass:r,TrackClass:x,capitalName:\"RemoteTextTrackEls\",getterName:\"remoteTextTrackEls\",privateName:\"remoteTextTrackEls_\"}},si=g({},ri,ai);ai.names=Object.keys(ai),ri.names=Object.keys(ri),si.names=[].concat(ai.names).concat(ri.names);var oi=Object.create||function(e){if(1!==arguments.length)throw new Error(\"Object.create shim only accepts one parameter.\");return ui.prototype=e,new ui};function ui(){}function li(e,t){this.name=\"ParsingError\",this.code=e.code,this.message=t||e.message}function ci(e){function t(e,t,i,n){return 3600*(0|e)+60*(0|t)+(0|i)+(0|n)/1e3}e=e.match(/^(\\d+):(\\d{1,2})(:\\d{1,2})?\\.(\\d{3})/);return e?e[3]?t(e[1],e[2],e[3].replace(\":\",\"\"),e[4]):59<e[1]?t(e[1],e[2],0,e[4]):t(0,e[1],e[2],e[4]):null}function di(){this.values=oi(null)}function hi(e,t,i,n){var r,a,s=n?e.split(n):[e];for(r in s)\"string\"==typeof s[r]&&(2===(a=s[r].split(i)).length&&t(a[0],a[1]))}function pi(t,e,s){var i=t;function n(){var e=ci(t);if(null===e)throw new li(li.Errors.BadTimeStamp,\"Malformed timestamp: \"+i);return t=t.replace(/^[^\\sa-zA-Z-]+/,\"\"),e}function r(){t=t.replace(/^\\s+/,\"\")}if(r(),e.startTime=n(),r(),\"--\\x3e\"!==t.substr(0,3))throw new li(li.Errors.BadTimeStamp,\"Malformed time stamp (time stamps must be separated by '--\\x3e'): \"+i);t=t.substr(3),r(),e.endTime=n(),r(),function(e,t){var a=new di;hi(e,function(e,t){switch(e){case\"region\":for(var i=s.length-1;0<=i;i--)if(s[i].id===t){a.set(e,s[i].region);break}break;case\"vertical\":a.alt(e,t,[\"rl\",\"lr\"]);break;case\"line\":var n=t.split(\",\"),r=n[0];a.integer(e,r),a.percent(e,r)&&a.set(\"snapToLines\",!1),a.alt(e,r,[\"auto\"]),2===n.length&&a.alt(\"lineAlign\",n[1],[\"start\",\"center\",\"end\"]);break;case\"position\":n=t.split(\",\"),a.percent(e,n[0]),2===n.length&&a.alt(\"positionAlign\",n[1],[\"start\",\"center\",\"end\"]);break;case\"size\":a.percent(e,t);break;case\"align\":a.alt(e,t,[\"start\",\"center\",\"end\",\"left\",\"right\"])}},/:/,/\\s/),t.region=a.get(\"region\",null),t.vertical=a.get(\"vertical\",\"\");try{t.line=a.get(\"line\",\"auto\")}catch(e){}t.lineAlign=a.get(\"lineAlign\",\"start\"),t.snapToLines=a.get(\"snapToLines\",!0),t.size=a.get(\"size\",100);try{t.align=a.get(\"align\",\"center\")}catch(e){t.align=a.get(\"align\",\"middle\")}try{t.position=a.get(\"position\",\"auto\")}catch(e){t.position=a.get(\"position\",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=a.get(\"positionAlign\",{start:\"start\",left:\"start\",center:\"center\",middle:\"center\",end:\"end\",right:\"end\"},t.align)}(t,e)}((li.prototype=oi(Error.prototype)).constructor=li).Errors={BadSignature:{code:0,message:\"Malformed WebVTT signature.\"},BadTimeStamp:{code:1,message:\"Malformed time stamp.\"}},di.prototype={set:function(e,t){this.get(e)||\"\"===t||(this.values[e]=t)},get:function(e,t,i){return i?this.has(e)?this.values[e]:t[i]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,i){for(var n=0;n<i.length;++n)if(t===i[n]){this.set(e,t);break}},integer:function(e,t){/^-?\\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\\d]{1,3})(\\.[\\d]*)?%$/)&&0<=(t=parseFloat(t))&&t<=100)&&(this.set(e,t),!0)}};var fi=d.createElement&&d.createElement(\"textarea\"),mi={c:\"span\",i:\"i\",b:\"b\",u:\"u\",ruby:\"ruby\",rt:\"rt\",v:\"span\",lang:\"span\"},gi={white:\"rgba(255,255,255,1)\",lime:\"rgba(0,255,0,1)\",cyan:\"rgba(0,255,255,1)\",red:\"rgba(255,0,0,1)\",yellow:\"rgba(255,255,0,1)\",magenta:\"rgba(255,0,255,1)\",blue:\"rgba(0,0,255,1)\",black:\"rgba(0,0,0,1)\"},yi={v:\"title\",lang:\"lang\"},vi={rt:\"ruby\"};function _i(e,t){for(var i,n,r,a,s,o,u,l,c,d,h=e.document.createElement(\"div\"),p=h,f=[];null!==(i=function(){if(!t)return null;var e=t.match(/^([^<]*)(<[^>]*>?)?/);return e=e[1]||e[2],t=t.substr(e.length),e}());)\"<\"!==i[0]?p.appendChild(e.document.createTextNode((s=i,fi.innerHTML=s,s=fi.textContent,fi.textContent=\"\",s))):\"/\"!==i[1]?(a=ci(i.substr(1,i.length-2)))?(n=e.document.createProcessingInstruction(\"timestamp\",a),p.appendChild(n)):(r=i.match(/^<([^.\\s/0-9>]+)(\\.[^\\s\\\\>]+)?([^>\\\\]+)?(\\\\?)>?$/))&&(l=r[1],c=r[3],d=void 0,d=mi[l],(n=d?(d=e.document.createElement(d),(l=yi[l])&&c&&(d[l]=c.trim()),d):null)&&(o=p,vi[(u=n).localName]&&vi[u.localName]!==o.localName||(r[2]&&((a=r[2].split(\".\")).forEach(function(e){var t=/^bg_/.test(e),e=t?e.slice(3):e;gi.hasOwnProperty(e)&&(e=gi[e],n.style[t?\"background-color\":\"color\"]=e)}),n.className=a.join(\" \")),f.push(r[1]),p.appendChild(n),p=n))):f.length&&f[f.length-1]===i.substr(2).replace(\">\",\"\")&&(f.pop(),p=p.parentNode);return h}var bi=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function Ti(e){var t=[],i=\"\";if(!e||!e.childNodes)return\"ltr\";function a(e,t){for(var i=t.childNodes.length-1;0<=i;i--)e.push(t.childNodes[i])}for(a(t,e);i=function e(t){if(!t||!t.length)return null;var i=t.pop(),n=i.textContent||i.innerText;if(n){var r=n.match(/^.*(\\n|\\r)/);return r?r[t.length=0]:n}return\"ruby\"===i.tagName?e(t):i.childNodes?(a(t,i),e(t)):void 0}(t);)for(var n=0;n<i.length;n++)if(function(e){for(var t=0;t<bi.length;t++){var i=bi[t];if(e>=i[0]&&e<=i[1])return 1}}(i.charCodeAt(n)))return\"rtl\";return\"ltr\"}function Si(){}function Ei(e,t,i){Si.call(this),this.cue=t,this.cueDiv=_i(e,t.text);var n={color:\"rgba(255, 255, 255, 1)\",backgroundColor:\"rgba(0, 0, 0, 0.8)\",position:\"relative\",left:0,right:0,top:0,bottom:0,display:\"inline\",writingMode:\"\"===t.vertical?\"horizontal-tb\":\"lr\"===t.vertical?\"vertical-lr\":\"vertical-rl\",unicodeBidi:\"plaintext\"};this.applyStyles(n,this.cueDiv),this.div=e.document.createElement(\"div\"),n={direction:Ti(this.cueDiv),writingMode:\"\"===t.vertical?\"horizontal-tb\":\"lr\"===t.vertical?\"vertical-lr\":\"vertical-rl\",unicodeBidi:\"plaintext\",textAlign:\"middle\"===t.align?\"center\":t.align,font:i.font,whiteSpace:\"pre-line\",position:\"absolute\"},this.applyStyles(n),this.div.appendChild(this.cueDiv);var r=0;switch(t.positionAlign){case\"start\":r=t.position;break;case\"center\":r=t.position-t.size/2;break;case\"end\":r=t.position-t.size}\"\"===t.vertical?this.applyStyles({left:this.formatStyle(r,\"%\"),width:this.formatStyle(t.size,\"%\")}):this.applyStyles({top:this.formatStyle(r,\"%\"),height:this.formatStyle(t.size,\"%\")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,\"px\"),bottom:this.formatStyle(e.bottom,\"px\"),left:this.formatStyle(e.left,\"px\"),right:this.formatStyle(e.right,\"px\"),height:this.formatStyle(e.height,\"px\"),width:this.formatStyle(e.width,\"px\")})}}function ki(e){var t,i,n,r;e.div&&(t=e.div.offsetHeight,i=e.div.offsetWidth,n=e.div.offsetTop,r=(r=e.div.childNodes)&&(r=r[0])&&r.getClientRects&&r.getClientRects(),e=e.div.getBoundingClientRect(),r=r?Math.max(r[0]&&r[0].height||0,e.height/r.length):0),this.left=e.left,this.right=e.right,this.top=e.top||n,this.height=e.height||t,this.bottom=e.bottom||n+(e.height||t),this.width=e.width||i,this.lineHeight=void 0!==r?r:e.lineHeight}function Ci(e,t,o,u){var i,n=new ki(t),r=t.cue,a=function(e){if(\"number\"==typeof e.line&&(e.snapToLines||0<=e.line&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,i=t.textTrackList,n=0,r=0;r<i.length&&i[r]!==t;r++)\"showing\"===i[r].mode&&n++;return-1*++n}(r),s=[];if(r.snapToLines){switch(r.vertical){case\"\":s=[\"+y\",\"-y\"],i=\"height\";break;case\"rl\":s=[\"+x\",\"-x\"],i=\"width\";break;case\"lr\":s=[\"-x\",\"+x\"],i=\"width\"}var l=n.lineHeight,c=l*Math.round(a),d=o[i]+l,h=s[0];Math.abs(c)>d&&(c=c<0?-1:1,c*=Math.ceil(d/l)*l),a<0&&(c+=\"\"===r.vertical?o.height:o.width,s=s.reverse()),n.move(h,c)}else{var p=n.lineHeight/o.height*100;switch(r.lineAlign){case\"center\":a-=p/2;break;case\"end\":a-=p}switch(r.vertical){case\"\":t.applyStyles({top:t.formatStyle(a,\"%\")});break;case\"rl\":t.applyStyles({left:t.formatStyle(a,\"%\")});break;case\"lr\":t.applyStyles({right:t.formatStyle(a,\"%\")})}s=[\"+y\",\"-x\",\"+x\",\"-y\"],n=new ki(t)}n=function(e,t){for(var i,n=new ki(e),r=1,a=0;a<t.length;a++){for(;e.overlapsOppositeAxis(o,t[a])||e.within(o)&&e.overlapsAny(u);)e.move(t[a]);if(e.within(o))return e;var s=e.intersectPercentage(o);s<r&&(i=new ki(e),r=s),e=new ki(n)}return i||n}(n,s);t.move(n.toCSSCompatValues(o))}function wi(){}Si.prototype.applyStyles=function(e,t){for(var i in t=t||this.div,e)e.hasOwnProperty(i)&&(t.style[i]=e[i])},Si.prototype.formatStyle=function(e,t){return 0===e?0:e+t},(Ei.prototype=oi(Si.prototype)).constructor=Ei,ki.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case\"+x\":this.left+=t,this.right+=t;break;case\"-x\":this.left-=t,this.right-=t;break;case\"+y\":this.top+=t,this.bottom+=t;break;case\"-y\":this.top-=t,this.bottom-=t}},ki.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},ki.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},ki.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},ki.prototype.overlapsOppositeAxis=function(e,t){switch(t){case\"+x\":return this.left<e.left;case\"-x\":return this.right>e.right;case\"+y\":return this.top<e.top;case\"-y\":return this.bottom>e.bottom}},ki.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},ki.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},ki.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,i=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,n=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||n,height:e.height||t,bottom:e.bottom||n+(e.height||t),width:e.width||i}},wi.StringDecoder=function(){return{decode:function(e){if(!e)return\"\";if(\"string\"!=typeof e)throw new Error(\"Error - expected string data.\");return decodeURIComponent(encodeURIComponent(e))}}},wi.convertCueToDOMTree=function(e,t){return e&&t?_i(e,t):null};wi.processCues=function(n,r,e){if(!n||!r||!e)return null;for(;e.firstChild;)e.removeChild(e.firstChild);var a=n.document.createElement(\"div\");if(a.style.position=\"absolute\",a.style.left=\"0\",a.style.right=\"0\",a.style.top=\"0\",a.style.bottom=\"0\",a.style.margin=\"1.5%\",e.appendChild(a),function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return 1}(r)){var s=[],o=ki.getSimpleBoxPosition(a),u={font:Math.round(.05*o.height*100)/100+\"px sans-serif\"};!function(){for(var e,t,i=0;i<r.length;i++)t=r[i],e=new Ei(n,t,u),a.appendChild(e.div),Ci(0,e,o,s),t.displayState=e.div,s.push(ki.getSimpleBoxPosition(e))}()}else for(var t=0;t<r.length;t++)a.appendChild(r[t].displayState)},(wi.Parser=function(e,t,i){i||(i=t,t={}),t=t||{},this.window=e,this.vttjs=t,this.state=\"INITIAL\",this.buffer=\"\",this.decoder=i||new TextDecoder(\"utf8\"),this.regionList=[]}).prototype={reportOrThrowError:function(e){if(!(e instanceof li))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var n=this;function t(){for(var e=n.buffer,t=0;t<e.length&&\"\\r\"!==e[t]&&\"\\n\"!==e[t];)++t;var i=e.substr(0,t);return\"\\r\"===e[t]&&++t,\"\\n\"===e[t]&&++t,n.buffer=e.substr(t),i}function i(e){e.match(/X-TIMESTAMP-MAP/)?hi(e,function(e,t){var i;\"X-TIMESTAMP-MAP\"===e&&(t=t,i=new di,hi(t,function(e,t){switch(e){case\"MPEGT\":i.integer(e+\"S\",t);break;case\"LOCA\":i.set(e+\"L\",ci(t))}},/[^\\d]:/,/,/),n.ontimestampmap&&n.ontimestampmap({MPEGTS:i.get(\"MPEGTS\"),LOCAL:i.get(\"LOCAL\")}))},/=/):hi(e,function(e,t){var r;\"Region\"===e&&(t=t,r=new di,hi(t,function(e,t){switch(e){case\"id\":r.set(e,t);break;case\"width\":r.percent(e,t);break;case\"lines\":r.integer(e,t);break;case\"regionanchor\":case\"viewportanchor\":var i=t.split(\",\");if(2!==i.length)break;var n=new di;if(n.percent(\"x\",i[0]),n.percent(\"y\",i[1]),!n.has(\"x\")||!n.has(\"y\"))break;r.set(e+\"X\",n.get(\"x\")),r.set(e+\"Y\",n.get(\"y\"));break;case\"scroll\":r.alt(e,t,[\"up\"])}},/=/,/\\s/),r.has(\"id\")&&((t=new(n.vttjs.VTTRegion||n.window.VTTRegion)).width=r.get(\"width\",100),t.lines=r.get(\"lines\",3),t.regionAnchorX=r.get(\"regionanchorX\",0),t.regionAnchorY=r.get(\"regionanchorY\",100),t.viewportAnchorX=r.get(\"viewportanchorX\",0),t.viewportAnchorY=r.get(\"viewportanchorY\",100),t.scroll=r.get(\"scroll\",\"\"),n.onregion&&n.onregion(t),n.regionList.push({id:r.get(\"id\"),region:t})))},/:/)}e&&(n.buffer+=n.decoder.decode(e,{stream:!0}));try{if(\"INITIAL\"===n.state){if(!/\\r\\n|\\n/.test(n.buffer))return this;var r,a=(r=t()).match(/^WEBVTT([ \\t].*)?$/);if(!a||!a[0])throw new li(li.Errors.BadSignature);n.state=\"HEADER\"}for(var s=!1;n.buffer;){if(!/\\r\\n|\\n/.test(n.buffer))return this;switch(s?s=!1:r=t(),n.state){case\"HEADER\":/:/.test(r)?i(r):r||(n.state=\"ID\");continue;case\"NOTE\":r||(n.state=\"ID\");continue;case\"ID\":if(/^NOTE($|[ \\t])/.test(r)){n.state=\"NOTE\";break}if(!r)continue;n.cue=new(n.vttjs.VTTCue||n.window.VTTCue)(0,0,\"\");try{n.cue.align=\"center\"}catch(e){n.cue.align=\"middle\"}if(n.state=\"CUE\",-1===r.indexOf(\"--\\x3e\")){n.cue.id=r;continue}case\"CUE\":try{pi(r,n.cue,n.regionList)}catch(e){n.reportOrThrowError(e),n.cue=null,n.state=\"BADCUE\";continue}n.state=\"CUETEXT\";continue;case\"CUETEXT\":var o=-1!==r.indexOf(\"--\\x3e\");if(!r||o&&(s=!0)){n.oncue&&n.oncue(n.cue),n.cue=null,n.state=\"ID\";continue}n.cue.text&&(n.cue.text+=\"\\n\"),n.cue.text+=r.replace(/\\u2028/g,\"\\n\").replace(/u2029/g,\"\\n\");continue;case\"BADCUE\":r||(n.state=\"ID\");continue}}}catch(e){n.reportOrThrowError(e),\"CUETEXT\"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=\"INITIAL\"===n.state?\"BADWEBVTT\":\"BADCUE\"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),!t.cue&&\"HEADER\"!==t.state||(t.buffer+=\"\\n\\n\",t.parse()),\"INITIAL\"===t.state)throw new li(li.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}};var Ii=wi,xi={\"\":1,lr:1,rl:1},Ai={start:1,center:1,end:1,left:1,right:1,auto:1,\"line-left\":1,\"line-right\":1};function Pi(e){return\"string\"==typeof e&&(!!Ai[e.toLowerCase()]&&e.toLowerCase())}function Li(e,t,i){this.hasBeenReset=!1;var n=\"\",r=!1,a=e,s=t,o=i,u=null,l=\"\",c=!0,d=\"auto\",h=\"start\",p=\"auto\",f=\"auto\",m=100,g=\"center\";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return n},set:function(e){n=\"\"+e}},pauseOnExit:{enumerable:!0,get:function(){return r},set:function(e){r=!!e}},startTime:{enumerable:!0,get:function(){return a},set:function(e){if(\"number\"!=typeof e)throw new TypeError(\"Start time must be set to a number.\");a=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return s},set:function(e){if(\"number\"!=typeof e)throw new TypeError(\"End time must be set to a number.\");s=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return o},set:function(e){o=\"\"+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return u},set:function(e){u=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return l},set:function(e){e=\"string\"==typeof(e=e)&&(!!xi[e.toLowerCase()]&&e.toLowerCase());if(!1===e)throw new SyntaxError(\"Vertical: an invalid or illegal direction string was specified.\");l=e,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return c},set:function(e){c=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return d},set:function(e){if(\"number\"!=typeof e&&\"auto\"!==e)throw new SyntaxError(\"Line: an invalid number or illegal string was specified.\");d=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return h},set:function(e){e=Pi(e);e&&(h=e,this.hasBeenReset=!0)}},position:{enumerable:!0,get:function(){return p},set:function(e){if(e<0||100<e)throw new Error(\"Position must be between 0 and 100.\");p=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return f},set:function(e){e=Pi(e);e&&(f=e,this.hasBeenReset=!0)}},size:{enumerable:!0,get:function(){return m},set:function(e){if(e<0||100<e)throw new Error(\"Size must be between 0 and 100.\");m=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return g},set:function(e){e=Pi(e);if(!e)throw new SyntaxError(\"align: an invalid or illegal alignment string was specified.\");g=e,this.hasBeenReset=!0}}}),this.displayState=void 0}Li.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)};var Di=Li,Oi={\"\":!0,up:!0};function Ri(e){return\"number\"==typeof e&&0<=e&&e<=100}function Mi(){var t=100,i=3,n=0,r=100,a=0,s=100,o=\"\";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!Ri(e))throw new Error(\"Width must be between 0 and 100.\");t=e}},lines:{enumerable:!0,get:function(){return i},set:function(e){if(\"number\"!=typeof e)throw new TypeError(\"Lines must be set to a number.\");i=e}},regionAnchorY:{enumerable:!0,get:function(){return r},set:function(e){if(!Ri(e))throw new Error(\"RegionAnchorX must be between 0 and 100.\");r=e}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(e){if(!Ri(e))throw new Error(\"RegionAnchorY must be between 0 and 100.\");n=e}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(e){if(!Ri(e))throw new Error(\"ViewportAnchorY must be between 0 and 100.\");s=e}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(e){if(!Ri(e))throw new Error(\"ViewportAnchorX must be between 0 and 100.\");a=e}},scroll:{enumerable:!0,get:function(){return o},set:function(e){e=\"string\"==typeof(e=e)&&(!!Oi[e.toLowerCase()]&&e.toLowerCase());!1===e||(o=e)}}})}var Ni=t(function(e){e=e.exports={WebVTT:Ii,VTTCue:Di,VTTRegion:Mi};_.vttjs=e,_.WebVTT=e.WebVTT;var t=e.VTTCue,i=e.VTTRegion,n=_.VTTCue,r=_.VTTRegion;e.shim=function(){_.VTTCue=t,_.VTTRegion=i},e.restore=function(){_.VTTCue=n,_.VTTRegion=r},_.VTTCue||e.shim()});Ni.WebVTT,Ni.VTTCue,Ni.VTTRegion;var Ui=function(n){function i(t,e){var i;return void 0===e&&(e=function(){}),(t=void 0===t?{}:t).reportTouchActivity=!1,(i=n.call(this,null,t,e)||this).onDurationChange_=function(e){return i.onDurationChange(e)},i.trackProgress_=function(e){return i.trackProgress(e)},i.trackCurrentTime_=function(e){return i.trackCurrentTime(e)},i.stopTrackingCurrentTime_=function(e){return i.stopTrackingCurrentTime(e)},i.disposeSourceHandler_=function(e){return i.disposeSourceHandler(e)},i.hasStarted_=!1,i.on(\"playing\",function(){this.hasStarted_=!0}),i.on(\"loadstart\",function(){this.hasStarted_=!1}),si.names.forEach(function(e){e=si[e];t&&t[e.getterName]&&(i[e.privateName]=t[e.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),[\"Text\",\"Audio\",\"Video\"].forEach(function(e){!1===t[\"native\"+e+\"Tracks\"]&&(i[\"featuresNative\"+e+\"Tracks\"]=!1)}),!1===t.nativeCaptions||!1===t.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.preloadTextTracks=!1!==t.preloadTextTracks,i.autoRemoteTextTracks_=new si.text.ListClass,i.initTrackListeners(),t.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||\"Unknown Tech\"),i}mt(i,n);var e=i.prototype;return e.triggerSourceset=function(e){var t=this;this.isReady_||this.one(\"ready\",function(){return t.setTimeout(function(){return t.triggerSourceset(e)},1)}),this.trigger({src:e,type:\"sourceset\"})},e.manualProgressOn=function(){this.on(\"durationchange\",this.onDurationChange_),this.manualProgress=!0,this.one(\"ready\",this.trackProgress_)},e.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off(\"durationchange\",this.onDurationChange_)},e.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(We(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger(\"progress\"),1===(this.bufferedPercent_=e)&&this.stopTrackingProgress()}),500)},e.onDurationChange=function(e){this.duration_=this.duration()},e.buffered=function(){return vt(0,0)},e.bufferedPercent=function(){return _t(this.buffered(),this.duration_)},e.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on(\"play\",this.trackCurrentTime_),this.on(\"pause\",this.stopTrackingCurrentTime_)},e.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off(\"play\",this.trackCurrentTime_),this.off(\"pause\",this.stopTrackingCurrentTime_)},e.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:\"timeupdate\",target:this,manuallyTriggered:!0})},250)},e.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:\"timeupdate\",target:this,manuallyTriggered:!0})},e.dispose=function(){this.clearTracks(ri.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),n.prototype.dispose.call(this)},e.clearTracks=function(e){var r=this;(e=[].concat(e)).forEach(function(e){for(var t=r[e+\"Tracks\"]()||[],i=t.length;i--;){var n=t[i];\"text\"===e&&r.removeRemoteTextTrack(n),t.removeTrack(n)}})},e.cleanupAutoTextTracks=function(){for(var e=this.autoRemoteTextTracks_||[],t=e.length;t--;){var i=e[t];this.removeRemoteTextTrack(i)}},e.reset=function(){},e.crossOrigin=function(){},e.setCrossOrigin=function(){},e.error=function(e){return void 0!==e&&(this.error_=new bt(e),this.trigger(\"error\")),this.error_},e.played=function(){return this.hasStarted_?vt(0,0):vt()},e.play=function(){},e.setScrubbing=function(){},e.scrubbing=function(){},e.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:\"timeupdate\",target:this,manuallyTriggered:!0})},e.initTrackListeners=function(){var r=this;ri.names.forEach(function(e){function t(){r.trigger(e+\"trackchange\")}var i=ri[e],n=r[i.getterName]();n.addEventListener(\"removetrack\",t),n.addEventListener(\"addtrack\",t),r.on(\"dispose\",function(){n.removeEventListener(\"removetrack\",t),n.removeEventListener(\"addtrack\",t)})})},e.addWebVttScript_=function(){var e,t=this;_.WebVTT||(d.body.contains(this.el())?!this.options_[\"vtt.js\"]&&E(Ni)&&0<Object.keys(Ni).length?this.trigger(\"vttjsloaded\"):((e=d.createElement(\"script\")).src=this.options_[\"vtt.js\"]||\"https://vjs.zencdn.net/vttjs/0.14.1/vtt.min.js\",e.onload=function(){t.trigger(\"vttjsloaded\")},e.onerror=function(){t.trigger(\"vttjserror\")},this.on(\"dispose\",function(){e.onload=null,e.onerror=null}),_.WebVTT=!0,this.el().parentNode.appendChild(e)):this.ready(this.addWebVttScript_))},e.emulateTextTracks=function(){function t(e){return n.addTrack(e.track)}function i(e){return n.removeTrack(e.track)}var e=this,n=this.textTracks(),r=this.remoteTextTracks();r.on(\"addtrack\",t),r.on(\"removetrack\",i),this.addWebVttScript_();function a(){return e.trigger(\"texttrackchange\")}function s(){a();for(var e=0;e<n.length;e++){var t=n[e];t.removeEventListener(\"cuechange\",a),\"showing\"===t.mode&&t.addEventListener(\"cuechange\",a)}}s(),n.addEventListener(\"change\",s),n.addEventListener(\"addtrack\",s),n.addEventListener(\"removetrack\",s),this.on(\"dispose\",function(){r.off(\"addtrack\",t),r.off(\"removetrack\",i),n.removeEventListener(\"change\",s),n.removeEventListener(\"addtrack\",s),n.removeEventListener(\"removetrack\",s);for(var e=0;e<n.length;e++)n[e].removeEventListener(\"cuechange\",a)})},e.addTextTrack=function(e,t,i){if(!e)throw new Error(\"TextTrack kind is required but was not provided\");return function(e,t,i,n,r){void 0===r&&(r={});var a=e.textTracks();return r.kind=t,i&&(r.label=i),n&&(r.language=n),r.tech=e,r=new si.text.TrackClass(r),a.addTrack(r),r}(this,e,t,i)},e.createRemoteTextTrack=function(e){e=ct(e,{tech:this});return new ai.remoteTextEl.TrackClass(e)},e.addRemoteTextTrack=function(e,t){var i=this,n=this.createRemoteTextTrack(e=void 0===e?{}:e);return!0!==t&&!1!==t&&(f.warn('Calling addRemoteTextTrack without explicitly setting the \"manualCleanup\" parameter to `true` is deprecated and default to `false` in future version of video.js'),t=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!0!==t&&this.ready(function(){return i.autoRemoteTextTracks_.addTrack(n.track)}),n},e.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},e.getVideoPlaybackQuality=function(){return{}},e.requestPictureInPicture=function(){var e=this.options_.Promise||_.Promise;if(e)return e.reject()},e.disablePictureInPicture=function(){return!0},e.setDisablePictureInPicture=function(){},e.setPoster=function(){},e.playsinline=function(){},e.setPlaysinline=function(){},e.overrideNativeAudioTracks=function(){},e.overrideNativeVideoTracks=function(){},e.canPlayType=function(){return\"\"},i.canPlayType=function(){return\"\"},i.canPlaySource=function(e,t){return i.canPlayType(e.type)},i.isTech=function(e){return e.prototype instanceof i||e instanceof i||e===i},i.registerTech=function(e,t){if(i.techs_||(i.techs_={}),!i.isTech(t))throw new Error(\"Tech \"+e+\" must be a Tech\");if(!i.canPlayType)throw new Error(\"Techs must have a static canPlayType method on them\");if(!i.canPlaySource)throw new Error(\"Techs must have a static canPlaySource method on them\");return e=lt(e),i.techs_[e]=t,i.techs_[ut(e)]=t,\"Tech\"!==e&&i.defaultTechOrder_.push(e),t},i.getTech=function(e){if(e)return i.techs_&&i.techs_[e]?i.techs_[e]:(e=lt(e),_&&_.videojs&&_.videojs[e]?(f.warn(\"The \"+e+\" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)\"),_.videojs[e]):void 0)},i}(pt);si.names.forEach(function(e){var t=si[e];Ui.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}}),Ui.prototype.featuresVolumeControl=!0,Ui.prototype.featuresMuteControl=!0,Ui.prototype.featuresFullscreenResize=!1,Ui.prototype.featuresPlaybackRate=!1,Ui.prototype.featuresProgressEvents=!1,Ui.prototype.featuresSourceset=!1,Ui.prototype.featuresTimeupdateEvents=!1,Ui.prototype.featuresNativeTextTracks=!1,Ui.withSourceHandlers=function(r){r.registerSourceHandler=function(e,t){var i=(i=r.sourceHandlers)||(r.sourceHandlers=[]);void 0===t&&(t=i.length),i.splice(t,0,e)},r.canPlayType=function(e){for(var t,i=r.sourceHandlers||[],n=0;n<i.length;n++)if(t=i[n].canPlayType(e))return t;return\"\"},r.selectSourceHandler=function(e,t){for(var i=r.sourceHandlers||[],n=0;n<i.length;n++)if(i[n].canHandleSource(e,t))return i[n];return null},r.canPlaySource=function(e,t){var i=r.selectSourceHandler(e,t);return i?i.canHandleSource(e,t):\"\"};[\"seekable\",\"seeking\",\"duration\"].forEach(function(e){var t=this[e];\"function\"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},r.prototype),r.prototype.setSource=function(e){var t=r.selectSourceHandler(e,this.options_);t||(r.nativeSourceHandler?t=r.nativeSourceHandler:f.error(\"No source handler found for the current source.\")),this.disposeSourceHandler(),this.off(\"dispose\",this.disposeSourceHandler_),t!==r.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=t.handleSource(e,this,this.options_),this.one(\"dispose\",this.disposeSourceHandler_)},r.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks([\"audio\",\"video\"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},pt.registerComponent(\"Tech\",Ui),Ui.registerTech(\"Tech\",Ui),Ui.defaultTechOrder_=[];var Bi={},Fi={},ji={};function Hi(e,t,i){e.setTimeout(function(){return function i(n,e,r,a,s,o){void 0===n&&(n={});void 0===e&&(e=[]);void 0===s&&(s=[]);void 0===o&&(o=!1);var t=e,e=t[0],u=t.slice(1);if(\"string\"==typeof e)i(n,Bi[e],r,a,s,o);else if(e){var l=Xi(a,e);if(!l.setSource)return s.push(l),i(n,u,r,a,s,o);l.setSource(T({},n),function(e,t){return e?i(n,u,r,a,s,o):(s.push(l),void i(t,n.type===t.type?u:Bi[t.type],r,a,s,o))})}else u.length?i(n,u,r,a,s,o):o?r(n,s):i(n,Bi[\"*\"],r,a,s,!0)}(t,Bi[t.type],i,e)},1)}function qi(e,t,i,n){void 0===n&&(n=null);var r=\"call\"+lt(i),r=e.reduce(Gi(r),n),n=r===ji,r=n?null:t[i](r);return function(e,t,i,n){for(var r=e.length-1;0<=r;r--){var a=e[r];a[t]&&a[t](n,i)}}(e,i,r,n),r}var Vi={buffered:1,currentTime:1,duration:1,muted:1,played:1,paused:1,seekable:1,volume:1,ended:1},Wi={setCurrentTime:1,setMuted:1,setVolume:1},zi={play:1,pause:1};function Gi(i){return function(e,t){return e===ji?ji:t[i]?t[i](e):e}}function Xi(e,t){var i=Fi[e.id()],n=null;if(null==i)return n=t(e),Fi[e.id()]=[[t,n]],n;for(var r=0;r<i.length;r++){var a=i[r],s=a[0],a=a[1];s===t&&(n=a)}return null===n&&(n=t(e),i.push([t,n])),n}function Ki(e){return e=Ut(e=void 0===e?\"\":e),Qi[e.toLowerCase()]||\"\"}function Yi(e){var t;return e=Array.isArray(e)?(t=[],e.forEach(function(e){e=Yi(e),Array.isArray(e)?t=t.concat(e):S(e)&&t.push(e)}),t):\"string\"==typeof e&&e.trim()?[$i({src:e})]:S(e)&&\"string\"==typeof e.src&&e.src&&e.src.trim()?[$i(e)]:[]}var Qi={opus:\"video/ogg\",ogv:\"video/ogg\",mp4:\"video/mp4\",mov:\"video/mp4\",m4v:\"video/mp4\",mkv:\"video/x-matroska\",m4a:\"audio/mp4\",mp3:\"audio/mpeg\",aac:\"audio/aac\",caf:\"audio/x-caf\",flac:\"audio/flac\",oga:\"audio/ogg\",wav:\"audio/wav\",m3u8:\"application/x-mpegURL\",jpg:\"image/jpeg\",jpeg:\"image/jpeg\",gif:\"image/gif\",png:\"image/png\",svg:\"image/svg+xml\",webp:\"image/webp\"};function $i(e){var t;return e.type||(t=Ki(e.src))&&(e.type=t),e}A=function(u){function e(e,t,i){var n=ct({createEl:!1},t),i=u.call(this,e,n,i)||this;if(t.playerOptions.sources&&0!==t.playerOptions.sources.length)e.src(t.playerOptions.sources);else for(var r=0,a=t.playerOptions.techOrder;r<a.length;r++){var s=lt(a[r]),o=Ui.getTech(s);if((o=!s?pt.getComponent(s):o)&&o.isSupported()){e.loadTech_(s);break}}return i}return mt(e,u),e}(pt);pt.registerComponent(\"MediaLoader\",A);B=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.handleMouseOver_=function(e){return i.handleMouseOver(e)},i.handleMouseOut_=function(e){return i.handleMouseOut(e)},i.handleClick_=function(e){return i.handleClick(e)},i.handleKeyDown_=function(e){return i.handleKeyDown(e)},i.emitTapEvents(),i.enable(),i}mt(e,n);var t=e.prototype;return t.createEl=function(e,t,i){void 0===e&&(e=\"div\"),void 0===t&&(t={}),void 0===i&&(i={}),t=T({innerHTML:'<span aria-hidden=\"true\" class=\"vjs-icon-placeholder\"></span>',className:this.buildCSSClass(),tabIndex:0},t),\"button\"===e&&f.error(\"Creating a ClickableComponent with an HTML element of \"+e+\" is not supported; use a Button instead.\"),i=T({role:\"button\"},i),this.tabIndex_=t.tabIndex;i=n.prototype.createEl.call(this,e,t,i);return this.createControlTextEl(i),i},t.dispose=function(){this.controlTextEl_=null,n.prototype.dispose.call(this)},t.createControlTextEl=function(e){return this.controlTextEl_=J(\"span\",{className:\"vjs-control-text\"},{\"aria-live\":\"polite\"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.controlText=function(e,t){if(void 0===t&&(t=this.el()),void 0===e)return this.controlText_||\"Need Text\";var i=this.localize(e);this.controlText_=e,Z(this.controlTextEl_,i),this.nonIconControl||this.player_.options_.noUITitleAttributes||t.setAttribute(\"title\",i)},t.buildCSSClass=function(){return\"vjs-control vjs-button \"+n.prototype.buildCSSClass.call(this)},t.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass(\"vjs-disabled\"),this.el_.setAttribute(\"aria-disabled\",\"false\"),\"undefined\"!=typeof this.tabIndex_&&this.el_.setAttribute(\"tabIndex\",this.tabIndex_),this.on([\"tap\",\"click\"],this.handleClick_),this.on(\"keydown\",this.handleKeyDown_))},t.disable=function(){this.enabled_=!1,this.addClass(\"vjs-disabled\"),this.el_.setAttribute(\"aria-disabled\",\"true\"),\"undefined\"!=typeof this.tabIndex_&&this.el_.removeAttribute(\"tabIndex\"),this.off(\"mouseover\",this.handleMouseOver_),this.off(\"mouseout\",this.handleMouseOut_),this.off([\"tap\",\"click\"],this.handleClick_),this.off(\"keydown\",this.handleKeyDown_)},t.handleLanguagechange=function(){this.controlText(this.controlText_)},t.handleClick=function(e){this.options_.clickHandler&&this.options_.clickHandler.call(this,arguments)},t.handleKeyDown=function(e){xt.isEventKey(e,\"Space\")||xt.isEventKey(e,\"Enter\")?(e.preventDefault(),e.stopPropagation(),this.trigger(\"click\")):n.prototype.handleKeyDown.call(this,e)},e}(pt);pt.registerComponent(\"ClickableComponent\",B),pt.registerComponent(\"PosterImage\",function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.update(),i.update_=function(e){return i.update(e)},e.on(\"posterchange\",i.update_),i}mt(e,n);var t=e.prototype;return t.dispose=function(){this.player().off(\"posterchange\",this.update_),n.prototype.dispose.call(this)},t.createEl=function(){return J(\"div\",{className:\"vjs-poster\",tabIndex:-1})},t.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.setSrc=function(e){this.el_.style.backgroundImage=e?'url(\"'+e+'\")':\"\"},t.handleClick=function(e){var t;this.player_.controls()&&(t=this.player_.usingPlugin(\"eme\")&&this.player_.eme.sessions&&0<this.player_.eme.sessions.length,!this.player_.tech(!0)||(U||R)&&t||this.player_.tech(!0).focus(),this.player_.paused()?kt(this.player_.play()):this.player_.pause())},e}(B));var Ji=\"#222\",Zi={monospace:\"monospace\",sansSerif:\"sans-serif\",serif:\"serif\",monospaceSansSerif:'\"Andale Mono\", \"Lucida Console\", monospace',monospaceSerif:'\"Courier New\", monospace',proportionalSansSerif:\"sans-serif\",proportionalSerif:\"serif\",casual:'\"Comic Sans MS\", Impact, fantasy',script:'\"Monotype Corsiva\", cursive',smallcaps:'\"Andale Mono\", \"Lucida Console\", monospace, sans-serif'};function en(e,t){var i;if(4===e.length)i=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error(\"Invalid color code provided, \"+e+\"; must be formatted as e.g. #f0e or #f604e2.\");i=e.slice(1)}return\"rgba(\"+parseInt(i.slice(0,2),16)+\",\"+parseInt(i.slice(2,4),16)+\",\"+parseInt(i.slice(4,6),16)+\",\"+t+\")\"}function tn(e,t,i){try{e.style[t]=i}catch(e){return}}pt.registerComponent(\"TextTrackDisplay\",function(a){function e(i,e,t){function n(e){return r.updateDisplay(e)}var r=a.call(this,i,e,t)||this;return i.on(\"loadstart\",function(e){return r.toggleDisplay(e)}),i.on(\"texttrackchange\",n),i.on(\"loadedmetadata\",function(e){return r.preselectTrack(e)}),i.ready(We(ft(r),function(){if(i.tech_&&i.tech_.featuresNativeTextTracks)this.hide();else{i.on(\"fullscreenchange\",n),i.on(\"playerresize\",n),_.addEventListener(\"orientationchange\",n),i.on(\"dispose\",function(){return _.removeEventListener(\"orientationchange\",n)});for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++)this.player_.addRemoteTextTrack(e[t],!0);this.preselectTrack()}})),r}mt(e,a);var t=e.prototype;return t.preselectTrack=function(){for(var e,t,i,n={captions:1,subtitles:1},r=this.player_.textTracks(),a=this.player_.cache_.selectedLanguage,s=0;s<r.length;s++){var o=r[s];a&&a.enabled&&a.language&&a.language===o.language&&o.kind in n?i=o.kind!==a.kind&&i||o:a&&!a.enabled?t=e=i=null:o.default&&(\"descriptions\"!==o.kind||e?o.kind in n&&!t&&(t=o):e=o)}i?i.mode=\"showing\":t?t.mode=\"showing\":e&&(e.mode=\"showing\")},t.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},t.createEl=function(){return a.prototype.createEl.call(this,\"div\",{className:\"vjs-text-track-display\"},{\"aria-live\":\"off\",\"aria-atomic\":\"true\"})},t.clearDisplay=function(){\"function\"==typeof _.WebVTT&&_.WebVTT.processCues(_,[],this.el_)},t.updateDisplay=function(){var e=this.player_.textTracks(),t=this.options_.allowMultipleShowingTracks;if(this.clearDisplay(),t){for(var i=[],n=0;n<e.length;++n){var r=e[n];\"showing\"===r.mode&&i.push(r)}this.updateForTrack(i)}else{for(var a=null,s=null,o=e.length;o--;){var u=e[o];\"showing\"===u.mode&&(\"descriptions\"===u.kind?a=u:s=u)}s?(\"off\"!==this.getAttribute(\"aria-live\")&&this.setAttribute(\"aria-live\",\"off\"),this.updateForTrack(s)):a&&(\"assertive\"!==this.getAttribute(\"aria-live\")&&this.setAttribute(\"aria-live\",\"assertive\"),this.updateForTrack(a))}},t.updateDisplayState=function(e){for(var t=this.player_.textTrackSettings.getValues(),i=e.activeCues,n=i.length;n--;){var r,a=i[n];a&&(r=a.displayState,t.color&&(r.firstChild.style.color=t.color),t.textOpacity&&tn(r.firstChild,\"color\",en(t.color||\"#fff\",t.textOpacity)),t.backgroundColor&&(r.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&tn(r.firstChild,\"backgroundColor\",en(t.backgroundColor||\"#000\",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?tn(r,\"backgroundColor\",en(t.windowColor,t.windowOpacity)):r.style.backgroundColor=t.windowColor),t.edgeStyle&&(\"dropshadow\"===t.edgeStyle?r.firstChild.style.textShadow=\"2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px \"+Ji:\"raised\"===t.edgeStyle?r.firstChild.style.textShadow=\"1px 1px #222, 2px 2px #222, 3px 3px \"+Ji:\"depressed\"===t.edgeStyle?r.firstChild.style.textShadow=\"1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px \"+Ji:\"uniform\"===t.edgeStyle&&(r.firstChild.style.textShadow=\"0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px \"+Ji)),t.fontPercent&&1!==t.fontPercent&&(a=_.parseFloat(r.style.fontSize),r.style.fontSize=a*t.fontPercent+\"px\",r.style.height=\"auto\",r.style.top=\"auto\"),t.fontFamily&&\"default\"!==t.fontFamily&&(\"small-caps\"===t.fontFamily?r.firstChild.style.fontVariant=\"small-caps\":r.firstChild.style.fontFamily=Zi[t.fontFamily]))}},t.updateForTrack=function(e){if(Array.isArray(e)||(e=[e]),\"function\"==typeof _.WebVTT&&!e.every(function(e){return!e.activeCues})){for(var t=[],i=0;i<e.length;++i)for(var n=e[i],r=0;r<n.activeCues.length;++r)t.push(n.activeCues[r]);_.WebVTT.processCues(_,t,this.el_);for(var a=0;a<e.length;++a){for(var s=e[a],o=0;o<s.activeCues.length;++o){var u=s.activeCues[o].displayState;ie(u,\"vjs-text-track-cue\"),ie(u,\"vjs-text-track-cue-\"+(s.language||a))}this.player_.textTrackSettings&&this.updateDisplayState(s)}}},e}(pt)),pt.registerComponent(\"LoadingSpinner\",function(i){function e(){return i.apply(this,arguments)||this}return mt(e,i),e.prototype.createEl=function(){var e=this.player_.isAudio(),t=this.localize(e?\"Audio Player\":\"Video Player\"),e=J(\"span\",{className:\"vjs-control-text\",innerHTML:this.localize(\"{1} is loading.\",[t])}),t=i.prototype.createEl.call(this,\"div\",{className:\"vjs-loading-spinner\",dir:\"ltr\"});return t.appendChild(e),t},e}(pt));var nn=function(t){function e(){return t.apply(this,arguments)||this}mt(e,t);var i=e.prototype;return i.createEl=function(e,t,i){void 0===t&&(t={}),void 0===i&&(i={}),t=T({innerHTML:'<span aria-hidden=\"true\" class=\"vjs-icon-placeholder\"></span>',className:this.buildCSSClass()},t),i=T({type:\"button\"},i);i=pt.prototype.createEl.call(this,\"button\",t,i);return this.createControlTextEl(i),i},i.addChild=function(e,t){void 0===t&&(t={});var i=this.constructor.name;return f.warn(\"Adding an actionable (user controllable) child to a Button (\"+i+\") is not supported; use a ClickableComponent instead.\"),pt.prototype.addChild.call(this,e,t)},i.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute(\"disabled\")},i.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute(\"disabled\",\"disabled\")},i.handleKeyDown=function(e){xt.isEventKey(e,\"Space\")||xt.isEventKey(e,\"Enter\")?e.stopPropagation():t.prototype.handleKeyDown.call(this,e)},e}(B);pt.registerComponent(\"Button\",nn);H=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.mouseused_=!1,i.on(\"mousedown\",function(e){return i.handleMouseDown(e)}),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-big-play-button\"},t.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY){var i=this.player_.usingPlugin(\"eme\")&&this.player_.eme.sessions&&0<this.player_.eme.sessions.length;return kt(t),void(!this.player_.tech(!0)||(U||R)&&i||this.player_.tech(!0).focus())}var i=this.player_.getChild(\"controlBar\"),n=i&&i.getChild(\"playToggle\");n?(i=function(){return n.focus()},Et(t)?t.then(i,function(){}):this.setTimeout(i,1)):this.player_.tech(!0).focus()},t.handleKeyDown=function(e){this.mouseused_=!1,n.prototype.handleKeyDown.call(this,e)},t.handleMouseDown=function(e){this.mouseused_=!0},e}(nn);H.prototype.controlText_=\"Play Video\",pt.registerComponent(\"BigPlayButton\",H),pt.registerComponent(\"CloseButton\",function(i){function e(e,t){e=i.call(this,e,t)||this;return e.controlText(t&&t.controlText||e.localize(\"Close\")),e}mt(e,i);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-close-button \"+i.prototype.buildCSSClass.call(this)},t.handleClick=function(e){this.trigger({type:\"close\",bubbles:!1})},t.handleKeyDown=function(e){xt.isEventKey(e,\"Esc\")?(e.preventDefault(),e.stopPropagation(),this.trigger(\"click\")):i.prototype.handleKeyDown.call(this,e)},e}(nn));var rn=function(n){function e(e,t){var i=n.call(this,e,t=void 0===t?{}:t)||this;return t.replay=void 0===t.replay||t.replay,i.on(e,\"play\",function(e){return i.handlePlay(e)}),i.on(e,\"pause\",function(e){return i.handlePause(e)}),t.replay&&i.on(e,\"ended\",function(e){return i.handleEnded(e)}),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-play-control \"+n.prototype.buildCSSClass.call(this)},t.handleClick=function(e){this.player_.paused()?kt(this.player_.play()):this.player_.pause()},t.handleSeeked=function(e){this.removeClass(\"vjs-ended\"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},t.handlePlay=function(e){this.removeClass(\"vjs-ended\"),this.removeClass(\"vjs-paused\"),this.addClass(\"vjs-playing\"),this.controlText(\"Pause\")},t.handlePause=function(e){this.removeClass(\"vjs-playing\"),this.addClass(\"vjs-paused\"),this.controlText(\"Play\")},t.handleEnded=function(e){var t=this;this.removeClass(\"vjs-playing\"),this.addClass(\"vjs-ended\"),this.controlText(\"Replay\"),this.one(this.player_,\"seeked\",function(e){return t.handleSeeked(e)})},e}(nn);rn.prototype.controlText_=\"Play\",pt.registerComponent(\"PlayToggle\",rn);function an(e,t){e=e<0?0:e;var i=Math.floor(e%60),n=Math.floor(e/60%60),r=Math.floor(e/3600),a=Math.floor(t/60%60),t=Math.floor(t/3600);return(r=0<(r=isNaN(e)||e===1/0?n=i=\"-\":r)||0<t?r+\":\":\"\")+(n=((r||10<=a)&&n<10?\"0\"+n:n)+\":\")+(i=i<10?\"0\"+i:i)}var sn=an;function on(e,t){return sn(e,t=void 0===t?e:t)}I=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(e,[\"timeupdate\",\"ended\"],function(e){return i.updateContent(e)}),i.updateTextNode_(),i}mt(e,n);var t=e.prototype;return t.createEl=function(){var e=this.buildCSSClass(),t=n.prototype.createEl.call(this,\"div\",{className:e+\" vjs-time-control vjs-control\",innerHTML:'<span class=\"vjs-control-text\" role=\"presentation\">'+this.localize(this.labelText_)+\" </span>\"});return this.contentEl_=J(\"span\",{className:e+\"-display\"},{\"aria-live\":\"off\",role:\"presentation\"}),t.appendChild(this.contentEl_),t},t.dispose=function(){this.contentEl_=null,this.textNode_=null,n.prototype.dispose.call(this)},t.updateTextNode_=function(e){var t=this;e=on(e=void 0===e?0:e),this.formattedTime_!==e&&(this.formattedTime_=e,this.requestNamedAnimationFrame(\"TimeDisplay#updateTextNode_\",function(){var e;t.contentEl_&&((e=t.textNode_)&&t.contentEl_.firstChild!==e&&(e=null,f.warn(\"TimeDisplay#updateTextnode_: Prevented replacement of text node element since it was no longer a child of this node. Appending a new node instead.\")),t.textNode_=d.createTextNode(t.formattedTime_),t.textNode_&&(e?t.contentEl_.replaceChild(t.textNode_,e):t.contentEl_.appendChild(t.textNode_)))}))},t.updateContent=function(e){},e}(pt);I.prototype.labelText_=\"Time\",I.prototype.controlText_=\"Time\",pt.registerComponent(\"TimeDisplay\",I);w=function(e){function t(){return e.apply(this,arguments)||this}mt(t,e);var i=t.prototype;return i.buildCSSClass=function(){return\"vjs-current-time\"},i.updateContent=function(e){var t=this.player_.ended()?this.player_.duration():this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateTextNode_(t)},t}(I);w.prototype.labelText_=\"Current Time\",w.prototype.controlText_=\"Current Time\",pt.registerComponent(\"CurrentTimeDisplay\",w);Ft=function(n){function e(e,t){var i=n.call(this,e,t)||this,t=function(e){return i.updateContent(e)};return i.on(e,\"durationchange\",t),i.on(e,\"loadstart\",t),i.on(e,\"loadedmetadata\",t),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-duration\"},t.updateContent=function(e){var t=this.player_.duration();this.updateTextNode_(t)},e}(I);Ft.prototype.labelText_=\"Duration\",Ft.prototype.controlText_=\"Duration\",pt.registerComponent(\"DurationDisplay\",Ft),pt.registerComponent(\"TimeDivider\",function(e){function t(){return e.apply(this,arguments)||this}return mt(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,\"div\",{className:\"vjs-time-control vjs-time-divider\",innerHTML:\"<div><span>/</span></div>\"},{\"aria-hidden\":!0})},t}(pt));e=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(e,\"durationchange\",function(e){return i.updateContent(e)}),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-remaining-time\"},t.createEl=function(){var e=n.prototype.createEl.call(this);return e.insertBefore(J(\"span\",{},{\"aria-hidden\":!0},\"-\"),this.contentEl_),e},t.updateContent=function(e){var t;\"number\"==typeof this.player_.duration()&&(t=this.player_.ended()?0:this.player_.remainingTimeDisplay?this.player_.remainingTimeDisplay():this.player_.remainingTime(),this.updateTextNode_(t))},e}(I);e.prototype.labelText_=\"Remaining Time\",e.prototype.controlText_=\"Remaining Time\",pt.registerComponent(\"RemainingTimeDisplay\",e),pt.registerComponent(\"LiveDisplay\",function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.updateShowing(),i.on(i.player(),\"durationchange\",function(e){return i.updateShowing(e)}),i}mt(e,n);var t=e.prototype;return t.createEl=function(){var e=n.prototype.createEl.call(this,\"div\",{className:\"vjs-live-control vjs-control\"});return this.contentEl_=J(\"div\",{className:\"vjs-live-display\",innerHTML:'<span class=\"vjs-control-text\">'+this.localize(\"Stream Type\")+\" </span>\"+this.localize(\"LIVE\")},{\"aria-live\":\"off\"}),e.appendChild(this.contentEl_),e},t.dispose=function(){this.contentEl_=null,n.prototype.dispose.call(this)},t.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},e}(pt));n=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.updateLiveEdgeStatus(),i.player_.liveTracker&&(i.updateLiveEdgeStatusHandler_=function(e){return i.updateLiveEdgeStatus(e)},i.on(i.player_.liveTracker,\"liveedgechange\",i.updateLiveEdgeStatusHandler_)),i}mt(e,n);var t=e.prototype;return t.createEl=function(){var e=n.prototype.createEl.call(this,\"button\",{className:\"vjs-seek-to-live-control vjs-control\"});return this.textEl_=J(\"span\",{className:\"vjs-seek-to-live-text\",innerHTML:this.localize(\"LIVE\")},{\"aria-hidden\":\"true\"}),e.appendChild(this.textEl_),e},t.updateLiveEdgeStatus=function(){!this.player_.liveTracker||this.player_.liveTracker.atLiveEdge()?(this.setAttribute(\"aria-disabled\",!0),this.addClass(\"vjs-at-live-edge\"),this.controlText(\"Seek to live, currently playing live\")):(this.setAttribute(\"aria-disabled\",!1),this.removeClass(\"vjs-at-live-edge\"),this.controlText(\"Seek to live, currently behind live\"))},t.handleClick=function(){this.player_.liveTracker.seekToLiveEdge()},t.dispose=function(){this.player_.liveTracker&&this.off(this.player_.liveTracker,\"liveedgechange\",this.updateLiveEdgeStatusHandler_),this.textEl_=null,n.prototype.dispose.call(this)},e}(nn);n.prototype.controlText_=\"Seek to live, currently playing live\",pt.registerComponent(\"SeekToLive\",n);function un(e,t,i){return e=Number(e),Math.min(i,Math.max(t,isNaN(e)?t:e))}r=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.handleMouseDown_=function(e){return i.handleMouseDown(e)},i.handleMouseUp_=function(e){return i.handleMouseUp(e)},i.handleKeyDown_=function(e){return i.handleKeyDown(e)},i.handleClick_=function(e){return i.handleClick(e)},i.handleMouseMove_=function(e){return i.handleMouseMove(e)},i.update_=function(e){return i.update(e)},i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}mt(e,n);var t=e.prototype;return t.enabled=function(){return this.enabled_},t.enable=function(){this.enabled()||(this.on(\"mousedown\",this.handleMouseDown_),this.on(\"touchstart\",this.handleMouseDown_),this.on(\"keydown\",this.handleKeyDown_),this.on(\"click\",this.handleClick_),this.on(this.player_,\"controlsvisible\",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass(\"disabled\"),this.setAttribute(\"tabindex\",0),this.enabled_=!0)},t.disable=function(){var e;this.enabled()&&(e=this.bar.el_.ownerDocument,this.off(\"mousedown\",this.handleMouseDown_),this.off(\"touchstart\",this.handleMouseDown_),this.off(\"keydown\",this.handleKeyDown_),this.off(\"click\",this.handleClick_),this.off(this.player_,\"controlsvisible\",this.update_),this.off(e,\"mousemove\",this.handleMouseMove_),this.off(e,\"mouseup\",this.handleMouseUp_),this.off(e,\"touchmove\",this.handleMouseMove_),this.off(e,\"touchend\",this.handleMouseUp_),this.removeAttribute(\"tabindex\"),this.addClass(\"disabled\"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1)},t.createEl=function(e,t,i){return void 0===i&&(i={}),(t=void 0===t?{}:t).className=t.className+\" vjs-slider\",t=T({tabIndex:0},t),i=T({role:\"slider\",\"aria-valuenow\":0,\"aria-valuemin\":0,\"aria-valuemax\":100,tabIndex:0},i),n.prototype.createEl.call(this,e,t,i)},t.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;\"mousedown\"===e.type&&e.preventDefault(),\"touchstart\"!==e.type||M||e.preventDefault(),ce(),this.addClass(\"vjs-sliding\"),this.trigger(\"slideractive\"),this.on(t,\"mousemove\",this.handleMouseMove_),this.on(t,\"mouseup\",this.handleMouseUp_),this.on(t,\"touchmove\",this.handleMouseMove_),this.on(t,\"touchend\",this.handleMouseUp_),this.handleMouseMove(e)},t.handleMouseMove=function(e){},t.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;de(),this.removeClass(\"vjs-sliding\"),this.trigger(\"sliderinactive\"),this.off(e,\"mousemove\",this.handleMouseMove_),this.off(e,\"mouseup\",this.handleMouseUp_),this.off(e,\"touchmove\",this.handleMouseMove_),this.off(e,\"touchend\",this.handleMouseUp_),this.update()},t.update=function(){var t=this;if(this.el_&&this.bar){var i=this.getProgress();return i===this.progress_?i:(this.progress_=i,this.requestNamedAnimationFrame(\"Slider#update\",function(){var e=t.vertical()?\"height\":\"width\";t.bar.el().style[e]=(100*i).toFixed(2)+\"%\"}),i)}},t.getProgress=function(){return Number(un(this.getPercent(),0,1).toFixed(4))},t.calculateDistance=function(e){e=fe(this.el_,e);return this.vertical()?e.y:e.x},t.handleKeyDown=function(e){xt.isEventKey(e,\"Left\")||xt.isEventKey(e,\"Down\")?(e.preventDefault(),e.stopPropagation(),this.stepBack()):xt.isEventKey(e,\"Right\")||xt.isEventKey(e,\"Up\")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):n.prototype.handleKeyDown.call(this,e)},t.handleClick=function(e){e.stopPropagation(),e.preventDefault()},t.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass(\"vjs-slider-vertical\"):this.addClass(\"vjs-slider-horizontal\")},e}(pt);pt.registerComponent(\"Slider\",r);function ln(e,t){return un(e/t*100,0,100).toFixed(2)+\"%\"}pt.registerComponent(\"LoadProgressBar\",function(r){function e(e,t){var i=r.call(this,e,t)||this;return i.partEls_=[],i.on(e,\"progress\",function(e){return i.update(e)}),i}mt(e,r);var t=e.prototype;return t.createEl=function(){var e=r.prototype.createEl.call(this,\"div\",{className:\"vjs-load-progress\"}),t=J(\"span\",{className:\"vjs-control-text\"}),i=J(\"span\",{textContent:this.localize(\"Loaded\")}),n=d.createTextNode(\": \");return this.percentageEl_=J(\"span\",{className:\"vjs-control-text-loaded-percentage\",textContent:\"0%\"}),e.appendChild(t),t.appendChild(i),t.appendChild(n),t.appendChild(this.percentageEl_),e},t.dispose=function(){this.partEls_=null,this.percentageEl_=null,r.prototype.dispose.call(this)},t.update=function(e){var l=this;this.requestNamedAnimationFrame(\"LoadProgressBar#update\",function(){var e=l.player_.liveTracker,t=l.player_.buffered(),e=e&&e.isLive()?e.seekableEnd():l.player_.duration(),i=l.player_.bufferedEnd(),n=l.partEls_,e=ln(i,e);l.percent_!==e&&(l.el_.style.width=e,Z(l.percentageEl_,e),l.percent_=e);for(var r=0;r<t.length;r++){var a=t.start(r),s=t.end(r),o=n[r];o||(o=l.el_.appendChild(J()),n[r]=o),o.dataset.start===a&&o.dataset.end===s||(o.dataset.start=a,o.dataset.end=s,o.style.left=ln(a,i),o.style.width=ln(s-a,i))}for(var u=n.length;u>t.length;u--)l.el_.removeChild(n[u-1]);n.length=t.length})},e}(pt)),pt.registerComponent(\"TimeTooltip\",function(i){function e(e,t){t=i.call(this,e,t)||this;return t.update=ze(We(ft(t),t.update),30),t}mt(e,i);var t=e.prototype;return t.createEl=function(){return i.prototype.createEl.call(this,\"div\",{className:\"vjs-time-tooltip\"},{\"aria-hidden\":\"true\"})},t.update=function(e,t,i){var n=pe(this.el_),r=he(this.player_.el()),a=e.width*t;r&&n&&(t=e.left-r.left+a,r=e.width-a+(r.right-e.right),t<(e=n.width/2)?e+=e-t:r<e&&(e=r),e<0?e=0:e>n.width&&(e=n.width),e=Math.round(e),this.el_.style.right=\"-\"+e+\"px\",this.write(i))},t.write=function(e){Z(this.el_,e)},t.updateTime=function(n,r,a,s){var o=this;this.requestNamedAnimationFrame(\"TimeTooltip#updateTime\",function(){var e,t,i=o.player_.duration();i=o.player_.liveTracker&&o.player_.liveTracker.isLive()?((t=(e=o.player_.liveTracker.liveWindow())-r*e)<1?\"\":\"-\")+on(t,e):on(a,i),o.update(n,r,i),s&&s()})},e}(pt));x=function(i){function e(e,t){t=i.call(this,e,t)||this;return t.update=ze(We(ft(t),t.update),30),t}mt(e,i);var t=e.prototype;return t.createEl=function(){return i.prototype.createEl.call(this,\"div\",{className:\"vjs-play-progress vjs-slider-bar\"},{\"aria-hidden\":\"true\"})},t.update=function(e,t){var i,n=this.getChild(\"timeTooltip\");n&&(i=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),n.updateTime(e,t,i))},e}(pt);x.prototype.options_={children:[]},V||P||x.prototype.options_.children.push(\"timeTooltip\"),pt.registerComponent(\"PlayProgressBar\",x);A=function(i){function e(e,t){t=i.call(this,e,t)||this;return t.update=ze(We(ft(t),t.update),30),t}mt(e,i);var t=e.prototype;return t.createEl=function(){return i.prototype.createEl.call(this,\"div\",{className:\"vjs-mouse-display\"})},t.update=function(e,t){var i=this,n=t*this.player_.duration();this.getChild(\"timeTooltip\").updateTime(e,t,n,function(){i.el_.style.left=e.width*t+\"px\"})},e}(pt);A.prototype.options_={children:[\"timeTooltip\"]},pt.registerComponent(\"MouseTimeDisplay\",A);H=function(a){function e(e,t){t=a.call(this,e,t)||this;return t.setEventHandlers_(),t}mt(e,a);var t=e.prototype;return t.setEventHandlers_=function(){var t=this;this.update_=We(this,this.update),this.update=ze(this.update_,30),this.on(this.player_,[\"ended\",\"durationchange\",\"timeupdate\"],this.update),this.player_.liveTracker&&this.on(this.player_.liveTracker,\"liveedgechange\",this.update),this.updateInterval=null,this.enableIntervalHandler_=function(e){return t.enableInterval_(e)},this.disableIntervalHandler_=function(e){return t.disableInterval_(e)},this.on(this.player_,[\"playing\"],this.enableIntervalHandler_),this.on(this.player_,[\"ended\",\"pause\",\"waiting\"],this.disableIntervalHandler_),\"hidden\"in d&&\"visibilityState\"in d&&this.on(d,\"visibilitychange\",this.toggleVisibility_)},t.toggleVisibility_=function(e){\"hidden\"===d.visibilityState?(this.cancelNamedAnimationFrame(\"SeekBar#update\"),this.cancelNamedAnimationFrame(\"Slider#update\"),this.disableInterval_(e)):(this.player_.ended()||this.player_.paused()||this.enableInterval_(),this.update())},t.enableInterval_=function(){this.updateInterval||(this.updateInterval=this.setInterval(this.update,30))},t.disableInterval_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&e&&\"ended\"!==e.type||this.updateInterval&&(this.clearInterval(this.updateInterval),this.updateInterval=null)},t.createEl=function(){return a.prototype.createEl.call(this,\"div\",{className:\"vjs-progress-holder\"},{\"aria-label\":this.localize(\"Progress Bar\")})},t.update=function(e){var n=this;if(\"hidden\"!==d.visibilityState){var r=a.prototype.update.call(this);return this.requestNamedAnimationFrame(\"SeekBar#update\",function(){var e=n.player_.ended()?n.player_.duration():n.getCurrentTime_(),t=n.player_.liveTracker,i=n.player_.duration();t&&t.isLive()&&(i=n.player_.liveTracker.liveCurrentTime()),n.percent_!==r&&(n.el_.setAttribute(\"aria-valuenow\",(100*r).toFixed(2)),n.percent_=r),n.currentTime_===e&&n.duration_===i||(n.el_.setAttribute(\"aria-valuetext\",n.localize(\"progress bar timing: currentTime={1} duration={2}\",[on(e,i),on(i,i)],\"{1} of {2}\")),n.currentTime_=e,n.duration_=i),n.bar&&n.bar.update(he(n.el()),n.getProgress())}),r}},t.userSeek_=function(e){this.player_.liveTracker&&this.player_.liveTracker.isLive()&&this.player_.liveTracker.nextSeekedFromUser(),this.player_.currentTime(e)},t.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},t.getPercent=function(){var e,t=this.getCurrentTime_(),i=this.player_.liveTracker;return i&&i.isLive()?(e=(t-i.seekableStart())/i.liveWindow(),i.atLiveEdge()&&(e=1)):e=t/this.player_.duration(),e},t.handleMouseDown=function(e){be(e)&&(e.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),a.prototype.handleMouseDown.call(this,e))},t.handleMouseMove=function(e){if(be(e)){var t=this.calculateDistance(e),i=this.player_.liveTracker;if(i&&i.isLive()){if(.99<=t)return void i.seekToLiveEdge();var n,r=i.seekableStart(),e=i.liveCurrentTime();if((n=(n=e<=(n=r+t*i.liveWindow())?e:n)<=r?r+.1:n)===1/0)return}else(n=t*this.player_.duration())===this.player_.duration()&&(n-=.1);this.userSeek_(n)}},t.enable=function(){a.prototype.enable.call(this);var e=this.getChild(\"mouseTimeDisplay\");e&&e.show()},t.disable=function(){a.prototype.disable.call(this);var e=this.getChild(\"mouseTimeDisplay\");e&&e.hide()},t.handleMouseUp=function(e){a.prototype.handleMouseUp.call(this,e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:\"timeupdate\",target:this,manuallyTriggered:!0}),this.videoWasPlaying?kt(this.player_.play()):this.update_()},t.stepForward=function(){this.userSeek_(this.player_.currentTime()+5)},t.stepBack=function(){this.userSeek_(this.player_.currentTime()-5)},t.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.handleKeyDown=function(e){var t,i=this.player_.liveTracker;xt.isEventKey(e,\"Space\")||xt.isEventKey(e,\"Enter\")?(e.preventDefault(),e.stopPropagation(),this.handleAction(e)):xt.isEventKey(e,\"Home\")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(0)):xt.isEventKey(e,\"End\")?(e.preventDefault(),e.stopPropagation(),i&&i.isLive()?this.userSeek_(i.liveCurrentTime()):this.userSeek_(this.player_.duration())):/^[0-9]$/.test(xt(e))?(e.preventDefault(),e.stopPropagation(),t=10*(xt.codes[xt(e)]-xt.codes[0])/100,i&&i.isLive()?this.userSeek_(i.seekableStart()+i.liveWindow()*t):this.userSeek_(this.player_.duration()*t)):xt.isEventKey(e,\"PgDn\")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()-60)):xt.isEventKey(e,\"PgUp\")?(e.preventDefault(),e.stopPropagation(),this.userSeek_(this.player_.currentTime()+60)):a.prototype.handleKeyDown.call(this,e)},t.dispose=function(){this.disableInterval_(),this.off(this.player_,[\"ended\",\"durationchange\",\"timeupdate\"],this.update),this.player_.liveTracker&&this.off(this.player_.liveTracker,\"liveedgechange\",this.update),this.off(this.player_,[\"playing\"],this.enableIntervalHandler_),this.off(this.player_,[\"ended\",\"pause\",\"waiting\"],this.disableIntervalHandler_),\"hidden\"in d&&\"visibilityState\"in d&&this.off(d,\"visibilitychange\",this.toggleVisibility_),a.prototype.dispose.call(this)},e}(r);H.prototype.options_={children:[\"loadProgressBar\",\"playProgressBar\"],barName:\"playProgressBar\"},V||P||H.prototype.options_.children.splice(1,0,\"mouseTimeDisplay\"),pt.registerComponent(\"SeekBar\",H);rn=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.handleMouseMove=ze(We(ft(i),i.handleMouseMove),30),i.throttledHandleMouseSeek=ze(We(ft(i),i.handleMouseSeek),30),i.handleMouseUpHandler_=function(e){return i.handleMouseUp(e)},i.handleMouseDownHandler_=function(e){return i.handleMouseDown(e)},i.enable(),i}mt(e,n);var t=e.prototype;return t.createEl=function(){return n.prototype.createEl.call(this,\"div\",{className:\"vjs-progress-control vjs-control\"})},t.handleMouseMove=function(e){var t,i,n,r,a=this.getChild(\"seekBar\");a&&(t=a.getChild(\"playProgressBar\"),i=a.getChild(\"mouseTimeDisplay\"),(t||i)&&(r=pe(n=a.el()),e=fe(n,e).x,e=un(e,0,1),i&&i.update(r,e),t&&t.update(r,a.getProgress())))},t.handleMouseSeek=function(e){var t=this.getChild(\"seekBar\");t&&t.handleMouseMove(e)},t.enabled=function(){return this.enabled_},t.disable=function(){var e;this.children().forEach(function(e){return e.disable&&e.disable()}),this.enabled()&&(this.off([\"mousedown\",\"touchstart\"],this.handleMouseDownHandler_),this.off(this.el_,\"mousemove\",this.handleMouseMove),this.removeListenersAddedOnMousedownAndTouchstart(),this.addClass(\"disabled\"),this.enabled_=!1,this.player_.scrubbing()&&(e=this.getChild(\"seekBar\"),this.player_.scrubbing(!1),e.videoWasPlaying&&kt(this.player_.play())))},t.enable=function(){this.children().forEach(function(e){return e.enable&&e.enable()}),this.enabled()||(this.on([\"mousedown\",\"touchstart\"],this.handleMouseDownHandler_),this.on(this.el_,\"mousemove\",this.handleMouseMove),this.removeClass(\"disabled\"),this.enabled_=!0)},t.removeListenersAddedOnMousedownAndTouchstart=function(){var e=this.el_.ownerDocument;this.off(e,\"mousemove\",this.throttledHandleMouseSeek),this.off(e,\"touchmove\",this.throttledHandleMouseSeek),this.off(e,\"mouseup\",this.handleMouseUpHandler_),this.off(e,\"touchend\",this.handleMouseUpHandler_)},t.handleMouseDown=function(e){var t=this.el_.ownerDocument,i=this.getChild(\"seekBar\");i&&i.handleMouseDown(e),this.on(t,\"mousemove\",this.throttledHandleMouseSeek),this.on(t,\"touchmove\",this.throttledHandleMouseSeek),this.on(t,\"mouseup\",this.handleMouseUpHandler_),this.on(t,\"touchend\",this.handleMouseUpHandler_)},t.handleMouseUp=function(e){var t=this.getChild(\"seekBar\");t&&t.handleMouseUp(e),this.removeListenersAddedOnMousedownAndTouchstart()},e}(pt);rn.prototype.options_={children:[\"seekBar\"]},pt.registerComponent(\"ProgressControl\",rn);w=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(e,[\"enterpictureinpicture\",\"leavepictureinpicture\"],function(e){return i.handlePictureInPictureChange(e)}),i.on(e,[\"disablepictureinpicturechanged\",\"loadedmetadata\"],function(e){return i.handlePictureInPictureEnabledChange(e)}),i.disable(),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-picture-in-picture-control \"+n.prototype.buildCSSClass.call(this)},t.handlePictureInPictureEnabledChange=function(){d.pictureInPictureEnabled&&!1===this.player_.disablePictureInPicture()?this.enable():this.disable()},t.handlePictureInPictureChange=function(e){this.player_.isInPictureInPicture()?this.controlText(\"Exit Picture-in-Picture\"):this.controlText(\"Picture-in-Picture\"),this.handlePictureInPictureEnabledChange()},t.handleClick=function(e){this.player_.isInPictureInPicture()?this.player_.exitPictureInPicture():this.player_.requestPictureInPicture()},e}(nn);w.prototype.controlText_=\"Picture-in-Picture\",pt.registerComponent(\"PictureInPictureToggle\",w);Ft=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(e,\"fullscreenchange\",function(e){return i.handleFullscreenChange(e)}),!1===d[e.fsApi_.fullscreenEnabled]&&i.disable(),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-fullscreen-control \"+n.prototype.buildCSSClass.call(this)},t.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText(\"Non-Fullscreen\"):this.controlText(\"Fullscreen\")},t.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(nn);Ft.prototype.controlText_=\"Fullscreen\",pt.registerComponent(\"FullscreenToggle\",Ft);pt.registerComponent(\"VolumeLevel\",function(e){function t(){return e.apply(this,arguments)||this}return mt(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,\"div\",{className:\"vjs-volume-level\",innerHTML:'<span class=\"vjs-control-text\"></span>'})},t}(pt)),pt.registerComponent(\"VolumeLevelTooltip\",function(i){function e(e,t){t=i.call(this,e,t)||this;return t.update=ze(We(ft(t),t.update),30),t}mt(e,i);var t=e.prototype;return t.createEl=function(){return i.prototype.createEl.call(this,\"div\",{className:\"vjs-volume-tooltip\"},{\"aria-hidden\":\"true\"})},t.update=function(e,t,i,n){if(!i){var r=he(this.el_),a=he(this.player_.el()),i=e.width*t;if(!a||!r)return;t=e.left-a.left+i,a=e.width-i+(a.right-e.right),e=r.width/2;t<e?e+=e-t:a<e&&(e=a),e<0?e=0:e>r.width&&(e=r.width),this.el_.style.right=\"-\"+e+\"px\"}this.write(n+\"%\")},t.write=function(e){Z(this.el_,e)},t.updateVolume=function(e,t,i,n,r){var a=this;this.requestNamedAnimationFrame(\"VolumeLevelTooltip#updateVolume\",function(){a.update(e,t,i,n.toFixed(0)),r&&r()})},e}(pt));I=function(i){function e(e,t){t=i.call(this,e,t)||this;return t.update=ze(We(ft(t),t.update),30),t}mt(e,i);var t=e.prototype;return t.createEl=function(){return i.prototype.createEl.call(this,\"div\",{className:\"vjs-mouse-display\"})},t.update=function(e,t,i){var n=this,r=100*t;this.getChild(\"volumeLevelTooltip\").updateVolume(e,t,i,r,function(){i?n.el_.style.bottom=e.height*t+\"px\":n.el_.style.left=e.width*t+\"px\"})},e}(pt);I.prototype.options_={children:[\"volumeLevelTooltip\"]},pt.registerComponent(\"MouseVolumeLevelDisplay\",I);e=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(\"slideractive\",function(e){return i.updateLastVolume_(e)}),i.on(e,\"volumechange\",function(e){return i.updateARIAAttributes(e)}),e.ready(function(){return i.updateARIAAttributes()}),i}mt(e,n);var t=e.prototype;return t.createEl=function(){return n.prototype.createEl.call(this,\"div\",{className:\"vjs-volume-bar vjs-slider-bar\"},{\"aria-label\":this.localize(\"Volume Level\"),\"aria-live\":\"polite\"})},t.handleMouseDown=function(e){be(e)&&n.prototype.handleMouseDown.call(this,e)},t.handleMouseMove=function(e){var t,i,n,r=this.getChild(\"mouseVolumeLevelDisplay\");r&&(t=he(n=this.el()),i=this.vertical(),n=fe(n,e),n=i?n.y:n.x,n=un(n,0,1),r.update(t,n,i)),be(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},t.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute(\"aria-valuenow\",t),this.el_.setAttribute(\"aria-valuetext\",t+\"%\")},t.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},t.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one(\"sliderinactive\",function(){0===e.player_.volume()&&e.player_.lastVolume_(t)})},e}(r);e.prototype.options_={children:[\"volumeLevel\"],barName:\"volumeLevel\"},V||P||e.prototype.options_.children.splice(0,0,\"mouseVolumeLevelDisplay\"),e.prototype.playerEvent=\"volumechange\",pt.registerComponent(\"VolumeBar\",e);n=function(a){function e(e,t){var i,n,r;return(t=void 0===t?{}:t).vertical=t.vertical||!1,\"undefined\"!=typeof t.volumeBar&&!E(t.volumeBar)||(t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=t.vertical),i=a.call(this,e,t)||this,n=ft(i),(r=e).tech_&&!r.tech_.featuresVolumeControl&&n.addClass(\"vjs-hidden\"),n.on(r,\"loadstart\",function(){r.tech_.featuresVolumeControl?n.removeClass(\"vjs-hidden\"):n.addClass(\"vjs-hidden\")}),i.throttledHandleMouseMove=ze(We(ft(i),i.handleMouseMove),30),i.handleMouseUpHandler_=function(e){return i.handleMouseUp(e)},i.on(\"mousedown\",function(e){return i.handleMouseDown(e)}),i.on(\"touchstart\",function(e){return i.handleMouseDown(e)}),i.on(\"mousemove\",function(e){return i.handleMouseMove(e)}),i.on(i.volumeBar,[\"focus\",\"slideractive\"],function(){i.volumeBar.addClass(\"vjs-slider-active\"),i.addClass(\"vjs-slider-active\"),i.trigger(\"slideractive\")}),i.on(i.volumeBar,[\"blur\",\"sliderinactive\"],function(){i.volumeBar.removeClass(\"vjs-slider-active\"),i.removeClass(\"vjs-slider-active\"),i.trigger(\"sliderinactive\")}),i}mt(e,a);var t=e.prototype;return t.createEl=function(){var e=\"vjs-volume-horizontal\";return this.options_.vertical&&(e=\"vjs-volume-vertical\"),a.prototype.createEl.call(this,\"div\",{className:\"vjs-volume-control vjs-control \"+e})},t.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,\"mousemove\",this.throttledHandleMouseMove),this.on(t,\"touchmove\",this.throttledHandleMouseMove),this.on(t,\"mouseup\",this.handleMouseUpHandler_),this.on(t,\"touchend\",this.handleMouseUpHandler_)},t.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,\"mousemove\",this.throttledHandleMouseMove),this.off(t,\"touchmove\",this.throttledHandleMouseMove),this.off(t,\"mouseup\",this.handleMouseUpHandler_),this.off(t,\"touchend\",this.handleMouseUpHandler_)},t.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},e}(pt);n.prototype.options_={children:[\"volumeBar\"]},pt.registerComponent(\"VolumeControl\",n);x=function(a){function e(e,t){var i,n,r=a.call(this,e,t)||this;return i=ft(r),(n=e).tech_&&!n.tech_.featuresMuteControl&&i.addClass(\"vjs-hidden\"),i.on(n,\"loadstart\",function(){n.tech_.featuresMuteControl?i.removeClass(\"vjs-hidden\"):i.addClass(\"vjs-hidden\")}),r.on(e,[\"loadstart\",\"volumechange\"],function(e){return r.update(e)}),r}mt(e,a);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-mute-control \"+a.prototype.buildCSSClass.call(this)},t.handleClick=function(e){var t=this.player_.volume(),i=this.player_.lastVolume_();0===t?(this.player_.volume(i<.1?.1:i),this.player_.muted(!1)):this.player_.muted(!this.player_.muted())},t.update=function(e){this.updateIcon_(),this.updateControlText_()},t.updateIcon_=function(){var e=this.player_.volume(),t=3;V&&this.player_.tech_&&this.player_.tech_.el_&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var i=0;i<4;i++)ne(this.el_,\"vjs-vol-\"+i);ie(this.el_,\"vjs-vol-\"+t)},t.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume()?\"Unmute\":\"Mute\";this.controlText()!==e&&this.controlText(e)},e}(nn);x.prototype.controlText_=\"Mute\",pt.registerComponent(\"MuteToggle\",x);A=function(n){function e(e,t){var i;return\"undefined\"!=typeof(t=void 0===t?{}:t).inline?t.inline=t.inline:t.inline=!0,\"undefined\"!=typeof t.volumeControl&&!E(t.volumeControl)||(t.volumeControl=t.volumeControl||{},t.volumeControl.vertical=!t.inline),(i=n.call(this,e,t)||this).handleKeyPressHandler_=function(e){return i.handleKeyPress(e)},i.on(e,[\"loadstart\"],function(e){return i.volumePanelState_(e)}),i.on(i.muteToggle,\"keyup\",function(e){return i.handleKeyPress(e)}),i.on(i.volumeControl,\"keyup\",function(e){return i.handleVolumeControlKeyUp(e)}),i.on(\"keydown\",function(e){return i.handleKeyPress(e)}),i.on(\"mouseover\",function(e){return i.handleMouseOver(e)}),i.on(\"mouseout\",function(e){return i.handleMouseOut(e)}),i.on(i.volumeControl,[\"slideractive\"],i.sliderActive_),i.on(i.volumeControl,[\"sliderinactive\"],i.sliderInactive_),i}mt(e,n);var t=e.prototype;return t.sliderActive_=function(){this.addClass(\"vjs-slider-active\")},t.sliderInactive_=function(){this.removeClass(\"vjs-slider-active\")},t.volumePanelState_=function(){this.volumeControl.hasClass(\"vjs-hidden\")&&this.muteToggle.hasClass(\"vjs-hidden\")&&this.addClass(\"vjs-hidden\"),this.volumeControl.hasClass(\"vjs-hidden\")&&!this.muteToggle.hasClass(\"vjs-hidden\")&&this.addClass(\"vjs-mute-toggle-only\")},t.createEl=function(){var e=\"vjs-volume-panel-horizontal\";return this.options_.inline||(e=\"vjs-volume-panel-vertical\"),n.prototype.createEl.call(this,\"div\",{className:\"vjs-volume-panel vjs-control \"+e})},t.dispose=function(){this.handleMouseOut(),n.prototype.dispose.call(this)},t.handleVolumeControlKeyUp=function(e){xt.isEventKey(e,\"Esc\")&&this.muteToggle.focus()},t.handleMouseOver=function(e){this.addClass(\"vjs-hover\"),Fe(d,\"keyup\",this.handleKeyPressHandler_)},t.handleMouseOut=function(e){this.removeClass(\"vjs-hover\"),je(d,\"keyup\",this.handleKeyPressHandler_)},t.handleKeyPress=function(e){xt.isEventKey(e,\"Esc\")&&this.handleMouseOut()},e}(pt);A.prototype.options_={children:[\"muteToggle\",\"volumeControl\"]},pt.registerComponent(\"VolumePanel\",A);var cn=function(n){function e(e,t){var i=n.call(this,e,t)||this;return t&&(i.menuButton_=t.menuButton),i.focusedChild_=-1,i.on(\"keydown\",function(e){return i.handleKeyDown(e)}),i.boundHandleBlur_=function(e){return i.handleBlur(e)},i.boundHandleTapClick_=function(e){return i.handleTapClick(e)},i}mt(e,n);var t=e.prototype;return t.addEventListenerForItem=function(e){e instanceof pt&&(this.on(e,\"blur\",this.boundHandleBlur_),this.on(e,[\"tap\",\"click\"],this.boundHandleTapClick_))},t.removeEventListenerForItem=function(e){e instanceof pt&&(this.off(e,\"blur\",this.boundHandleBlur_),this.off(e,[\"tap\",\"click\"],this.boundHandleTapClick_))},t.removeChild=function(e){\"string\"==typeof e&&(e=this.getChild(e)),this.removeEventListenerForItem(e),n.prototype.removeChild.call(this,e)},t.addItem=function(e){e=this.addChild(e);e&&this.addEventListenerForItem(e)},t.createEl=function(){var e=this.options_.contentElType||\"ul\";this.contentEl_=J(e,{className:\"vjs-menu-content\"}),this.contentEl_.setAttribute(\"role\",\"menu\");e=n.prototype.createEl.call(this,\"div\",{append:this.contentEl_,className:\"vjs-menu\"});return e.appendChild(this.contentEl_),Fe(e,\"click\",function(e){e.preventDefault(),e.stopImmediatePropagation()}),e},t.dispose=function(){this.contentEl_=null,this.boundHandleBlur_=null,this.boundHandleTapClick_=null,n.prototype.dispose.call(this)},t.handleBlur=function(e){var t=e.relatedTarget||d.activeElement;this.children().some(function(e){return e.el()===t})||(e=this.menuButton_)&&e.buttonPressed_&&t!==e.el().firstChild&&e.unpressButton()},t.handleTapClick=function(t){var e;this.menuButton_&&(this.menuButton_.unpressButton(),e=this.children(),!Array.isArray(e)||(e=e.filter(function(e){return e.el()===t.target})[0])&&\"CaptionSettingsMenuItem\"!==e.name()&&this.menuButton_.focus())},t.handleKeyDown=function(e){xt.isEventKey(e,\"Left\")||xt.isEventKey(e,\"Down\")?(e.preventDefault(),e.stopPropagation(),this.stepForward()):(xt.isEventKey(e,\"Right\")||xt.isEventKey(e,\"Up\"))&&(e.preventDefault(),e.stopPropagation(),this.stepBack())},t.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.focus=function(e){void 0===e&&(e=0);var t=this.children().slice();t.length&&t[0].hasClass(\"vjs-menu-title\")&&t.shift(),0<t.length&&(e<0?e=0:e>=t.length&&(e=t.length-1),t[this.focusedChild_=e].el_.focus())},e}(pt);pt.registerComponent(\"Menu\",cn);H=function(n){function e(e,t){var i;(i=n.call(this,e,t=void 0===t?{}:t)||this).menuButton_=new nn(e,t),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute(\"aria-haspopup\",\"true\");t=nn.prototype.buildCSSClass();i.menuButton_.el_.className=i.buildCSSClass()+\" \"+t,i.menuButton_.removeClass(\"vjs-control\"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0;t=function(e){return i.handleClick(e)};return i.handleMenuKeyUp_=function(e){return i.handleMenuKeyUp(e)},i.on(i.menuButton_,\"tap\",t),i.on(i.menuButton_,\"click\",t),i.on(i.menuButton_,\"keydown\",function(e){return i.handleKeyDown(e)}),i.on(i.menuButton_,\"mouseenter\",function(){i.addClass(\"vjs-hover\"),i.menu.show(),Fe(d,\"keyup\",i.handleMenuKeyUp_)}),i.on(\"mouseleave\",function(e){return i.handleMouseLeave(e)}),i.on(\"keydown\",function(e){return i.handleSubmenuKeyDown(e)}),i}mt(e,n);var t=e.prototype;return t.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute(\"aria-expanded\",\"false\"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.createMenu=function(){var e,t=new cn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title&&(e=J(\"li\",{className:\"vjs-menu-title\",innerHTML:lt(this.options_.title),tabIndex:-1}),e=new pt(this.player_,{el:e}),t.addItem(e)),this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)t.addItem(this.items[i]);return t},t.createItems=function(){},t.createEl=function(){return n.prototype.createEl.call(this,\"div\",{className:this.buildWrapperCSSClass()},{})},t.buildWrapperCSSClass=function(){var e=\"vjs-menu-button\";return!0===this.options_.inline?e+=\"-inline\":e+=\"-popup\",\"vjs-menu-button \"+e+\" \"+nn.prototype.buildCSSClass()+\" \"+n.prototype.buildCSSClass.call(this)},t.buildCSSClass=function(){var e=\"vjs-menu-button\";return!0===this.options_.inline?e+=\"-inline\":e+=\"-popup\",\"vjs-menu-button \"+e+\" \"+n.prototype.buildCSSClass.call(this)},t.controlText=function(e,t){return void 0===t&&(t=this.menuButton_.el()),this.menuButton_.controlText(e,t)},t.dispose=function(){this.handleMouseLeave(),n.prototype.dispose.call(this)},t.handleClick=function(e){this.buttonPressed_?this.unpressButton():this.pressButton()},t.handleMouseLeave=function(e){this.removeClass(\"vjs-hover\"),je(d,\"keyup\",this.handleMenuKeyUp_)},t.focus=function(){this.menuButton_.focus()},t.blur=function(){this.menuButton_.blur()},t.handleKeyDown=function(e){xt.isEventKey(e,\"Esc\")||xt.isEventKey(e,\"Tab\")?(this.buttonPressed_&&this.unpressButton(),xt.isEventKey(e,\"Tab\")||(e.preventDefault(),this.menuButton_.focus())):(xt.isEventKey(e,\"Up\")||xt.isEventKey(e,\"Down\"))&&(this.buttonPressed_||(e.preventDefault(),this.pressButton()))},t.handleMenuKeyUp=function(e){(xt.isEventKey(e,\"Esc\")||xt.isEventKey(e,\"Tab\"))&&this.removeClass(\"vjs-hover\")},t.handleSubmenuKeyPress=function(e){this.handleSubmenuKeyDown(e)},t.handleSubmenuKeyDown=function(e){(xt.isEventKey(e,\"Esc\")||xt.isEventKey(e,\"Tab\"))&&(this.buttonPressed_&&this.unpressButton(),xt.isEventKey(e,\"Tab\")||(e.preventDefault(),this.menuButton_.focus()))},t.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.show(),this.menu.lockShowing(),this.menuButton_.el_.setAttribute(\"aria-expanded\",\"true\"),V&&Q()||this.menu.focus())},t.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menu.hide(),this.menuButton_.el_.setAttribute(\"aria-expanded\",\"false\"))},t.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass(\"vjs-disabled\"),this.menuButton_.disable()},t.enable=function(){this.enabled_=!0,this.removeClass(\"vjs-disabled\"),this.menuButton_.enable()},e}(pt);pt.registerComponent(\"MenuButton\",H);rn=function(r){function e(e,t){var i=t.tracks,t=r.call(this,e,t)||this;if(t.items.length<=1&&t.hide(),!i)return ft(t);var n=We(ft(t),t.update);return i.addEventListener(\"removetrack\",n),i.addEventListener(\"addtrack\",n),i.addEventListener(\"labelchange\",n),t.player_.on(\"ready\",n),t.player_.on(\"dispose\",function(){i.removeEventListener(\"removetrack\",n),i.removeEventListener(\"addtrack\",n),i.removeEventListener(\"labelchange\",n)}),t}return mt(e,r),e}(H);pt.registerComponent(\"TrackButton\",rn);var dn=[\"Tab\",\"Esc\",\"Up\",\"Down\",\"Right\",\"Left\"],w=function(n){function e(e,t){e=n.call(this,e,t)||this;return e.selectable=t.selectable,e.isSelected_=t.selected||!1,e.multiSelectable=t.multiSelectable,e.selected(e.isSelected_),e.selectable?e.multiSelectable?e.el_.setAttribute(\"role\",\"menuitemcheckbox\"):e.el_.setAttribute(\"role\",\"menuitemradio\"):e.el_.setAttribute(\"role\",\"menuitem\"),e}mt(e,n);var t=e.prototype;return t.createEl=function(e,t,i){return this.nonIconControl=!0,n.prototype.createEl.call(this,\"li\",T({className:\"vjs-menu-item\",innerHTML:'<span class=\"vjs-menu-item-text\">'+this.localize(this.options_.label)+\"</span>\",tabIndex:-1},t),i)},t.handleKeyDown=function(t){dn.some(function(e){return xt.isEventKey(t,e)})||n.prototype.handleKeyDown.call(this,t)},t.handleClick=function(e){this.selected(!0)},t.selected=function(e){this.selectable&&(e?(this.addClass(\"vjs-selected\"),this.el_.setAttribute(\"aria-checked\",\"true\"),this.controlText(\", selected\"),this.isSelected_=!0):(this.removeClass(\"vjs-selected\"),this.el_.setAttribute(\"aria-checked\",\"false\"),this.controlText(\"\"),this.isSelected_=!1))},e}(B);pt.registerComponent(\"MenuItem\",w);var hn=function(u){function e(e,t){var n,i=t.track,r=e.textTracks();t.label=i.label||i.language||\"Unknown\",t.selected=\"showing\"===i.mode,(n=u.call(this,e,t)||this).track=i,n.kinds=(t.kinds||[t.kind||n.track.kind]).filter(Boolean);function a(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n.handleTracksChange.apply(ft(n),t)}function s(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n.handleSelectedLanguageChange.apply(ft(n),t)}var o;return e.on([\"loadstart\",\"texttrackchange\"],a),r.addEventListener(\"change\",a),r.addEventListener(\"selectedlanguagechange\",s),n.on(\"dispose\",function(){e.off([\"loadstart\",\"texttrackchange\"],a),r.removeEventListener(\"change\",a),r.removeEventListener(\"selectedlanguagechange\",s)}),void 0===r.onchange&&n.on([\"tap\",\"click\"],function(){if(\"object\"!=typeof _.Event)try{o=new _.Event(\"change\")}catch(e){}o||(o=d.createEvent(\"Event\")).initEvent(\"change\",!0,!0),r.dispatchEvent(o)}),n.handleTracksChange(),n}mt(e,u);var t=e.prototype;return t.handleClick=function(e){var t=this.track,i=this.player_.textTracks();if(u.prototype.handleClick.call(this,e),i)for(var n=0;n<i.length;n++){var r=i[n];-1!==this.kinds.indexOf(r.kind)&&(r===t?\"showing\"!==r.mode&&(r.mode=\"showing\"):\"disabled\"!==r.mode&&(r.mode=\"disabled\"))}},t.handleTracksChange=function(e){var t=\"showing\"===this.track.mode;t!==this.isSelected_&&this.selected(t)},t.handleSelectedLanguageChange=function(e){var t;\"showing\"===this.track.mode&&((t=this.player_.cache_.selectedLanguage)&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind||(this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}))},t.dispose=function(){this.track=null,u.prototype.dispose.call(this)},e}(w);pt.registerComponent(\"TextTrackMenuItem\",hn);var pn=function(i){function e(e,t){return t.track={player:e,kind:t.kind,kinds:t.kinds,default:!1,mode:\"disabled\"},t.kinds||(t.kinds=[t.kind]),t.label?t.track.label=t.label:t.track.label=t.kinds.join(\" and \")+\" off\",t.selectable=!0,t.multiSelectable=!1,i.call(this,e,t)||this}mt(e,i);var t=e.prototype;return t.handleTracksChange=function(e){for(var t=this.player().textTracks(),i=!0,n=0,r=t.length;n<r;n++){var a=t[n];if(-1<this.options_.kinds.indexOf(a.kind)&&\"showing\"===a.mode){i=!1;break}}i!==this.isSelected_&&this.selected(i)},t.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),i=!0,n=0,r=t.length;n<r;n++){var a=t[n];if(-1<[\"captions\",\"descriptions\",\"subtitles\"].indexOf(a.kind)&&\"showing\"===a.mode){i=!1;break}}i&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(hn);pt.registerComponent(\"OffTextTrackMenuItem\",pn);Ft=function(i){function e(e,t){return(t=void 0===t?{}:t).tracks=e.textTracks(),i.call(this,e,t)||this}return mt(e,i),e.prototype.createItems=function(e,t){var i;void 0===t&&(t=hn),this.label_&&(i=this.label_+\" off\"),(e=void 0===e?[]:e).push(new pn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:i})),this.hideThreshold_+=1;var n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r<n.length;r++){var a,s=n[r];-1<this.kinds_.indexOf(s.kind)&&((a=new t(this.player_,{track:s,kinds:this.kinds_,kind:this.kind_,selectable:!0,multiSelectable:!1})).addClass(\"vjs-\"+s.kind+\"-menu-item\"),e.push(a))}return e},e}(rn);pt.registerComponent(\"TextTrackButton\",Ft);var fn=function(a){function e(e,t){var i=t.track,n=t.cue,r=e.currentTime();return t.selectable=!0,t.multiSelectable=!1,t.label=n.text,t.selected=n.startTime<=r&&r<n.endTime,(t=a.call(this,e,t)||this).track=i,t.cue=n,i.addEventListener(\"cuechange\",We(ft(t),t.update)),t}mt(e,a);var t=e.prototype;return t.handleClick=function(e){a.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},t.update=function(e){var t=this.cue,i=this.player_.currentTime();this.selected(t.startTime<=i&&i<t.endTime)},e}(w);pt.registerComponent(\"ChaptersTrackMenuItem\",fn);I=function(n){function e(e,t,i){return n.call(this,e,t,i)||this}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-chapters-button \"+n.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-chapters-button \"+n.prototype.buildWrapperCSSClass.call(this)},t.update=function(e){this.track_&&(!e||\"addtrack\"!==e.type&&\"removetrack\"!==e.type)||this.setTrack(this.findChaptersTrack()),n.prototype.update.call(this)},t.setTrack=function(e){var t;this.track_!==e&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&((t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&t.removeEventListener(\"load\",this.updateHandler_),this.track_=null),this.track_=e,this.track_&&(this.track_.mode=\"hidden\",(e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&e.addEventListener(\"load\",this.updateHandler_)))},t.findChaptersTrack=function(){for(var e=this.player_.textTracks()||[],t=e.length-1;0<=t;t--){var i=e[t];if(i.kind===this.kind_)return i}},t.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(lt(this.kind_))},t.createMenu=function(){return this.options_.title=this.getMenuCaption(),n.prototype.createMenu.call(this)},t.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var i=0,n=t.length;i<n;i++){var r=t[i],r=new fn(this.player_,{track:this.track_,cue:r});e.push(r)}return e},e}(Ft);I.prototype.kind_=\"chapters\",I.prototype.controlText_=\"Chapters\",pt.registerComponent(\"ChaptersButton\",I);r=function(a){function e(e,t,i){var i=a.call(this,e,t,i)||this,n=e.textTracks(),r=We(ft(i),i.handleTracksChange);return n.addEventListener(\"change\",r),i.on(\"dispose\",function(){n.removeEventListener(\"change\",r)}),i}mt(e,a);var t=e.prototype;return t.handleTracksChange=function(e){for(var t=this.player().textTracks(),i=!1,n=0,r=t.length;n<r;n++){var a=t[n];if(a.kind!==this.kind_&&\"showing\"===a.mode){i=!0;break}}i?this.disable():this.enable()},t.buildCSSClass=function(){return\"vjs-descriptions-button \"+a.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-descriptions-button \"+a.prototype.buildWrapperCSSClass.call(this)},e}(Ft);r.prototype.kind_=\"descriptions\",r.prototype.controlText_=\"Descriptions\",pt.registerComponent(\"DescriptionsButton\",r);e=function(n){function e(e,t,i){return n.call(this,e,t,i)||this}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-subtitles-button \"+n.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-subtitles-button \"+n.prototype.buildWrapperCSSClass.call(this)},e}(Ft);e.prototype.kind_=\"subtitles\",e.prototype.controlText_=\"Subtitles\",pt.registerComponent(\"SubtitlesButton\",e);var mn=function(i){function e(e,t){return t.track={player:e,kind:t.kind,label:t.kind+\" settings\",selectable:!1,default:!1,mode:\"disabled\"},t.selectable=!1,t.name=\"CaptionSettingsMenuItem\",(e=i.call(this,e,t)||this).addClass(\"vjs-texttrack-settings\"),e.controlText(\", opens \"+t.kind+\" settings dialog\"),e}return mt(e,i),e.prototype.handleClick=function(e){this.player().getChild(\"textTrackSettings\").open()},e}(hn);pt.registerComponent(\"CaptionSettingsMenuItem\",mn);n=function(n){function e(e,t,i){return n.call(this,e,t,i)||this}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-captions-button \"+n.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-captions-button \"+n.prototype.buildWrapperCSSClass.call(this)},t.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild(\"textTrackSettings\")||(e.push(new mn(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),n.prototype.createItems.call(this,e)},e}(Ft);n.prototype.kind_=\"captions\",n.prototype.controlText_=\"Captions\",pt.registerComponent(\"CaptionsButton\",n);var gn=function(r){function e(){return r.apply(this,arguments)||this}return mt(e,r),e.prototype.createEl=function(e,t,i){var n='<span class=\"vjs-menu-item-text\">'+this.localize(this.options_.label);return\"captions\"===this.options_.track.kind&&(n+='\\n        <span aria-hidden=\"true\" class=\"vjs-icon-placeholder\"></span>\\n        <span class=\"vjs-control-text\"> '+this.localize(\"Captions\")+\"</span>\\n      \"),r.prototype.createEl.call(this,e,T({innerHTML:n+=\"</span>\"},t),i)},e}(hn);pt.registerComponent(\"SubsCapsMenuItem\",gn);x=function(i){function e(e,t){return(t=i.call(this,e,t=void 0===t?{}:t)||this).label_=\"subtitles\",-1<[\"en\",\"en-us\",\"en-ca\",\"fr-ca\"].indexOf(t.player_.language_)&&(t.label_=\"captions\"),t.menuButton_.controlText(lt(t.label_)),t}mt(e,i);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-subs-caps-button \"+i.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-subs-caps-button \"+i.prototype.buildWrapperCSSClass.call(this)},t.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild(\"textTrackSettings\")||(e.push(new mn(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=i.prototype.createItems.call(this,e,gn)},e}(Ft);x.prototype.kinds_=[\"captions\",\"subtitles\"],x.prototype.controlText_=\"Subtitles\",pt.registerComponent(\"SubsCapsButton\",x);var yn=function(s){function e(e,t){var n,i=t.track,r=e.audioTracks();t.label=i.label||i.language||\"Unknown\",t.selected=i.enabled,(n=s.call(this,e,t)||this).track=i,n.addClass(\"vjs-\"+i.kind+\"-menu-item\");function a(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];n.handleTracksChange.apply(ft(n),t)}return r.addEventListener(\"change\",a),n.on(\"dispose\",function(){r.removeEventListener(\"change\",a)}),n}mt(e,s);var t=e.prototype;return t.createEl=function(e,t,i){var n='<span class=\"vjs-menu-item-text\">'+this.localize(this.options_.label);return\"main-desc\"===this.options_.track.kind&&(n+='\\n        <span aria-hidden=\"true\" class=\"vjs-icon-placeholder\"></span>\\n        <span class=\"vjs-control-text\"> '+this.localize(\"Descriptions\")+\"</span>\\n      \"),s.prototype.createEl.call(this,e,T({innerHTML:n+=\"</span>\"},t),i)},t.handleClick=function(e){s.prototype.handleClick.call(this,e),this.track.enabled=!0},t.handleTracksChange=function(e){this.selected(this.track.enabled)},e}(w);pt.registerComponent(\"AudioTrackMenuItem\",yn);A=function(i){function e(e,t){return(t=void 0===t?{}:t).tracks=e.audioTracks(),i.call(this,e,t)||this}mt(e,i);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-audio-button \"+i.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-audio-button \"+i.prototype.buildWrapperCSSClass.call(this)},t.createItems=function(e){void 0===e&&(e=[]),this.hideThreshold_=1;for(var t=this.player_.audioTracks(),i=0;i<t.length;i++){var n=t[i];e.push(new yn(this.player_,{track:n,selectable:!0,multiSelectable:!1}))}return e},e}(rn);A.prototype.controlText_=\"Audio Track\",pt.registerComponent(\"AudioTrackButton\",A);var vn=function(a){function e(e,t){var i,n=t.rate,r=parseFloat(n,10);return t.label=n,t.selected=r===e.playbackRate(),t.selectable=!0,t.multiSelectable=!1,(i=a.call(this,e,t)||this).label=n,i.rate=r,i.on(e,\"ratechange\",function(e){return i.update(e)}),i}mt(e,a);var t=e.prototype;return t.handleClick=function(e){a.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},t.update=function(e){this.selected(this.player().playbackRate()===this.rate)},e}(w);vn.prototype.contentElType=\"button\",pt.registerComponent(\"PlaybackRateMenuItem\",vn);B=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.menuButton_.el_.setAttribute(\"aria-describedby\",i.labelElId_),i.updateVisibility(),i.updateLabel(),i.on(e,\"loadstart\",function(e){return i.updateVisibility(e)}),i.on(e,\"ratechange\",function(e){return i.updateLabel(e)}),i.on(e,\"playbackrateschange\",function(e){return i.handlePlaybackRateschange(e)}),i}mt(e,n);var t=e.prototype;return t.createEl=function(){var e=n.prototype.createEl.call(this);return this.labelElId_=\"vjs-playback-rate-value-label-\"+this.id_,this.labelEl_=J(\"div\",{className:\"vjs-playback-rate-value\",id:this.labelElId_,innerHTML:\"1x\"}),e.appendChild(this.labelEl_),e},t.dispose=function(){this.labelEl_=null,n.prototype.dispose.call(this)},t.buildCSSClass=function(){return\"vjs-playback-rate \"+n.prototype.buildCSSClass.call(this)},t.buildWrapperCSSClass=function(){return\"vjs-playback-rate \"+n.prototype.buildWrapperCSSClass.call(this)},t.createItems=function(){for(var e=this.playbackRates(),t=[],i=e.length-1;0<=i;i--)t.push(new vn(this.player(),{rate:e[i]+\"x\"}));return t},t.updateARIAAttributes=function(){this.el().setAttribute(\"aria-valuenow\",this.player().playbackRate())},t.handleClick=function(e){for(var t=this.player().playbackRate(),i=this.playbackRates(),n=i[0],r=0;r<i.length;r++)if(i[r]>t){n=i[r];break}this.player().playbackRate(n)},t.handlePlaybackRateschange=function(e){this.update()},t.playbackRates=function(){var e=this.player();return e.playbackRates&&e.playbackRates()||[]},t.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},t.updateVisibility=function(e){this.playbackRateSupported()?this.removeClass(\"vjs-hidden\"):this.addClass(\"vjs-hidden\")},t.updateLabel=function(e){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+\"x\")},e}(H);B.prototype.controlText_=\"Playback Rate\",pt.registerComponent(\"PlaybackRateMenuButton\",B);I=function(e){function t(){return e.apply(this,arguments)||this}mt(t,e);var i=t.prototype;return i.buildCSSClass=function(){return\"vjs-spacer \"+e.prototype.buildCSSClass.call(this)},i.createEl=function(){return e.prototype.createEl.call(this,\"div\",{className:this.buildCSSClass()})},t}(pt);pt.registerComponent(\"Spacer\",I),pt.registerComponent(\"CustomControlSpacer\",function(t){function e(){return t.apply(this,arguments)||this}mt(e,t);var i=e.prototype;return i.buildCSSClass=function(){return\"vjs-custom-control-spacer \"+t.prototype.buildCSSClass.call(this)},i.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML=\" \",e},e}(I));r=function(e){function t(){return e.apply(this,arguments)||this}return mt(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,\"div\",{className:\"vjs-control-bar\",dir:\"ltr\"})},t}(pt);r.prototype.options_={children:[\"playToggle\",\"volumePanel\",\"currentTimeDisplay\",\"timeDivider\",\"durationDisplay\",\"progressControl\",\"liveDisplay\",\"seekToLive\",\"remainingTimeDisplay\",\"customControlSpacer\",\"playbackRateMenuButton\",\"chaptersButton\",\"descriptionsButton\",\"subsCapsButton\",\"audioTrackButton\",\"fullscreenToggle\"]},\"exitPictureInPicture\"in d&&r.prototype.options_.children.splice(r.prototype.options_.children.length-1,0,\"pictureInPictureToggle\"),pt.registerComponent(\"ControlBar\",r);e=function(n){function e(e,t){var i=n.call(this,e,t)||this;return i.on(e,\"error\",function(e){return i.open(e)}),i}mt(e,n);var t=e.prototype;return t.buildCSSClass=function(){return\"vjs-error-display \"+n.prototype.buildCSSClass.call(this)},t.content=function(){var e=this.player().error();return e?this.localize(e.message):\"\"},e}(Pt);e.prototype.options_=g({},Pt.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),pt.registerComponent(\"ErrorDisplay\",e);var _n=\"vjs-text-track-settings\",n=[\"#000\",\"Black\"],Ft=[\"#00F\",\"Blue\"],x=[\"#0FF\",\"Cyan\"],rn=[\"#0F0\",\"Green\"],A=[\"#F0F\",\"Magenta\"],w=[\"#F00\",\"Red\"],H=[\"#FFF\",\"White\"],B=[\"#FF0\",\"Yellow\"],I=[\"1\",\"Opaque\"],r=[\"0.5\",\"Semi-Transparent\"],e=[\"0\",\"Transparent\"],bn={backgroundColor:{selector:\".vjs-bg-color > select\",id:\"captions-background-color-%s\",label:\"Color\",options:[n,H,w,rn,Ft,B,A,x]},backgroundOpacity:{selector:\".vjs-bg-opacity > select\",id:\"captions-background-opacity-%s\",label:\"Transparency\",options:[I,r,e]},color:{selector:\".vjs-fg-color > select\",id:\"captions-foreground-color-%s\",label:\"Color\",options:[H,n,w,rn,Ft,B,A,x]},edgeStyle:{selector:\".vjs-edge-style > select\",id:\"%s\",label:\"Text Edge Style\",options:[[\"none\",\"None\"],[\"raised\",\"Raised\"],[\"depressed\",\"Depressed\"],[\"uniform\",\"Uniform\"],[\"dropshadow\",\"Dropshadow\"]]},fontFamily:{selector:\".vjs-font-family > select\",id:\"captions-font-family-%s\",label:\"Font Family\",options:[[\"proportionalSansSerif\",\"Proportional Sans-Serif\"],[\"monospaceSansSerif\",\"Monospace Sans-Serif\"],[\"proportionalSerif\",\"Proportional Serif\"],[\"monospaceSerif\",\"Monospace Serif\"],[\"casual\",\"Casual\"],[\"script\",\"Script\"],[\"small-caps\",\"Small Caps\"]]},fontPercent:{selector:\".vjs-font-percent > select\",id:\"captions-font-size-%s\",label:\"Font Size\",options:[[\"0.50\",\"50%\"],[\"0.75\",\"75%\"],[\"1.00\",\"100%\"],[\"1.25\",\"125%\"],[\"1.50\",\"150%\"],[\"1.75\",\"175%\"],[\"2.00\",\"200%\"],[\"3.00\",\"300%\"],[\"4.00\",\"400%\"]],default:2,parser:function(e){return\"1.00\"===e?null:Number(e)}},textOpacity:{selector:\".vjs-text-opacity > select\",id:\"captions-foreground-opacity-%s\",label:\"Transparency\",options:[I,r]},windowColor:{selector:\".vjs-window-color > select\",id:\"captions-window-color-%s\",label:\"Color\"},windowOpacity:{selector:\".vjs-window-opacity > select\",id:\"captions-window-opacity-%s\",label:\"Transparency\",options:[e,r,I]}};function Tn(e,t){if((e=t?t(e):e)&&\"none\"!==e)return e}bn.windowColor.options=bn.backgroundColor.options,pt.registerComponent(\"TextTrackSettings\",function(n){function e(e,t){var i;return t.temporary=!1,(i=n.call(this,e,t)||this).updateDisplay=i.updateDisplay.bind(ft(i)),i.fill(),i.hasBeenOpened_=i.hasBeenFilled_=!0,i.endDialog=J(\"p\",{className:\"vjs-control-text\",textContent:i.localize(\"End of dialog window.\")}),i.el().appendChild(i.endDialog),i.setDefaults(),void 0===t.persistTextTrackSettings&&(i.options_.persistTextTrackSettings=i.options_.playerOptions.persistTextTrackSettings),i.on(i.$(\".vjs-done-button\"),\"click\",function(){i.saveSettings(),i.close()}),i.on(i.$(\".vjs-default-button\"),\"click\",function(){i.setDefaults(),i.updateDisplay()}),b(bn,function(e){i.on(i.$(e.selector),\"change\",i.updateDisplay)}),i.options_.persistTextTrackSettings&&i.restoreSettings(),i}mt(e,n);var t=e.prototype;return t.dispose=function(){this.endDialog=null,n.prototype.dispose.call(this)},t.createElSelect_=function(e,t,i){var n=this;void 0===t&&(t=\"\"),void 0===i&&(i=\"label\");var e=bn[e],r=e.id.replace(\"%s\",this.id_),a=[t,r].join(\" \").trim();return[\"<\"+i+' id=\"'+r+'\" class=\"'+(\"label\"===i?\"vjs-label\":\"\")+'\">',this.localize(e.label),\"</\"+i+\">\",'<select aria-labelledby=\"'+a+'\">'].concat(e.options.map(function(e){var t=r+\"-\"+e[1].replace(/\\W+/g,\"\");return['<option id=\"'+t+'\" value=\"'+e[0]+'\" ','aria-labelledby=\"'+a+\" \"+t+'\">',n.localize(e[1]),\"</option>\"].join(\"\")})).concat(\"</select>\").join(\"\")},t.createElFgColor_=function(){var e=\"captions-text-legend-\"+this.id_;return['<fieldset class=\"vjs-fg-color vjs-track-setting\">','<legend id=\"'+e+'\">',this.localize(\"Text\"),\"</legend>\",this.createElSelect_(\"color\",e),'<span class=\"vjs-text-opacity vjs-opacity\">',this.createElSelect_(\"textOpacity\",e),\"</span>\",\"</fieldset>\"].join(\"\")},t.createElBgColor_=function(){var e=\"captions-background-\"+this.id_;return['<fieldset class=\"vjs-bg-color vjs-track-setting\">','<legend id=\"'+e+'\">',this.localize(\"Background\"),\"</legend>\",this.createElSelect_(\"backgroundColor\",e),'<span class=\"vjs-bg-opacity vjs-opacity\">',this.createElSelect_(\"backgroundOpacity\",e),\"</span>\",\"</fieldset>\"].join(\"\")},t.createElWinColor_=function(){var e=\"captions-window-\"+this.id_;return['<fieldset class=\"vjs-window-color vjs-track-setting\">','<legend id=\"'+e+'\">',this.localize(\"Window\"),\"</legend>\",this.createElSelect_(\"windowColor\",e),'<span class=\"vjs-window-opacity vjs-opacity\">',this.createElSelect_(\"windowOpacity\",e),\"</span>\",\"</fieldset>\"].join(\"\")},t.createElColors_=function(){return J(\"div\",{className:\"vjs-track-settings-colors\",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join(\"\")})},t.createElFont_=function(){return J(\"div\",{className:\"vjs-track-settings-font\",innerHTML:['<fieldset class=\"vjs-font-percent vjs-track-setting\">',this.createElSelect_(\"fontPercent\",\"\",\"legend\"),\"</fieldset>\",'<fieldset class=\"vjs-edge-style vjs-track-setting\">',this.createElSelect_(\"edgeStyle\",\"\",\"legend\"),\"</fieldset>\",'<fieldset class=\"vjs-font-family vjs-track-setting\">',this.createElSelect_(\"fontFamily\",\"\",\"legend\"),\"</fieldset>\"].join(\"\")})},t.createElControls_=function(){var e=this.localize(\"restore all settings to the default values\");return J(\"div\",{className:\"vjs-track-settings-controls\",innerHTML:['<button type=\"button\" class=\"vjs-default-button\" title=\"'+e+'\">',this.localize(\"Reset\"),'<span class=\"vjs-control-text\"> '+e+\"</span>\",\"</button>\",'<button type=\"button\" class=\"vjs-done-button\">'+this.localize(\"Done\")+\"</button>\"].join(\"\")})},t.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},t.label=function(){return this.localize(\"Caption Settings Dialog\")},t.description=function(){return this.localize(\"Beginning of dialog window. Escape will cancel and close the window.\")},t.buildCSSClass=function(){return n.prototype.buildCSSClass.call(this)+\" vjs-text-track-settings\"},t.getValues=function(){var i,n,e,r=this;return n=function(e,t,i){var n,t=(n=r.$(t.selector),t=t.parser,Tn(n.options[n.options.selectedIndex].value,t));return void 0!==t&&(e[i]=t),e},void 0===(e={})&&(e=0),v(i=bn).reduce(function(e,t){return n(e,i[t],t)},e)},t.setValues=function(i){var n=this;b(bn,function(e,t){!function(e,t,i){if(t)for(var n=0;n<e.options.length;n++)if(Tn(e.options[n].value,i)===t){e.selectedIndex=n;break}}(n.$(e.selector),i[t],e.parser)})},t.setDefaults=function(){var i=this;b(bn,function(e){var t=e.hasOwnProperty(\"default\")?e.default:0;i.$(e.selector).selectedIndex=t})},t.restoreSettings=function(){var e;try{e=JSON.parse(_.localStorage.getItem(_n))}catch(e){f.warn(e)}e&&this.setValues(e)},t.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{Object.keys(e).length?_.localStorage.setItem(_n,JSON.stringify(e)):_.localStorage.removeItem(_n)}catch(e){f.warn(e)}}},t.updateDisplay=function(){var e=this.player_.getChild(\"textTrackDisplay\");e&&e.updateDisplay()},t.conditionalBlur_=function(){this.previouslyActiveEl_=null;var e=this.player_.controlBar,t=e&&e.subsCapsButton,e=e&&e.captionsButton;t?t.focus():e&&e.focus()},e}(Pt)),pt.registerComponent(\"ResizeManager\",function(a){function e(e,t){var i,n=t.ResizeObserver||_.ResizeObserver,r=ct({createEl:!(n=null===t.ResizeObserver?!1:n),reportTouchActivity:!1},t);return(i=a.call(this,e,r)||this).ResizeObserver=t.ResizeObserver||_.ResizeObserver,i.loadListener_=null,i.resizeObserver_=null,i.debouncedHandler_=Ge(function(){i.resizeHandler()},100,!1,ft(i)),n?(i.resizeObserver_=new i.ResizeObserver(i.debouncedHandler_),i.resizeObserver_.observe(e.el())):(i.loadListener_=function(){var e,t;i.el_&&i.el_.contentWindow&&(e=i.debouncedHandler_,t=i.unloadListener_=function(){je(this,\"resize\",e),je(this,\"unload\",t),t=null},Fe(i.el_.contentWindow,\"unload\",t),Fe(i.el_.contentWindow,\"resize\",e))},i.one(\"load\",i.loadListener_)),i}mt(e,a);var t=e.prototype;return t.createEl=function(){return a.prototype.createEl.call(this,\"iframe\",{className:\"vjs-resize-manager\",tabIndex:-1},{\"aria-hidden\":\"true\"})},t.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger(\"playerresize\")},t.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.loadListener_&&this.off(\"load\",this.loadListener_),this.el_&&this.el_.contentWindow&&this.unloadListener_&&this.unloadListener_.call(this.el_.contentWindow),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null,a.prototype.dispose.call(this)},e}(pt));var Sn={trackingThreshold:30,liveTolerance:15};pt.registerComponent(\"LiveTracker\",function(n){function e(e,t){var t=ct(Sn,t,{createEl:!1}),i=n.call(this,e,t)||this;return i.handleVisibilityChange_=function(e){return i.handleVisibilityChange(e)},i.trackLiveHandler_=function(){return i.trackLive_()},i.handlePlay_=function(e){return i.handlePlay(e)},i.handleFirstTimeupdate_=function(e){return i.handleFirstTimeupdate(e)},i.handleSeeked_=function(e){return i.handleSeeked(e)},i.seekToLiveEdge_=function(e){return i.seekToLiveEdge(e)},i.reset_(),i.on(i.player_,\"durationchange\",function(e){return i.handleDurationchange(e)}),i.one(i.player_,\"canplay\",function(){return i.toggleTracking()}),U&&\"hidden\"in d&&\"visibilityState\"in d&&i.on(d,\"visibilitychange\",i.handleVisibilityChange_),i}mt(e,n);var t=e.prototype;return t.handleVisibilityChange=function(){this.player_.duration()===1/0&&(d.hidden?this.stopTracking():this.startTracking())},t.trackLive_=function(){var e,t=this.player_.seekable();t&&t.length&&(e=Number(_.performance.now().toFixed(4)),t=-1===this.lastTime_?0:(e-this.lastTime_)/1e3,this.lastTime_=e,this.pastSeekEnd_=this.pastSeekEnd()+t,e=this.liveCurrentTime(),t=this.player_.currentTime(),t=this.player_.paused()||this.seekedBehindLive_||Math.abs(e-t)>this.options_.liveTolerance,(t=!this.timeupdateSeen_||e===1/0?!1:t)!==this.behindLiveEdge_&&(this.behindLiveEdge_=t,this.trigger(\"liveedgechange\")))},t.handleDurationchange=function(){this.toggleTracking()},t.toggleTracking=function(){this.player_.duration()===1/0&&this.liveWindow()>=this.options_.trackingThreshold?(this.player_.options_.liveui&&this.player_.addClass(\"vjs-liveui\"),this.startTracking()):(this.player_.removeClass(\"vjs-liveui\"),this.stopTracking())},t.startTracking=function(){this.isTracking()||(this.timeupdateSeen_||(this.timeupdateSeen_=this.player_.hasStarted()),this.trackingInterval_=this.setInterval(this.trackLiveHandler_,30),this.trackLive_(),this.on(this.player_,[\"play\",\"pause\"],this.trackLiveHandler_),this.timeupdateSeen_?this.on(this.player_,\"seeked\",this.handleSeeked_):(this.one(this.player_,\"play\",this.handlePlay_),this.one(this.player_,\"timeupdate\",this.handleFirstTimeupdate_)))},t.handleFirstTimeupdate=function(){this.timeupdateSeen_=!0,this.on(this.player_,\"seeked\",this.handleSeeked_)},t.handleSeeked=function(){var e=Math.abs(this.liveCurrentTime()-this.player_.currentTime());this.seekedBehindLive_=this.nextSeekedFromUser_&&2<e,this.nextSeekedFromUser_=!1,this.trackLive_()},t.handlePlay=function(){this.one(this.player_,\"timeupdate\",this.seekToLiveEdge_)},t.reset_=function(){this.lastTime_=-1,this.pastSeekEnd_=0,this.lastSeekEnd_=-1,this.behindLiveEdge_=!0,this.timeupdateSeen_=!1,this.seekedBehindLive_=!1,this.nextSeekedFromUser_=!1,this.clearInterval(this.trackingInterval_),this.trackingInterval_=null,this.off(this.player_,[\"play\",\"pause\"],this.trackLiveHandler_),this.off(this.player_,\"seeked\",this.handleSeeked_),this.off(this.player_,\"play\",this.handlePlay_),this.off(this.player_,\"timeupdate\",this.handleFirstTimeupdate_),this.off(this.player_,\"timeupdate\",this.seekToLiveEdge_)},t.nextSeekedFromUser=function(){this.nextSeekedFromUser_=!0},t.stopTracking=function(){this.isTracking()&&(this.reset_(),this.trigger(\"liveedgechange\"))},t.seekableEnd=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.end(i));return t.length?t.sort()[t.length-1]:1/0},t.seekableStart=function(){for(var e=this.player_.seekable(),t=[],i=e?e.length:0;i--;)t.push(e.start(i));return t.length?t.sort()[0]:0},t.liveWindow=function(){var e=this.liveCurrentTime();return e===1/0?0:e-this.seekableStart()},t.isLive=function(){return this.isTracking()},t.atLiveEdge=function(){return!this.behindLiveEdge()},t.liveCurrentTime=function(){return this.pastSeekEnd()+this.seekableEnd()},t.pastSeekEnd=function(){var e=this.seekableEnd();return-1!==this.lastSeekEnd_&&e!==this.lastSeekEnd_&&(this.pastSeekEnd_=0),this.lastSeekEnd_=e,this.pastSeekEnd_},t.behindLiveEdge=function(){return this.behindLiveEdge_},t.isTracking=function(){return\"number\"==typeof this.trackingInterval_},t.seekToLiveEdge=function(){this.seekedBehindLive_=!1,this.atLiveEdge()||(this.nextSeekedFromUser_=!1,this.player_.currentTime(this.liveCurrentTime()))},t.dispose=function(){this.off(d,\"visibilitychange\",this.handleVisibilityChange_),this.stopTracking(),n.prototype.dispose.call(this)},e}(pt));function En(e){if((n=e.el()).hasAttribute(\"src\"))return e.triggerSourceset(n.src),1;var t=e.$$(\"source\"),i=[],n=\"\";if(t.length){for(var r=0;r<t.length;r++){var a=t[r].src;a&&-1===i.indexOf(a)&&i.push(a)}return!!i.length&&(1===i.length&&(n=i[0]),e.triggerSourceset(n),!0)}}function kn(e,t){for(var i={},n=0;n<e.length&&!((i=Object.getOwnPropertyDescriptor(e[n],t))&&i.set&&i.get);n++);return i.enumerable=!0,i.configurable=!0,i}function Cn(a){var t,e,i,s=a.el();s.resetSourceWatch_||(t={},e=kn([a.el(),_.HTMLMediaElement.prototype,_.Element.prototype,An],\"innerHTML\"),i=function(r){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=r.apply(s,t);return En(a),n}},[\"append\",\"appendChild\",\"insertAdjacentHTML\"].forEach(function(e){s[e]&&(t[e]=s[e],s[e]=i(t[e]))}),Object.defineProperty(s,\"innerHTML\",ct(e,{set:i(e.set)})),s.resetSourceWatch_=function(){s.resetSourceWatch_=null,Object.keys(t).forEach(function(e){s[e]=t[e]}),Object.defineProperty(s,\"innerHTML\",e)},a.one(\"sourceset\",s.resetSourceWatch_))}function wn(i){var n,t,r,a;i.featuresSourceset&&((n=i.el()).resetSourceset_||(t=kn([i.el(),_.HTMLMediaElement.prototype,Pn],\"src\"),r=n.setAttribute,a=n.load,Object.defineProperty(n,\"src\",ct(t,{set:function(e){e=t.set.call(n,e);return i.triggerSourceset(n.src),e}})),n.setAttribute=function(e,t){t=r.call(n,e,t);return/src/i.test(e)&&i.triggerSourceset(n.src),t},n.load=function(){var e=a.call(n);return En(i)||(i.triggerSourceset(\"\"),Cn(i)),e},n.currentSrc?i.triggerSourceset(n.currentSrc):En(i)||Cn(i),n.resetSourceset_=function(){n.resetSourceset_=null,n.load=a,n.setAttribute=r,Object.defineProperty(n,\"src\",t),n.resetSourceWatch_&&n.resetSourceWatch_()}))}function In(t,i,n,e){function r(e){return Object.defineProperty(t,i,{value:e,enumerable:!0,writable:!0})}var a={configurable:!0,enumerable:!0,get:function(){var e=n();return r(e),e}};return(e=void 0===e?!0:e)&&(a.set=r),Object.defineProperty(t,i,a)}var xn,An=Object.defineProperty({},\"innerHTML\",{get:function(){return this.cloneNode(!0).innerHTML},set:function(e){var t=d.createElement(this.nodeName.toLowerCase());t.innerHTML=e;for(var i=d.createDocumentFragment();t.childNodes.length;)i.appendChild(t.childNodes[0]);return this.innerText=\"\",_.Element.prototype.appendChild.call(this,i),this.innerHTML}}),Pn=Object.defineProperty({},\"src\",{get:function(){return this.hasAttribute(\"src\")?Nt(_.Element.prototype.getAttribute.call(this,\"src\")):\"\"},set:function(e){return _.Element.prototype.setAttribute.call(this,\"src\",e),e}}),Ln=function(l){function s(e,t){var i=l.call(this,e,t)||this,t=e.source,n=!1;if(t&&(i.el_.currentSrc!==t.src||e.tag&&3===e.tag.initNetworkState_)?i.setSource(t):i.handleLateInit_(i.el_),e.enableSourceset&&i.setupSourcesetHandling_(),i.isScrubbing_=!1,i.el_.hasChildNodes()){for(var r=i.el_.childNodes,a=r.length,s=[];a--;){var o=r[a];\"track\"===o.nodeName.toLowerCase()&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(o),i.remoteTextTracks().addTrack(o.track),i.textTracks().addTrack(o.track),n||i.el_.hasAttribute(\"crossorigin\")||!Bt(o.src)||(n=!0)):s.push(o))}for(var u=0;u<s.length;u++)i.el_.removeChild(s[u])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&n&&f.warn(\"Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\\nThis may prevent text tracks from loading.\"),i.restoreMetadataTracksInIOSNativePlayer_(),(j||q||D)&&!0===e.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}mt(s,l);var e=s.prototype;return e.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),s.disposeMediaElement(this.el_),this.options_=null,l.prototype.dispose.call(this)},e.setupSourcesetHandling_=function(){wn(this)},e.restoreMetadataTracksInIOSNativePlayer_=function(){function e(){i=[];for(var e=0;e<n.length;e++){var t=n[e];\"metadata\"===t.kind&&i.push({track:t,storedMode:t.mode})}}var i,n=this.textTracks();e(),n.addEventListener(\"change\",e),this.on(\"dispose\",function(){return n.removeEventListener(\"change\",e)});function r(){for(var e=0;e<i.length;e++){var t=i[e];\"disabled\"===t.track.mode&&t.track.mode!==t.storedMode&&(t.track.mode=t.storedMode)}n.removeEventListener(\"change\",r)}this.on(\"webkitbeginfullscreen\",function(){n.removeEventListener(\"change\",e),n.removeEventListener(\"change\",r),n.addEventListener(\"change\",r)}),this.on(\"webkitendfullscreen\",function(){n.removeEventListener(\"change\",e),n.addEventListener(\"change\",e),n.removeEventListener(\"change\",r)})},e.overrideNative_=function(e,t){var i,n=this;t===this[\"featuresNative\"+e+\"Tracks\"]&&(this[(i=e.toLowerCase())+\"TracksListeners_\"]&&Object.keys(this[i+\"TracksListeners_\"]).forEach(function(e){n.el()[i+\"Tracks\"].removeEventListener(e,n[i+\"TracksListeners_\"][e])}),this[\"featuresNative\"+e+\"Tracks\"]=!t,this[i+\"TracksListeners_\"]=null,this.proxyNativeTracksForType_(i))},e.overrideNativeAudioTracks=function(e){this.overrideNative_(\"Audio\",e)},e.overrideNativeVideoTracks=function(e){this.overrideNative_(\"Video\",e)},e.proxyNativeTracksForType_=function(i){var e,t,n=this,r=ri[i],a=this.el()[r.getterName],s=this[r.getterName]();this[\"featuresNative\"+r.capitalName+\"Tracks\"]&&a&&a.addEventListener&&(t=function(){for(var e=[],t=0;t<s.length;t++){for(var i=!1,n=0;n<a.length;n++)if(a[n]===s[t]){i=!0;break}i||e.push(s[t])}for(;e.length;)s.removeTrack(e.shift())},this[r.getterName+\"Listeners_\"]=e={change:function(e){var t={type:\"change\",target:s,currentTarget:s,srcElement:s};s.trigger(t),\"text\"===i&&n[ai.remoteText.getterName]().trigger(t)},addtrack:function(e){s.addTrack(e.track)},removetrack:function(e){s.removeTrack(e.track)}},Object.keys(e).forEach(function(t){var i=e[t];a.addEventListener(t,i),n.on(\"dispose\",function(e){return a.removeEventListener(t,i)})}),this.on(\"loadstart\",t),this.on(\"dispose\",function(e){return n.off(\"loadstart\",t)}))},e.proxyNativeTracks_=function(){var t=this;ri.names.forEach(function(e){t.proxyNativeTracksForType_(e)})},e.createEl=function(){var e,t=this.options_.tag;t&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(t?(e=t.cloneNode(!0),t.parentNode&&t.parentNode.insertBefore(e,t),s.disposeMediaElement(t),t=e):(t=d.createElement(\"video\"),e=ct({},this.options_.tag&&se(this.options_.tag)),j&&!0===this.options_.nativeControlsForTouch||delete e.controls,ae(t,T(e,{id:this.options_.techId,class:\"vjs-tech\"}))),t.playerId=this.options_.playerId),\"undefined\"!=typeof this.options_.preload&&ue(t,\"preload\",this.options_.preload),void 0!==this.options_.disablePictureInPicture&&(t.disablePictureInPicture=this.options_.disablePictureInPicture);for(var i=[\"loop\",\"muted\",\"playsinline\",\"autoplay\"],n=0;n<i.length;n++){var r=i[n],a=this.options_[r];\"undefined\"!=typeof a&&(a?ue(t,r,r):le(t,r),t[r]=a)}return t},e.handleLateInit_=function(e){if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=!1,i=function(){t=!0};this.on(\"loadstart\",i);var n=function(){t||this.trigger(\"loadstart\")};return this.on(\"loadedmetadata\",n),void this.ready(function(){this.off(\"loadstart\",i),this.off(\"loadedmetadata\",n),t||this.trigger(\"loadstart\")})}var r=[\"loadstart\"];r.push(\"loadedmetadata\"),2<=e.readyState&&r.push(\"loadeddata\"),3<=e.readyState&&r.push(\"canplay\"),4<=e.readyState&&r.push(\"canplaythrough\"),this.ready(function(){r.forEach(function(e){this.trigger(e)},this)})}},e.setScrubbing=function(e){this.isScrubbing_=e},e.scrubbing=function(){return this.isScrubbing_},e.setCurrentTime=function(e){try{this.isScrubbing_&&this.el_.fastSeek&&W?this.el_.fastSeek(e):this.el_.currentTime=e}catch(e){f(e,\"Video is not ready. (Video.js)\")}},e.duration=function(){var t=this;return this.el_.duration===1/0&&P&&M&&0===this.el_.currentTime?(this.on(\"timeupdate\",function e(){0<t.el_.currentTime&&(t.el_.duration===1/0&&t.trigger(\"durationchange\"),t.off(\"timeupdate\",e))}),NaN):this.el_.duration||NaN},e.width=function(){return this.el_.offsetWidth},e.height=function(){return this.el_.offsetHeight},e.proxyWebkitFullscreen_=function(){var e,t,i=this;\"webkitDisplayingFullscreen\"in this.el_&&(e=function(){this.trigger(\"fullscreenchange\",{isFullscreen:!1})},t=function(){\"webkitPresentationMode\"in this.el_&&\"picture-in-picture\"!==this.el_.webkitPresentationMode&&(this.one(\"webkitendfullscreen\",e),this.trigger(\"fullscreenchange\",{isFullscreen:!0,nativeIOSFullscreen:!0}))},this.on(\"webkitbeginfullscreen\",t),this.on(\"dispose\",function(){i.off(\"webkitbeginfullscreen\",t),i.off(\"webkitendfullscreen\",e)}))},e.supportsFullScreen=function(){if(\"function\"==typeof this.el_.webkitEnterFullScreen){var e=_.navigator&&_.navigator.userAgent||\"\";if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},e.enterFullScreen=function(){var e=this.el_;if(e.paused&&e.networkState<=e.HAVE_METADATA)kt(this.el_.play()),this.setTimeout(function(){e.pause();try{e.webkitEnterFullScreen()}catch(e){this.trigger(\"fullscreenerror\",e)}},0);else try{e.webkitEnterFullScreen()}catch(e){this.trigger(\"fullscreenerror\",e)}},e.exitFullScreen=function(){this.el_.webkitDisplayingFullscreen?this.el_.webkitExitFullScreen():this.trigger(\"fullscreenerror\",new Error(\"The video is not fullscreen\"))},e.requestPictureInPicture=function(){return this.el_.requestPictureInPicture()},e.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},e.reset=function(){s.resetMediaElement(this.el_)},e.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.setControls=function(e){this.el_.controls=!!e},e.addTextTrack=function(e,t,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,t,i):l.prototype.addTextTrack.call(this,e,t,i)},e.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return l.prototype.createRemoteTextTrack.call(this,e);var t=d.createElement(\"track\");return e.kind&&(t.kind=e.kind),e.label&&(t.label=e.label),(e.language||e.srclang)&&(t.srclang=e.language||e.srclang),e.default&&(t.default=e.default),e.id&&(t.id=e.id),e.src&&(t.src=e.src),t},e.addRemoteTextTrack=function(e,t){t=l.prototype.addRemoteTextTrack.call(this,e,t);return this.featuresNativeTextTracks&&this.el().appendChild(t),t},e.removeRemoteTextTrack=function(e){if(l.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks)for(var t=this.$$(\"track\"),i=t.length;i--;)e!==t[i]&&e!==t[i].track||this.el().removeChild(t[i])},e.getVideoPlaybackQuality=function(){if(\"function\"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var e={};return\"undefined\"!=typeof this.el().webkitDroppedFrameCount&&\"undefined\"!=typeof this.el().webkitDecodedFrameCount&&(e.droppedVideoFrames=this.el().webkitDroppedFrameCount,e.totalVideoFrames=this.el().webkitDecodedFrameCount),_.performance&&\"function\"==typeof _.performance.now?e.creationTime=_.performance.now():_.performance&&_.performance.timing&&\"number\"==typeof _.performance.timing.navigationStart&&(e.creationTime=_.Date.now()-_.performance.timing.navigationStart),e},s}(Ui);In(Ln,\"TEST_VID\",function(){if(K()){var e=d.createElement(\"video\"),t=d.createElement(\"track\");return t.kind=\"captions\",t.srclang=\"en\",t.label=\"English\",e.appendChild(t),e}}),Ln.isSupported=function(){try{Ln.TEST_VID.volume=.5}catch(e){return!1}return!(!Ln.TEST_VID||!Ln.TEST_VID.canPlayType)},Ln.canPlayType=function(e){return Ln.TEST_VID.canPlayType(e)},Ln.canPlaySource=function(e,t){return Ln.canPlayType(e.type)},Ln.canControlVolume=function(){try{var e=Ln.TEST_VID.volume;return Ln.TEST_VID.volume=e/2+.1,e!==Ln.TEST_VID.volume}catch(e){return!1}},Ln.canMuteVolume=function(){try{var e=Ln.TEST_VID.muted;return Ln.TEST_VID.muted=!e,Ln.TEST_VID.muted?ue(Ln.TEST_VID,\"muted\",\"muted\"):le(Ln.TEST_VID,\"muted\"),e!==Ln.TEST_VID.muted}catch(e){return!1}},Ln.canControlPlaybackRate=function(){if(P&&M&&N<58)return!1;try{var e=Ln.TEST_VID.playbackRate;return Ln.TEST_VID.playbackRate=e/2+.1,e!==Ln.TEST_VID.playbackRate}catch(e){return!1}},Ln.canOverrideAttributes=function(){try{var e=function(){};Object.defineProperty(d.createElement(\"video\"),\"src\",{get:e,set:e}),Object.defineProperty(d.createElement(\"audio\"),\"src\",{get:e,set:e}),Object.defineProperty(d.createElement(\"video\"),\"innerHTML\",{get:e,set:e}),Object.defineProperty(d.createElement(\"audio\"),\"innerHTML\",{get:e,set:e})}catch(e){return!1}return!0},Ln.supportsNativeTextTracks=function(){return W||V&&M},Ln.supportsNativeVideoTracks=function(){return!(!Ln.TEST_VID||!Ln.TEST_VID.videoTracks)},Ln.supportsNativeAudioTracks=function(){return!(!Ln.TEST_VID||!Ln.TEST_VID.audioTracks)},Ln.Events=[\"loadstart\",\"suspend\",\"abort\",\"error\",\"emptied\",\"stalled\",\"loadedmetadata\",\"loadeddata\",\"canplay\",\"canplaythrough\",\"playing\",\"waiting\",\"seeking\",\"seeked\",\"ended\",\"durationchange\",\"timeupdate\",\"progress\",\"play\",\"pause\",\"ratechange\",\"resize\",\"volumechange\"],[[\"featuresVolumeControl\",\"canControlVolume\"],[\"featuresMuteControl\",\"canMuteVolume\"],[\"featuresPlaybackRate\",\"canControlPlaybackRate\"],[\"featuresSourceset\",\"canOverrideAttributes\"],[\"featuresNativeTextTracks\",\"supportsNativeTextTracks\"],[\"featuresNativeVideoTracks\",\"supportsNativeVideoTracks\"],[\"featuresNativeAudioTracks\",\"supportsNativeAudioTracks\"]].forEach(function(e){var t=e[0],i=e[1];In(Ln.prototype,t,function(){return Ln[i]()},!0)}),Ln.prototype.movingMediaElementInDOM=!V,Ln.prototype.featuresFullscreenResize=!0,Ln.prototype.featuresProgressEvents=!0,Ln.prototype.featuresTimeupdateEvents=!0,Ln.patchCanPlayType=function(){4<=L&&!O&&!M&&(xn=Ln.TEST_VID&&Ln.TEST_VID.constructor.prototype.canPlayType,Ln.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&/^application\\/(?:x-|vnd\\.apple\\.)mpegurl/i.test(e)?\"maybe\":xn.call(this,e)})},Ln.unpatchCanPlayType=function(){var e=Ln.TEST_VID.constructor.prototype.canPlayType;return xn&&(Ln.TEST_VID.constructor.prototype.canPlayType=xn),e},Ln.patchCanPlayType(),Ln.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);e.removeAttribute(\"src\"),\"function\"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},Ln.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll(\"source\"),i=t.length;i--;)e.removeChild(t[i]);e.removeAttribute(\"src\"),\"function\"==typeof e.load&&function(){try{e.load()}catch(e){}}()}},[\"muted\",\"defaultMuted\",\"autoplay\",\"controls\",\"loop\",\"playsinline\"].forEach(function(e){Ln.prototype[e]=function(){return this.el_[e]||this.el_.hasAttribute(e)}}),[\"muted\",\"defaultMuted\",\"autoplay\",\"loop\",\"playsinline\"].forEach(function(t){Ln.prototype[\"set\"+lt(t)]=function(e){(this.el_[t]=e)?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),[\"paused\",\"currentTime\",\"buffered\",\"volume\",\"poster\",\"preload\",\"error\",\"seeking\",\"seekable\",\"ended\",\"playbackRate\",\"defaultPlaybackRate\",\"disablePictureInPicture\",\"played\",\"networkState\",\"readyState\",\"videoWidth\",\"videoHeight\",\"crossOrigin\"].forEach(function(e){Ln.prototype[e]=function(){return this.el_[e]}}),[\"volume\",\"src\",\"poster\",\"preload\",\"playbackRate\",\"defaultPlaybackRate\",\"disablePictureInPicture\",\"crossOrigin\"].forEach(function(t){Ln.prototype[\"set\"+lt(t)]=function(e){this.el_[t]=e}}),[\"pause\",\"load\",\"play\"].forEach(function(e){Ln.prototype[e]=function(){return this.el_[e]()}}),Ui.withSourceHandlers(Ln),Ln.nativeSourceHandler={},Ln.nativeSourceHandler.canPlayType=function(e){try{return Ln.TEST_VID.canPlayType(e)}catch(e){return\"\"}},Ln.nativeSourceHandler.canHandleSource=function(e,t){if(e.type)return Ln.nativeSourceHandler.canPlayType(e.type);if(e.src){e=Ut(e.src);return Ln.nativeSourceHandler.canPlayType(\"video/\"+e)}return\"\"},Ln.nativeSourceHandler.handleSource=function(e,t,i){t.setSrc(e.src)},Ln.nativeSourceHandler.dispose=function(){},Ln.registerSourceHandler(Ln.nativeSourceHandler),Ui.registerTech(\"Html5\",Ln);var Dn=[\"progress\",\"abort\",\"suspend\",\"emptied\",\"stalled\",\"loadedmetadata\",\"loadeddata\",\"timeupdate\",\"resize\",\"volumechange\",\"texttrackchange\"],On={canplay:\"CanPlay\",canplaythrough:\"CanPlayThrough\",playing:\"Playing\",seeked:\"Seeked\"},Rn=[\"tiny\",\"xsmall\",\"small\",\"medium\",\"large\",\"xlarge\",\"huge\"],Mn={};Rn.forEach(function(e){var t=\"x\"===e.charAt(0)?\"x-\"+e.substring(1):e;Mn[e]=\"vjs-layout-\"+t});var Nn={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Un=function(c){function o(e,t,i){var n,r;if(e.id=e.id||t.id||\"vjs_video_\"+Le++,(t=T(o.getTagSettings(e),t)).initChildren=!1,t.createEl=!1,t.evented=!1,t.reportTouchActivity=!1,!t.language)if(\"function\"==typeof e.closest){var a=e.closest(\"[lang]\");a&&a.getAttribute&&(t.language=a.getAttribute(\"lang\"))}else for(var s=e;s&&1===s.nodeType;){if(se(s).hasOwnProperty(\"lang\")){t.language=s.getAttribute(\"lang\");break}s=s.parentNode}if((n=c.call(this,null,t,i)||this).boundDocumentFullscreenChange_=function(e){return n.documentFullscreenChange_(e)},n.boundFullWindowOnEscKey_=function(e){return n.fullWindowOnEscKey(e)},n.boundUpdateStyleEl_=function(e){return n.updateStyleEl_(e)},n.boundApplyInitTime_=function(e){return n.applyInitTime_(e)},n.boundUpdateCurrentBreakpoint_=function(e){return n.updateCurrentBreakpoint_(e)},n.boundHandleTechClick_=function(e){return n.handleTechClick_(e)},n.boundHandleTechDoubleClick_=function(e){return n.handleTechDoubleClick_(e)},n.boundHandleTechTouchStart_=function(e){return n.handleTechTouchStart_(e)},n.boundHandleTechTouchMove_=function(e){return n.handleTechTouchMove_(e)},n.boundHandleTechTouchEnd_=function(e){return n.handleTechTouchEnd_(e)},n.boundHandleTechTap_=function(e){return n.handleTechTap_(e)},n.isFullscreen_=!1,n.log=m(n.id_),n.fsApi_=l,n.isPosterFromTech_=!1,n.queuedCallbacks_=[],n.isReady_=!1,n.hasStarted_=!1,n.userActive_=!1,n.debugEnabled_=!1,!n.options_||!n.options_.techOrder||!n.options_.techOrder.length)throw new Error(\"No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?\");n.tag=e,n.tagAttributes=e&&se(e),n.language(n.options_.language),t.languages?(r={},Object.getOwnPropertyNames(t.languages).forEach(function(e){r[e.toLowerCase()]=t.languages[e]}),n.languages_=r):n.languages_=o.prototype.options_.languages,n.resetCache_(),n.poster_=t.poster||\"\",n.controls_=!!t.controls,e.controls=!1,e.removeAttribute(\"controls\"),n.changingSrc_=!1,n.playCallbacks_=[],n.playTerminatedQueue_=[],e.hasAttribute(\"autoplay\")?n.autoplay(!0):n.autoplay(n.options_.autoplay),t.plugins&&Object.keys(t.plugins).forEach(function(e){if(\"function\"!=typeof n[e])throw new Error('plugin \"'+e+'\" does not exist')}),n.scrubbing_=!1,n.el_=n.createEl(),at(ft(n),{eventBusKey:\"el_\"}),n.fsApi_.requestFullscreen&&(Fe(d,n.fsApi_.fullscreenchange,n.boundDocumentFullscreenChange_),n.on(n.fsApi_.fullscreenchange,n.boundDocumentFullscreenChange_)),n.fluid_&&n.on([\"playerreset\",\"resize\"],n.boundUpdateStyleEl_);i=ct(n.options_);t.plugins&&Object.keys(t.plugins).forEach(function(e){n[e](t.plugins[e])}),t.debug&&n.debug(!0),n.options_.playerOptions=i,n.middleware_=[],n.playbackRates(t.playbackRates),n.initChildren(),n.isAudio(\"audio\"===e.nodeName.toLowerCase()),n.controls()?n.addClass(\"vjs-controls-enabled\"):n.addClass(\"vjs-controls-disabled\"),n.el_.setAttribute(\"role\",\"region\"),n.isAudio()?n.el_.setAttribute(\"aria-label\",n.localize(\"Audio Player\")):n.el_.setAttribute(\"aria-label\",n.localize(\"Video Player\")),n.isAudio()&&n.addClass(\"vjs-audio\"),n.flexNotSupported_()&&n.addClass(\"vjs-no-flex\"),j&&n.addClass(\"vjs-touch-enabled\"),V||n.addClass(\"vjs-workinghover\"),o.players[n.id_]=ft(n);e=u.split(\".\")[0];return n.addClass(\"vjs-v\"+e),n.userActive(!0),n.reportUserActivity(),n.one(\"play\",function(e){return n.listenForUserActivity_(e)}),n.on(\"stageclick\",function(e){return n.handleStageClick_(e)}),n.on(\"keydown\",function(e){return n.handleKeyDown(e)}),n.on(\"languagechange\",function(e){return n.handleLanguagechange(e)}),n.breakpoints(n.options_.breakpoints),n.responsive(n.options_.responsive),n}mt(o,c);var e=o.prototype;return e.dispose=function(){var t=this;this.trigger(\"dispose\"),this.off(\"dispose\"),je(d,this.fsApi_.fullscreenchange,this.boundDocumentFullscreenChange_),je(d,\"keydown\",this.boundFullWindowOnEscKey_),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),o.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=\"\"),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Fi[this.id()]=null,si.names.forEach(function(e){e=si[e],e=t[e.getterName]();e&&e.off&&e.off()}),c.prototype.dispose.call(this)},e.createEl=function(){var t,i=this.tag,e=this.playerElIngest_=i.parentNode&&i.parentNode.hasAttribute&&i.parentNode.hasAttribute(\"data-vjs-player\"),n=\"video-js\"===this.tag.tagName.toLowerCase();e?t=this.el_=i.parentNode:n||(t=this.el_=c.prototype.createEl.call(this,\"div\"));var r,a,s=se(i);if(n){for(t=this.el_=i,i=this.tag=d.createElement(\"video\");t.children.length;)i.appendChild(t.firstChild);te(t,\"video-js\")||ie(t,\"video-js\"),t.appendChild(i),e=this.playerElIngest_=t,Object.keys(t).forEach(function(e){try{i[e]=t[e]}catch(e){}})}i.setAttribute(\"tabindex\",\"-1\"),s.tabindex=\"-1\",(U||M&&F)&&(i.setAttribute(\"role\",\"application\"),s.role=\"application\"),i.removeAttribute(\"width\"),i.removeAttribute(\"height\"),\"width\"in s&&delete s.width,\"height\"in s&&delete s.height,Object.getOwnPropertyNames(s).forEach(function(e){n&&\"class\"===e||t.setAttribute(e,s[e]),n&&i.setAttribute(e,s[e])}),i.playerId=i.id,i.id+=\"_html5_api\",i.className=\"vjs-tech\",(i.player=t.player=this).addClass(\"vjs-paused\"),!0!==_.VIDEOJS_NO_DYNAMIC_STYLE&&(this.styleEl_=Ae(\"vjs-styles-dimensions\"),r=Se(\".vjs-styles-defaults\"),(a=Se(\"head\")).insertBefore(this.styleEl_,r?r.nextSibling:a.firstChild)),this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),this.crossOrigin(this.options_.crossOrigin||this.options_.crossorigin);for(var o=i.getElementsByTagName(\"a\"),u=0;u<o.length;u++){var l=o.item(u);ie(l,\"vjs-hidden\"),l.setAttribute(\"hidden\",\"hidden\")}return i.initNetworkState_=i.networkState,i.parentNode&&!e&&i.parentNode.insertBefore(t,i),ee(i,t),this.children_.unshift(i),this.el_.setAttribute(\"lang\",this.language_),this.el_=t},e.crossOrigin=function(e){if(!e)return this.techGet_(\"crossOrigin\");\"anonymous\"===e||\"use-credentials\"===e?this.techCall_(\"setCrossOrigin\",e):f.warn('crossOrigin must be \"anonymous\" or \"use-credentials\", given \"'+e+'\"')},e.width=function(e){return this.dimension(\"width\",e)},e.height=function(e){return this.dimension(\"height\",e)},e.dimension=function(e,t){var i=e+\"_\";if(void 0===t)return this[i]||0;if(\"\"===t||\"auto\"===t)return this[i]=void 0,void this.updateStyleEl_();var n=parseFloat(t);isNaN(n)?f.error('Improper value \"'+t+'\" supplied for for '+e):(this[i]=n,this.updateStyleEl_())},e.fluid=function(e){var t,i=this;if(void 0===e)return!!this.fluid_;this.fluid_=!!e,nt(this)&&this.off([\"playerreset\",\"resize\"],this.boundUpdateStyleEl_),e?(this.addClass(\"vjs-fluid\"),this.fill(!1),t=function(){i.on([\"playerreset\",\"resize\"],i.boundUpdateStyleEl_)},nt(e=this)?t():(e.eventedCallbacks||(e.eventedCallbacks=[]),e.eventedCallbacks.push(t))):this.removeClass(\"vjs-fluid\"),this.updateStyleEl_()},e.fill=function(e){if(void 0===e)return!!this.fill_;this.fill_=!!e,e?(this.addClass(\"vjs-fill\"),this.fluid(!1)):this.removeClass(\"vjs-fill\")},e.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\\d+\\:\\d+$/.test(e))throw new Error(\"Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.\");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},e.updateStyleEl_=function(){var e,t,i,n;!0!==_.VIDEOJS_NO_DYNAMIC_STYLE?(n=(i=(void 0!==this.aspectRatio_&&\"auto\"!==this.aspectRatio_?this.aspectRatio_:0<this.videoWidth()?this.videoWidth()+\":\"+this.videoHeight():\"16:9\").split(\":\"))[1]/i[0],e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/n:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*n,i=/^[^a-zA-Z]/.test(this.id())?\"dimensions-\"+this.id():this.id()+\"-dimensions\",this.addClass(i),Pe(this.styleEl_,\"\\n      .\"+i+\" {\\n        width: \"+e+\"px;\\n        height: \"+t+\"px;\\n      }\\n\\n      .\"+i+\".vjs-fluid {\\n        padding-top: \"+100*n+\"%;\\n      }\\n    \")):(t=\"number\"==typeof this.width_?this.width_:this.options_.width,i=\"number\"==typeof this.height_?this.height_:this.options_.height,(n=this.tech_&&this.tech_.el())&&(0<=t&&(n.width=t),0<=i&&(n.height=i)))},e.loadTech_=function(e,t){var i=this;this.tech_&&this.unloadTech_();var n=lt(e),r=e.charAt(0).toLowerCase()+e.slice(1);\"Html5\"!==n&&this.tag&&(Ui.getTech(\"Html5\").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=n,this.isReady_=!1;var a=this.autoplay(),s={source:t,autoplay:a=\"string\"==typeof this.autoplay()||!0===this.autoplay()&&this.options_.normalizeAutoplay?!1:a,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+\"_\"+r+\"_api\",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,disablePictureInPicture:this.options_.disablePictureInPicture,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,\"vtt.js\":this.options_[\"vtt.js\"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset,Promise:this.options_.Promise};si.names.forEach(function(e){e=si[e];s[e.getterName]=i[e.privateName]}),T(s,this.options_[n]),T(s,this.options_[r]),T(s,this.options_[e.toLowerCase()]),this.tag&&(s.tag=this.tag),t&&t.src===this.cache_.src&&0<this.cache_.currentTime&&(s.startTime=this.cache_.currentTime);e=Ui.getTech(e);if(!e)throw new Error(\"No Tech named '\"+n+\"' exists! '\"+n+\"' should be registered using videojs.registerTech()'\");this.tech_=new e(s),this.tech_.ready(We(this,this.handleTechReady_),!0),It(this.textTracksJson_||[],this.tech_),Dn.forEach(function(t){i.on(i.tech_,t,function(e){return i[\"handleTech\"+lt(t)+\"_\"](e)})}),Object.keys(On).forEach(function(t){i.on(i.tech_,t,function(e){0===i.tech_.playbackRate()&&i.tech_.seeking()?i.queuedCallbacks_.push({callback:i[\"handleTech\"+On[t]+\"_\"].bind(i),event:e}):i[\"handleTech\"+On[t]+\"_\"](e)})}),this.on(this.tech_,\"loadstart\",function(e){return i.handleTechLoadStart_(e)}),this.on(this.tech_,\"sourceset\",function(e){return i.handleTechSourceset_(e)}),this.on(this.tech_,\"waiting\",function(e){return i.handleTechWaiting_(e)}),this.on(this.tech_,\"ended\",function(e){return i.handleTechEnded_(e)}),this.on(this.tech_,\"seeking\",function(e){return i.handleTechSeeking_(e)}),this.on(this.tech_,\"play\",function(e){return i.handleTechPlay_(e)}),this.on(this.tech_,\"firstplay\",function(e){return i.handleTechFirstPlay_(e)}),this.on(this.tech_,\"pause\",function(e){return i.handleTechPause_(e)}),this.on(this.tech_,\"durationchange\",function(e){return i.handleTechDurationChange_(e)}),this.on(this.tech_,\"fullscreenchange\",function(e,t){return i.handleTechFullscreenChange_(e,t)}),this.on(this.tech_,\"fullscreenerror\",function(e,t){return i.handleTechFullscreenError_(e,t)}),this.on(this.tech_,\"enterpictureinpicture\",function(e){return i.handleTechEnterPictureInPicture_(e)}),this.on(this.tech_,\"leavepictureinpicture\",function(e){return i.handleTechLeavePictureInPicture_(e)}),this.on(this.tech_,\"error\",function(e){return i.handleTechError_(e)}),this.on(this.tech_,\"posterchange\",function(e){return i.handleTechPosterChange_(e)}),this.on(this.tech_,\"textdata\",function(e){return i.handleTechTextData_(e)}),this.on(this.tech_,\"ratechange\",function(e){return i.handleTechRateChange_(e)}),this.on(this.tech_,\"loadedmetadata\",this.boundUpdateStyleEl_),this.usingNativeControls(this.techGet_(\"controls\")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||\"Html5\"===n&&this.tag||ee(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.unloadTech_=function(){var t=this;si.names.forEach(function(e){e=si[e];t[e.privateName]=t[e.getterName]()}),this.textTracksJson_=wt(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_=\"\",this.trigger(\"posterchange\")),this.isPosterFromTech_=!1},e.tech=function(e){return void 0===e&&f.warn(\"Using the tech directly can be dangerous. I hope you know what you're doing.\\nSee https://github.com/videojs/video.js/issues/2617 for more info.\\n\"),this.tech_},e.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,\"mouseup\",this.boundHandleTechClick_),this.on(this.tech_,\"dblclick\",this.boundHandleTechDoubleClick_),this.on(this.tech_,\"touchstart\",this.boundHandleTechTouchStart_),this.on(this.tech_,\"touchmove\",this.boundHandleTechTouchMove_),this.on(this.tech_,\"touchend\",this.boundHandleTechTouchEnd_),this.on(this.tech_,\"tap\",this.boundHandleTechTap_)},e.removeTechControlsListeners_=function(){this.off(this.tech_,\"tap\",this.boundHandleTechTap_),this.off(this.tech_,\"touchstart\",this.boundHandleTechTouchStart_),this.off(this.tech_,\"touchmove\",this.boundHandleTechTouchMove_),this.off(this.tech_,\"touchend\",this.boundHandleTechTouchEnd_),this.off(this.tech_,\"mouseup\",this.boundHandleTechClick_),this.off(this.tech_,\"dblclick\",this.boundHandleTechDoubleClick_)},e.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_(\"setVolume\",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_()},e.handleTechLoadStart_=function(){this.removeClass(\"vjs-ended\"),this.removeClass(\"vjs-seeking\"),this.error(null),this.handleTechDurationChange_(),this.paused()?(this.hasStarted(!1),this.trigger(\"loadstart\")):(this.trigger(\"loadstart\"),this.trigger(\"firstplay\")),this.manualAutoplay_(!0===this.autoplay()&&this.options_.normalizeAutoplay?\"play\":this.autoplay())},e.manualAutoplay_=function(e){var n=this;if(this.tech_&&\"string\"==typeof e){var t,i=function(){var e=n.muted();n.muted(!0);function t(){n.muted(e)}n.playTerminatedQueue_.push(t);var i=n.play();if(Et(i))return i.catch(function(e){throw t(),new Error(\"Rejection at manualAutoplay. Restoring muted value. \"+(e||\"\"))})};if(\"any\"!==e||this.muted()?t=\"muted\"!==e||this.muted()?this.play():i():Et(t=this.play())&&(t=t.catch(i)),Et(t))return t.then(function(){n.trigger({type:\"autoplay-success\",autoplay:e})}).catch(function(){n.trigger({type:\"autoplay-failure\",autoplay:e})})}},e.updateSourceCaches_=function(e){var t=e=void 0===e?\"\":e,i=\"\";\"string\"!=typeof t&&(t=e.src,i=e.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],t&&!i&&(i=function(e,t){if(!t)return\"\";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var i=e.cache_.sources.filter(function(e){return e.src===t});if(i.length)return i[0].type;for(var n=e.$$(\"source\"),r=0;r<n.length;r++){var a=n[r];if(a.type&&a.src&&a.src===t)return a.type}return Ki(t)}(this,t)),this.cache_.source=ct({},e,{src:t,type:i});for(var i=this.cache_.sources.filter(function(e){return e.src&&e.src===t}),n=[],r=this.$$(\"source\"),a=[],s=0;s<r.length;s++){var o=se(r[s]);n.push(o),o.src&&o.src===t&&a.push(o.src)}a.length&&!i.length?this.cache_.sources=n:i.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=t},e.handleTechSourceset_=function(e){var t,i,n,r=this;this.changingSrc_||(t=function(e){return r.updateSourceCaches_(e)},i=this.currentSource().src,n=e.src,i&&!/^blob:/.test(i)&&/^blob:/.test(n)&&(this.lastSource_&&(this.lastSource_.tech===n||this.lastSource_.player===i)||(t=function(){})),t(n),e.src||this.tech_.any([\"sourceset\",\"loadstart\"],function(e){\"sourceset\"!==e.type&&(e=r.techGet(\"currentSrc\"),r.lastSource_.tech=e,r.updateSourceCaches_(e))})),this.lastSource_={player:this.currentSource().src,tech:e.src},this.trigger({src:e.src,type:\"sourceset\"})},e.hasStarted=function(e){if(void 0===e)return this.hasStarted_;e!==this.hasStarted_&&(this.hasStarted_=e,this.hasStarted_?(this.addClass(\"vjs-has-started\"),this.trigger(\"firstplay\")):this.removeClass(\"vjs-has-started\"))},e.handleTechPlay_=function(){this.removeClass(\"vjs-ended\"),this.removeClass(\"vjs-paused\"),this.addClass(\"vjs-playing\"),this.hasStarted(!0),this.trigger(\"play\")},e.handleTechRateChange_=function(){0<this.tech_.playbackRate()&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(e){return e.callback(e.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger(\"ratechange\")},e.handleTechWaiting_=function(){var t=this;this.addClass(\"vjs-waiting\"),this.trigger(\"waiting\");var i=this.currentTime();this.on(\"timeupdate\",function e(){i!==t.currentTime()&&(t.removeClass(\"vjs-waiting\"),t.off(\"timeupdate\",e))})},e.handleTechCanPlay_=function(){this.removeClass(\"vjs-waiting\"),this.trigger(\"canplay\")},e.handleTechCanPlayThrough_=function(){this.removeClass(\"vjs-waiting\"),this.trigger(\"canplaythrough\")},e.handleTechPlaying_=function(){this.removeClass(\"vjs-waiting\"),this.trigger(\"playing\")},e.handleTechSeeking_=function(){this.addClass(\"vjs-seeking\"),this.trigger(\"seeking\")},e.handleTechSeeked_=function(){this.removeClass(\"vjs-seeking\"),this.removeClass(\"vjs-ended\"),this.trigger(\"seeked\")},e.handleTechFirstPlay_=function(){this.options_.starttime&&(f.warn(\"Passing the `starttime` option to the player will be deprecated in 6.0\"),this.currentTime(this.options_.starttime)),this.addClass(\"vjs-has-started\"),this.trigger(\"firstplay\")},e.handleTechPause_=function(){this.removeClass(\"vjs-playing\"),this.addClass(\"vjs-paused\"),this.trigger(\"pause\")},e.handleTechEnded_=function(){this.addClass(\"vjs-ended\"),this.removeClass(\"vjs-waiting\"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger(\"ended\")},e.handleTechDurationChange_=function(){this.duration(this.techGet_(\"duration\"))},e.handleTechClick_=function(e){be(e)&&this.controls_&&(this.paused()?kt(this.play()):this.pause())},e.handleTechDoubleClick_=function(t){this.controls_&&(Array.prototype.some.call(this.$$(\".vjs-control-bar, .vjs-modal-dialog\"),function(e){return e.contains(t.target)})||void 0!==this.options_&&void 0!==this.options_.userActions&&void 0!==this.options_.userActions.doubleClick&&!1===this.options_.userActions.doubleClick||(void 0!==this.options_&&void 0!==this.options_.userActions&&\"function\"==typeof this.options_.userActions.doubleClick?this.options_.userActions.doubleClick.call(this,t):this.isFullscreen()?this.exitFullscreen():this.requestFullscreen()))},e.handleTechTap_=function(){this.userActive(!this.userActive())},e.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.handleTechTouchEnd_=function(e){e.cancelable&&e.preventDefault()},e.handleStageClick_=function(){this.reportUserActivity()},e.toggleFullscreenClass_=function(){this.isFullscreen()?this.addClass(\"vjs-fullscreen\"):this.removeClass(\"vjs-fullscreen\")},e.documentFullscreenChange_=function(e){var t=e.target.player;t&&t!==this||(e=this.el(),!(t=d[this.fsApi_.fullscreenElement]===e)&&e.matches?t=e.matches(\":\"+this.fsApi_.fullscreen):!t&&e.msMatchesSelector&&(t=e.msMatchesSelector(\":\"+this.fsApi_.fullscreen)),this.isFullscreen(t))},e.handleTechFullscreenChange_=function(e,t){t&&(t.nativeIOSFullscreen&&this.toggleClass(\"vjs-ios-native-fs\"),this.isFullscreen(t.isFullscreen))},e.handleTechFullscreenError_=function(e,t){this.trigger(\"fullscreenerror\",t)},e.togglePictureInPictureClass_=function(){this.isInPictureInPicture()?this.addClass(\"vjs-picture-in-picture\"):this.removeClass(\"vjs-picture-in-picture\")},e.handleTechEnterPictureInPicture_=function(e){this.isInPictureInPicture(!0)},e.handleTechLeavePictureInPicture_=function(e){this.isInPictureInPicture(!1)},e.handleTechError_=function(){var e=this.tech_.error();this.error(e)},e.handleTechTextData_=function(){this.trigger(\"textdata\",1<arguments.length?arguments[1]:null)},e.getCache=function(){return this.cache_},e.resetCache_=function(){this.cache_={currentTime:0,initTime:0,inactivityTimeout:this.options_.inactivityTimeout,duration:NaN,lastVolume:1,lastPlaybackRate:this.defaultPlaybackRate(),media:null,src:\"\",source:{},sources:[],playbackRates:[],volume:1}},e.techCall_=function(n,r){this.ready(function(){if(n in Wi)return e=this.middleware_,t=this.tech_,i=r,t[t=n](e.reduce(Gi(t),i));if(n in zi)return qi(this.middleware_,this.tech_,n,r);var e,t,i;try{this.tech_&&this.tech_[n](r)}catch(e){throw f(e),e}},!0)},e.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Vi)return e=this.middleware_,i=this.tech_,n=t,e.reduceRight(Gi(n),i[n]());if(t in zi)return qi(this.middleware_,this.tech_,t);var e,i,n;try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw f(\"Video.js: \"+t+\" method not defined for \"+this.techName_+\" playback technology.\",e),e;if(\"TypeError\"===e.name)throw f(\"Video.js: \"+t+\" unavailable on \"+this.techName_+\" playback technology element.\",e),this.tech_.isReady_=!1,e;throw f(e),e}}},e.play=function(){var t=this,e=this.options_.Promise||_.Promise;return e?new e(function(e){t.play_(e)}):this.play_()},e.play_=function(e){var t=this;this.playCallbacks_.push(e=void 0===e?kt:e);e=Boolean(!this.changingSrc_&&(this.src()||this.currentSrc()));if(this.waitToPlay_&&(this.off([\"ready\",\"loadstart\"],this.waitToPlay_),this.waitToPlay_=null),!this.isReady_||!e)return this.waitToPlay_=function(e){t.play_()},this.one([\"ready\",\"loadstart\"],this.waitToPlay_),void(e||!W&&!V||this.load());e=this.techGet_(\"play\");null===e?this.runPlayTerminatedQueue_():this.runPlayCallbacks_(e)},e.runPlayTerminatedQueue_=function(){var e=this.playTerminatedQueue_.slice(0);this.playTerminatedQueue_=[],e.forEach(function(e){e()})},e.runPlayCallbacks_=function(t){var e=this.playCallbacks_.slice(0);this.playCallbacks_=[],this.playTerminatedQueue_=[],e.forEach(function(e){e(t)})},e.pause=function(){this.techCall_(\"pause\")},e.paused=function(){return!1!==this.techGet_(\"paused\")},e.played=function(){return this.techGet_(\"played\")||vt(0,0)},e.scrubbing=function(e){if(\"undefined\"==typeof e)return this.scrubbing_;this.scrubbing_=!!e,this.techCall_(\"setScrubbing\",this.scrubbing_),e?this.addClass(\"vjs-scrubbing\"):this.removeClass(\"vjs-scrubbing\")},e.currentTime=function(e){return\"undefined\"!=typeof e?(e<0&&(e=0),this.isReady_&&!this.changingSrc_&&this.tech_&&this.tech_.isReady_?(this.techCall_(\"setCurrentTime\",e),void(this.cache_.initTime=0)):(this.cache_.initTime=e,this.off(\"canplay\",this.boundApplyInitTime_),void this.one(\"canplay\",this.boundApplyInitTime_))):(this.cache_.currentTime=this.techGet_(\"currentTime\")||0,this.cache_.currentTime)},e.applyInitTime_=function(){this.currentTime(this.cache_.initTime)},e.duration=function(e){if(void 0===e)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(e=(e=parseFloat(e))<0?1/0:e)!==this.cache_.duration&&((this.cache_.duration=e)===1/0?this.addClass(\"vjs-live\"):this.removeClass(\"vjs-live\"),isNaN(e)||this.trigger(\"durationchange\"))},e.remainingTime=function(){return this.duration()-this.currentTime()},e.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.buffered=function(){var e;return e=!(e=this.techGet_(\"buffered\"))||!e.length?vt(0,0):e},e.bufferedPercent=function(){return _t(this.buffered(),this.duration())},e.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),e=e.end(e.length-1);return e=t<e?t:e},e.volume=function(e){var t;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_(\"setVolume\",t),void(0<t&&this.lastVolume_(t))):(t=parseFloat(this.techGet_(\"volume\")),isNaN(t)?1:t)},e.muted=function(e){if(void 0===e)return this.techGet_(\"muted\")||!1;this.techCall_(\"setMuted\",e)},e.defaultMuted=function(e){return void 0!==e?this.techCall_(\"setDefaultMuted\",e):this.techGet_(\"defaultMuted\")||!1},e.lastVolume_=function(e){if(void 0===e||0===e)return this.cache_.lastVolume;this.cache_.lastVolume=e},e.supportsFullScreen=function(){return this.techGet_(\"supportsFullScreen\")||!1},e.isFullscreen=function(e){if(void 0===e)return this.isFullscreen_;var t=this.isFullscreen_;this.isFullscreen_=Boolean(e),this.isFullscreen_!==t&&this.fsApi_.prefixed&&this.trigger(\"fullscreenchange\"),this.toggleFullscreenClass_()},e.requestFullscreen=function(s){var e=this.options_.Promise||_.Promise;if(e){var o=this;return new e(function(e,i){function n(){o.off(\"fullscreenerror\",r),o.off(\"fullscreenchange\",t)}function t(){n(),e()}function r(e,t){n(),i(t)}o.one(\"fullscreenchange\",t),o.one(\"fullscreenerror\",r);var a=o.requestFullscreenHelper_(s);a&&(a.then(n,n),a.then(e,i))})}return this.requestFullscreenHelper_()},e.requestFullscreenHelper_=function(e){var t=this;if(this.fsApi_.prefixed||(i=this.options_.fullscreen&&this.options_.fullscreen.options||{},void 0!==e&&(i=e)),this.fsApi_.requestFullscreen){var i=this.el_[this.fsApi_.requestFullscreen](i);return i&&i.then(function(){return t.isFullscreen(!0)},function(){return t.isFullscreen(!1)}),i}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_(\"enterFullScreen\"):this.enterFullWindow()},e.exitFullscreen=function(){var e=this.options_.Promise||_.Promise;if(e){var s=this;return new e(function(e,i){function n(){s.off(\"fullscreenerror\",r),s.off(\"fullscreenchange\",t)}function t(){n(),e()}function r(e,t){n(),i(t)}s.one(\"fullscreenchange\",t),s.one(\"fullscreenerror\",r);var a=s.exitFullscreenHelper_();a&&(a.then(n,n),a.then(e,i))})}return this.exitFullscreenHelper_()},e.exitFullscreenHelper_=function(){var e=this;if(this.fsApi_.requestFullscreen){var t=d[this.fsApi_.exitFullscreen]();return t&&kt(t.then(function(){return e.isFullscreen(!1)})),t}this.tech_.supportsFullScreen()&&!0==!this.options_.preferFullWindow?this.techCall_(\"exitFullScreen\"):this.exitFullWindow()},e.enterFullWindow=function(){this.isFullscreen(!0),this.isFullWindow=!0,this.docOrigOverflow=d.documentElement.style.overflow,Fe(d,\"keydown\",this.boundFullWindowOnEscKey_),d.documentElement.style.overflow=\"hidden\",ie(d.body,\"vjs-full-window\"),this.trigger(\"enterFullWindow\")},e.fullWindowOnEscKey=function(e){xt.isEventKey(e,\"Esc\")&&!0===this.isFullscreen()&&(this.isFullWindow?this.exitFullWindow():this.exitFullscreen())},e.exitFullWindow=function(){this.isFullscreen(!1),this.isFullWindow=!1,je(d,\"keydown\",this.boundFullWindowOnEscKey_),d.documentElement.style.overflow=this.docOrigOverflow,ne(d.body,\"vjs-full-window\"),this.trigger(\"exitFullWindow\")},e.disablePictureInPicture=function(e){if(void 0===e)return this.techGet_(\"disablePictureInPicture\");this.techCall_(\"setDisablePictureInPicture\",e),this.options_.disablePictureInPicture=e,this.trigger(\"disablepictureinpicturechanged\")},e.isInPictureInPicture=function(e){return void 0!==e?(this.isInPictureInPicture_=!!e,void this.togglePictureInPictureClass_()):!!this.isInPictureInPicture_},e.requestPictureInPicture=function(){if(\"pictureInPictureEnabled\"in d&&!1===this.disablePictureInPicture())return this.techGet_(\"requestPictureInPicture\")},e.exitPictureInPicture=function(){if(\"pictureInPictureEnabled\"in d)return d.exitPictureInPicture()},e.handleKeyDown=function(e){var t=this.options_.userActions;t&&t.hotkeys&&(function(e){var t=e.tagName.toLowerCase();if(e.isContentEditable)return!0;if(\"input\"===t)return-1===[\"button\",\"checkbox\",\"hidden\",\"radio\",\"reset\",\"submit\"].indexOf(e.type);return-1!==[\"textarea\"].indexOf(t)}(this.el_.ownerDocument.activeElement)||(\"function\"==typeof t.hotkeys?t.hotkeys.call(this,e):this.handleHotkeys(e)))},e.handleHotkeys=function(e){var t=this.options_.userActions?this.options_.userActions.hotkeys:{},i=t.fullscreenKey,n=t.muteKey,n=void 0===n?function(e){return xt.isEventKey(e,\"m\")}:n,t=t.playPauseKey,t=void 0===t?function(e){return xt.isEventKey(e,\"k\")||xt.isEventKey(e,\"Space\")}:t;(void 0===i?function(e){return xt.isEventKey(e,\"f\")}:i).call(this,e)?(e.preventDefault(),e.stopPropagation(),i=pt.getComponent(\"FullscreenToggle\"),!1!==d[this.fsApi_.fullscreenEnabled]&&i.prototype.handleClick.call(this,e)):n.call(this,e)?(e.preventDefault(),e.stopPropagation(),pt.getComponent(\"MuteToggle\").prototype.handleClick.call(this,e)):t.call(this,e)&&(e.preventDefault(),e.stopPropagation(),pt.getComponent(\"PlayToggle\").prototype.handleClick.call(this,e))},e.canPlayType=function(e){for(var t,i=0,n=this.options_.techOrder;i<n.length;i++){var r=n[i],a=Ui.getTech(r);if(a=a||pt.getComponent(r)){if(a.isSupported()&&(t=a.canPlayType(e)))return t}else f.error('The \"'+r+'\" tech is undefined. Skipped browser support check for that tech.')}return\"\"},e.selectSource=function(e){function t(e,i,n){var r;return e.some(function(t){return i.some(function(e){if(r=n(t,e))return!0})}),r}var i,n=this,r=this.options_.techOrder.map(function(e){return[e,Ui.getTech(e)]}).filter(function(e){var t=e[0],e=e[1];return e?e.isSupported():(f.error('The \"'+t+'\" tech is undefined. Skipped browser support check for that tech.'),!1)}),a=function(e,t){var i=e[0];if(e[1].canPlaySource(t,n.options_[i.toLowerCase()]))return{source:t,tech:i}},a=this.options_.sourceOrder?t(e,r,(i=a,function(e,t){return i(t,e)})):t(r,e,a);return a||!1},e.handleSrc_=function(e,n){var r=this;if(\"undefined\"==typeof e)return this.cache_.src||\"\";this.resetRetryOnError_&&this.resetRetryOnError_();var t,i,a=Yi(e);a.length?(this.changingSrc_=!0,n||(this.cache_.sources=a),this.updateSourceCaches_(a[0]),Hi(this,a[0],function(e,t){var i;return r.middleware_=t,n||(r.cache_.sources=a),r.updateSourceCaches_(e),r.src_(e)?1<a.length?r.handleSrc_(a.slice(1)):(r.changingSrc_=!1,r.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void r.triggerReady()):(t=t,i=r.tech_,void t.forEach(function(e){return e.setTech&&e.setTech(i)}))}),this.options_.retryOnError&&1<a.length&&(i=function(){r.off(\"error\",t)},this.one(\"error\",t=function(){r.error(null),r.handleSrc_(a.slice(1),!0)}),this.one(\"playing\",i),this.resetRetryOnError_=function(){r.off(\"error\",t),r.off(\"playing\",i)})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},e.src=function(e){return this.handleSrc_(e,!1)},e.src_=function(e){var t,i,n=this,r=this.selectSource([e]);return!r||(t=r.tech,i=this.techName_,lt(t)!==lt(i)?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready(function(){n.changingSrc_=!1})):this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty(\"setSource\")?this.techCall_(\"setSource\",e):this.techCall_(\"src\",e.src),this.changingSrc_=!1},!0),!1)},e.load=function(){this.techCall_(\"load\")},e.reset=function(){var e=this,t=this.options_.Promise||_.Promise;this.paused()||!t?this.doReset_():kt(this.play().then(function(){return e.doReset_()}))},e.doReset_=function(){this.tech_&&this.tech_.clearTracks(\"text\"),this.resetCache_(),this.poster(\"\"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_(\"reset\"),this.resetControlBarUI_(),nt(this)&&this.trigger(\"playerreset\")},e.resetControlBarUI_=function(){this.resetProgressBar_(),this.resetPlaybackRate_(),this.resetVolumeBar_()},e.resetProgressBar_=function(){this.currentTime(0);var e=this.controlBar,t=e.durationDisplay,e=e.remainingTimeDisplay;t&&t.updateContent(),e&&e.updateContent()},e.resetPlaybackRate_=function(){this.playbackRate(this.defaultPlaybackRate()),this.handleTechRateChange_()},e.resetVolumeBar_=function(){this.volume(1),this.trigger(\"volumechange\")},e.currentSources=function(){var e=this.currentSource(),t=[];return 0!==Object.keys(e).length&&t.push(e),this.cache_.sources||t},e.currentSource=function(){return this.cache_.source||{}},e.currentSrc=function(){return this.currentSource()&&this.currentSource().src||\"\"},e.currentType=function(){return this.currentSource()&&this.currentSource().type||\"\"},e.preload=function(e){return void 0!==e?(this.techCall_(\"setPreload\",e),void(this.options_.preload=e)):this.techGet_(\"preload\")},e.autoplay=function(e){if(void 0===e)return this.options_.autoplay||!1;var t;\"string\"==typeof e&&/(any|play|muted)/.test(e)||!0===e&&this.options_.normalizeAutoplay?(this.options_.autoplay=e,this.manualAutoplay_(\"string\"==typeof e?e:\"play\"),t=!1):this.options_.autoplay=!!e,t=\"undefined\"==typeof t?this.options_.autoplay:t,this.tech_&&this.techCall_(\"setAutoplay\",t)},e.playsinline=function(e){return void 0!==e?(this.techCall_(\"setPlaysinline\",e),this.options_.playsinline=e,this):this.techGet_(\"playsinline\")},e.loop=function(e){return void 0!==e?(this.techCall_(\"setLoop\",e),void(this.options_.loop=e)):this.techGet_(\"loop\")},e.poster=function(e){if(void 0===e)return this.poster_;(e=e||\"\")!==this.poster_&&(this.poster_=e,this.techCall_(\"setPoster\",e),this.isPosterFromTech_=!1,this.trigger(\"posterchange\"))},e.handleTechPosterChange_=function(){var e;this.poster_&&!this.options_.techCanOverridePoster||!this.tech_||!this.tech_.poster||(e=this.tech_.poster()||\"\")!==this.poster_&&(this.poster_=e,this.isPosterFromTech_=!0,this.trigger(\"posterchange\"))},e.controls=function(e){if(void 0===e)return!!this.controls_;this.controls_!==(e=!!e)&&(this.controls_=e,this.usingNativeControls()&&this.techCall_(\"setControls\",e),this.controls_?(this.removeClass(\"vjs-controls-disabled\"),this.addClass(\"vjs-controls-enabled\"),this.trigger(\"controlsenabled\"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass(\"vjs-controls-enabled\"),this.addClass(\"vjs-controls-disabled\"),this.trigger(\"controlsdisabled\"),this.usingNativeControls()||this.removeTechControlsListeners_()))},e.usingNativeControls=function(e){if(void 0===e)return!!this.usingNativeControls_;this.usingNativeControls_!==(e=!!e)&&(this.usingNativeControls_=e,this.usingNativeControls_?(this.addClass(\"vjs-using-native-controls\"),this.trigger(\"usingnativecontrols\")):(this.removeClass(\"vjs-using-native-controls\"),this.trigger(\"usingcustomcontrols\")))},e.error=function(e){if(void 0===e)return this.error_||null;if(this.options_.suppressNotSupportedError&&e&&4===e.code){var t=function(){this.error(e)};return this.options_.suppressNotSupportedError=!1,this.any([\"click\",\"touchstart\"],t),void this.one(\"loadstart\",function(){this.off([\"click\",\"touchstart\"],t)})}if(null===e)return this.error_=e,this.removeClass(\"vjs-error\"),void(this.errorDisplay&&this.errorDisplay.close());this.error_=new bt(e),this.addClass(\"vjs-error\"),f.error(\"(CODE:\"+this.error_.code+\" \"+bt.errorTypes[this.error_.code]+\")\",this.error_.message,this.error_),this.trigger(\"error\")},e.reportUserActivity=function(e){this.userActivity_=!0},e.userActive=function(e){if(void 0===e)return this.userActive_;if((e=!!e)!==this.userActive_){if(this.userActive_=e,this.userActive_)return this.userActivity_=!0,this.removeClass(\"vjs-user-inactive\"),this.addClass(\"vjs-user-active\"),void this.trigger(\"useractive\");this.tech_&&this.tech_.one(\"mousemove\",function(e){e.stopPropagation(),e.preventDefault()}),this.userActivity_=!1,this.removeClass(\"vjs-user-active\"),this.addClass(\"vjs-user-inactive\"),this.trigger(\"userinactive\")}},e.listenForUserActivity_=function(){var t,i,n,r=We(this,this.reportUserActivity),e=function(e){r(),this.clearInterval(t)};this.on(\"mousedown\",function(){r(),this.clearInterval(t),t=this.setInterval(r,250)}),this.on(\"mousemove\",function(e){e.screenX===i&&e.screenY===n||(i=e.screenX,n=e.screenY,r())}),this.on(\"mouseup\",e),this.on(\"mouseleave\",e);var a,e=this.getChild(\"controlBar\");!e||V||P||(e.on(\"mouseenter\",function(e){this.player().cache_.inactivityTimeout=this.player().options_.inactivityTimeout,this.player().options_.inactivityTimeout=0}),e.on(\"mouseleave\",function(e){this.player().options_.inactivityTimeout=this.player().cache_.inactivityTimeout})),this.on(\"keydown\",r),this.on(\"keyup\",r),this.setInterval(function(){var e;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a),(e=this.options_.inactivityTimeout)<=0||(a=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e)))},250)},e.playbackRate=function(e){if(void 0===e)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_(\"playbackRate\"):1;this.techCall_(\"setPlaybackRate\",e)},e.defaultPlaybackRate=function(e){return void 0!==e?this.techCall_(\"setDefaultPlaybackRate\",e):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_(\"defaultPlaybackRate\"):1},e.isAudio=function(e){if(void 0===e)return!!this.isAudio_;this.isAudio_=!!e},e.addTextTrack=function(e,t,i){if(this.tech_)return this.tech_.addTextTrack(e,t,i)},e.addRemoteTextTrack=function(e,t){if(this.tech_)return this.tech_.addRemoteTextTrack(e,t)},e.removeRemoteTextTrack=function(e){var t=(t=(e=void 0===e?{}:e).track)||e;if(this.tech_)return this.tech_.removeRemoteTextTrack(t)},e.getVideoPlaybackQuality=function(){return this.techGet_(\"getVideoPlaybackQuality\")},e.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.language=function(e){if(void 0===e)return this.language_;this.language_!==String(e).toLowerCase()&&(this.language_=String(e).toLowerCase(),nt(this)&&this.trigger(\"languagechange\"))},e.languages=function(){return ct(o.prototype.options_.languages,this.languages_)},e.toJSON=function(){var e=ct(this.options_),t=e.tracks;e.tracks=[];for(var i=0;i<t.length;i++){var n=t[i];(n=ct(n)).player=void 0,e.tracks[i]=n}return e},e.createModal=function(e,t){var i=this;(t=t||{}).content=e||\"\";var n=new Pt(this,t);return this.addChild(n),n.on(\"dispose\",function(){i.removeChild(n)}),n.open(),n},e.updateCurrentBreakpoint_=function(){if(this.responsive())for(var e=this.currentBreakpoint(),t=this.currentWidth(),i=0;i<Rn.length;i++){var n=Rn[i];if(t<=this.breakpoints_[n]){if(e===n)return;e&&this.removeClass(Mn[e]),this.addClass(Mn[n]),this.breakpoint_=n;break}}},e.removeCurrentBreakpoint_=function(){var e=this.currentBreakpointClass();this.breakpoint_=\"\",e&&this.removeClass(e)},e.breakpoints=function(e){return void 0===e||(this.breakpoint_=\"\",this.breakpoints_=T({},Nn,e),this.updateCurrentBreakpoint_()),T(this.breakpoints_)},e.responsive=function(e){return void 0===e?this.responsive_:(e=Boolean(e))!==this.responsive_?((this.responsive_=e)?(this.on(\"playerresize\",this.boundUpdateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off(\"playerresize\",this.boundUpdateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),e):void 0},e.currentBreakpoint=function(){return this.breakpoint_},e.currentBreakpointClass=function(){return Mn[this.breakpoint_]||\"\"},e.loadMedia=function(e,t){var i,n,r,a=this;e&&\"object\"==typeof e&&(this.reset(),this.cache_.media=ct(e),i=(r=this.cache_.media).artwork,n=r.poster,e=r.src,r=r.textTracks,!i&&n&&(this.cache_.media.artwork=[{src:n,type:Ki(n)}]),e&&this.src(e),n&&this.poster(n),Array.isArray(r)&&r.forEach(function(e){return a.addRemoteTextTrack(e,!1)}),this.ready(t))},e.getMedia=function(){if(this.cache_.media)return ct(this.cache_.media);var e=this.poster(),t={src:this.currentSources(),textTracks:Array.prototype.map.call(this.remoteTextTracks(),function(e){return{kind:e.kind,label:e.label,language:e.language,src:e.src}})};return e&&(t.poster=e,t.artwork=[{src:t.poster,type:Ki(t.poster)}]),t},o.getTagSettings=function(e){var t,i={sources:[],tracks:[]},n=se(e),r=n[\"data-setup\"];if(te(e,\"vjs-fill\")&&(n.fill=!0),te(e,\"vjs-fluid\")&&(n.fluid=!0),null!==r&&(r=(t=St(r||\"{}\"))[0],t=t[1],r&&f.error(r),T(n,t)),T(i,n),e.hasChildNodes())for(var a=e.childNodes,s=0,o=a.length;s<o;s++){var u=a[s],l=u.nodeName.toLowerCase();\"source\"===l?i.sources.push(se(u)):\"track\"===l&&i.tracks.push(se(u))}return i},e.flexNotSupported_=function(){var e=d.createElement(\"i\");return!(\"flexBasis\"in e.style||\"webkitFlexBasis\"in e.style||\"mozFlexBasis\"in e.style||\"msFlexBasis\"in e.style||\"msFlexOrder\"in e.style)},e.debug=function(e){if(void 0===e)return this.debugEnabled_;e?(this.trigger(\"debugon\"),this.previousLogLevel_=this.log.level,this.log.level(\"debug\"),this.debugEnabled_=!0):(this.trigger(\"debugoff\"),this.log.level(this.previousLogLevel_),this.previousLogLevel_=void 0,this.debugEnabled_=!1)},e.playbackRates=function(e){if(void 0===e)return this.cache_.playbackRates;Array.isArray(e)&&e.every(function(e){return\"number\"==typeof e})&&(this.cache_.playbackRates=e,this.trigger(\"playbackrateschange\"))},o}(pt);si.names.forEach(function(e){var t=si[e];Un.prototype[t.getterName]=function(){return this.tech_?this.tech_[t.getterName]():(this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName])}}),Un.prototype.crossorigin=Un.prototype.crossOrigin,Un.players={};I=_.navigator;Un.prototype.options_={techOrder:Ui.defaultTechOrder_,html5:{},inactivityTimeout:2e3,playbackRates:[],liveui:!1,children:[\"mediaLoader\",\"posterImage\",\"textTrackDisplay\",\"loadingSpinner\",\"bigPlayButton\",\"liveTracker\",\"controlBar\",\"errorDisplay\",\"textTrackSettings\",\"resizeManager\"],language:I&&(I.languages&&I.languages[0]||I.userLanguage||I.language)||\"en\",languages:{},notSupportedMessage:\"No compatible source was found for this media.\",normalizeAutoplay:!1,fullscreen:{options:{navigationUI:\"hide\"}},breakpoints:{},responsive:!1},[\"ended\",\"seeking\",\"seekable\",\"networkState\",\"readyState\"].forEach(function(e){Un.prototype[e]=function(){return this.techGet_(e)}}),Dn.forEach(function(e){Un.prototype[\"handleTech\"+lt(e)+\"_\"]=function(){return this.trigger(e)}}),pt.registerComponent(\"Player\",Un);var Bn=t(function(i){function n(e,t){return i.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(e,t)}i.exports=n});function Fn(e){return Kn.hasOwnProperty(e)}function jn(e){return Fn(e)?Kn[e]:void 0}function Hn(e,t,i){i=(i?\"before\":\"\")+\"pluginsetup\",e.trigger(i,t),e.trigger(i+\":\"+t.name,t)}function qn(t,i){function n(){Hn(this,{name:t,plugin:i,instance:null},!0);var e=i.apply(this,arguments);return Yn(this,t),Hn(this,{name:t,plugin:i,instance:e}),e}return Object.keys(i).forEach(function(e){n[e]=i[e]}),n}function Vn(r,a){return a.prototype.name=r,function(){Hn(this,{name:r,plugin:a,instance:null},!0);for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=zn(a,[this].concat(t));return this[r]=function(){return n},Hn(this,n.getEventHash()),n}}var Wn=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}},zn=t(function(n){function r(e,t,i){return Wn()?n.exports=r=Reflect.construct:n.exports=r=function(e,t,i){var n=[null];n.push.apply(n,t);n=new(Function.bind.apply(e,n));return i&&Bn(n,i.prototype),n},r.apply(null,arguments)}n.exports=r}),Gn=\"plugin\",Xn=\"activePlugins_\",Kn={},Yn=function(e,t){e[Xn]=e[Xn]||{},e[Xn][t]=!0},Qn=function(){function i(e){if(this.constructor===i)throw new Error(\"Plugin must be sub-classed; not directly instantiated.\");this.player=e,this.log||(this.log=this.player.log.createLogger(this.name)),at(this),delete this.trigger,ot(this,this.constructor.defaultState),Yn(e,this.name),this.dispose=this.dispose.bind(this),e.on(\"dispose\",this.dispose)}var e=i.prototype;return e.version=function(){return this.constructor.VERSION},e.getEventHash=function(e){return(e=void 0===e?{}:e).name=this.name,e.plugin=this.constructor,e.instance=this,e},e.trigger=function(e,t){return He(this.eventBusEl_,e,this.getEventHash(t=void 0===t?{}:t))},e.handleStateChanged=function(e){},e.dispose=function(){var e=this.name,t=this.player;this.trigger(\"dispose\"),this.off(),t.off(\"dispose\",this.dispose),t[Xn][e]=!1,this.player=this.state=null,t[e]=Vn(e,Kn[e])},i.isBasic=function(e){e=\"string\"==typeof e?jn(e):e;return\"function\"==typeof e&&!i.prototype.isPrototypeOf(e.prototype)},i.registerPlugin=function(e,t){if(\"string\"!=typeof e)throw new Error('Illegal plugin name, \"'+e+'\", must be a string, was '+typeof e+\".\");if(Fn(e))f.warn('A plugin named \"'+e+'\" already exists. You may want to avoid re-registering plugins!');else if(Un.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, \"'+e+'\", cannot share a name with an existing player method!');if(\"function\"!=typeof t)throw new Error('Illegal plugin for \"'+e+'\", must be a function, was '+typeof t+\".\");return Kn[e]=t,e!==Gn&&(i.isBasic(t)?Un.prototype[e]=qn(e,t):Un.prototype[e]=Vn(e,t)),t},i.deregisterPlugin=function(e){if(e===Gn)throw new Error(\"Cannot de-register base plugin.\");Fn(e)&&(delete Kn[e],delete Un.prototype[e])},i.getPlugins=function(e){var i;return(e=void 0===e?Object.keys(Kn):e).forEach(function(e){var t=jn(e);t&&((i=i||{})[e]=t)}),i},i.getPluginVersion=function(e){e=jn(e);return e&&e.VERSION||\"\"},i}();Qn.getPlugin=jn,Qn.BASE_PLUGIN_NAME=Gn,Qn.registerPlugin(Gn,Qn),Un.prototype.usingPlugin=function(e){return!!this[Xn]&&!0===this[Xn][e]},Un.prototype.hasPlugin=function(e){return!!Fn(e)};var $n=function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bn(e,t)},Jn=function(e){return 0===e.indexOf(\"#\")?e.slice(1):e};function Zn(e,t,i){if(r=Zn.getPlayer(e))return t&&f.warn('Player \"'+e+'\" is already initialised. Options will not be applied.'),i&&r.ready(i),r;var n=\"string\"==typeof e?Se(\"#\"+Jn(e)):e;if(!Y(n))throw new TypeError(\"The element or ID supplied is not valid. (videojs)\");n.ownerDocument.defaultView&&n.ownerDocument.body.contains(n)||f.warn(\"The element supplied is not included in the DOM\"),t=t||{},Zn.hooks(\"beforesetup\").forEach(function(e){e=e(n,ct(t));S(e)&&!Array.isArray(e)?t=ct(t,e):f.error(\"please return an object in beforesetup hooks\")});var r=new(pt.getComponent(\"Player\"))(n,t,i);return Zn.hooks(\"setup\").forEach(function(e){return e(r)}),r}Zn.hooks_={},Zn.hooks=function(e,t){return Zn.hooks_[e]=Zn.hooks_[e]||[],t&&(Zn.hooks_[e]=Zn.hooks_[e].concat(t)),Zn.hooks_[e]},Zn.hook=function(e,t){Zn.hooks(e,t)},Zn.hookOnce=function(i,e){Zn.hooks(i,[].concat(e).map(function(t){return function e(){return Zn.removeHook(i,e),t.apply(void 0,arguments)}}))},Zn.removeHook=function(e,t){t=Zn.hooks(e).indexOf(t);return!(t<=-1)&&(Zn.hooks_[e]=Zn.hooks_[e].slice(),Zn.hooks_[e].splice(t,1),!0)},!0!==_.VIDEOJS_NO_DYNAMIC_STYLE&&K()&&((nr=Se(\".vjs-styles-defaults\"))||(nr=Ae(\"vjs-styles-defaults\"),(I=Se(\"head\"))&&I.insertBefore(nr,I.firstChild),Pe(nr,\"\\n      .video-js {\\n        width: 300px;\\n        height: 150px;\\n      }\\n\\n      .vjs-fluid {\\n        padding-top: 56.25%\\n      }\\n    \"))),Ie(1,Zn),Zn.VERSION=u,Zn.options=Un.prototype.options_,Zn.getPlayers=function(){return Un.players},Zn.getPlayer=function(e){var t=Un.players;if(\"string\"==typeof e){var i=Jn(e),n=t[i];if(n)return n;i=Se(\"#\"+i)}else i=e;if(Y(i)){e=i.player,i=i.playerId;if(e||t[i])return e||t[i]}},Zn.getAllPlayers=function(){return Object.keys(Un.players).map(function(e){return Un.players[e]}).filter(Boolean)},Zn.players=Un.players,Zn.getComponent=pt.getComponent,Zn.registerComponent=function(e,t){Ui.isTech(t)&&f.warn(\"The \"+e+\" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)\"),pt.registerComponent.call(pt,e,t)},Zn.getTech=Ui.getTech,Zn.registerTech=Ui.registerTech,Zn.use=function(e,t){Bi[e]=Bi[e]||[],Bi[e].push(t)},Object.defineProperty(Zn,\"middleware\",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Zn.middleware,\"TERMINATOR\",{value:ji,writeable:!1,enumerable:!0}),Zn.browser=z,Zn.TOUCH_ENABLED=j,Zn.extend=function(e,t){var i,n=function(){e.apply(this,arguments)},r={};for(i in\"object\"==typeof(t=void 0===t?{}:t)?(t.constructor!==Object.prototype.constructor&&(n=t.constructor),r=t):\"function\"==typeof t&&(n=t),$n(n,e),e&&(n.super_=e),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n},Zn.mergeOptions=ct,Zn.bind=We,Zn.registerPlugin=Qn.registerPlugin,Zn.deregisterPlugin=Qn.deregisterPlugin,Zn.plugin=function(e,t){return f.warn(\"videojs.plugin() is deprecated; use videojs.registerPlugin() instead\"),Qn.registerPlugin(e,t)},Zn.getPlugins=Qn.getPlugins,Zn.getPlugin=Qn.getPlugin,Zn.getPluginVersion=Qn.getPluginVersion,Zn.addLanguage=function(e,t){var i;return e=(\"\"+e).toLowerCase(),Zn.options.languages=ct(Zn.options.languages,((i={})[e]=t,i)),Zn.options.languages[e]},Zn.log=f,Zn.createLogger=m,Zn.createTimeRange=Zn.createTimeRanges=vt,Zn.formatTime=on,Zn.setFormatTime=function(e){sn=e},Zn.resetFormatTime=function(){sn=an},Zn.parseUrl=Mt,Zn.isCrossOrigin=Bt,Zn.EventTarget=Xe,Zn.on=Fe,Zn.one=qe,Zn.off=je,Zn.trigger=He,Zn.xhr=Yt,Zn.TextTrack=ti,Zn.AudioTrack=ii,Zn.VideoTrack=ni,[\"isEl\",\"isTextNode\",\"createEl\",\"hasClass\",\"addClass\",\"removeClass\",\"toggleClass\",\"setAttributes\",\"getAttributes\",\"emptyEl\",\"appendContent\",\"insertContent\"].forEach(function(e){Zn[e]=function(){return f.warn(\"videojs.\"+e+\"() is deprecated; use videojs.dom.\"+e+\"() instead\"),ke[e].apply(null,arguments)}}),Zn.computedStyle=k,Zn.dom=ke,Zn.url=zt,Zn.defineLazyProperty=In,Zn.addLanguage(\"en\",{\"Non-Fullscreen\":\"Exit Fullscreen\"});function er(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=_.location&&_.location.href||\"\");var i=\"function\"==typeof _.URL,n=/^\\/\\//.test(e),r=!_.location&&!/\\/\\//i.test(e);if(i?e=new _.URL(e,_.location||ir):/\\/\\//i.test(e)||(e=tr.buildAbsoluteURL(_.location&&_.location.href||\"\",e)),i){i=new URL(t,e);return r?i.href.slice(ir.length):n?i.href.slice(i.protocol.length):i.href}return tr.buildAbsoluteURL(e,t)}var tr=t(function(e,t){var i,a,n,r,s;i=/^((?:[a-zA-Z0-9+\\-.]+:)?)(\\/\\/[^\\/?#]*)?((?:[^\\/?#]*\\/)*[^;?#]*)?(;[^?#]*)?(\\?[^#]*)?(#[^]*)?$/,a=/^([^\\/?#]*)([^]*)$/,n=/(?:\\/|^)\\.(?=\\/)/g,r=/(?:\\/|^)\\.\\.\\/(?!\\.\\.\\/)[^\\/]*(?=\\/)/g,s={buildAbsoluteURL:function(e,t,i){if(i=i||{},e=e.trim(),!(t=t.trim())){if(!i.alwaysNormalize)return e;var n=s.parseURL(e);if(!n)throw new Error(\"Error trying to parse base URL.\");return n.path=s.normalizePath(n.path),s.buildURLFromParts(n)}n=s.parseURL(t);if(!n)throw new Error(\"Error trying to parse relative URL.\");if(n.scheme)return i.alwaysNormalize?(n.path=s.normalizePath(n.path),s.buildURLFromParts(n)):t;t=s.parseURL(e);if(!t)throw new Error(\"Error trying to parse base URL.\");!t.netLoc&&t.path&&\"/\"!==t.path[0]&&(r=a.exec(t.path),t.netLoc=r[1],t.path=r[2]),t.netLoc&&!t.path&&(t.path=\"/\");var r,e={scheme:t.scheme,netLoc:n.netLoc,path:null,params:n.params,query:n.query,fragment:n.fragment};return n.netLoc||(e.netLoc=t.netLoc,\"/\"!==n.path[0]&&(n.path?(r=(r=t.path).substring(0,r.lastIndexOf(\"/\")+1)+n.path,e.path=s.normalizePath(r)):(e.path=t.path,n.params||(e.params=t.params,n.query||(e.query=t.query))))),null===e.path&&(e.path=i.alwaysNormalize?s.normalizePath(n.path):n.path),s.buildURLFromParts(e)},parseURL:function(e){e=i.exec(e);return e?{scheme:e[1]||\"\",netLoc:e[2]||\"\",path:e[3]||\"\",params:e[4]||\"\",query:e[5]||\"\",fragment:e[6]||\"\"}:null},normalizePath:function(e){for(e=e.split(\"\").reverse().join(\"\").replace(n,\"\");e.length!==(e=e.replace(r,\"\")).length;);return e.split(\"\").reverse().join(\"\")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=s}),ir=\"http://example.com\",nr=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;t=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(t,1),-1<t},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var i=t.length,n=0;n<i;++n)t[n].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(t){this.on(\"data\",function(e){t.push(e)})},e}(),rr=function(e){return _.atob?_.atob(e):Buffer.from(e,\"base64\").toString(\"binary\")};function ar(e){for(var t=rr(e),i=new Uint8Array(t.length),n=0;n<t.length;n++)i[n]=t.charCodeAt(n);return i}\n/*! @name m3u8-parser @version 4.7.0 @license Apache-2.0 */function sr(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||\"\"),e={};return t[1]&&(e.length=parseInt(t[1],10)),t[2]&&(e.offset=parseInt(t[2],10)),e}function or(e){for(var t,i=e.split(new RegExp('(?:^|,)((?:[^=]*)=(?:\"[^\"]*\"|[^,]*))')),n={},r=i.length;r--;)\"\"!==i[r]&&((t=/([^=]*)=(.*)/.exec(i[r]).slice(1))[0]=t[0].replace(/^\\s+|\\s+$/g,\"\"),t[1]=t[1].replace(/^\\s+|\\s+$/g,\"\"),t[1]=t[1].replace(/^['\"](.*)['\"]$/g,\"$1\"),n[t[0]]=t[1]);return n}function ur(t){var i={};return Object.keys(t).forEach(function(e){i[e.toLowerCase().replace(/-(\\w)/g,function(e){return e[1].toUpperCase()})]=t[e]}),i}function lr(e){var t,i,n,r,a=e.serverControl,s=e.targetDuration,o=e.partTargetDuration;a&&(t=\"#EXT-X-SERVER-CONTROL\",i=\"holdBack\",n=\"partHoldBack\",r=s&&3*s,e=o&&2*o,s&&!a.hasOwnProperty(i)&&(a[i]=r,this.trigger(\"info\",{message:t+\" defaulting HOLD-BACK to targetDuration * 3 (\"+r+\").\"})),r&&a[i]<r&&(this.trigger(\"warn\",{message:t+\" clamping HOLD-BACK (\"+a[i]+\") to targetDuration * 3 (\"+r+\")\"}),a[i]=r),o&&!a.hasOwnProperty(n)&&(a[n]=3*o,this.trigger(\"info\",{message:t+\" defaulting PART-HOLD-BACK to partTargetDuration * 3 (\"+a[n]+\").\"})),o&&a[n]<e&&(this.trigger(\"warn\",{message:t+\" clamping PART-HOLD-BACK (\"+a[n]+\") to partTargetDuration * 2 (\"+e+\").\"}),a[n]=e))}function cr(e){return e&&e.replace(/avc1\\.(\\d+)\\.(\\d+)/i,function(e,t,i){return\"avc1.\"+(\"00\"+Number(t).toString(16)).slice(-2)+\"00\"+(\"00\"+Number(i).toString(16)).slice(-2)})}function dr(e){var e=(e=void 0===e?\"\":e).split(\",\"),a=[];return e.forEach(function(n){var r;n=n.trim(),Sr.forEach(function(e){var t,i=Tr[e].exec(n.toLowerCase());!i||i.length<=1||(r=e,t=n.substring(0,i[1].length),i=n.replace(t,\"\"),a.push({type:t,details:i,mediaType:e}))}),r||a.push({type:n,details:\"\",mediaType:\"unknown\"})}),a}function hr(e){return Tr.audio.test((e=void 0===e?\"\":e).trim().toLowerCase())}function pr(e){if(e&&\"string\"==typeof e){var t=e.toLowerCase().split(\",\").map(function(e){return cr(e.trim())}),i=\"video\";1===t.length&&hr(t[0])?i=\"audio\":1===t.length&&(n=t[0],Tr.text.test((n=void 0===n?\"\":n).trim().toLowerCase()))&&(i=\"application\");var n=\"mp4\";return t.every(function(e){return Tr.mp4.test(e)})?n=\"mp4\":t.every(function(e){return Tr.webm.test(e)})?n=\"webm\":t.every(function(e){return Tr.ogg.test(e)})&&(n=\"ogg\"),i+\"/\"+n+';codecs=\"'+e+'\"'}}function fr(e){return void 0===e&&(e=\"\"),_.MediaSource&&_.MediaSource.isTypeSupported&&_.MediaSource.isTypeSupported(pr(e))||!1}function mr(e){return(e=void 0===e?\"\":e).toLowerCase().split(\",\").every(function(e){e=e.trim();for(var t=0;t<Er.length;t++)if(Tr[\"muxer\"+Er[t]].test(e))return!0;return!1})}function gr(e){return Cr.test(e)?\"hls\":wr.test(e)?\"dash\":\"application/vnd.videojs.vhs+json\"===e?\"vhs-json\":null}var yr=function(t){function e(){var e=t.call(this)||this;return e.buffer=\"\",e}return mt(e,t),e.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf(\"\\n\");-1<t;t=this.buffer.indexOf(\"\\n\"))this.trigger(\"data\",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},e}(nr),vr=String.fromCharCode(9),_r=function(t){function e(){var e=t.call(this)||this;return e.customParsers=[],e.tagMappers=[],e}mt(e,t);var i=e.prototype;return i.push=function(i){var r,a,s=this;0!==(i=i.trim()).length&&(\"#\"===i[0]?this.tagMappers.reduce(function(e,t){t=t(i);return t===i?e:e.concat([t])},[i]).forEach(function(e){for(var t,i,n=0;n<s.customParsers.length;n++)if(s.customParsers[n].call(s,e))return;if(0===e.indexOf(\"#EXT\"))if(e=e.replace(\"\\r\",\"\"),r=/^#EXTM3U/.exec(e))s.trigger(\"data\",{type:\"tag\",tagType:\"m3u\"});else{if(r=/^#EXTINF:?([0-9\\.]*)?,?(.*)?$/.exec(e))return a={type:\"tag\",tagType:\"inf\"},r[1]&&(a.duration=parseFloat(r[1])),r[2]&&(a.title=r[2]),void s.trigger(\"data\",a);if(r=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e))return a={type:\"tag\",tagType:\"targetduration\"},r[1]&&(a.duration=parseInt(r[1],10)),void s.trigger(\"data\",a);if(r=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e))return a={type:\"tag\",tagType:\"version\"},r[1]&&(a.version=parseInt(r[1],10)),void s.trigger(\"data\",a);if(r=/^#EXT-X-MEDIA-SEQUENCE:?(\\-?[0-9.]*)?/.exec(e))return a={type:\"tag\",tagType:\"media-sequence\"},r[1]&&(a.number=parseInt(r[1],10)),void s.trigger(\"data\",a);if(r=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\\-?[0-9.]*)?/.exec(e))return a={type:\"tag\",tagType:\"discontinuity-sequence\"},r[1]&&(a.number=parseInt(r[1],10)),void s.trigger(\"data\",a);if(r=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e))return a={type:\"tag\",tagType:\"playlist-type\"},r[1]&&(a.playlistType=r[1]),void s.trigger(\"data\",a);if(r=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e))return a=g(sr(r[1]),{type:\"tag\",tagType:\"byterange\"}),void s.trigger(\"data\",a);if(r=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e))return a={type:\"tag\",tagType:\"allow-cache\"},r[1]&&(a.allowed=!/NO/.test(r[1])),void s.trigger(\"data\",a);if(r=/^#EXT-X-MAP:?(.*)$/.exec(e))return a={type:\"tag\",tagType:\"map\"},r[1]&&((t=or(r[1])).URI&&(a.uri=t.URI),t.BYTERANGE&&(a.byterange=sr(t.BYTERANGE))),void s.trigger(\"data\",a);if(r=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e))return a={type:\"tag\",tagType:\"stream-inf\"},r[1]&&(a.attributes=or(r[1]),a.attributes.RESOLUTION&&(i={},(t=a.attributes.RESOLUTION.split(\"x\"))[0]&&(i.width=parseInt(t[0],10)),t[1]&&(i.height=parseInt(t[1],10)),a.attributes.RESOLUTION=i),a.attributes.BANDWIDTH&&(a.attributes.BANDWIDTH=parseInt(a.attributes.BANDWIDTH,10)),a.attributes[\"PROGRAM-ID\"]&&(a.attributes[\"PROGRAM-ID\"]=parseInt(a.attributes[\"PROGRAM-ID\"],10))),void s.trigger(\"data\",a);if(r=/^#EXT-X-MEDIA:?(.*)$/.exec(e))return a={type:\"tag\",tagType:\"media\"},r[1]&&(a.attributes=or(r[1])),void s.trigger(\"data\",a);if(r=/^#EXT-X-ENDLIST/.exec(e))s.trigger(\"data\",{type:\"tag\",tagType:\"endlist\"});else{if(!(r=/^#EXT-X-DISCONTINUITY/.exec(e)))return(r=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e))?(a={type:\"tag\",tagType:\"program-date-time\"},r[1]&&(a.dateTimeString=r[1],a.dateTimeObject=new Date(r[1])),void s.trigger(\"data\",a)):(r=/^#EXT-X-KEY:?(.*)$/.exec(e))?(a={type:\"tag\",tagType:\"key\"},r[1]&&(a.attributes=or(r[1]),a.attributes.IV&&(\"0x\"===a.attributes.IV.substring(0,2).toLowerCase()&&(a.attributes.IV=a.attributes.IV.substring(2)),a.attributes.IV=a.attributes.IV.match(/.{8}/g),a.attributes.IV[0]=parseInt(a.attributes.IV[0],16),a.attributes.IV[1]=parseInt(a.attributes.IV[1],16),a.attributes.IV[2]=parseInt(a.attributes.IV[2],16),a.attributes.IV[3]=parseInt(a.attributes.IV[3],16),a.attributes.IV=new Uint32Array(a.attributes.IV))),void s.trigger(\"data\",a)):(r=/^#EXT-X-START:?(.*)$/.exec(e))?(a={type:\"tag\",tagType:\"start\"},r[1]&&(a.attributes=or(r[1]),a.attributes[\"TIME-OFFSET\"]=parseFloat(a.attributes[\"TIME-OFFSET\"]),a.attributes.PRECISE=/YES/.test(a.attributes.PRECISE)),void s.trigger(\"data\",a)):(r=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e))?(a={type:\"tag\",tagType:\"cue-out-cont\"},r[1]?a.data=r[1]:a.data=\"\",void s.trigger(\"data\",a)):(r=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e))?(a={type:\"tag\",tagType:\"cue-out\"},r[1]?a.data=r[1]:a.data=\"\",void s.trigger(\"data\",a)):(r=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e))?(a={type:\"tag\",tagType:\"cue-in\"},r[1]?a.data=r[1]:a.data=\"\",void s.trigger(\"data\",a)):(r=/^#EXT-X-SKIP:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"skip\"}).attributes=or(r[1]),a.attributes.hasOwnProperty(\"SKIPPED-SEGMENTS\")&&(a.attributes[\"SKIPPED-SEGMENTS\"]=parseInt(a.attributes[\"SKIPPED-SEGMENTS\"],10)),a.attributes.hasOwnProperty(\"RECENTLY-REMOVED-DATERANGES\")&&(a.attributes[\"RECENTLY-REMOVED-DATERANGES\"]=a.attributes[\"RECENTLY-REMOVED-DATERANGES\"].split(vr)),void s.trigger(\"data\",a)):(r=/^#EXT-X-PART:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"part\"}).attributes=or(r[1]),[\"DURATION\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=parseFloat(a.attributes[e]))}),[\"INDEPENDENT\",\"GAP\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=/YES/.test(a.attributes[e]))}),a.attributes.hasOwnProperty(\"BYTERANGE\")&&(a.attributes.byterange=sr(a.attributes.BYTERANGE)),void s.trigger(\"data\",a)):(r=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"server-control\"}).attributes=or(r[1]),[\"CAN-SKIP-UNTIL\",\"PART-HOLD-BACK\",\"HOLD-BACK\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=parseFloat(a.attributes[e]))}),[\"CAN-SKIP-DATERANGES\",\"CAN-BLOCK-RELOAD\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=/YES/.test(a.attributes[e]))}),void s.trigger(\"data\",a)):(r=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"part-inf\"}).attributes=or(r[1]),[\"PART-TARGET\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=parseFloat(a.attributes[e]))}),void s.trigger(\"data\",a)):(r=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"preload-hint\"}).attributes=or(r[1]),[\"BYTERANGE-START\",\"BYTERANGE-LENGTH\"].forEach(function(e){var t;a.attributes.hasOwnProperty(e)&&(a.attributes[e]=parseInt(a.attributes[e],10),t=\"BYTERANGE-LENGTH\"===e?\"length\":\"offset\",a.attributes.byterange=a.attributes.byterange||{},a.attributes.byterange[t]=a.attributes[e],delete a.attributes[e])}),void s.trigger(\"data\",a)):(r=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&r[1]?((a={type:\"tag\",tagType:\"rendition-report\"}).attributes=or(r[1]),[\"LAST-MSN\",\"LAST-PART\"].forEach(function(e){a.attributes.hasOwnProperty(e)&&(a.attributes[e]=parseInt(a.attributes[e],10))}),void s.trigger(\"data\",a)):void s.trigger(\"data\",{type:\"tag\",data:e.slice(4)});s.trigger(\"data\",{type:\"tag\",tagType:\"discontinuity\"})}}else s.trigger(\"data\",{type:\"comment\",text:e.slice(1)})}):this.trigger(\"data\",{type:\"uri\",uri:i}))},i.addParser=function(e){var t=this,i=e.expression,n=e.customType,r=e.dataParser,a=e.segment;\"function\"!=typeof r&&(r=function(e){return e}),this.customParsers.push(function(e){if(i.exec(e))return t.trigger(\"data\",{type:\"custom\",data:r(e),customType:n,segment:a}),!0})},i.addTagMapper=function(e){var t=e.expression,i=e.map;this.tagMappers.push(function(e){return t.test(e)?i(e):e})},e}(nr),br=function(t){function e(){var e=t.call(this)||this;e.lineStream=new yr,e.parseStream=new _r,e.lineStream.pipe(e.parseStream);var n,r,a=ft(e),o=[],u={},l=!1,c={AUDIO:{},VIDEO:{},\"CLOSED-CAPTIONS\":{},SUBTITLES:{}},d=0;e.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var h=0,p=0;return e.on(\"end\",function(){u.uri||!u.parts&&!u.preloadHints||(!u.map&&n&&(u.map=n),!u.key&&r&&(u.key=r),u.timeline||\"number\"!=typeof d||(u.timeline=d),e.manifest.preloadSegment=u)}),e.parseStream.on(\"data\",function(s){var t,i;({tag:function(){({version:function(){s.version&&(this.manifest.version=s.version)},\"allow-cache\":function(){this.manifest.allowCache=s.allowed,\"allowed\"in s||(this.trigger(\"info\",{message:\"defaulting allowCache to YES\"}),this.manifest.allowCache=!0)},byterange:function(){var e={};\"length\"in s&&((u.byterange=e).length=s.length,\"offset\"in s||(s.offset=h)),\"offset\"in s&&((u.byterange=e).offset=s.offset),h=e.offset+e.length},endlist:function(){this.manifest.endList=!0},inf:function(){\"mediaSequence\"in this.manifest||(this.manifest.mediaSequence=0,this.trigger(\"info\",{message:\"defaulting media sequence to zero\"})),\"discontinuitySequence\"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger(\"info\",{message:\"defaulting discontinuity sequence to zero\"})),0<s.duration&&(u.duration=s.duration),0===s.duration&&(u.duration=.01,this.trigger(\"info\",{message:\"updating zero segment duration to a small value\"})),this.manifest.segments=o},key:function(){if(s.attributes)if(\"NONE\"!==s.attributes.METHOD)if(s.attributes.URI){if(\"com.apple.streamingkeydelivery\"===s.attributes.KEYFORMAT)return this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection[\"com.apple.fps.1_0\"]={attributes:s.attributes});if(\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\"===s.attributes.KEYFORMAT)return-1===[\"SAMPLE-AES\",\"SAMPLE-AES-CTR\",\"SAMPLE-AES-CENC\"].indexOf(s.attributes.METHOD)?void this.trigger(\"warn\",{message:\"invalid key method provided for Widevine\"}):(\"SAMPLE-AES-CENC\"===s.attributes.METHOD&&this.trigger(\"warn\",{message:\"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead\"}),\"data:text/plain;base64,\"!==s.attributes.URI.substring(0,23)?void this.trigger(\"warn\",{message:\"invalid key URI provided for Widevine\"}):s.attributes.KEYID&&\"0x\"===s.attributes.KEYID.substring(0,2)?(this.manifest.contentProtection=this.manifest.contentProtection||{},void(this.manifest.contentProtection[\"com.widevine.alpha\"]={attributes:{schemeIdUri:s.attributes.KEYFORMAT,keyId:s.attributes.KEYID.substring(2)},pssh:ar(s.attributes.URI.split(\",\")[1])})):void this.trigger(\"warn\",{message:\"invalid key ID provided for Widevine\"}));s.attributes.METHOD||this.trigger(\"warn\",{message:\"defaulting key method to AES-128\"}),r={method:s.attributes.METHOD||\"AES-128\",uri:s.attributes.URI},\"undefined\"!=typeof s.attributes.IV&&(r.iv=s.attributes.IV)}else this.trigger(\"warn\",{message:\"ignoring key declaration without URI\"});else r=null;else this.trigger(\"warn\",{message:\"ignoring key declaration without attribute list\"})},\"media-sequence\":function(){isFinite(s.number)?this.manifest.mediaSequence=s.number:this.trigger(\"warn\",{message:\"ignoring invalid media sequence: \"+s.number})},\"discontinuity-sequence\":function(){isFinite(s.number)?(this.manifest.discontinuitySequence=s.number,d=s.number):this.trigger(\"warn\",{message:\"ignoring invalid discontinuity sequence: \"+s.number})},\"playlist-type\":function(){/VOD|EVENT/.test(s.playlistType)?this.manifest.playlistType=s.playlistType:this.trigger(\"warn\",{message:\"ignoring unknown playlist type: \"+s.playlist})},map:function(){n={},s.uri&&(n.uri=s.uri),s.byterange&&(n.byterange=s.byterange),r&&(n.key=r)},\"stream-inf\":function(){this.manifest.playlists=o,this.manifest.mediaGroups=this.manifest.mediaGroups||c,s.attributes?(u.attributes||(u.attributes={}),g(u.attributes,s.attributes)):this.trigger(\"warn\",{message:\"ignoring empty stream-inf attributes\"})},media:function(){var e;this.manifest.mediaGroups=this.manifest.mediaGroups||c,s.attributes&&s.attributes.TYPE&&s.attributes[\"GROUP-ID\"]&&s.attributes.NAME?((e=this.manifest.mediaGroups[s.attributes.TYPE])[s.attributes[\"GROUP-ID\"]]=e[s.attributes[\"GROUP-ID\"]]||{},t=e[s.attributes[\"GROUP-ID\"]],(i={default:/yes/i.test(s.attributes.DEFAULT)}).default?i.autoselect=!0:i.autoselect=/yes/i.test(s.attributes.AUTOSELECT),s.attributes.LANGUAGE&&(i.language=s.attributes.LANGUAGE),s.attributes.URI&&(i.uri=s.attributes.URI),s.attributes[\"INSTREAM-ID\"]&&(i.instreamId=s.attributes[\"INSTREAM-ID\"]),s.attributes.CHARACTERISTICS&&(i.characteristics=s.attributes.CHARACTERISTICS),s.attributes.FORCED&&(i.forced=/yes/i.test(s.attributes.FORCED)),t[s.attributes.NAME]=i):this.trigger(\"warn\",{message:\"ignoring incomplete or missing media group\"})},discontinuity:function(){d+=1,u.discontinuity=!0,this.manifest.discontinuityStarts.push(o.length)},\"program-date-time\":function(){\"undefined\"==typeof this.manifest.dateTimeString&&(this.manifest.dateTimeString=s.dateTimeString,this.manifest.dateTimeObject=s.dateTimeObject),u.dateTimeString=s.dateTimeString,u.dateTimeObject=s.dateTimeObject},targetduration:function(){!isFinite(s.duration)||s.duration<0?this.trigger(\"warn\",{message:\"ignoring invalid target duration: \"+s.duration}):(this.manifest.targetDuration=s.duration,lr.call(this,this.manifest))},start:function(){s.attributes&&!isNaN(s.attributes[\"TIME-OFFSET\"])?this.manifest.start={timeOffset:s.attributes[\"TIME-OFFSET\"],precise:s.attributes.PRECISE}:this.trigger(\"warn\",{message:\"ignoring start declaration without appropriate attribute list\"})},\"cue-out\":function(){u.cueOut=s.data},\"cue-out-cont\":function(){u.cueOutCont=s.data},\"cue-in\":function(){u.cueIn=s.data},skip:function(){this.manifest.skip=ur(s.attributes),this.warnOnMissingAttributes_(\"#EXT-X-SKIP\",s.attributes,[\"SKIPPED-SEGMENTS\"])},part:function(){var i=this;l=!0;var e=this.manifest.segments.length,t=ur(s.attributes);u.parts=u.parts||[],u.parts.push(t),t.byterange&&(t.byterange.hasOwnProperty(\"offset\")||(t.byterange.offset=p),p=t.byterange.offset+t.byterange.length);var n=u.parts.length-1;this.warnOnMissingAttributes_(\"#EXT-X-PART #\"+n+\" for segment #\"+e,s.attributes,[\"URI\",\"DURATION\"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(function(e,t){e.hasOwnProperty(\"lastPart\")||i.trigger(\"warn\",{message:\"#EXT-X-RENDITION-REPORT #\"+t+\" lacks required attribute(s): LAST-PART\"})})},\"server-control\":function(){var e=this.manifest.serverControl=ur(s.attributes);e.hasOwnProperty(\"canBlockReload\")||(e.canBlockReload=!1,this.trigger(\"info\",{message:\"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false\"})),lr.call(this,this.manifest),e.canSkipDateranges&&!e.hasOwnProperty(\"canSkipUntil\")&&this.trigger(\"warn\",{message:\"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set\"})},\"preload-hint\":function(){var e=this.manifest.segments.length,t=ur(s.attributes),i=t.type&&\"PART\"===t.type;u.preloadHints=u.preloadHints||[],u.preloadHints.push(t),t.byterange&&(t.byterange.hasOwnProperty(\"offset\")||(t.byterange.offset=i?p:0,i&&(p=t.byterange.offset+t.byterange.length)));var n=u.preloadHints.length-1;if(this.warnOnMissingAttributes_(\"#EXT-X-PRELOAD-HINT #\"+n+\" for segment #\"+e,s.attributes,[\"TYPE\",\"URI\"]),t.type)for(var r=0;r<u.preloadHints.length-1;r++){var a=u.preloadHints[r];a.type&&a.type===t.type&&this.trigger(\"warn\",{message:\"#EXT-X-PRELOAD-HINT #\"+n+\" for segment #\"+e+\" has the same TYPE \"+t.type+\" as preload hint #\"+r})}},\"rendition-report\":function(){var e=ur(s.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(e);var t=this.manifest.renditionReports.length-1,e=[\"LAST-MSN\",\"URI\"];l&&e.push(\"LAST-PART\"),this.warnOnMissingAttributes_(\"#EXT-X-RENDITION-REPORT #\"+t,s.attributes,e)},\"part-inf\":function(){this.manifest.partInf=ur(s.attributes),this.warnOnMissingAttributes_(\"#EXT-X-PART-INF\",s.attributes,[\"PART-TARGET\"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),lr.call(this,this.manifest)}}[s.tagType]||function(){}).call(a)},uri:function(){u.uri=s.uri,o.push(u),!this.manifest.targetDuration||\"duration\"in u||(this.trigger(\"warn\",{message:\"defaulting segment duration to the target duration\"}),u.duration=this.manifest.targetDuration),r&&(u.key=r),u.timeline=d,n&&(u.map=n),p=0,u={}},comment:function(){},custom:function(){s.segment?(u.custom=u.custom||{},u.custom[s.customType]=s.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[s.customType]=s.data)}})[s.type].call(a)}),e}mt(e,t);var i=e.prototype;return i.warnOnMissingAttributes_=function(e,t,i){var n=[];i.forEach(function(e){t.hasOwnProperty(e)||n.push(e)}),n.length&&this.trigger(\"warn\",{message:e+\" lacks required attribute(s): \"+n.join(\", \")})},i.push=function(e){this.lineStream.push(e)},i.end=function(){this.lineStream.push(\"\\n\"),this.trigger(\"end\")},i.addParser=function(e){this.parseStream.addParser(e)},i.addTagMapper=function(e){this.parseStream.addTagMapper(e)},e}(nr),Tr={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},Sr=[\"video\",\"audio\",\"text\"],Er=[\"Video\",\"Audio\",\"Text\"],kr=\"mp4a.40.2\",Cr=/^(audio|video|application)\\/(x-|vnd\\.apple\\.)?mpegurl/i,wr=/^application\\/dash\\+xml/i,Ir={entityMap:{lt:\"<\",gt:\">\",amp:\"&\",quot:'\"',apos:\"'\",Agrave:\"À\",Aacute:\"Á\",Acirc:\"Â\",Atilde:\"Ã\",Auml:\"Ä\",Aring:\"Å\",AElig:\"Æ\",Ccedil:\"Ç\",Egrave:\"È\",Eacute:\"É\",Ecirc:\"Ê\",Euml:\"Ë\",Igrave:\"Ì\",Iacute:\"Í\",Icirc:\"Î\",Iuml:\"Ï\",ETH:\"Ð\",Ntilde:\"Ñ\",Ograve:\"Ò\",Oacute:\"Ó\",Ocirc:\"Ô\",Otilde:\"Õ\",Ouml:\"Ö\",Oslash:\"Ø\",Ugrave:\"Ù\",Uacute:\"Ú\",Ucirc:\"Û\",Uuml:\"Ü\",Yacute:\"Ý\",THORN:\"Þ\",szlig:\"ß\",agrave:\"à\",aacute:\"á\",acirc:\"â\",atilde:\"ã\",auml:\"ä\",aring:\"å\",aelig:\"æ\",ccedil:\"ç\",egrave:\"è\",eacute:\"é\",ecirc:\"ê\",euml:\"ë\",igrave:\"ì\",iacute:\"í\",icirc:\"î\",iuml:\"ï\",eth:\"ð\",ntilde:\"ñ\",ograve:\"ò\",oacute:\"ó\",ocirc:\"ô\",otilde:\"õ\",ouml:\"ö\",oslash:\"ø\",ugrave:\"ù\",uacute:\"ú\",ucirc:\"û\",uuml:\"ü\",yacute:\"ý\",thorn:\"þ\",yuml:\"ÿ\",nbsp:\" \",iexcl:\"¡\",cent:\"¢\",pound:\"£\",curren:\"¤\",yen:\"¥\",brvbar:\"¦\",sect:\"§\",uml:\"¨\",copy:\"©\",ordf:\"ª\",laquo:\"«\",not:\"¬\",shy:\"­­\",reg:\"®\",macr:\"¯\",deg:\"°\",plusmn:\"±\",sup2:\"²\",sup3:\"³\",acute:\"´\",micro:\"µ\",para:\"¶\",middot:\"·\",cedil:\"¸\",sup1:\"¹\",ordm:\"º\",raquo:\"»\",frac14:\"¼\",frac12:\"½\",frac34:\"¾\",iquest:\"¿\",times:\"×\",divide:\"÷\",forall:\"∀\",part:\"∂\",exist:\"∃\",empty:\"∅\",nabla:\"∇\",isin:\"∈\",notin:\"∉\",ni:\"∋\",prod:\"∏\",sum:\"∑\",minus:\"−\",lowast:\"∗\",radic:\"√\",prop:\"∝\",infin:\"∞\",ang:\"∠\",and:\"∧\",or:\"∨\",cap:\"∩\",cup:\"∪\",int:\"∫\",there4:\"∴\",sim:\"∼\",cong:\"≅\",asymp:\"≈\",ne:\"≠\",equiv:\"≡\",le:\"≤\",ge:\"≥\",sub:\"⊂\",sup:\"⊃\",nsub:\"⊄\",sube:\"⊆\",supe:\"⊇\",oplus:\"⊕\",otimes:\"⊗\",perp:\"⊥\",sdot:\"⋅\",Alpha:\"Α\",Beta:\"Β\",Gamma:\"Γ\",Delta:\"Δ\",Epsilon:\"Ε\",Zeta:\"Ζ\",Eta:\"Η\",Theta:\"Θ\",Iota:\"Ι\",Kappa:\"Κ\",Lambda:\"Λ\",Mu:\"Μ\",Nu:\"Ν\",Xi:\"Ξ\",Omicron:\"Ο\",Pi:\"Π\",Rho:\"Ρ\",Sigma:\"Σ\",Tau:\"Τ\",Upsilon:\"Υ\",Phi:\"Φ\",Chi:\"Χ\",Psi:\"Ψ\",Omega:\"Ω\",alpha:\"α\",beta:\"β\",gamma:\"γ\",delta:\"δ\",epsilon:\"ε\",zeta:\"ζ\",eta:\"η\",theta:\"θ\",iota:\"ι\",kappa:\"κ\",lambda:\"λ\",mu:\"μ\",nu:\"ν\",xi:\"ξ\",omicron:\"ο\",pi:\"π\",rho:\"ρ\",sigmaf:\"ς\",sigma:\"σ\",tau:\"τ\",upsilon:\"υ\",phi:\"φ\",chi:\"χ\",psi:\"ψ\",omega:\"ω\",thetasym:\"ϑ\",upsih:\"ϒ\",piv:\"ϖ\",OElig:\"Œ\",oelig:\"œ\",Scaron:\"Š\",scaron:\"š\",Yuml:\"Ÿ\",fnof:\"ƒ\",circ:\"ˆ\",tilde:\"˜\",ensp:\" \",emsp:\" \",thinsp:\" \",zwnj:\"‌\",zwj:\"‍\",lrm:\"‎\",rlm:\"‏\",ndash:\"–\",mdash:\"—\",lsquo:\"‘\",rsquo:\"’\",sbquo:\"‚\",ldquo:\"“\",rdquo:\"”\",bdquo:\"„\",dagger:\"†\",Dagger:\"‡\",bull:\"•\",hellip:\"…\",permil:\"‰\",prime:\"′\",Prime:\"″\",lsaquo:\"‹\",rsaquo:\"›\",oline:\"‾\",euro:\"€\",trade:\"™\",larr:\"←\",uarr:\"↑\",rarr:\"→\",darr:\"↓\",harr:\"↔\",crarr:\"↵\",lceil:\"⌈\",rceil:\"⌉\",lfloor:\"⌊\",rfloor:\"⌋\",loz:\"◊\",spades:\"♠\",clubs:\"♣\",hearts:\"♥\",diams:\"♦\"}},z=/[A-Z_a-z\\xC0-\\xD6\\xD8-\\xF6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD]/,ii=new RegExp(\"[\\\\-\\\\.0-9\"+z.source.slice(1,-1)+\"\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]\"),xr=new RegExp(\"^\"+z.source+ii.source+\"*(?::\"+z.source+ii.source+\"*)?$\"),Ar=0,Pr=1,Lr=2,Dr=3,Or=4,Rr=5,Mr=6,Nr=7;function Ur(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,Ur)}function Br(){}function Fr(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function jr(e,t,i){for(var n=e.tagName,r=null,a=e.length;a--;){var s=e[a],o=s.qName,u=s.value,o=0<(c=o.indexOf(\":\"))?(l=s.prefix=o.slice(0,c),d=o.slice(c+1),\"xmlns\"===l&&d):(l=null,\"xmlns\"===(d=o)&&\"\");s.localName=d,!1!==o&&(null==r&&(r={},Hr(i,i={})),i[o]=r[o]=u,s.uri=\"http://www.w3.org/2000/xmlns/\",t.startPrefixMapping(o,u))}for(var l,a=e.length;a--;)(l=(s=e[a]).prefix)&&(\"xml\"===l&&(s.uri=\"http://www.w3.org/XML/1998/namespace\"),\"xmlns\"!==l&&(s.uri=i[l||\"\"]));var c,d=0<(c=n.indexOf(\":\"))?(l=e.prefix=n.slice(0,c),e.localName=n.slice(c+1)):(l=null,e.localName=n),h=e.uri=i[l||\"\"];if(t.startElement(h,d,n,e),!e.closed)return e.currentNSMap=i,e.localNSMap=r,1;if(t.endElement(h,d,n),r)for(l in r)t.endPrefixMapping(l)}function Hr(e,t){for(var i in e)t[i]=e[i]}function qr(){this.attributeNames={}}(Ur.prototype=new Error).name=Ur.name,Br.prototype={parse:function(e,t,i){var n=this.domBuilder;n.startDocument(),Hr(t,t={}),function(i,e,n,r,a){function s(e){var t=e.slice(1,-1);return t in n?n[t]:\"#\"===t.charAt(0)?65535<(t=parseInt(t.substr(1).replace(\"x\",\"0x\")))?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):String.fromCharCode(t):(a.error(\"entity not found:\"+e),e)}function t(e){var t;f<e&&(t=i.substring(f,e).replace(/&#?\\w+;/g,s),d&&o(f),r.characters(t,0,e-f),f=e)}function o(e,t){for(;l<=e&&(t=c.exec(i));)u=t.index,l=u+t[0].length,d.lineNumber++;d.columnNumber=e-u+1}var u=0,l=0,c=/.*(?:\\r\\n?|\\n)|.*$/g,d=r.locator,h=[{currentNSMap:e}],p={},f=0;for(;;){try{var m,g,y=i.indexOf(\"<\",f);if(y<0)return i.substr(f).match(/^\\s*$/)||(m=r.doc,g=m.createTextNode(i.substr(f)),m.appendChild(g),r.currentElement=g);switch(f<y&&t(y),i.charAt(y+1)){case\"/\":var v=i.indexOf(\">\",y+3),_=i.substring(y+2,v),b=h.pop();v<0?(_=i.substring(y+2).replace(/[\\s<].*/,\"\"),a.error(\"end tag name: \"+_+\" is not complete:\"+b.tagName),v=y+1+_.length):_.match(/\\s</)&&(_=_.replace(/[\\s<].*/,\"\"),a.error(\"end tag name: \"+_+\" maybe not complete\"),v=y+1+_.length);var T=b.localNSMap,S=b.tagName==_;if(S||b.tagName&&b.tagName.toLowerCase()==_.toLowerCase()){if(r.endElement(b.uri,b.localName,_),T)for(var E in T)r.endPrefixMapping(E);S||a.fatalError(\"end tag name: \"+_+\" is not match the current start tagName:\"+b.tagName)}else h.push(b);v++;break;case\"?\":d&&o(y),v=function(e,t,i){var n=e.indexOf(\"?>\",t);if(n){t=e.substring(t,n).match(/^<\\?(\\S*)\\s*([\\s\\S]*?)\\s*$/);return t?(t[0].length,i.processingInstruction(t[1],t[2]),n+2):-1}return-1}(i,y,r);break;case\"!\":d&&o(y),v=function(e,t,i,n){{if(\"-\"===e.charAt(t+2)){if(\"-\"!==e.charAt(t+3))return-1;var r=e.indexOf(\"--\\x3e\",t+4);return t<r?(i.comment(e,t+4,r-t-4),r+3):(n.error(\"Unclosed comment\"),-1)}if(\"CDATA[\"==e.substr(t+3,6)){r=e.indexOf(\"]]>\",t+9);return i.startCDATA(),i.characters(e,t+9,r-t-9),i.endCDATA(),r+3}var a=function(e,t){var i,n=[],r=/'[^']+'|\"[^\"]+\"|[^\\s<>\\/=]+=?|(\\/?\\s*>|<)/g;r.lastIndex=t,r.exec(e);for(;i=r.exec(e);)if(n.push(i),i[1])return n}(e,t),n=a.length;if(1<n&&/!doctype/i.test(a[0][0])){r=a[1][0],e=!1,t=!1;3<n&&(/^public$/i.test(a[2][0])?(e=a[3][0],t=4<n&&a[4][0]):/^system$/i.test(a[2][0])&&(t=a[3][0]));n=a[n-1];return i.startDTD(r,e,t),i.endDTD(),n.index+n[0].length}}return-1}(i,y,r,a);break;default:d&&o(y);var k=new qr,C=h[h.length-1].currentNSMap,v=function(e,t,n,i,r,a){function s(e,t,i){e in n.attributeNames&&a.fatalError(\"Attribute \"+e+\" redefined\"),n.addValue(e,t,i)}var o,u=++t,l=Ar;for(;;){var c=e.charAt(u);switch(c){case\"=\":if(l===Pr)o=e.slice(t,u),l=Dr;else{if(l!==Lr)throw new Error(\"attribute equal must after attrName\");l=Dr}break;case\"'\":case'\"':if(l===Dr||l===Pr){if(l===Pr&&(a.warning('attribute value must after \"=\"'),o=e.slice(t,u)),t=u+1,!(0<(u=e.indexOf(c,t))))throw new Error(\"attribute value no end '\"+c+\"' match\");d=e.slice(t,u).replace(/&#?\\w+;/g,r),s(o,d,t-1),l=Rr}else{if(l!=Or)throw new Error('attribute value must after \"=\"');d=e.slice(t,u).replace(/&#?\\w+;/g,r),s(o,d,t),a.warning('attribute \"'+o+'\" missed start quot('+c+\")!!\"),t=u+1,l=Rr}break;case\"/\":switch(l){case Ar:n.setTagName(e.slice(t,u));case Rr:case Mr:case Nr:l=Nr,n.closed=!0;case Or:case Pr:case Lr:break;default:throw new Error(\"attribute invalid close char('/')\")}break;case\"\":return a.error(\"unexpected end of input\"),l==Ar&&n.setTagName(e.slice(t,u)),u;case\">\":switch(l){case Ar:n.setTagName(e.slice(t,u));case Rr:case Mr:case Nr:break;case Or:case Pr:\"/\"===(d=e.slice(t,u)).slice(-1)&&(n.closed=!0,d=d.slice(0,-1));case Lr:l===Lr&&(d=o),l==Or?(a.warning('attribute \"'+d+'\" missed quot(\")!'),s(o,d.replace(/&#?\\w+;/g,r),t)):(\"http://www.w3.org/1999/xhtml\"===i[\"\"]&&d.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute \"'+d+'\" missed value!! \"'+d+'\" instead!!'),s(d,d,t));break;case Dr:throw new Error(\"attribute value missed!!\")}return u;case\"\":c=\" \";default:if(c<=\" \")switch(l){case Ar:n.setTagName(e.slice(t,u)),l=Mr;break;case Pr:o=e.slice(t,u),l=Lr;break;case Or:var d=e.slice(t,u).replace(/&#?\\w+;/g,r);a.warning('attribute \"'+d+'\" missed quot(\")!!'),s(o,d,t);case Rr:l=Mr}else switch(l){case Lr:n.tagName,\"http://www.w3.org/1999/xhtml\"===i[\"\"]&&o.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute \"'+o+'\" missed value!! \"'+o+'\" instead2!!'),s(o,o,t),t=u,l=Pr;break;case Rr:a.warning('attribute space is required\"'+o+'\"!!');case Mr:l=Pr,t=u;break;case Dr:l=Or,t=u;break;case Nr:throw new Error(\"elements closed character '/' and '>' must be connected to\")}}u++}}(i,y,k,C,s,a),w=k.length;if(!k.closed&&function(e,t,i,n){var r=n[i];null==r&&((r=e.lastIndexOf(\"</\"+i+\">\"))<t&&(r=e.lastIndexOf(\"</\"+i)),n[i]=r);return r<t}(i,v,k.tagName,p)&&(k.closed=!0,n.nbsp||a.warning(\"unclosed xml attribute\")),d&&w){for(var I=Fr(d,{}),x=0;x<w;x++){var A=k[x];o(A.offset),A.locator=Fr(d,{})}r.locator=I,jr(k,r,C)&&h.push(k),r.locator=d}else jr(k,r,C)&&h.push(k);\"http://www.w3.org/1999/xhtml\"!==k.uri||k.closed?v++:v=function(e,t,i,n,r){if(/^(?:script|textarea)$/i.test(i)){var a=e.indexOf(\"</\"+i+\">\",t),e=e.substring(t+1,a);if(/[&<]/.test(e))return/^script$/i.test(i)||(e=e.replace(/&#?\\w+;/g,n)),r.characters(e,0,e.length),a}return t+1}(i,v,k.tagName,s,r)}}catch(e){if(e instanceof Ur)throw e;a.error(\"element parse error: \"+e),v=-1}f<v?f=v:t(Math.max(y,f)+1)}}(e,t,i,n,this.errorHandler),n.endDocument()}},qr.prototype={setTagName:function(e){if(!xr.test(e))throw new Error(\"invalid tagName:\"+e);this.tagName=e},addValue:function(e,t,i){if(!xr.test(e))throw new Error(\"invalid attribute:\"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:i}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}};var Vr={XMLReader:Br,ParseError:Ur};function Wr(e,t){for(var i in e)t[i]=e[i]}function zr(e,t){var i,n=e.prototype;n instanceof t||((i=function(){}).prototype=t.prototype,Wr(n,i=new i),e.prototype=n=i),n.constructor!=e&&(n.constructor=e)}var Gr=\"http://www.w3.org/1999/xhtml\",ni={},Xr=ni.ELEMENT_NODE=1,Kr=ni.ATTRIBUTE_NODE=2,Yr=ni.TEXT_NODE=3,Qr=ni.CDATA_SECTION_NODE=4,$r=ni.ENTITY_REFERENCE_NODE=5,Jr=(ni.ENTITY_NODE=6,ni.PROCESSING_INSTRUCTION_NODE=7),Zr=ni.COMMENT_NODE=8,ea=ni.DOCUMENT_NODE=9,ta=ni.DOCUMENT_TYPE_NODE=10,ia=ni.DOCUMENT_FRAGMENT_NODE=11,zt=(ni.NOTATION_NODE=12,{}),na={};zt.INDEX_SIZE_ERR=(na[1]=\"Index size error\",1),zt.DOMSTRING_SIZE_ERR=(na[2]=\"DOMString size error\",2);zt.HIERARCHY_REQUEST_ERR=(na[3]=\"Hierarchy request error\",3);zt.WRONG_DOCUMENT_ERR=(na[4]=\"Wrong document\",4),zt.INVALID_CHARACTER_ERR=(na[5]=\"Invalid character\",5),zt.NO_DATA_ALLOWED_ERR=(na[6]=\"No data allowed\",6),zt.NO_MODIFICATION_ALLOWED_ERR=(na[7]=\"No modification allowed\",7);zt.NOT_FOUND_ERR=(na[8]=\"Not found\",8);zt.NOT_SUPPORTED_ERR=(na[9]=\"Not supported\",9);var ra;zt.INUSE_ATTRIBUTE_ERR=(na[10]=\"Attribute in use\",10);function aa(e,t){var i;return t instanceof Error?i=t:(i=this,Error.call(this,na[e]),this.message=na[e],Error.captureStackTrace&&Error.captureStackTrace(this,aa)),i.code=e,t&&(this.message=this.message+\": \"+t),i}function sa(){}function oa(e,t){this._node=e,this._refresh=t,ua(this)}function ua(e){var t,i=e._node._inc||e._node.ownerDocument._inc;e._inc!=i&&(t=e._refresh(e._node),Ba(e,\"length\",t.length),Wr(t,e),e._inc=i)}function la(){}function ca(e,t){for(var i=e.length;i--;)if(e[i]===t)return i}function da(e,t,i,n){n?t[ca(t,n)]=i:t[t.length++]=i,!e||(t=(i.ownerElement=e).ownerDocument)&&(n&&va(t,e,n),e=e,i=i,(t=t)&&t._inc++,\"http://www.w3.org/2000/xmlns/\"==i.namespaceURI&&(e._nsMap[i.prefix?i.localName:\"\"]=i.value))}function ha(e,t,i){var n=ca(t,i);if(!(0<=n))throw aa(8,new Error(e.tagName+\"@\"+i));for(var r,a=t.length-1;n<a;)t[n]=t[++n];t.length=a,!e||(r=e.ownerDocument)&&(va(r,e,i),i.ownerElement=null)}function pa(e){if(this._features={},e)for(var t in e)this._features=e[t]}function fa(){}function ma(e){return(\"<\"==e?\"&lt;\":\">\"==e&&\"&gt;\")||\"&\"==e&&\"&amp;\"||'\"'==e&&\"&quot;\"||\"&#\"+e.charCodeAt()+\";\"}function ga(e,t){if(t(e))return 1;if(e=e.firstChild)do{if(ga(e,t))return 1}while(e=e.nextSibling)}function ya(){}function va(e,t,i){e&&e._inc++,\"http://www.w3.org/2000/xmlns/\"==i.namespaceURI&&delete t._nsMap[i.prefix?i.localName:\"\"]}function _a(e,t,i){if(e&&e._inc){e._inc++;var n=t.childNodes;if(i)n[n.length++]=i;else{for(var r=t.firstChild,a=0;r;)r=(n[a++]=r).nextSibling;n.length=a}}}function ba(e,t){var i=t.previousSibling,n=t.nextSibling;return i?i.nextSibling=n:e.firstChild=n,n?n.previousSibling=i:e.lastChild=i,_a(e.ownerDocument,e),t}function Ta(e,t,i){var n=t.parentNode;if(n&&n.removeChild(t),t.nodeType===ia){var r=t.firstChild;if(null==r)return t;var a=t.lastChild}else r=a=t;n=i?i.previousSibling:e.lastChild;for(r.previousSibling=n,a.nextSibling=i,n?n.nextSibling=r:e.firstChild=r,null==i?e.lastChild=a:i.previousSibling=a;r.parentNode=e,r!==a&&(r=r.nextSibling););return _a(e.ownerDocument||e,e),t.nodeType==ia&&(t.firstChild=t.lastChild=null),t}function Sa(){this._nsMap={}}function Ea(){}function ka(){}function Ca(){}function wa(){}function Ia(){}function xa(){}function Aa(){}function Pa(){}function La(){}function Da(){}function Oa(){}function Ra(){}function Ma(e,t){var i,n=[],r=9==this.nodeType&&this.documentElement||this,a=r.prefix,s=r.namespaceURI;return Ua(this,n,e,t,i=s&&null==a&&null==(a=r.lookupPrefix(s))?[{namespace:s,prefix:null}]:i),n.join(\"\")}function Na(e,t,i){var n=e.prefix||\"\",r=e.namespaceURI;if((n||r)&&(\"xml\"!==n||\"http://www.w3.org/XML/1998/namespace\"!==r)&&\"http://www.w3.org/2000/xmlns/\"!=r){for(var a=i.length;a--;){var s=i[a];if(s.prefix==n)return s.namespace!=r}return 1}}function Ua(e,t,i,n,r){if(n){if(!(e=n(e)))return;if(\"string\"==typeof e)return void t.push(e)}switch(e.nodeType){case Xr:(r=r||[]).length;var a=e.attributes,s=a.length,o=e.firstChild,u=e.tagName;i=Gr===e.namespaceURI||i,t.push(\"<\",u);for(var l=0;l<s;l++)\"xmlns\"==(c=a.item(l)).prefix?r.push({prefix:c.localName,namespace:c.value}):\"xmlns\"==c.nodeName&&r.push({prefix:\"\",namespace:c.value});for(var c,d,h,l=0;l<s;l++)Na(c=a.item(l),0,r)&&(d=c.prefix||\"\",h=c.namespaceURI,t.push(d?\" xmlns:\"+d:\" xmlns\",'=\"',h,'\"'),r.push({prefix:d,namespace:h})),Ua(c,t,i,n,r);if(Na(e,0,r)&&(d=e.prefix||\"\",h=e.namespaceURI,t.push(d?\" xmlns:\"+d:\" xmlns\",'=\"',h,'\"'),r.push({prefix:d,namespace:h})),o||i&&!/^(?:meta|link|img|br|hr|input)$/i.test(u)){if(t.push(\">\"),i&&/^script$/i.test(u))for(;o;)o.data?t.push(o.data):Ua(o,t,i,n,r),o=o.nextSibling;else for(;o;)Ua(o,t,i,n,r),o=o.nextSibling;t.push(\"</\",u,\">\")}else t.push(\"/>\");return;case ea:case ia:for(o=e.firstChild;o;)Ua(o,t,i,n,r),o=o.nextSibling;return;case Kr:return t.push(\" \",e.name,'=\"',e.value.replace(/[&\"]/g,ma),'\"');case Yr:return t.push(e.data.replace(/[<&]/g,ma).replace(/]]>/g,\"]]&gt;\"));case Qr:return t.push(\"<![CDATA[\",e.data,\"]]>\");case Zr:return t.push(\"\\x3c!--\",e.data,\"--\\x3e\");case ta:var p=e.publicId,u=e.systemId;return t.push(\"<!DOCTYPE \",e.name),void(p?(t.push(\" PUBLIC \",p),u&&\".\"!=u&&t.push(\" \",u),t.push(\">\")):u&&\".\"!=u?t.push(\" SYSTEM \",u,\">\"):((u=e.internalSubset)&&t.push(\" [\",u,\"]\"),t.push(\">\")));case Jr:return t.push(\"<?\",e.target,\" \",e.data,\"?>\");case $r:return t.push(\"&\",e.nodeName,\";\");default:t.push(\"??\",e.nodeName)}}function Ba(e,t,i){e[t]=i}zt.INVALID_STATE_ERR=(na[11]=\"Invalid state\",11),zt.SYNTAX_ERR=(na[12]=\"Syntax error\",12),zt.INVALID_MODIFICATION_ERR=(na[13]=\"Invalid modification\",13),zt.NAMESPACE_ERR=(na[14]=\"Invalid namespace\",14),zt.INVALID_ACCESS_ERR=(na[15]=\"Invalid access\",15),aa.prototype=Error.prototype,Wr(zt,aa),sa.prototype={length:0,item:function(e){return this[e]||null},toString:function(e,t){for(var i=[],n=0;n<this.length;n++)Ua(this[n],i,e,t);return i.join(\"\")}},oa.prototype.item=function(e){return ua(this),this[e]},zr(oa,sa),la.prototype={length:0,item:sa.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var i=this[t];if(i.nodeName==e)return i}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new aa(10);t=this.getNamedItem(e.nodeName);return da(this._ownerElement,this,e,t),t},setNamedItemNS:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new aa(10);return t=this.getNamedItemNS(e.namespaceURI,e.localName),da(this._ownerElement,this,e,t),t},removeNamedItem:function(e){e=this.getNamedItem(e);return ha(this._ownerElement,this,e),e},removeNamedItemNS:function(e,t){t=this.getNamedItemNS(e,t);return ha(this._ownerElement,this,t),t},getNamedItemNS:function(e,t){for(var i=this.length;i--;){var n=this[i];if(n.localName==t&&n.namespaceURI==e)return n}return null}},pa.prototype={hasFeature:function(e,t){e=this._features[e.toLowerCase()];return!(!e||t&&!(t in e))},createDocument:function(e,t,i){var n=new ya;return n.implementation=this,n.childNodes=new sa,(n.doctype=i)&&n.appendChild(i),t&&(t=n.createElementNS(e,t),n.appendChild(t)),n},createDocumentType:function(e,t,i){var n=new xa;return n.name=e,n.nodeName=e,n.publicId=t,n.systemId=i,n}},fa.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Ta(this,e,t)},replaceChild:function(e,t){this.insertBefore(e,t),t&&this.removeChild(t)},removeChild:function(e){return ba(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,i,n){var r=new i.constructor;for(var a in i){var s=i[a];\"object\"!=typeof s&&s!=r[a]&&(r[a]=s)}i.childNodes&&(r.childNodes=new sa);r.ownerDocument=t;switch(r.nodeType){case Xr:var o=i.attributes,u=r.attributes=new la,l=o.length;u._ownerElement=r;for(var c=0;c<l;c++)r.setAttributeNode(e(t,o.item(c),!0));break;case Kr:n=!0}if(n)for(var d=i.firstChild;d;)r.appendChild(e(t,d,n)),d=d.nextSibling;return r}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==Yr&&e.nodeType==Yr?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return 0<this.attributes.length},lookupPrefix:function(e){for(var t=this;t;){var i=t._nsMap;if(i)for(var n in i)if(i[n]==e)return n;t=t.nodeType==Kr?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var i=t._nsMap;if(i&&e in i)return i[e];t=t.nodeType==Kr?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},Wr(ni,fa),Wr(ni,fa.prototype),ya.prototype={nodeName:\"#document\",nodeType:ea,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType!=ia)return null==this.documentElement&&e.nodeType==Xr&&(this.documentElement=e),Ta(this,e,t),e.ownerDocument=this,e;for(var i=e.firstChild;i;){var n=i.nextSibling;this.insertBefore(i,t),i=n}return e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),ba(this,e)},importNode:function(e,t){return function e(t,i,n){var r;switch(i.nodeType){case Xr:(r=i.cloneNode(!1)).ownerDocument=t;case ia:break;case Kr:n=!0}r=r||i.cloneNode(!1);r.ownerDocument=t;r.parentNode=null;if(n)for(var a=i.firstChild;a;)r.appendChild(e(t,a,n)),a=a.nextSibling;return r}(this,e,t)},getElementById:function(t){var i=null;return ga(this.documentElement,function(e){if(e.nodeType==Xr&&e.getAttribute(\"id\")==t)return i=e,!0}),i},getElementsByClassName:function(e){var n=new RegExp(\"(^|\\\\s)\"+e+\"(\\\\s|$)\");return new oa(this,function(t){var i=[];return ga(t.documentElement,function(e){e!==t&&e.nodeType==Xr&&n.test(e.getAttribute(\"class\"))&&i.push(e)}),i})},createElement:function(e){var t=new Sa;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.childNodes=new sa,(t.attributes=new la)._ownerElement=t},createDocumentFragment:function(){var e=new Da;return e.ownerDocument=this,e.childNodes=new sa,e},createTextNode:function(e){var t=new Ca;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new wa;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new Ia;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var i=new Oa;return i.ownerDocument=this,i.tagName=i.target=e,i.nodeValue=i.data=t,i},createAttribute:function(e){var t=new Ea;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new La;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var i=new Sa,n=t.split(\":\"),r=i.attributes=new la;return i.childNodes=new sa,i.ownerDocument=this,i.nodeName=t,i.tagName=t,i.namespaceURI=e,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=t,r._ownerElement=i},createAttributeNS:function(e,t){var i=new Ea,n=t.split(\":\");return i.ownerDocument=this,i.nodeName=t,i.name=t,i.namespaceURI=e,i.specified=!0,2==n.length?(i.prefix=n[0],i.localName=n[1]):i.localName=t,i}},zr(ya,fa),ya.prototype.getElementsByTagName=(Sa.prototype={nodeType:Xr,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){e=this.getAttributeNode(e);return e&&e.value||\"\"},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){e=this.ownerDocument.createAttribute(e);e.value=e.nodeValue=\"\"+t,this.setAttributeNode(e)},removeAttribute:function(e){e=this.getAttributeNode(e);e&&this.removeAttributeNode(e)},appendChild:function(e){return e.nodeType===ia?this.insertBefore(e,null):function(e,t){var i=t.parentNode;i&&(n=e.lastChild,i.removeChild(t),n=e.lastChild);var n=e.lastChild;return t.parentNode=e,t.previousSibling=n,t.nextSibling=null,n?n.nextSibling=t:e.firstChild=t,e.lastChild=t,_a(e.ownerDocument,e,t),t}(this,e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){t=this.getAttributeNodeNS(e,t);t&&this.removeAttributeNode(t)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){t=this.getAttributeNodeNS(e,t);return t&&t.value||\"\"},setAttributeNS:function(e,t,i){t=this.ownerDocument.createAttributeNS(e,t);t.value=t.nodeValue=\"\"+i,this.setAttributeNode(t)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(n){return new oa(this,function(t){var i=[];return ga(t,function(e){e===t||e.nodeType!=Xr||\"*\"!==n&&e.tagName!=n||i.push(e)}),i})},getElementsByTagNameNS:function(n,r){return new oa(this,function(t){var i=[];return ga(t,function(e){e===t||e.nodeType!==Xr||\"*\"!==n&&e.namespaceURI!==n||\"*\"!==r&&e.localName!=r||i.push(e)}),i})}}).getElementsByTagName,ya.prototype.getElementsByTagNameNS=Sa.prototype.getElementsByTagNameNS,zr(Sa,fa),Ea.prototype.nodeType=Kr,zr(Ea,fa),ka.prototype={data:\"\",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw new Error(na[3])},deleteData:function(e,t){this.replaceData(e,t,\"\")},replaceData:function(e,t,i){var n=this.data.substring(0,e),t=this.data.substring(e+t);this.nodeValue=this.data=i=n+i+t,this.length=i.length}},zr(ka,fa),Ca.prototype={nodeName:\"#text\",nodeType:Yr,splitText:function(e){var t=(i=this.data).substring(e),i=i.substring(0,e);this.data=this.nodeValue=i,this.length=i.length;t=this.ownerDocument.createTextNode(t);return this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling),t}},zr(Ca,ka),wa.prototype={nodeName:\"#comment\",nodeType:Zr},zr(wa,ka),Ia.prototype={nodeName:\"#cdata-section\",nodeType:Qr},zr(Ia,ka),xa.prototype.nodeType=ta,zr(xa,fa),Aa.prototype.nodeType=12,zr(Aa,fa),Pa.prototype.nodeType=6,zr(Pa,fa),La.prototype.nodeType=$r,zr(La,fa),Da.prototype.nodeName=\"#document-fragment\",Da.prototype.nodeType=ia,zr(Da,fa),Oa.prototype.nodeType=Jr,zr(Oa,fa),Ra.prototype.serializeToString=function(e,t,i){return Ma.call(e,t,i)},fa.prototype.toString=Ma;try{Object.defineProperty&&(ra=function e(t){switch(t.nodeType){case Xr:case ia:var i=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&i.push(e(t)),t=t.nextSibling;return i.join(\"\");default:return t.nodeValue}},Object.defineProperty(oa.prototype,\"length\",{get:function(){return ua(this),this.$$length}}),Object.defineProperty(fa.prototype,\"textContent\",{get:function(){return ra(this)},set:function(e){switch(this.nodeType){case Xr:case ia:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Ba=function(e,t,i){e[\"$$\"+t]=i})}catch(e){}var Fa={Node:fa,DOMException:aa,DOMImplementation:pa,XMLSerializer:Ra},nr=t(function(e,t){function i(e){this.options=e||{locator:{}}}function l(){this.cdata=!1}function c(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function d(e){if(e)return\"\\n@\"+(e.systemId||\"\")+\"#[line:\"+e.lineNumber+\",col:\"+e.columnNumber+\"]\"}function r(e,t,i){return\"string\"==typeof e?e.substr(t,i):e.length>=t+i||t?new java.lang.String(e,t,i)+\"\":e}function h(e,t){(e.currentElement||e.doc).appendChild(t)}i.prototype.parseFromString=function(e,t){var i=this.options,n=new p,r=i.domBuilder||new l,a=i.errorHandler,s=i.locator,o=i.xmlns||{},u=/\\/x?html?$/.test(t),t=u?Ir.entityMap:{lt:\"<\",gt:\">\",amp:\"&\",quot:'\"',apos:\"'\"};return s&&r.setDocumentLocator(s),n.errorHandler=function(n,e,r){if(!n){if(e instanceof l)return e;n=e}var a={},s=n instanceof Function;function t(t){var i=n[t];!i&&s&&(i=2==n.length?function(e){n(t,e)}:n),a[t]=i?function(e){i(\"[xmldom \"+t+\"]\\t\"+e+d(r))}:function(){}}return r=r||{},t(\"warning\"),t(\"error\"),t(\"fatalError\"),a}(a,r,s),n.domBuilder=i.domBuilder||r,u&&(o[\"\"]=\"http://www.w3.org/1999/xhtml\"),o.xml=o.xml||\"http://www.w3.org/XML/1998/namespace\",e&&\"string\"==typeof e?n.parse(e,o,t):n.errorHandler.error(\"invalid doc source\"),r.doc},l.prototype={startDocument:function(){this.doc=(new a).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,i,n){var r=this.doc,a=r.createElementNS(e,i||t),s=n.length;h(this,a),this.currentElement=a,this.locator&&c(this.locator,a);for(var o=0;o<s;o++){var e=n.getURI(o),u=n.getValue(o),i=n.getQName(o),l=r.createAttributeNS(e,i);this.locator&&c(n.getLocator(o),l),l.value=l.nodeValue=u,a.setAttributeNode(l)}},endElement:function(e,t,i){var n=this.currentElement;n.tagName,this.currentElement=n.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){t=this.doc.createProcessingInstruction(e,t);this.locator&&c(this.locator,t),h(this,t)},ignorableWhitespace:function(e,t,i){},characters:function(e,t,i){var n;(e=r.apply(this,arguments))&&(n=this.cdata?this.doc.createCDATASection(e):this.doc.createTextNode(e),this.currentElement?this.currentElement.appendChild(n):/^\\s*$/.test(e)&&this.doc.appendChild(n),this.locator&&c(this.locator,n))},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,i){e=r.apply(this,arguments);e=this.doc.createComment(e);this.locator&&c(this.locator,e),h(this,e)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,i){var n=this.doc.implementation;n&&n.createDocumentType&&(i=n.createDocumentType(e,t,i),this.locator&&c(this.locator,i),h(this,i))},warning:function(e){},error:function(e){},fatalError:function(e){throw new n(e,this.locator)}},\"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl\".replace(/\\w+/g,function(e){l.prototype[e]=function(){return null}});var p=Vr.XMLReader,n=Vr.ParseError,a=t.DOMImplementation=Fa.DOMImplementation;t.XMLSerializer=Fa.XMLSerializer,t.DOMParser=i,t.__DOMHandler=l});nr.DOMImplementation,nr.XMLSerializer;var ja=nr.DOMParser;nr.__DOMHandler;function Ha(e){return!!e&&\"object\"==typeof e}function qa(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return t.reduce(function(t,i){return\"object\"!=typeof i||Object.keys(i).forEach(function(e){Array.isArray(t[e])&&Array.isArray(i[e])?t[e]=t[e].concat(i[e]):Ha(t[e])&&Ha(i[e])?t[e]=qa(t[e],i[e]):t[e]=i[e]}),t},{})}function Va(e){return e.reduce(function(e,t){return e.concat(t)},[])}function Wa(e){if(!e.length)return[];for(var t=[],i=0;i<e.length;i++)t.push(e[i]);return t}function za(e){var t=e.baseUrl,i=void 0===(n=e.source)?\"\":n,n=void 0===(n=e.range)?\"\":n,e=void 0===(e=e.indexRange)?\"\":e,i={uri:i,resolvedUri:er((void 0===t?\"\":t)||\"\",i)};return(n||e)&&(n=(n||e).split(\"-\"),e=parseInt(n[0],10),n=parseInt(n[1],10),i.byterange={length:n-e+1,offset:e}),i}function Ga(e){return e&&\"number\"!=typeof e&&(e=parseInt(e,10)),isNaN(e)?null:e}function Xa(e){var s,t=void 0===(a=e.type)?\"static\":a,i=e.duration,n=e.timescale,r=void 0===n?1:n,a=e.sourceDuration,e=function(e,t){for(var i=[],n=e;n<t;n++)i.push(n);return i}((n=Fs[t](e)).start,n.end).map((s=e,function(e,t){var i=s.duration,n=s.timescale,r=s.periodIndex,a=s.startNumber;return{number:(void 0===a?1:a)+e,duration:i/(void 0===n?1:n),timeline:r,time:t*i}}));return\"static\"===t&&(e[t=e.length-1].duration=a-i/r*t),e}function Ka(e){var t=e.baseUrl,i=void 0===(r=e.initialization)?{}:r,n=e.sourceDuration,r=void 0===(a=e.indexRange)?\"\":a,a=e.duration;if(!t)throw new Error(Ns);return i=za({baseUrl:t,source:i.sourceURL,range:i.range}),(r=za({baseUrl:t,source:t,indexRange:r})).map=i,a?(e=Xa(e)).length&&(r.duration=e[0].duration,r.timeline=e[0].timeline):n&&(r.duration=n,r.timeline=0),r.number=0,[r]}function Ya(e,t,i){for(var n=e.sidx.map||null,r=e.sidx.duration,a=e.timeline||0,s=(s=e.sidx.byterange).offset+s.length,o=t.timescale,u=t.references.filter(function(e){return 1!==e.referenceType}),l=[],c=s+t.firstOffset,d=0;d<u.length;d++){var h=t.references[d],p=h.referencedSize,h=h.subsegmentDuration,h=Ka({baseUrl:i,timescale:o,timeline:a,periodIndex:a,duration:h,sourceDuration:r,indexRange:c+\"-\"+(c+p-1)})[0];n&&(h.map=n),l.push(h),c+=p}return e.segments=l,e}function Qa(e){return e&&e.uri+\"-\"+(t=e.byterange,e=t.offset+t.length-1,t.offset+\"-\"+e);var t}function $a(e){var t;return(t=e.reduce(function(e,t){var i,n=t.attributes.id+(t.attributes.lang||\"\");return e[n]?(t.segments[0]&&(t.segments[0].discontinuity=!0),(i=e[n].segments).push.apply(i,t.segments),t.attributes.contentProtection&&(e[n].attributes.contentProtection=t.attributes.contentProtection)):e[n]=t,e},{}),Object.keys(t).map(function(e){return t[e]})).map(function(e){var t,n;return e.discontinuityStarts=(t=e.segments,n=\"discontinuity\",t.reduce(function(e,t,i){return t[n]&&e.push(i),e},[])),e})}function Ja(e,t){var i=Qa(e.sidx);return(i=i&&t[i]&&t[i].sidx)&&Ya(e,i,e.sidx.resolvedUri),e}function Za(e,l,c){var d;return void 0===l&&(l={}),void 0===c&&(c=!1),e=e.reduce(function(e,t){var i=t.attributes.role&&t.attributes.role.value||\"\",n=t.attributes.lang||\"\",r=t.attributes.label||\"main\";e[r=n&&!t.attributes.label?t.attributes.lang+(i?\" (\"+i+\")\":\"\"):r]||(e[r]={language:n,autoselect:!0,default:\"main\"===i,playlists:[],uri:\"\"});var a,s,o,u,u=Ja((s=c,o=(a=t).attributes,u=a.segments,n=a.sidx,u={attributes:((a={NAME:o.id,BANDWIDTH:o.bandwidth,CODECS:o.codecs})[\"PROGRAM-ID\"]=1,a),uri:\"\",endList:\"static\"===(o.type||\"static\"),timeline:o.periodIndex,resolvedUri:\"\",targetDuration:o.duration,segments:u,mediaSequence:u.length?u[0].number:1},o.contentProtection&&(u.contentProtection=o.contentProtection),n&&(u.sidx=n),s&&(u.attributes.AUDIO=\"audio\",u.attributes.SUBTITLES=\"subs\"),u),l);return e[r].playlists.push(u),\"undefined\"==typeof d&&\"main\"===i&&((d=t).default=!0),e},{}),d||(e[Object.keys(e)[0]].default=!0),e}function es(e){var t=e.attributes,i=e.segments,n=e.sidx,i={attributes:((e={NAME:t.id,AUDIO:\"audio\",SUBTITLES:\"subs\",RESOLUTION:{width:t.width,height:t.height},CODECS:t.codecs,BANDWIDTH:t.bandwidth})[\"PROGRAM-ID\"]=1,e),uri:\"\",endList:\"static\"===(t.type||\"static\"),timeline:t.periodIndex,resolvedUri:\"\",targetDuration:t.duration,segments:i,mediaSequence:i.length?i[0].number:1};return t.contentProtection&&(i.contentProtection=t.contentProtection),n&&(i.sidx=n),i}function ts(e){return\"video/mp4\"===(e=e.attributes).mimeType||\"video/webm\"===e.mimeType||\"video\"===e.contentType}function is(e){return\"audio/mp4\"===(e=e.attributes).mimeType||\"audio/webm\"===e.mimeType||\"audio\"===e.contentType}function ns(e){return\"text/vtt\"===(e=e.attributes).mimeType||\"text\"===e.contentType}function rs(e,t,i){if(void 0===i&&(i={}),!e.length)return{};var n=(c=e[0].attributes).sourceDuration,r=void 0===(l=c.type)?\"static\":l,a=c.suggestedPresentationDelay,s=c.minimumUpdatePeriod,o=$a(e.filter(ts)).map(es),u=$a(e.filter(is)),l=e.filter(ns),c=e.map(function(e){return e.attributes.captionServices}).filter(Boolean),o={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:((e={AUDIO:{},VIDEO:{}})[\"CLOSED-CAPTIONS\"]={},e.SUBTITLES={},e),uri:\"\",duration:n,playlists:function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var i in e)e[i]=Ja(e[i],t);return e}(o,i)};0<=s&&(o.minimumUpdatePeriod=1e3*s),t&&(o.locations=t),\"dynamic\"===r&&(o.suggestedPresentationDelay=a);var d,a=0===o.playlists.length;return u.length&&(o.mediaGroups.AUDIO.audio=Za(u,i,a)),l.length&&(o.mediaGroups.SUBTITLES.subs=(void 0===(d=i)&&(d={}),l.reduce(function(e,t){var i=t.attributes.lang||\"text\";return e[i]||(e[i]={language:i,default:!1,autoselect:!1,playlists:[],uri:\"\"}),e[i].playlists.push(Ja(function(e){var t=e.attributes,i=e.segments;\"undefined\"==typeof i&&(i=[{uri:t.baseUrl,timeline:t.periodIndex,resolvedUri:t.baseUrl||\"\",duration:t.sourceDuration,number:0}],t.duration=t.sourceDuration);(e={NAME:t.id,BANDWIDTH:t.bandwidth})[\"PROGRAM-ID\"]=1;return t.codecs&&(e.CODECS=t.codecs),{attributes:e,uri:\"\",endList:\"static\"===(t.type||\"static\"),timeline:t.periodIndex,resolvedUri:t.baseUrl||\"\",targetDuration:t.duration,segments:i,mediaSequence:i.length?i[0].number:1}}(t),d)),e},{}))),c.length&&(o.mediaGroups[\"CLOSED-CAPTIONS\"].cc=c.reduce(function(n,e){return e&&e.forEach(function(e){var t=e.channel,i=e.language;n[i]={autoselect:!1,default:!1,instreamId:t,language:i},e.hasOwnProperty(\"aspectRatio\")&&(n[i].aspectRatio=e.aspectRatio),e.hasOwnProperty(\"easyReader\")&&(n[i].easyReader=e.easyReader),e.hasOwnProperty(\"3D\")&&(n[i][\"3D\"]=e[\"3D\"])}),n},{})),o}function as(e,t){for(var i,n,r,a,s,o,u=e.type,l=void 0===u?\"static\":u,c=void 0===(u=e.minimumUpdatePeriod)?0:u,d=void 0===(u=e.media)?\"\":u,h=e.sourceDuration,p=void 0===(u=e.timescale)?1:u,f=void 0===(u=e.startNumber)?1:u,m=e.periodIndex,g=[],y=-1,v=0;v<t.length;v++){var _=t[v],b=_.d,T=_.r||0,S=_.t||0;y<0&&(y=S),S&&y<S&&(y=S);var E,k=void 0;k=T<0?(E=v+1)===t.length?\"dynamic\"===l&&0<c&&0<d.indexOf(\"$Number$\")?(i=y,n=b,_=o=s=a=r=void 0,r=(S=e).NOW,a=S.clientOffset,s=S.availabilityStartTime,o=S.timescale,_=S.start,S=S.minimumUpdatePeriod,Math.ceil((((r+a)/1e3+(void 0===S?0:S)-(s+(void 0===_?0:_)))*(void 0===o?1:o)-i)/n)):(h*p-y)/b:(t[E].t-y)/b:T+1;for(var C=f+g.length+k,w=f+g.length;w<C;)g.push({number:w,duration:b/p,time:y,timeline:m}),y+=b,w++}return g}function ss(e,t){return e.replace(js,(r=t,function(e,t,i,n){if(\"$$\"===e)return\"$\";if(\"undefined\"==typeof r[t])return e;e=\"\"+r[t];return\"RepresentationID\"===t||(n=i?parseInt(n,10):1)<=e.length?e:new Array(n-e.length+1).join(\"0\")+e}));var r}function os(i,e){var n={RepresentationID:i.id,Bandwidth:i.bandwidth||0},t=void 0===(t=i.initialization)?{sourceURL:\"\",range:\"\"}:t,r=za({baseUrl:i.baseUrl,source:ss(t.sourceURL,n),range:t.range});return(t=e,(e=i).duration||t?e.duration?Xa(e):as(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodIndex}]).map(function(e){n.Number=e.number,n.Time=e.time;var t=ss(i.media||\"\",n),e={uri:t,timeline:e.timeline,duration:e.duration,resolvedUri:er(i.baseUrl||\"\",t),map:r,number:e.number};return i.presentationTimeOffset&&(e.presentationTimeOffset=i.presentationTimeOffset),e})}function us(n,e){var t=n.duration,i=void 0===(i=n.segmentUrls)?[]:i;if(!t&&!e||t&&e)throw new Error(Us);var r,a=i.map(function(e){return i=e,e=(t=n).baseUrl,t=t.initialization,t=za({baseUrl:e,source:(t=void 0===t?{}:t).sourceURL,range:t.range}),(i=za({baseUrl:e,source:i.media,range:i.mediaRange})).map=t,i;var t,i});return t&&(r=Xa(n)),(r=e?as(n,e):r).map(function(e,t){if(a[t]){t=a[t];return t.timeline=e.timeline,t.duration=e.duration,t.number=e.number,t}}).filter(function(e){return e})}function ls(e){var t,i=e.attributes,n=e.segmentInfo;n.template?(a=os,t=qa(i,n.template),n.template.presentationTimeOffset&&(t.presentationTimeOffset=n.template.presentationTimeOffset/n.template.timescale)):n.base?(a=Ka,t=qa(i,n.base)):n.list&&(a=us,t=qa(i,n.list));var r={attributes:i};if(!a)return r;var a,e=a(t,n.timeline);return t.duration?(i=t.duration,a=t.timescale,t.duration=i/(void 0===a?1:a)):e.length?t.duration=e.reduce(function(e,t){return Math.max(e,Math.ceil(t.duration))},0):t.duration=0,r.attributes=t,r.segments=e,n.base&&t.indexRange&&(r.sidx=e[0],r.segments=[]),r}function cs(e,t){return Wa(e.childNodes).filter(function(e){return e.tagName===t})}function ds(e){return e.textContent.trim()}function hs(e){if(!(r=/P(?:(\\d*)Y)?(?:(\\d*)M)?(?:(\\d*)D)?(?:T(?:(\\d*)H)?(?:(\\d*)M)?(?:([\\d.]*)S)?)?/.exec(e)))return 0;var t=(a=r.slice(1))[0],i=a[1],n=a[2],e=a[3],r=a[4],a=a[5];return 31536e3*parseFloat(t||0)+2592e3*parseFloat(i||0)+86400*parseFloat(n||0)+3600*parseFloat(e||0)+60*parseFloat(r||0)+parseFloat(a||0)}function ps(e){return e&&e.attributes?Wa(e.attributes).reduce(function(e,t){var i=Hs[t.name]||Hs.DEFAULT;return e[t.name]=i(t.value),e},{}):{}}function fs(e,i){return i.length?Va(e.map(function(t){return i.map(function(e){return er(t,ds(e))})})):e}function ms(e){var t=cs(e,\"SegmentTemplate\")[0],i=cs(e,\"SegmentList\")[0],n=i&&cs(i,\"SegmentURL\").map(function(e){return qa({tag:\"SegmentURL\"},ps(e))}),r=cs(e,\"SegmentBase\")[0],e=(a=i||t)&&cs(a,\"SegmentTimeline\")[0],a=(a=i||r||t)&&cs(a,\"Initialization\")[0];(t=t&&ps(t))&&a?t.initialization=a&&ps(a):t&&t.initialization&&(t.initialization={sourceURL:t.initialization});var s={template:t,timeline:e&&cs(e,\"S\").map(ps),list:i&&qa(ps(i),{segmentUrls:n,initialization:ps(a)}),base:r&&qa(ps(r),{initialization:ps(a)})};return Object.keys(s).forEach(function(e){s[e]||delete s[e]}),s}function gs(u,l,c){return function(e){var t=ps(e),i=fs(l,cs(e,\"BaseURL\")),n=cs(e,\"Role\")[0],n={role:ps(n)},t=qa(u,t,n),n=cs(e,\"Accessibility\")[0],n=\"urn:scte:dash:cc:cea-608:2015\"===(n=ps(n)).schemeIdUri?n.value.split(\";\").map(function(e){var t,i,n;return/^CC\\d=/.test(n=e)?(i=(t=e.split(\"=\"))[0],n=t[1]):/^CC\\d$/.test(e)&&(i=e),{channel:i,language:n}}):\"urn:scte:dash:cc:cea-708:2015\"===n.schemeIdUri?n.value.split(\";\").map(function(e){var t,i,n={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,\"3D\":0};return/=/.test(e)?(t=(i=e.split(\"=\"))[0],i=void 0===(i=i[1])?\"\":i,n.channel=t,n.language=e,i.split(\",\").forEach(function(e){var t=e.split(\":\"),e=t[0],t=t[1];\"lang\"===e?n.language=t:\"er\"===e?n.easyReader=Number(t):\"war\"===e?n.aspectRatio=Number(t):\"3D\"===e&&(n[\"3D\"]=Number(t))})):n.language=e,n.channel&&(n.channel=\"SERVICE\"+n.channel),n}):void 0;n&&(t=qa(t,{captionServices:n}));n=cs(e,\"Label\")[0];n&&n.childNodes.length&&(r=n.childNodes[0].nodeValue.trim(),t=qa(t,{label:r}));var r=cs(e,\"ContentProtection\").reduce(function(e,t){var i=ps(t),n=qs[i.schemeIdUri];return n&&(e[n]={attributes:i},(t=cs(t,\"cenc:pssh\")[0])&&(t=(t=ds(t))&&ar(t),e[n].pssh=t)),e},{});Object.keys(r).length&&(t=qa(t,{contentProtection:r}));var a,s,o,r=ms(e),e=cs(e,\"Representation\"),r=qa(c,r);return Va(e.map((a=t,s=i,o=r,function(e){var t=cs(e,\"BaseURL\"),t=fs(s,t),i=qa(a,ps(e)),n=ms(e);return t.map(function(e){return{segmentInfo:qa(o,n),attributes:qa(i,{baseUrl:e})}})})))}}function ys(e,t){var i=t=void 0===t?{}:t,n=void 0===(s=i.manifestUri)?\"\":s,r=i.NOW,a=void 0===r?Date.now():r,s=void 0===(t=i.clientOffset)?0:t;if(!(r=cs(e,\"Period\")).length)throw new Error(Os);var o,u,i=cs(e,\"Location\"),t=ps(e),e=fs([n],cs(e,\"BaseURL\"));return t.sourceDuration=t.mediaPresentationDuration||0,t.NOW=a,t.clientOffset=s,i.length&&(t.locations=i.map(ds)),{locations:t.locations,representationInfo:Va(r.map((o=t,u=e,function(e,t){var i=fs(u,cs(e,\"BaseURL\")),n=ps(e),n=parseInt(n.id,10),t=_.isNaN(n)?t:n,n=qa(o,{periodIndex:t}),t=cs(e,\"AdaptationSet\"),e=ms(e);return Va(t.map(gs(n,i,e)))})))}}function vs(e){if(\"\"===e)throw new Error(Rs);var t,i,n=new ja;try{i=(t=n.parseFromString(e,\"application/xml\"))&&\"MPD\"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!i||i&&0<i.getElementsByTagName(\"parsererror\").length)throw new Error(Ms);return i}function _s(e,t){void 0===t&&(t={});var i=ys(vs(e),t),e=i.representationInfo.map(ls);return rs(e,i.locations,t.sidxMapping)}function bs(e){return function(e){e=cs(e,\"UTCTiming\")[0];if(!e)return null;var t=ps(e);switch(t.schemeIdUri){case\"urn:mpeg:dash:utc:http-head:2014\":case\"urn:mpeg:dash:utc:http-head:2012\":t.method=\"HEAD\";break;case\"urn:mpeg:dash:utc:http-xsdate:2014\":case\"urn:mpeg:dash:utc:http-iso:2014\":case\"urn:mpeg:dash:utc:http-xsdate:2012\":case\"urn:mpeg:dash:utc:http-iso:2012\":t.method=\"GET\";break;case\"urn:mpeg:dash:utc:direct:2014\":case\"urn:mpeg:dash:utc:direct:2012\":t.method=\"DIRECT\",t.value=Date.parse(t.value);break;case\"urn:mpeg:dash:utc:http-ntp:2014\":case\"urn:mpeg:dash:utc:ntp:2014\":case\"urn:mpeg:dash:utc:sntp:2014\":default:throw new Error(Bs)}return t}(vs(e))}function Ts(e){return e instanceof Uint8Array?e:(Array.isArray(e)||(t=e,ArrayBuffer.isView(t))||e instanceof ArrayBuffer||(e=\"number\"!=typeof e||\"number\"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0));var t}function Ss(e,t){var i=void 0!==(t=(void 0===t?{}:t).le)&&t;e=zs(e=\"bigint\"!=typeof e&&\"number\"!=typeof e||\"number\"==typeof e&&e!=e?0:e);for(var n=(t=e,Math.ceil(t.toString(2).length/8)),r=new Uint8Array(new ArrayBuffer(n)),a=0;a<n;a++){var s=i?a:Math.abs(a+1-r.length);r[s]=Number(e/Gs[a]&zs(255)),e<0&&(r[s]=Math.abs(~r[s]),r[s]-=0===a?1:2)}return r}function Es(e,t){if(\"string\"!=typeof(e=\"string\"!=typeof e&&e&&\"function\"==typeof e.toString?e.toString():e))return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var i=new Uint8Array(e.length),n=0;n<e.length;n++)i[n]=e.charCodeAt(n);return i}function ks(i,e,t){var n=void 0===t?{}:t,r=void 0===(t=n.offset)?0:t,a=void 0===(n=n.mask)?[]:n;return i=Ts(i),n=(e=Ts(e)).every||Array.prototype.every,e.length&&i.length-r>=e.length&&n.call(e,function(e,t){return e===(a[t]?a[t]&i[r+t]:i[r+t])})}function Cs(e,t){return void 0===t&&(t=0),(e=Ts(e)).length-t<10||!ks(e,Xs,{offset:t})?t:Cs(e,t+=function(e,t){void 0===t&&(t=0);var i=(e=Ts(e))[t+5],t=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&i)>>4?20+t:10+t}(e,t))}function ws(e){return\"string\"==typeof e?Es(e):e}function Is(e,t,i){var n;void 0===i&&(i=!1),n=t,t=Array.isArray(n)?n.map(ws):[ws(n)],e=Ts(e);var r=[];if(!t.length)return r;for(var a=0;a<e.length;){var s=(e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3])>>>0,o=e.subarray(a+4,a+8);if(0==s)break;var u=a+s;if(u>e.length){if(i)break;u=e.length}s=e.subarray(a+8,u);ks(o,t[0])&&(1===t.length?r.push(s):r.push.apply(r,Is(s,t.slice(1),i))),a=u}return r}function xs(e,t,i,n){void 0===i&&(i=!0),void 0===n&&(n=!1);var r=function(e){for(var t=1,i=0;i<Ys.length&&!(e&Ys[i]);i++)t++;return t}(e[t]),a=e.subarray(t,t+r);return i&&((a=Array.prototype.slice.call(e,t,t+r))[0]^=Ys[r-1]),{length:r,value:function(n,e){var t=void 0===e?{}:e,e=t.signed,e=void 0!==e&&e,t=t.le,r=void 0!==t&&t;n=Ts(n);t=r?\"reduce\":\"reduceRight\",t=(n[t]||Array.prototype[t]).call(n,function(e,t,i){i=r?i:Math.abs(i+1-n.length);return e+zs(t)*Gs[i]},zs(0));return!e||(e=Gs[n.length]/zs(2)-zs(1))<(t=zs(t))&&(t-=e,t-=e,t-=zs(2)),Number(t)}(a,{signed:n}),bytes:a}}function As(e){return\"string\"==typeof e?e.match(/.{1,2}/g).map(As):\"number\"==typeof e?Ss(e):e}function Ps(e,t,i){if(i>=t.length)return t.length;var n=xs(t,i,!1);if(ks(e.bytes,n.bytes))return i;var r=xs(t,i+n.length);return Ps(e,t,i+r.length+r.value+n.length)}function Ls(e,t){var i;i=t,t=Array.isArray(i)?i.map(As):[As(i)],e=Ts(e);var n=[];if(!t.length)return n;for(var r=0;r<e.length;){var a=xs(e,r,!1),s=xs(e,r+a.length),o=r+a.length+s.length;127===s.value&&(s.value=Ps(a,e,o),s.value!==e.length&&(s.value-=o));var u=o+s.value>e.length?e.length:o+s.value,u=e.subarray(o,u);ks(t[0],a.bytes)&&(1===t.length?n.push(u):n=n.concat(Ls(u,t.slice(1)))),r+=a.length+s.length+u.length}return n}function Ds(e,t,i,n){void 0===n&&(n=1/0),e=Ts(e),i=[].concat(i);for(var r,a=0,s=0;a<e.length&&(s<n||r);){var o=void 0;if(ks(e.subarray(a),Qs)?o=4:ks(e.subarray(a),$s)&&(o=3),o){if(s++,r)return function(e){for(var t=[],i=1;i<e.length-2;)ks(e.subarray(i,i+3),Js)&&(t.push(i+2),i++),i++;if(0===t.length)return e;for(var n=e.length-t.length,r=new Uint8Array(n),a=0,i=0;i<n;a++,i++)a===t[0]&&(a++,t.shift()),r[i]=e[a];return r}(e.subarray(r,a));var u=void 0;\"h264\"===t?u=31&e[a+o]:\"h265\"===t&&(u=e[a+o]>>1&63),-1!==i.indexOf(u)&&(r=a+o),a+=o+(\"h264\"===t?1:2)}else a++}return e.subarray(0,0)}\n/*! @name mpd-parser @version 0.17.0 @license Apache-2.0 */\nvar Os=\"INVALID_NUMBER_OF_PERIOD\",Rs=\"DASH_EMPTY_MANIFEST\",Ms=\"DASH_INVALID_XML\",Ns=\"NO_BASE_URL\",Us=\"SEGMENT_TIME_UNSPECIFIED\",Bs=\"UNSUPPORTED_UTC_TIMING_SCHEME\",Fs={static:function(e){var t=e.duration,i=e.timescale,n=void 0===i?1:i,i=e.sourceDuration,e=Ga(e.endNumber);return{start:0,end:\"number\"==typeof e?e:Math.ceil(i/(t/n))}},dynamic:function(e){var t=e.NOW,i=e.clientOffset,n=e.availabilityStartTime,r=e.timescale,a=void 0===r?1:r,s=e.duration,o=e.start,u=void 0===o?0:o,r=e.minimumUpdatePeriod,o=void 0===r?0:r,r=e.timeShiftBufferDepth,r=void 0===r?1/0:r,e=Ga(e.endNumber),i=(t+i)/1e3,u=n+u,o=Math.ceil((i+o-u)*a/s),r=Math.floor((i-u-r)*a/s),s=Math.floor((i-u)*a/s);return{start:Math.max(0,r),end:\"number\"==typeof e?e:Math.min(o,s)}}},js=/\\$([A-z]*)(?:(%0)([0-9]+)d)?\\$/g,Hs={mediaPresentationDuration:hs,availabilityStartTime:function(e){return/^\\d+-\\d+-\\d+T\\d+:\\d+:\\d+(\\.\\d+)?$/.test(e=e)&&(e+=\"Z\"),Date.parse(e)/1e3},minimumUpdatePeriod:hs,suggestedPresentationDelay:hs,type:function(e){return e},timeShiftBufferDepth:hs,start:hs,width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?hs(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},qs={\"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b\":\"org.w3.clearkey\",\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\":\"com.widevine.alpha\",\"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95\":\"com.microsoft.playready\",\"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb\":\"com.adobe.primetime\"},Vs=Math.pow(2,32),Ws=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},n=12;0===i.version?(i.earliestPresentationTime=t.getUint32(n),i.firstOffset=t.getUint32(n+4),n+=8):(i.earliestPresentationTime=t.getUint32(n)*Vs+t.getUint32(n+4),i.firstOffset=t.getUint32(n+8)*Vs+t.getUint32(n+12),n+=16);var r=t.getUint16(n+=2);for(n+=2;0<r;n+=12,r--)i.references.push({referenceType:(128&e[n])>>>7,referencedSize:2147483647&t.getUint32(n),subsegmentDuration:t.getUint32(n+4),startsWithSap:!!(128&e[n+8]),sapType:(112&e[n+8])>>>4,sapDeltaTime:268435455&t.getUint32(n+8)});return i},zs=_.BigInt||Number,Gs=[zs(\"0x1\"),zs(\"0x100\"),zs(\"0x10000\"),zs(\"0x1000000\"),zs(\"0x100000000\"),zs(\"0x10000000000\"),zs(\"0x1000000000000\"),zs(\"0x100000000000000\"),zs(\"0x10000000000000000\")],Xs=Ts([73,68,51]),Ks={EBML:Ts([26,69,223,163]),DocType:Ts([66,130]),Segment:Ts([24,83,128,103]),SegmentInfo:Ts([21,73,169,102]),Tracks:Ts([22,84,174,107]),Track:Ts([174]),TrackNumber:Ts([215]),DefaultDuration:Ts([35,227,131]),TrackEntry:Ts([174]),TrackType:Ts([131]),FlagDefault:Ts([136]),CodecID:Ts([134]),CodecPrivate:Ts([99,162]),VideoTrack:Ts([224]),AudioTrack:Ts([225]),Cluster:Ts([31,67,182,117]),Timestamp:Ts([231]),TimestampScale:Ts([42,215,177]),BlockGroup:Ts([160]),BlockDuration:Ts([155]),Block:Ts([161]),SimpleBlock:Ts([163])},Ys=[128,64,32,16,8,4,2,1],Qs=Ts([0,0,0,1]),$s=Ts([0,0,1]),Js=Ts([0,0,3]),Zs={webm:Ts([119,101,98,109]),matroska:Ts([109,97,116,114,111,115,107,97]),flac:Ts([102,76,97,67]),ogg:Ts([79,103,103,83]),ac3:Ts([11,119]),riff:Ts([82,73,70,70]),avi:Ts([65,86,73]),wav:Ts([87,65,86,69]),\"3gp\":Ts([102,116,121,112,51,103]),mp4:Ts([102,116,121,112]),fmp4:Ts([115,116,121,112]),mov:Ts([102,116,121,112,113,116])},eo={aac:function(e){var t=Cs(e);return ks(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=Cs(e);return ks(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){e=Ls(e,[Ks.EBML,Ks.DocType])[0];return ks(e,Zs.webm)},mkv:function(e){e=Ls(e,[Ks.EBML,Ks.DocType])[0];return ks(e,Zs.matroska)},mp4:function(e){return!eo[\"3gp\"](e)&&!eo.mov(e)&&(ks(e,Zs.mp4,{offset:4})||ks(e,Zs.fmp4,{offset:4}))},mov:function(e){return ks(e,Zs.mov,{offset:4})},\"3gp\":function(e){return ks(e,Zs[\"3gp\"],{offset:4})},ac3:function(e){var t=Cs(e);return ks(e,Zs.ac3,{offset:t})},ts:function(e){if(e.length<189&&1<=e.length)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=Cs(e);return ks(e,Zs.flac,{offset:t})},ogg:function(e){return ks(e,Zs.ogg)},avi:function(e){return ks(e,Zs.riff)&&ks(e,Zs.avi,{offset:8})},wav:function(e){return ks(e,Zs.riff)&&ks(e,Zs.wav,{offset:8})},h264:function(e){return Ds(e,\"h264\",7,3).length},h265:function(e){return Ds(e,\"h265\",[32,33],3).length}},to=Object.keys(eo).filter(function(e){return\"ts\"!==e&&\"h264\"!==e&&\"h265\"!==e}).concat([\"ts\",\"h264\",\"h265\"]);to.forEach(function(e){var t=eo[e];eo[e]=function(e){return t(Ts(e))}});function io(e){e=Ts(e);for(var t=0;t<to.length;t++){var i=to[t];if(Ou[i](e))return i}return\"\"}function no(e,t,i){return e&&i&&i.responseURL&&t!==i.responseURL?i.responseURL:t}function ro(e){return Zn.log.debug?Zn.log.debug.bind(Zn,\"VHS:\",e+\" >\"):function(){}}function ao(e,t){var i,n=[];if(e&&e.length)for(i=0;i<e.length;i++)t(e.start(i),e.end(i))&&n.push([e.start(i),e.end(i)]);return Zn.createTimeRanges(n)}function so(e,i){return ao(e,function(e,t){return e-.1<=i&&i<=t+.1})}function oo(e,t){return ao(e,function(e){return t<=e-Nu})}function uo(e){var t=[];if(!e||!e.length)return\"\";for(var i=0;i<e.length;i++)t.push(e.start(i)+\" => \"+e.end(i));return t.join(\", \")}function lo(e){for(var t=[],i=0;i<e.length;i++)t.push({start:e.start(i),end:e.end(i)});return t}function co(e){if(e&&e.length&&e.end)return e.end(e.length-1)}function ho(e){return(e.segments||[]).reduce(function(i,n,r){return n.parts?n.parts.forEach(function(e,t){i.push({duration:e.duration,segmentIndex:r,partIndex:t,part:e,segment:n})}):i.push({duration:n.duration,segmentIndex:r,partIndex:null,segment:n,part:null}),i},[])}function po(e){return(e=e.segments&&e.segments.length&&e.segments[e.segments.length-1])&&e.parts||[]}function fo(e){var t=e.preloadSegment;if(t){e=t.parts,t=(t.preloadHints||[]).reduce(function(e,t){return e+(\"PART\"===t.type?1:0)},0);return t+=e&&e.length?e.length:0}}function mo(e,t){return t.endList?0:e&&e.suggestedPresentationDelay?e.suggestedPresentationDelay:(e=0<po(t).length)&&t.serverControl&&t.serverControl.partHoldBack?t.serverControl.partHoldBack:e&&t.partTargetDuration?3*t.partTargetDuration:t.serverControl&&t.serverControl.holdBack?t.serverControl.holdBack:t.targetDuration?3*t.targetDuration:0}function go(e,t,i){if((t=\"undefined\"==typeof t?e.mediaSequence+e.segments.length:t)<e.mediaSequence)return 0;var n=function(e,t){var i=0,n=t-e.mediaSequence,r=e.segments[n];if(r){if(\"undefined\"!=typeof r.start)return{result:r.start,precise:!0};if(\"undefined\"!=typeof r.end)return{result:r.end-r.duration,precise:!0}}for(;n--;){if(\"undefined\"!=typeof(r=e.segments[n]).end)return{result:i+r.end,precise:!0};if(i+=r.duration,\"undefined\"!=typeof r.start)return{result:i+r.start,precise:!0}}return{result:i,precise:!1}}(e,t);return n.precise?n.result:(t=function(e,t){for(var i,n=0,r=t-e.mediaSequence;r<e.segments.length;r++){if(\"undefined\"!=typeof(i=e.segments[r]).start)return{result:i.start-n,precise:!0};if(n+=i.duration,\"undefined\"!=typeof i.end)return{result:i.end-n,precise:!0}}return{result:-1,precise:!1}}(e,t)).precise?t.result:n.result+i}function yo(e,t,i){if(!e)return 0;if(\"undefined\"==typeof t){if(e.totalDuration)return e.totalDuration;if(!e.endList)return _.Infinity}return go(e,t,i=\"number\"!=typeof i?0:i)}function vo(e){var t=e.defaultDuration,i=e.durationList,n=e.startIndex,r=e.endIndex,a=0;if(r<n&&(n=(e=[r,n])[0],r=e[1]),n<0){for(var s=n;s<Math.min(0,r);s++)a+=t;n=0}for(var o=n;o<r;o++)a+=i[o].duration;return a}function _o(e,t,i,n){return e&&e.segments?e.endList?yo(e):null===t?null:(t=go(e,e.mediaSequence+e.segments.length,t=t||0),i&&(t-=n=\"number\"==typeof n?n:mo(null,e)),Math.max(0,t)):null}function bo(e){return e.excludeUntil&&e.excludeUntil>Date.now()}function To(e){return e.excludeUntil&&e.excludeUntil===1/0}function So(e){var t=bo(e);return!e.disabled&&!t}function Eo(e,t){return t.attributes&&t.attributes[e]}function ko(e,t){if(1===e.playlists.length)return!0;var i=t.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===e.playlists.filter(function(e){return!!So(e)&&(e.attributes.BANDWIDTH||0)<i}).length}function Co(e,t){return!(!e&&!t||!e&&t||e&&!t)&&(e===t||(!(!e.id||!t.id||e.id!==t.id)||(!(!e.resolvedUri||!t.resolvedUri||e.resolvedUri!==t.resolvedUri)||!(!e.uri||!t.uri||e.uri!==t.uri))))}function wo(e,t){var i,n=e&&e.mediaGroups&&e.mediaGroups.AUDIO||{},r=!1;for(i in n){for(var a in n[i])if(r=t(n[i][a]))break;if(r)break}return!!r}function Io(i){if(!i||!i.playlists||!i.playlists.length)return wo(i,function(e){return e.playlists&&e.playlists.length||e.uri});for(var e=0;e<i.playlists.length;e++){var t=function(e){var t=i.playlists[e],e=t.attributes&&t.attributes.CODECS;return e&&e.split(\",\").every(hr)||wo(i,function(e){return Co(t,e)})?\"continue\":{v:!1}}(e);if(\"continue\"!==t&&\"object\"==typeof t)return t.v}return!0}function xo(e,t){return e+\"-\"+t}function Ao(r,a){r.mediaGroups&&[\"AUDIO\",\"SUBTITLES\"].forEach(function(e){if(r.mediaGroups[e])for(var t in r.mediaGroups[e])for(var i in r.mediaGroups[e][t]){var n=r.mediaGroups[e][t][i];a(n,e,t,i)}})}function Po(e){var t=e.playlist,i=e.uri,e=e.id;t.id=e,t.playlistErrors_=0,i&&(t.uri=i),t.attributes=t.attributes||{}}function Lo(a,e){a.uri=e;for(var t,i=0;i<a.playlists.length;i++)a.playlists[i].uri||(a.playlists[i].uri=\"placeholder-uri-\"+i);Ao(a,function(e,t,i,n){var r=\"placeholder-uri-\"+t+\"-\"+i+\"-\"+n;e.playlists&&e.playlists.length||(e.playlists=[g({},e)]),e.playlists.forEach(function(e,t){var i=xo(t,r);e.uri?e.resolvedUri=e.resolvedUri||Mu(a.uri,e.uri):(e.uri=0===t?r:i,e.resolvedUri=e.uri),e.id=e.id||i,e.attributes=e.attributes||{},a.playlists[e.id]=e,a.playlists[e.uri]=e})}),function(e){for(var t=e.playlists.length;t--;){var i=e.playlists[t];Po({playlist:i,id:xo(t,i.uri)}),i.resolvedUri=Mu(e.uri,i.uri),e.playlists[i.id]=i,(e.playlists[i.uri]=i).attributes.BANDWIDTH||Fu.warn(\"Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute.\")}}(a),Ao(t=a,function(e){e.uri&&(e.resolvedUri=Mu(t.uri,e.uri))})}function Do(e,t,i){var n=e.slice(),r=t.slice();i=i||0;for(var a,s=[],o=0;o<r.length;o++){var u=n[o+i],l=r[o];u?(a=u.map||a,s.push(function(e,t){if(!e)return t;var i=ju(e,t);if(e.preloadHints&&!t.preloadHints&&delete i.preloadHints,e.parts&&!t.parts)delete i.parts;else if(e.parts&&t.parts)for(var n=0;n<t.parts.length;n++)e.parts&&e.parts[n]&&(i.parts[n]=ju(e.parts[n],t.parts[n]));return!e.skipped&&t.skipped&&(i.skipped=!1),e.preload&&!t.preload&&(i.preload=!1),i}(u,l))):(a&&!l.map&&(l.map=a),s.push(l))}return s}function Oo(e,t){!e.resolvedUri&&e.uri&&(e.resolvedUri=Mu(t,e.uri)),e.key&&!e.key.resolvedUri&&(e.key.resolvedUri=Mu(t,e.key.uri)),e.map&&!e.map.resolvedUri&&(e.map.resolvedUri=Mu(t,e.map.uri)),e.map&&e.map.key&&!e.map.key.resolvedUri&&(e.map.key.resolvedUri=Mu(t,e.map.key.uri)),e.parts&&e.parts.length&&e.parts.forEach(function(e){e.resolvedUri||(e.resolvedUri=Mu(t,e.uri))}),e.preloadHints&&e.preloadHints.length&&e.preloadHints.forEach(function(e){e.resolvedUri||(e.resolvedUri=Mu(t,e.uri))})}function Ro(e){var t=e.segments||[],i=e.preloadSegment;if(i&&i.parts&&i.parts.length){if(i.preloadHints)for(var n=0;n<i.preloadHints.length;n++)if(\"MAP\"===i.preloadHints[n].type)return t;i.duration=e.targetDuration,i.preload=!0,t.push(i)}return t}function Mo(e,t){return e===t||e.segments&&t.segments&&e.segments.length===t.segments.length&&e.endList===t.endList&&e.mediaSequence===t.mediaSequence}function No(e,a,t){void 0===t&&(t=Mo);var i=ju(e,{}),n=i.playlists[a.id];if(!n)return null;if(t(n,a))return null;a.segments=Ro(a);var r=ju(n,a);if(r.preloadSegment&&!a.preloadSegment&&delete r.preloadSegment,n.segments){if(a.skip){a.segments=a.segments||[];for(var s=0;s<a.skip.skippedSegments;s++)a.segments.unshift({skipped:!0})}r.segments=Do(n.segments,a.segments,a.mediaSequence-n.mediaSequence)}r.segments.forEach(function(e){Oo(e,r.resolvedUri)});for(var o=0;o<i.playlists.length;o++)i.playlists[o].id===a.id&&(i.playlists[o]=r);return i.playlists[a.id]=r,i.playlists[a.uri]=r,Ao(e,function(e,t,i,n){if(e.playlists)for(var r=0;r<e.playlists.length;r++)a.id===e.playlists[r].id&&(e.playlists[r]=a)}),i}function Uo(e,t){var i=(n=e.segments[e.segments.length-1])&&n.parts&&n.parts[n.parts.length-1],n=i&&i.duration||n&&n.duration;return t&&n?1e3*n:500*(e.partTargetDuration||e.targetDuration||10)}function Bo(e,t,i,n){var r=\"arraybuffer\"===e.responseType?e.response:e.responseText;!t&&r&&(e.responseTime=Date.now(),e.roundTripTime=e.responseTime-e.requestTime,e.bytesReceived=r.byteLength||r.length,e.bandwidth||(e.bandwidth=Math.floor(e.bytesReceived/e.roundTripTime*8*1e3))),i.headers&&(e.responseHeaders=i.headers),t&&\"ETIMEDOUT\"===t.code&&(e.timedout=!0),n(t=!t&&!e.aborted&&200!==i.statusCode&&206!==i.statusCode&&0!==i.statusCode?new Error(\"XHR Failed with a response of: \"+(e&&(r||e.responseText))):t,e)}function Fo(){function a(e,i){e=Vu({timeout:45e3},e);var t=a.beforeRequest||Zn.Vhs.xhr.beforeRequest;!t||\"function\"!=typeof t||(t=t(e))&&(e=t);var n=(!0===Zn.Vhs.xhr.original?qu:Zn.Vhs.xhr)(e,function(e,t){return Bo(n,e,t,i)}),r=n.abort;return n.abort=function(){return n.aborted=!0,r.apply(n,arguments)},n.uri=e.uri,n.requestTime=Date.now(),n}return a.original=!0,a}function jo(e){var t,i={};return e.byterange&&(i.Range=(t=e.byterange,e=t.offset+t.length-1,\"bytes=\"+t.offset+\"-\"+e)),i}function Ho(e,t){return e=e.toString(16),\"00\".substring(0,2-e.length)+e+(t%2?\" \":\"\")}function qo(e){return 32<=e&&e<126?String.fromCharCode(e):\".\"}function Vo(i){var n={};return Object.keys(i).forEach(function(e){var t=i[e];ArrayBuffer.isView(t)?n[e]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:n[e]=t}),n}function Wo(e){var t=e.byterange||{length:1/0,offset:0};return[t.length,t.offset,e.resolvedUri].join(\",\")}function zo(e){return e.resolvedUri}function Go(e){for(var t=Array.prototype.slice.call(e),i=\"\",n=0;n<t.length/16;n++)i+=t.slice(16*n,16*n+16).map(Ho).join(\"\")+\" \"+t.slice(16*n,16*n+16).map(qo).join(\"\")+\"\\n\";return i}function Xo(e){var t=e.playlist,i=e.time,n=void 0===i?void 0:i;if(!(i=e.callback))throw new Error(\"getProgramTime: callback must be provided\");return t&&void 0!==n?(e=function(e,t){if(!t||!t.segments||0===t.segments.length)return null;for(var i,n=0,r=0;r<t.segments.length&&!(e<=(n=(i=t.segments[r]).videoTimingInfo?i.videoTimingInfo.transmuxedPresentationEnd:n+i.duration));r++);var a=t.segments[t.segments.length-1];if(a.videoTimingInfo&&a.videoTimingInfo.transmuxedPresentationEnd<e)return null;if(n<e){if(e>n+.25*a.duration)return null;i=a}return{segment:i,estimatedStart:i.videoTimingInfo?i.videoTimingInfo.transmuxedPresentationStart:n-i.duration,type:i.videoTimingInfo?\"accurate\":\"estimate\"}}(n,t))?\"estimate\"===e.type?i({message:\"Accurate programTime could not be determined. Please seek to e.seekTime and try again\",seekTime:e.estimatedStart}):(t={mediaSeconds:n},(e=function(e,t){if(!t.dateTimeObject)return null;var i=t.videoTimingInfo.transmuxerPrependedSeconds,i=e-(t.videoTimingInfo.transmuxedPresentationStart+i);return new Date(t.dateTimeObject.getTime()+1e3*i)}(n,e.segment))&&(t.programDateTime=e.toISOString()),i(null,t)):i({message:\"valid programTime was not found\"}):i({message:\"getProgramTime: playlist and time must be provided\"})}function Ko(e){var t=e.programTime,i=e.playlist,n=e.retryCount,r=void 0===n?2:n,a=e.seekTo,s=e.pauseAfterSeek,o=void 0===s||s,u=e.tech,l=e.callback;if(!l)throw new Error(\"seekToProgramTime: callback must be provided\");return\"undefined\"!=typeof t&&i&&a?i.endList||u.hasStarted_?function(e){if(!e.segments||0===e.segments.length)return!1;for(var t=0;t<e.segments.length;t++)if(!e.segments[t].dateTimeObject)return!1;return!0}(i)?(n=function(e,t){var i;try{i=new Date(e)}catch(e){return null}if(!t||!t.segments||0===t.segments.length)return null;if(i<(r=t.segments[0]).dateTimeObject)return null;for(var n=0;n<t.segments.length-1;n++){var r=t.segments[n];if(i<t.segments[n+1].dateTimeObject)break}var a,s=t.segments[t.segments.length-1],e=s.dateTimeObject,a=s.videoTimingInfo?(a=s.videoTimingInfo).transmuxedPresentationEnd-a.transmuxedPresentationStart-a.transmuxerPrependedSeconds:s.duration+.25*s.duration;return new Date(e.getTime()+1e3*a)<i?null:{segment:r=e<i?s:r,estimatedStart:r.videoTimingInfo?r.videoTimingInfo.transmuxedPresentationStart:Bu.duration(t,t.mediaSequence+t.segments.indexOf(r)),type:r.videoTimingInfo?\"accurate\":\"estimate\"}}(t,i))?(s=n.segment,e=function(e,t){var i;try{n=new Date(e),i=new Date(t)}catch(e){}var n=n.getTime();return(i.getTime()-n)/1e3}(s.dateTimeObject,t),\"estimate\"===n.type?0===r?l({message:t+\" is not buffered yet. Try again\"}):(a(n.estimatedStart+e),void u.one(\"seeked\",function(){Ko({programTime:t,playlist:i,retryCount:r-1,seekTo:a,pauseAfterSeek:o,tech:u,callback:l})})):(e=s.start+e,u.one(\"seeked\",function(){return l(null,u.currentTime())}),o&&u.pause(),void a(e))):l({message:t+\" was not found in the stream\"}):l({message:\"programDateTime tags must be provided in the manifest \"+i.resolvedUri}):l({message:\"player must be playing a live stream to start buffering\"}):l({message:\"seekToProgramTime: programTime, seekTo and playlist must be provided\"})}function Yo(e,t){if(4===e.readyState)return t()}function Qo(e,t,r){function n(e,t,i,n){return t.abort(),o=!0,r(e,t,i,n)}function i(e,t){if(!o){if(e)return n(e,t,\"\",s);var i=t.responseText.substring(s&&s.byteLength||0,t.responseText.length);if(s=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if((t=t.filter(function(e){return e&&(e.byteLength||e.length)&&\"string\"!=typeof e})).length<=1)return Ts(t[0]);var n=t.reduce(function(e,t,i){return e+(t.byteLength||t.length)},0),r=new Uint8Array(n),a=0;return t.forEach(function(e){e=Ts(e),r.set(e,a),a+=e.byteLength}),r}(s,Es(i,!0)),a=a||Cs(s),s.length<10||a&&s.length<a+2)return Yo(t,function(){return n(e,t,\"\",s)});i=io(s);return\"ts\"===i&&s.length<188||!i&&s.length<376?Yo(t,function(){return n(e,t,\"\",s)}):n(null,t,i,s)}}var a,s=[],o=!1,u=t({uri:e,beforeSend:function(t){t.overrideMimeType(\"text/plain; charset=x-user-defined\"),t.addEventListener(\"progress\",function(e){return e.total,e.loaded,Bo(t,null,{statusCode:t.status},i)})}},function(e,t){return Bo(u,e,t,i)});return u}function $o(e,t){if(!Mo(e,t))return!1;if(e.sidx&&t.sidx&&(e.sidx.offset!==t.sidx.offset||e.sidx.length!==t.sidx.length))return!1;if(!e.sidx&&t.sidx||e.sidx&&!t.sidx)return!1;if(e.segments&&!t.segments||!e.segments&&t.segments)return!1;if(!e.segments&&!t.segments)return!0;for(var i=0;i<e.segments.length;i++){var n=e.segments[i],r=t.segments[i];if(n.uri!==r.uri)return!1;if(n.byterange||r.byterange){n=n.byterange,r=r.byterange;if(n&&!r||!n&&r)return!1;if(n.offset!==r.offset||n.length!==r.length)return!1}}return!0}function Jo(e,t){var i,n={};for(i in e){var r=e[i].sidx;if(r){var a=Qa(r);if(!t[a])break;var s=t[a].sidxInfo;s=s,r=r,(Boolean(!s.map&&!r.map)||Boolean(s.map&&r.map&&s.map.byterange.offset===r.map.byterange.offset&&s.map.byterange.length===r.map.byterange.length))&&s.uri===r.uri&&s.byterange.offset===r.byterange.offset&&s.byterange.length===r.byterange.length&&(n[a]=t[a])}}return n}function Zo(e){return e.on=e.addEventListener,e.off=e.removeEventListener,e}function eu(i){var n=i.transmuxer,e=i.bytes,t=i.audioAppendStart,r=i.gopsToAlignWith,a=i.remux,s=i.onData,o=i.onTrackInfo,u=i.onAudioTimingInfo,l=i.onVideoTimingInfo,c=i.onVideoSegmentTimingInfo,d=i.onAudioSegmentTimingInfo,h=i.onId3,p=i.onCaptions,f=i.onDone,m=i.onEndedTimeline,g=i.onTransmuxerLog,y=i.isEndOfTimeline,v={buffer:[]},_=y;n.onmessage=function(e){var t;n.currentTransmux===i&&(\"data\"===e.data.action&&function(e,t,i){var n=e.data.segment,r=n.type,a=n.initSegment,s=n.captions,o=n.captionStreams,u=n.metadata,l=n.videoFrameDtsTime,n=n.videoFramePtsTime;t.buffer.push({captions:s,captionStreams:o,metadata:u});e=e.data.segment.boxes||{data:e.data.segment.data},a={type:r,data:new Uint8Array(e.data,e.data.byteOffset,e.data.byteLength),initSegment:new Uint8Array(a.data,a.byteOffset,a.byteLength)};\"undefined\"!=typeof l&&(a.videoFrameDtsTime=l),\"undefined\"!=typeof n&&(a.videoFramePtsTime=n),i(a)}(e,v,s),\"trackinfo\"===e.data.action&&o(e.data.trackInfo),\"gopInfo\"===e.data.action&&(v.gopInfo=e.data.gopInfo),\"audioTimingInfo\"===e.data.action&&u(e.data.audioTimingInfo),\"videoTimingInfo\"===e.data.action&&l(e.data.videoTimingInfo),\"videoSegmentTimingInfo\"===e.data.action&&c(e.data.videoSegmentTimingInfo),\"audioSegmentTimingInfo\"===e.data.action&&d(e.data.audioSegmentTimingInfo),\"id3Frame\"===e.data.action&&h([e.data.id3Frame],e.data.id3Frame.dispatchType),\"caption\"===e.data.action&&p(e.data.caption),\"endedtimeline\"===e.data.action&&(_=!1,m()),\"log\"===e.data.action&&g(e.data.log),\"transmuxed\"===e.data.type&&(_||(n.onmessage=null,e=(t={transmuxedData:v,callback:f}).transmuxedData,t=t.callback,e.buffer=[],t(e),Ku(n))))},t&&n.postMessage({action:\"setAudioAppendStart\",appendStart:t}),Array.isArray(r)&&n.postMessage({action:\"alignGopsWith\",gopsToAlignWith:r}),\"undefined\"!=typeof a&&n.postMessage({action:\"setRemux\",remux:a}),e.byteLength&&(r=e instanceof ArrayBuffer?e:e.buffer,a=e instanceof ArrayBuffer?0:e.byteOffset,n.postMessage({action:\"push\",data:r,byteOffset:a,byteLength:e.byteLength},[r])),y&&n.postMessage({action:\"endTimeline\"}),n.postMessage({action:\"flush\"})}function tu(e,t){e.postMessage({action:t}),Ku(e)}function iu(e,t){if(!t.currentTransmux)return t.currentTransmux=e,tu(t,e),0;t.transmuxQueue.push(tu.bind(null,t,e))}function nu(e){if(!e.transmuxer.currentTransmux)return e.transmuxer.currentTransmux=e,void eu(e);e.transmuxer.transmuxQueue.push(e)}function ru(i){var n=i.transmuxer,r=i.endAction||i.action,a=i.callback,e=g({},i,{endAction:null,transmuxer:null,callback:null}),t=function e(t){t.data.action===r&&(n.removeEventListener(\"message\",e),t.data.data&&(t.data.data=new Uint8Array(t.data.data,i.byteOffset||0,i.byteLength||t.data.data.byteLength),i.data&&(i.data=t.data.data)),a(t.data))};n.addEventListener(\"message\",t),i.data?(t=i.data instanceof ArrayBuffer,e.byteOffset=t?0:i.data.byteOffset,e.byteLength=i.data.byteLength,t=[t?i.data:i.data.buffer],n.postMessage(e,t)):n.postMessage(e)}function au(e){e.forEach(function(e){e.abort()})}function su(e,t){return t.timedout?{status:t.status,message:\"HLS request timed-out at URL: \"+t.uri,code:Ju,xhr:t}:t.aborted?{status:t.status,message:\"HLS request aborted at URL: \"+t.uri,code:Zu,xhr:t}:e?{status:t.status,message:\"HLS request errored at URL: \"+t.uri,code:$u,xhr:t}:\"arraybuffer\"===t.responseType&&0===t.response.byteLength?{status:t.status,message:\"Empty HLS response at URL: \"+t.uri,code:$u,xhr:t}:null}function ou(a,s,o){return function(e,t){var i=t.response,e=su(e,t);if(e)return o(e,a);if(16!==i.byteLength)return o({status:t.status,message:\"Invalid HLS key at URL: \"+t.uri,code:$u,xhr:t},a);for(var i=new DataView(i),n=new Uint32Array([i.getUint32(0),i.getUint32(4),i.getUint32(8),i.getUint32(12)]),r=0;r<s.length;r++)s[r].bytes=n;return o(null,a)}}function uu(i,n){var e=io(i.map.bytes);if(\"mp4\"!==e){var t=i.map.resolvedUri||i.map.uri;return n({internal:!0,message:\"Found unsupported \"+(e||\"unknown\")+\" container for initialization segment at URL: \"+t,code:$u})}ru({action:\"probeMp4Tracks\",data:i.map.bytes,transmuxer:i.transmuxer,callback:function(e){var t=e.tracks,e=e.data;return i.map.bytes=e,t.forEach(function(e){i.map.tracks=i.map.tracks||{},i.map.tracks[e.type]||\"number\"==typeof(i.map.tracks[e.type]=e).id&&e.timescale&&(i.map.timescales=i.map.timescales||{},i.map.timescales[e.id]=e.timescale)}),n(null)}})}function lu(e){var i=e.segment,n=e.finishProcessingFn,r=e.responseType;return function(e,t){e=su(e,t);if(e)return n(e,i);e=\"arraybuffer\"!==r&&t.responseText?function(e){for(var t=new Uint8Array(new ArrayBuffer(e.length)),i=0;i<e.length;i++)t[i]=e.charCodeAt(i);return t.buffer}(t.responseText.substring(i.lastReachedChar||0)):t.response;return i.stats={bandwidth:(t=t).bandwidth,bytesReceived:t.bytesReceived||0,roundTripTime:t.roundTripTime||0},i.key?i.encryptedBytes=new Uint8Array(e):i.bytes=new Uint8Array(e),n(null,i)}}function cu(e){var i=e.segment,t=e.bytes,n=e.trackInfoFn,r=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,p=e.onTransmuxerLog,e=i.map&&i.map.tracks||{},f=Boolean(e.audio&&e.video),m=r.bind(null,i,\"audio\",\"start\"),g=r.bind(null,i,\"audio\",\"end\"),y=r.bind(null,i,\"video\",\"start\"),v=r.bind(null,i,\"video\",\"end\");ru({action:\"probeTs\",transmuxer:i.transmuxer,data:t,baseStartTime:i.baseStartTime,callback:function(e){i.bytes=t=e.data;e=e.result;e&&(n(i,{hasAudio:e.hasAudio,hasVideo:e.hasVideo,isMuxed:f}),n=null,e.hasAudio&&!f&&m(e.audioStart),e.hasVideo&&y(e.videoStart),y=m=null),nu({bytes:t,transmuxer:i.transmuxer,audioAppendStart:i.audioAppendStart,gopsToAlignWith:i.gopsToAlignWith,remux:f,onData:function(e){e.type=\"combined\"===e.type?\"video\":e.type,d(i,e)},onTrackInfo:function(e){n&&(f&&(e.isMuxed=!0),n(i,e))},onAudioTimingInfo:function(e){m&&\"undefined\"!=typeof e.start&&(m(e.start),m=null),g&&\"undefined\"!=typeof e.end&&g(e.end)},onVideoTimingInfo:function(e){y&&\"undefined\"!=typeof e.start&&(y(e.start),y=null),v&&\"undefined\"!=typeof e.end&&v(e.end)},onVideoSegmentTimingInfo:function(e){a(e)},onAudioSegmentTimingInfo:function(e){s(e)},onId3:function(e,t){o(i,e,t)},onCaptions:function(e){u(i,[e])},isEndOfTimeline:l,onEndedTimeline:function(){c()},onTransmuxerLog:p,onDone:function(e){h&&(e.type=\"combined\"===e.type?\"video\":e.type,h(null,i,e))}})}})}function du(e){var i=e.segment,n=e.bytes,t=e.trackInfoFn,r=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,p=e.onTransmuxerLog,f=new Uint8Array(n);if(0<Is(f,[\"moof\"]).length){i.isFmp4=!0;var m=i.map.tracks,g={isFmp4:!0,hasVideo:!!m.video,hasAudio:!!m.audio};m.audio&&m.audio.codec&&\"enca\"!==m.audio.codec&&(g.audioCodec=m.audio.codec),m.video&&m.video.codec&&\"encv\"!==m.video.codec&&(g.videoCodec=m.video.codec),m.video&&m.audio&&(g.isMuxed=!0),t(i,g);var y=function(e){d(i,{data:f,type:g.hasAudio&&!g.isMuxed?\"audio\":\"video\"}),e&&e.length&&u(i,e),h(null,i,{})};ru({action:\"probeMp4StartTime\",timescales:i.map.timescales,data:f,transmuxer:i.transmuxer,callback:function(e){var t=e.data,e=e.startTime;n=t.buffer,i.bytes=f=t,g.hasAudio&&!g.isMuxed&&r(i,\"audio\",\"start\",e),g.hasVideo&&r(i,\"video\",\"start\",e),m.video&&t.byteLength&&i.transmuxer?ru({action:\"pushMp4Captions\",endAction:\"mp4Captions\",transmuxer:i.transmuxer,data:f,timescales:i.map.timescales,trackIds:[m.video.id],callback:function(e){n=e.data.buffer,i.bytes=f=e.data,e.logs.forEach(function(e){p(Zn.mergeOptions(e,{stream:\"mp4CaptionParser\"}))}),y(e.captions)}}):y()}})}else if(i.transmuxer){if(\"undefined\"==typeof i.container&&(i.container=io(f)),\"ts\"!==i.container&&\"aac\"!==i.container)return t(i,{hasAudio:!1,hasVideo:!1}),h(null,i,{}),0;cu({segment:i,bytes:n,trackInfoFn:t,timingInfoFn:r,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:p})}else h(null,i,{})}function hu(e,i){var n=e.id,t=e.key,r=e.encryptedBytes,a=e.decryptionWorker,e=function e(t){t.data.source===n&&(a.removeEventListener(\"message\",e),t=t.data.decrypted,i(new Uint8Array(t.bytes,t.byteOffset,t.byteLength)))};a.addEventListener(\"message\",e),e=t.bytes.slice?t.bytes.slice():new Uint32Array(Array.prototype.slice.call(t.bytes)),a.postMessage(Vo({source:n,encrypted:r,key:e,iv:t.iv}),[r.buffer,e.buffer])}function pu(e){var i=e.activeXhrs,m=e.decryptionWorker,g=e.trackInfoFn,y=e.timingInfoFn,v=e.videoSegmentTimingInfoFn,_=e.audioSegmentTimingInfoFn,b=e.id3Fn,T=e.captionsFn,S=e.isEndOfTimeline,E=e.endedTimelineFn,k=e.dataFn,C=e.doneFn,w=e.onTransmuxerLog,n=0,r=!1;return function(e,f){if(!r){if(e)return r=!0,au(i),C(e,f);if((n+=1)===i.length){var t=function(){if(f.encryptedBytes)return t=(e={decryptionWorker:m,segment:f,trackInfoFn:g,timingInfoFn:y,videoSegmentTimingInfoFn:v,audioSegmentTimingInfoFn:_,id3Fn:b,captionsFn:T,isEndOfTimeline:S,endedTimelineFn:E,dataFn:k,doneFn:C,onTransmuxerLog:w}).decryptionWorker,i=e.segment,n=e.trackInfoFn,r=e.timingInfoFn,a=e.videoSegmentTimingInfoFn,s=e.audioSegmentTimingInfoFn,o=e.id3Fn,u=e.captionsFn,l=e.isEndOfTimeline,c=e.endedTimelineFn,d=e.dataFn,h=e.doneFn,p=e.onTransmuxerLog,void hu({id:i.requestId,key:i.key,encryptedBytes:i.encryptedBytes,decryptionWorker:t},function(e){i.bytes=e,du({segment:i,bytes:i.bytes,trackInfoFn:n,timingInfoFn:r,videoSegmentTimingInfoFn:a,audioSegmentTimingInfoFn:s,id3Fn:o,captionsFn:u,isEndOfTimeline:l,endedTimelineFn:c,dataFn:d,doneFn:h,onTransmuxerLog:p})});var e,t,i,n,r,a,s,o,u,l,c,d,h,p;du({segment:f,bytes:f.bytes,trackInfoFn:g,timingInfoFn:y,videoSegmentTimingInfoFn:v,audioSegmentTimingInfoFn:_,id3Fn:b,captionsFn:T,isEndOfTimeline:S,endedTimelineFn:E,dataFn:k,doneFn:C,onTransmuxerLog:w})};if(f.endOfAllRequests=Date.now(),f.map&&f.map.encryptedBytes&&!f.map.bytes)return hu({decryptionWorker:m,id:f.requestId+\"-init\",encryptedBytes:f.map.encryptedBytes,key:f.map.key},function(e){f.map.bytes=e,uu(f,function(e){return e?(au(i),C(e,f)):void t()})});t()}}}}function fu(e){var n=e.segment,r=e.progressFn;return e.trackInfoFn,e.timingInfoFn,e.videoSegmentTimingInfoFn,e.audioSegmentTimingInfoFn,e.id3Fn,e.captionsFn,e.isEndOfTimeline,e.endedTimelineFn,e.dataFn,function(e){var t,i=e.target;if(!i.aborted)return n.stats=Zn.mergeOptions(n.stats,(i=(t=e).target,(i={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-i.requestTime||0}).bytesReceived=t.loaded,i.bandwidth=Math.floor(i.bytesReceived/i.roundTripTime*8*1e3),i)),!n.stats.firstBytesReceivedAt&&n.stats.bytesReceived&&(n.stats.firstBytesReceivedAt=Date.now()),r(e,n)}}function mu(e){var t,i,n,r=e.xhr,a=e.xhrOptions,s=e.decryptionWorker,o=e.segment,u=e.abortFn,l=e.progressFn,c=e.trackInfoFn,d=e.timingInfoFn,h=e.videoSegmentTimingInfoFn,p=e.audioSegmentTimingInfoFn,f=e.id3Fn,m=e.captionsFn,g=e.isEndOfTimeline,y=e.endedTimelineFn,v=e.dataFn,_=e.doneFn,e=e.onTransmuxerLog,b=[],_=pu({activeXhrs:b,decryptionWorker:s,trackInfoFn:c,timingInfoFn:d,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:p,id3Fn:f,captionsFn:m,isEndOfTimeline:g,endedTimelineFn:y,dataFn:v,doneFn:_,onTransmuxerLog:e});o.key&&!o.key.bytes&&(e=[o.key],o.map&&!o.map.bytes&&o.map.key&&o.map.key.resolvedUri===o.key.resolvedUri&&e.push(o.map.key),e=r(Zn.mergeOptions(a,{uri:o.key.resolvedUri,responseType:\"arraybuffer\"}),ou(o,e,_)),b.push(e)),o.map&&!o.map.bytes&&(!o.map.key||o.key&&o.key.resolvedUri===o.map.key.resolvedUri||(t=r(Zn.mergeOptions(a,{uri:o.map.key.resolvedUri,responseType:\"arraybuffer\"}),ou(o,[o.map.key],_)),b.push(t)),t=r(Zn.mergeOptions(a,{uri:o.map.resolvedUri,responseType:\"arraybuffer\",headers:jo(o.map)}),(i=(t={segment:o,finishProcessingFn:_}).segment,n=t.finishProcessingFn,function(e,t){e=su(e,t);if(e)return n(e,i);e=new Uint8Array(t.response);if(i.map.key)return i.map.encryptedBytes=e,n(null,i);i.map.bytes=e,uu(i,function(e){return e?(e.xhr=t,e.status=t.status,n(e,i)):void n(null,i)})})),b.push(t)),a=Zn.mergeOptions(a,{uri:o.part&&o.part.resolvedUri||o.resolvedUri,responseType:\"arraybuffer\",headers:jo(o)}),(a=r(a,lu({segment:o,finishProcessingFn:_,responseType:a.responseType}))).addEventListener(\"progress\",fu({segment:o,progressFn:l,trackInfoFn:c,timingInfoFn:d,videoSegmentTimingInfoFn:h,audioSegmentTimingInfoFn:p,id3Fn:f,captionsFn:m,isEndOfTimeline:g,endedTimelineFn:y,dataFn:v})),b.push(a);var T={};return b.forEach(function(e){var t,i;e.addEventListener(\"loadend\",(t=(e={loadendState:T,abortFn:u}).loadendState,i=e.abortFn,function(e){e.target.aborted&&i&&!t.calledAbortFn&&(i(),t.calledAbortFn=!0)}))}),function(){return au(b)}}function gu(e,t){return t=t.attributes||{},e&&e.mediaGroups&&e.mediaGroups.AUDIO&&t.AUDIO&&e.mediaGroups.AUDIO[t.AUDIO]}function yu(e){var n={};return e.forEach(function(e){var t=e.mediaType,i=e.type,e=e.details;n[t]=n[t]||[],n[t].push(cr(\"\"+i+e))}),Object.keys(n).forEach(function(e){return 1<n[e].length?(el(\"multiple \"+e+\" codecs found as attributes: \"+n[e].join(\", \")+\". Setting playlist codecs to null so that we wait for mux.js to probe segments for real codecs.\"),void(n[e]=null)):void(n[e]=n[e][0])}),n}function vu(e){var t=0;return e.audio&&t++,e.video&&t++,t}function _u(e,t){var i,n=t.attributes||{},r=yu(function(e){e=e.attributes||{};if(e.CODECS)return dr(e.CODECS)}(t)||[]);return gu(e,t)&&!r.audio&&!function(e,t){if(!gu(e,t))return!0;var i,t=t.attributes||{},n=e.mediaGroups.AUDIO[t.AUDIO];for(i in n)if(!n[i].uri&&!n[i].playlists)return!0;return!1}(e,t)&&(i=yu(function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var i,n=e.mediaGroups.AUDIO[t];if(!n)return null;for(i in n){var r=n[i];if(r.default&&r.playlists)return dr(r.playlists[0].attributes.CODECS)}return null}(e,n.AUDIO)||[])).audio&&(r.audio=i.audio),r}function bu(e){if(e&&e.playlist){var t=e.playlist;return JSON.stringify({id:t.id,bandwidth:e.bandwidth,width:e.width,height:e.height,codecs:t.attributes&&t.attributes.CODECS||\"\"})}}function Tu(e,t){return(e=e&&_.getComputedStyle(e))?e[t]:\"\"}function Su(e,n){var r=e.slice();e.sort(function(e,t){var i=n(e,t);return 0===i?r.indexOf(e)-r.indexOf(t):i})}function Eu(e,t){var i,n;return(i=(i=e.attributes.BANDWIDTH?e.attributes.BANDWIDTH:i)||_.Number.MAX_VALUE)-(n=(n=t.attributes.BANDWIDTH?t.attributes.BANDWIDTH:n)||_.Number.MAX_VALUE)}function ku(e,t,i,n,r,a){if(e){var s={bandwidth:t,width:i,height:n,limitRenditionByPlayerDimensions:r},o=e.playlists;Bu.isAudioOnly(e)&&(o=a.getAudioTrackPlaylists_(),s.audioOnly=!0);var u=o.map(function(e){var t=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width,i=e.attributes&&e.attributes.RESOLUTION&&e.attributes.RESOLUTION.height,n=e.attributes&&e.attributes.BANDWIDTH;return{bandwidth:n||_.Number.MAX_VALUE,width:t,height:i,playlist:e}});Su(u,function(e,t){return e.bandwidth-t.bandwidth});var e=(u=u.filter(function(e){return!Bu.isIncompatible(e.playlist)})).filter(function(e){return Bu.isEnabled(e.playlist)}),a=(e=!e.length?u.filter(function(e){return!Bu.isDisabled(e.playlist)}):e).filter(function(e){return e.bandwidth*Gu.BANDWIDTH_VARIANCE<t}),l=a[a.length-1],o=a.filter(function(e){return e.bandwidth===l.bandwidth})[0];if(!1===r){var c=o||e[0]||u[0];if(c&&c.playlist){r=o?\"bandwidthBestRep\":\"sortedPlaylistReps\";return e[0]&&(r=\"enabledPlaylistReps\"),tl(\"choosing \"+bu(c)+\" using \"+r+\" with options\",s),c.playlist}return tl(\"could not choose a playlist with options\",s),null}c=a.filter(function(e){return e.width&&e.height});Su(c,function(e,t){return e.width-t.width});var d,h,a=c.filter(function(e){return e.width===i&&e.height===n}),l=a[a.length-1],a=a.filter(function(e){return e.bandwidth===l.bandwidth})[0];a||(p=(d=c.filter(function(e){return e.width>i||e.height>n})).filter(function(e){return e.width===d[0].width&&e.height===d[0].height}),l=p[p.length-1],h=p.filter(function(e){return e.bandwidth===l.bandwidth})[0]);var p=h||a||o||e[0]||u[0];if(p&&p.playlist){u=\"sortedPlaylistReps\";return h?u=\"resolutionPlusOneRep\":a?u=\"resolutionBestRep\":o?u=\"bandwidthBestRep\":e[0]&&(u=\"enabledPlaylistReps\"),tl(\"choosing \"+bu(p)+\" using \"+u+\" with options\",s),p.playlist}return tl(\"could not choose a playlist with options\",s),null}}function Cu(e){var t=e.inbandTextTracks,i=e.metadataArray,r=e.timestampOffset,n=e.videoDuration;if(i){var a=_.WebKitDataCue||_.VTTCue,s=t.metadataTrack_;if(s&&(i.forEach(function(e){var n=e.cueTime+r;!(\"number\"!=typeof n||_.isNaN(n)||n<0)&&n<1/0&&e.frames.forEach(function(e){var t,i=new a(n,n,e.value||e.url||e.data||\"\");i.frame=e,i.value=e,t=i,Object.defineProperties(t.frame,{id:{get:function(){return Zn.log.warn(\"cue.frame.id is deprecated. Use cue.value.key instead.\"),t.value.key}},value:{get:function(){return Zn.log.warn(\"cue.frame.value is deprecated. Use cue.value.data instead.\"),t.value.data}},privateData:{get:function(){return Zn.log.warn(\"cue.frame.privateData is deprecated. Use cue.value.data instead.\"),t.value.data}}}),s.addCue(i)})}),s.cues&&s.cues.length)){for(var o=s.cues,u=[],l=0;l<o.length;l++)o[l]&&u.push(o[l]);var c=u.reduce(function(e,t){var i=e[t.startTime]||[];return i.push(t),e[t.startTime]=i,e},{}),d=Object.keys(c).sort(function(e,t){return Number(e)-Number(t)});d.forEach(function(e,t){var e=c[e],i=Number(d[t+1])||n;e.forEach(function(e){e.endTime=i})})}}}function wu(e,t,i){var n,r;if(i&&i.cues)for(n=i.cues.length;n--;)(r=i.cues[n]).startTime>=e&&r.endTime<=t&&i.removeCue(r)}function Iu(e){return\"number\"==typeof e&&isFinite(e)}function xu(e){var t=e.startOfSegment,i=e.duration,n=e.segment,r=e.part,a=e.playlist,s=a.mediaSequence,o=a.id,u=a.segments,l=e.mediaIndex,c=e.partIndex,d=e.timeline,h=(void 0===u?[]:u).length-1,p=\"mediaIndex/partIndex increment\";return e.getMediaInfoForTime?p=\"getMediaInfoForTime (\"+e.getMediaInfoForTime+\")\":e.isSyncRequest&&(p=\"getSyncSegmentCandidate (isSyncRequest)\"),a=\"number\"==typeof c,u=e.segment.uri?\"segment\":\"pre-segment\",e=a?fo({preloadSegment:n})-1:0,u+\" [\"+(s+l)+\"/\"+(s+h)+\"]\"+(a?\" part [\"+c+\"/\"+e+\"]\":\"\")+\" segment start/end [\"+n.start+\" => \"+n.end+\"]\"+(a?\" part start/end [\"+r.start+\" => \"+r.end+\"]\":\"\")+\" startOfSegment [\"+t+\"] duration [\"+i+\"] timeline [\"+d+\"] selected by [\"+p+\"] playlist [\"+o+\"]\"}function Au(e){return e+\"TimingInfo\"}function Pu(e){var t=e.timelineChangeController,i=e.currentTimeline,n=e.segmentTimeline,r=e.loaderType,e=e.audioDisabled;if(i!==n){if(\"audio\"===r){i=t.lastTimelineChange({type:\"main\"});return!i||i.to!==n}if(\"main\"===r&&e){t=t.pendingTimelineChange({type:\"audio\"});return t&&t.to===n?!1:!0}}}function Lu(e){var t=e.segmentDuration,e=e.maxDuration;return!!t&&Math.round(t)>e+Nu}function Du(e,t){if(\"hls\"!==t)return null;var i=function(e,t){e=e&&\"number\"==typeof e.start&&\"number\"==typeof e.end?e.end-e.start:0,t=t&&\"number\"==typeof t.start&&\"number\"==typeof t.end?t.end-t.start:0;return Math.max(e,t)}(e.audioTimingInfo,e.videoTimingInfo);if(!i)return null;var n=e.playlist.targetDuration,r=Lu({segmentDuration:i,maxDuration:2*n}),t=Lu({segmentDuration:i,maxDuration:n}),n=\"Segment with index \"+e.mediaIndex+\" from playlist \"+e.playlist.id+\" has a duration of \"+i+\" when the reported duration is \"+e.duration+\" and the target duration is \"+n+\". For HLS content, a duration in excess of the target duration may result in playback issues. See the HLS specification section on EXT-X-TARGETDURATION for more details: https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.3.1\";return r||t?{severity:r?\"warn\":\"info\",message:n}:null}var Ou=eo,Ru=9e4,Mu=er,Nu=1/30,Uu=Zn.createTimeRange,Bu={liveEdgeDelay:mo,duration:yo,seekable:function(e,t,i){var n=t||0,i=_o(e,t,!0,i);return null===i?Uu():Uu(n,i)},getMediaInfoForTime:function(e){for(var t=e.playlist,i=e.currentTime,n=e.startingSegmentIndex,r=e.startingPartIndex,a=e.startTime,s=i-a,o=ho(t),u=0,l=0;l<o.length;l++){var c=o[l];if(n===c.segmentIndex&&(\"number\"!=typeof r||\"number\"!=typeof c.partIndex||r===c.partIndex)){u=l;break}}if(s<0){if(0<u)for(var d=u-1;0<=d;d--){var h=o[d];if(0<(s+=h.duration)+Nu)return{partIndex:h.partIndex,segmentIndex:h.segmentIndex,startTime:a-vo({defaultDuration:t.targetDuration,durationList:o,startIndex:u,endIndex:d})}}return{partIndex:o[0]&&o[0].partIndex||null,segmentIndex:o[0]&&o[0].segmentIndex||0,startTime:i}}if(u<0){for(var p=u;p<0;p++)if((s-=t.targetDuration)<0)return{partIndex:o[0]&&o[0].partIndex||null,segmentIndex:o[0]&&o[0].segmentIndex||0,startTime:i};u=0}for(var f=u;f<o.length;f++){var m=o[f];if((s-=m.duration)-Nu<0)return{partIndex:m.partIndex,segmentIndex:m.segmentIndex,startTime:a+vo({defaultDuration:t.targetDuration,durationList:o,startIndex:u,endIndex:f})}}return{segmentIndex:o[o.length-1].segmentIndex,partIndex:o[o.length-1].partIndex,startTime:i}},isEnabled:So,isDisabled:function(e){return e.disabled},isBlacklisted:bo,isIncompatible:To,playlistEnd:_o,isAes:function(e){for(var t=0;t<e.segments.length;t++)if(e.segments[t].key)return!0;return!1},hasAttribute:Eo,estimateSegmentRequestTime:function(e,t,i,n){return Eo(\"BANDWIDTH\",i)?(e*i.attributes.BANDWIDTH-8*(n=void 0===n?0:n))/t:NaN},isLowestEnabledRendition:ko,isAudioOnly:Io,playlistMatch:Co},Fu=Zn.log,ju=Zn.mergeOptions,z=Zn.EventTarget,Hu=function(a){function e(e,t,i){var n;if(void 0===i&&(i={}),n=a.call(this)||this,!e)throw new Error(\"A non-empty playlist URL or object is required\");n.logger_=ro(\"PlaylistLoader\");var r=i.withCredentials,r=void 0!==r&&r,i=i.handleManifestRedirects,i=void 0!==i&&i;n.src=e,n.vhs_=t,n.withCredentials=r,n.handleManifestRedirects=i;t=t.options_;return n.customTagParsers=t&&t.customTagParsers||[],n.customTagMappers=t&&t.customTagMappers||[],n.experimentalLLHLS=t&&t.experimentalLLHLS||!1,n.state=\"HAVE_NOTHING\",n.handleMediaupdatetimeout_=n.handleMediaupdatetimeout_.bind(ft(n)),n.on(\"mediaupdatetimeout\",n.handleMediaupdatetimeout_),n}mt(e,a);var t=e.prototype;return t.handleMediaupdatetimeout_=function(){var e,t,i=this;\"HAVE_METADATA\"===this.state&&(e=this.media(),t=Mu(this.master.uri,e.uri),this.experimentalLLHLS&&(t=function(i,e){if(e.endList)return i;var t,n,r,a=[];return e.serverControl&&e.serverControl.canBlockReload&&(r=e.preloadSegment,t=e.mediaSequence+e.segments.length,r&&(n=r.parts||[],-1<(r=fo(e)-1)&&r!=n.length-1&&a.push(\"_HLS_part=\"+r),(-1<r||n.length)&&t--),a.unshift(\"_HLS_msn=\"+t)),e.serverControl&&e.serverControl.canSkipUntil&&a.unshift(\"_HLS_skip=\"+(e.serverControl.canSkipDateranges?\"v2\":\"YES\")),a.forEach(function(e,t){i+=(0===t?\"?\":\"&\")+e}),i}(t,e)),this.state=\"HAVE_CURRENT_METADATA\",this.request=this.vhs_.xhr({uri:t,withCredentials:this.withCredentials},function(e,t){if(i.request)return e?i.playlistRequestError(i.request,i.media(),\"HAVE_METADATA\"):void i.haveMetadata({playlistString:i.request.responseText,url:i.media().uri,id:i.media().id})}))},t.playlistRequestError=function(e,t,i){var n=t.uri,t=t.id;this.request=null,i&&(this.state=i),this.error={playlist:this.master.playlists[t],status:e.status,message:\"HLS playlist request error at URL: \"+n+\".\",responseText:e.responseText,code:500<=e.status?4:2},this.trigger(\"error\")},t.parseManifest_=function(e){var t=this,i=e.url;return function(e){var t=e.onwarn,i=e.oninfo,n=e.manifestString,r=e.customTagParsers,a=void 0===r?[]:r,r=e.customTagMappers,r=void 0===r?[]:r,e=e.experimentalLLHLS,s=new br;t&&s.on(\"warn\",t),i&&s.on(\"info\",i),a.forEach(function(e){return s.addParser(e)}),r.forEach(function(e){return s.addTagMapper(e)}),s.push(n),s.end();var o=s.manifest;e||([\"preloadSegment\",\"skip\",\"serverControl\",\"renditionReports\",\"partInf\",\"partTargetDuration\"].forEach(function(e){o.hasOwnProperty(e)&&delete o[e]}),o.segments&&o.segments.forEach(function(t){[\"parts\",\"preloadHints\"].forEach(function(e){t.hasOwnProperty(e)&&delete t[e]})})),o.targetDuration||(u=10,o.segments&&o.segments.length&&(u=o.segments.reduce(function(e,t){return Math.max(e,t.duration)},0)),t&&t(\"manifest has no targetDuration defaulting to \"+u),o.targetDuration=u);var u=po(o);return u.length&&!o.partTargetDuration&&(u=u.reduce(function(e,t){return Math.max(e,t.duration)},0),t&&(t(\"manifest has no partTargetDuration defaulting to \"+u),Fu.error(\"LL-HLS manifest has parts but lacks required #EXT-X-PART-INF:PART-TARGET value. See https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.3.7. Playback is not guaranteed.\")),o.partTargetDuration=u),o}({onwarn:function(e){e=e.message;return t.logger_(\"m3u8-parser warn for \"+i+\": \"+e)},oninfo:function(e){e=e.message;return t.logger_(\"m3u8-parser info for \"+i+\": \"+e)},manifestString:e.manifestString,customTagParsers:this.customTagParsers,customTagMappers:this.customTagMappers,experimentalLLHLS:this.experimentalLLHLS})},t.haveMetadata=function(e){var t=this,i=e.playlistString,n=e.playlistObject,r=e.url,e=e.id;this.request=null,this.state=\"HAVE_METADATA\";i=n||this.parseManifest_({url:r,manifestString:i});i.lastRequest=Date.now(),Po({playlist:i,uri:r,id:e});r=No(this.master,i);this.targetDuration=i.partTargetDuration||i.targetDuration,r?(this.master=r,this.media_=this.master.playlists[e]):this.trigger(\"playlistunchanged\"),this.media().endList||(_.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=_.setTimeout(function(){t.trigger(\"mediaupdatetimeout\")},Uo(this.media(),!!r))),this.trigger(\"loadedplaylist\")},t.dispose=function(){this.trigger(\"dispose\"),this.stopRequest(),_.clearTimeout(this.mediaUpdateTimeout),_.clearTimeout(this.finalRenditionTimeout),this.off()},t.stopRequest=function(){var e;this.request&&(e=this.request,this.request=null,e.onreadystatechange=null,e.abort())},t.media=function(i,e){var n=this;if(!i)return this.media_;if(\"HAVE_NOTHING\"===this.state)throw new Error(\"Cannot switch media playlist from \"+this.state);if(\"string\"==typeof i){if(!this.master.playlists[i])throw new Error(\"Unknown playlist URI: \"+i);i=this.master.playlists[i]}if(_.clearTimeout(this.finalRenditionTimeout),e){var t=(i.partTargetDuration||i.targetDuration)/2*1e3||5e3;this.finalRenditionTimeout=_.setTimeout(this.media.bind(this,i,!1),t)}else{var r=this.state,e=!this.media_||i.id!==this.media_.id,t=this.master.playlists[i.id];if(t&&t.endList||i.endList&&i.segments.length)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state=\"HAVE_METADATA\",this.media_=i,void(e&&(this.trigger(\"mediachanging\"),\"HAVE_MASTER\"===r?this.trigger(\"loadedmetadata\"):this.trigger(\"mediachange\")));if(e){if(this.state=\"SWITCHING_MEDIA\",this.request){if(i.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger(\"mediachanging\"),this.request=this.vhs_.xhr({uri:i.resolvedUri,withCredentials:this.withCredentials},function(e,t){if(n.request){if(i.lastRequest=Date.now(),i.resolvedUri=no(n.handleManifestRedirects,i.resolvedUri,t),e)return n.playlistRequestError(n.request,i,r);n.haveMetadata({playlistString:t.responseText,url:i.uri,id:i.id}),\"HAVE_MASTER\"===r?n.trigger(\"loadedmetadata\"):n.trigger(\"mediachange\")}})}}},t.pause=function(){this.stopRequest(),_.clearTimeout(this.mediaUpdateTimeout),\"HAVE_NOTHING\"===this.state&&(this.started=!1),\"SWITCHING_MEDIA\"===this.state?this.media_?this.state=\"HAVE_METADATA\":this.state=\"HAVE_MASTER\":\"HAVE_CURRENT_METADATA\"===this.state&&(this.state=\"HAVE_METADATA\")},t.load=function(e){var t=this;_.clearTimeout(this.mediaUpdateTimeout);var i=this.media();e?(e=i?(i.partTargetDuration||i.targetDuration)/2*1e3:5e3,this.mediaUpdateTimeout=_.setTimeout(function(){return t.load()},e)):this.started?i&&!i.endList?this.trigger(\"mediaupdatetimeout\"):this.trigger(\"loadedplaylist\"):this.start()},t.start=function(){var i=this;if(this.started=!0,\"object\"==typeof this.src)return this.src.uri||(this.src.uri=_.location.href),this.src.resolvedUri=this.src.uri,void setTimeout(function(){i.setupInitialPlaylist(i.src)},0);this.request=this.vhs_.xhr({uri:this.src,withCredentials:this.withCredentials},function(e,t){if(i.request){if(i.request=null,e)return i.error={status:t.status,message:\"HLS playlist request error at URL: \"+i.src+\".\",responseText:t.responseText,code:2},\"HAVE_NOTHING\"===i.state&&(i.started=!1),i.trigger(\"error\");i.src=no(i.handleManifestRedirects,i.src,t);t=i.parseManifest_({manifestString:t.responseText,url:i.src});i.setupInitialPlaylist(t)}})},t.srcUri=function(){return\"string\"==typeof this.src?this.src:this.src.uri},t.setupInitialPlaylist=function(e){if(this.state=\"HAVE_MASTER\",e.playlists)return this.master=e,Lo(this.master,this.srcUri()),e.playlists.forEach(function(t){t.segments=Ro(t),t.segments.forEach(function(e){Oo(e,t.resolvedUri)})}),this.trigger(\"loadedplaylist\"),void(this.request||this.media(this.master.playlists[0]));var t,i,n,r=this.srcUri()||_.location.href;this.master=(i=xo(0,t=r),(n={mediaGroups:{AUDIO:{},VIDEO:{},\"CLOSED-CAPTIONS\":{},SUBTITLES:{}},uri:_.location.href,resolvedUri:_.location.href,playlists:[{uri:t,id:i,resolvedUri:t,attributes:{}}]}).playlists[i]=n.playlists[0],n.playlists[t]=n.playlists[0],n),this.haveMetadata({playlistObject:e,url:r,id:this.master.playlists[0].id}),this.trigger(\"loadedmetadata\")},e}(z),qu=Zn.xhr,Vu=Zn.mergeOptions,ii=Object.freeze({__proto__:null,createTransferableMessage:Vo,initSegmentId:Wo,segmentKeyId:zo,hexDump:Go,tagDump:function(e){e=e.bytes;return Go(e)},textRanges:function(e){for(var t,i,n=\"\",r=0;r<e.length;r++)n+=(i=r,(t=e).start(i)+\"-\"+t.end(i)+\" \");return n}}),zt=Zn.EventTarget,Wu=Zn.mergeOptions,zu=function(a){function e(e,t,i,n){var r;void 0===i&&(i={}),(r=a.call(this)||this).masterPlaylistLoader_=n||ft(r),n||(r.isMaster_=!0);n=i.withCredentials,n=void 0!==n&&n,i=i.handleManifestRedirects,i=void 0!==i&&i;if(r.vhs_=t,r.withCredentials=n,r.handleManifestRedirects=i,!e)throw new Error(\"A non-empty playlist URL or object is required\");return r.on(\"minimumUpdatePeriod\",function(){r.refreshXml_()}),r.on(\"mediaupdatetimeout\",function(){r.refreshMedia_(r.media().id)}),r.state=\"HAVE_NOTHING\",r.loadedPlaylists_={},r.logger_=ro(\"DashPlaylistLoader\"),r.isMaster_?(r.masterPlaylistLoader_.srcUrl=e,r.masterPlaylistLoader_.sidxMapping_={}):r.childPlaylist_=e,r}mt(e,a);var t=e.prototype;return t.requestErrored_=function(e,t,i){return!this.request||(this.request=null,e?(this.error=\"object\"!=typeof e||e instanceof Error?{status:t.status,message:\"DASH request error at URL: \"+t.uri,response:t.response,code:2}:e,i&&(this.state=i),this.trigger(\"error\"),!0):void 0)},t.addSidxSegments_=function(a,n,r){var s,o,u=this,l=a.sidx&&Qa(a.sidx);a.sidx&&l&&!this.masterPlaylistLoader_.sidxMapping_[l]?(s=no(this.handleManifestRedirects,a.sidx.resolvedUri),o=function(e,t){if(!u.requestErrored_(e,t,n)){var i,e=u.masterPlaylistLoader_.sidxMapping_;try{i=Ws(Ts(t.response).subarray(8))}catch(e){return void u.requestErrored_(e,t,n)}return e[l]={sidxInfo:a.sidx,sidx:i},Ya(a,i,a.sidx.resolvedUri),r(!0)}},this.request=Qo(s,this.vhs_.xhr,function(e,t,i,n){if(e)return o(e,t);if(!i||\"mp4\"!==i)return o({status:t.status,message:\"Unsupported \"+(i||\"unknown\")+\" container type for sidx segment at URL: \"+s,response:\"\",playlist:a,internal:!0,blacklistDuration:1/0,code:2},t);var r=a.sidx.byterange,i=r.offset,r=r.length;if(n.length>=r+i)return o(e,{response:n.subarray(i,i+r),status:t.status,uri:t.uri});u.request=u.vhs_.xhr({uri:s,responseType:\"arraybuffer\",headers:jo({byterange:a.sidx.byterange})},o)})):this.mediaRequest_=_.setTimeout(function(){return r(!1)},0)},t.dispose=function(){this.trigger(\"dispose\"),this.stopRequest(),this.loadedPlaylists_={},_.clearTimeout(this.minimumUpdatePeriodTimeout_),_.clearTimeout(this.mediaRequest_),_.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.mediaRequest_=null,this.minimumUpdatePeriodTimeout_=null,this.masterPlaylistLoader_.createMupOnMedia_&&(this.off(\"loadedmetadata\",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.off()},t.hasPendingRequest=function(){return this.request||this.mediaRequest_},t.stopRequest=function(){var e;this.request&&(e=this.request,this.request=null,e.onreadystatechange=null,e.abort())},t.media=function(t){var i=this;if(!t)return this.media_;if(\"HAVE_NOTHING\"===this.state)throw new Error(\"Cannot switch media playlist from \"+this.state);var n=this.state;if(\"string\"==typeof t){if(!this.masterPlaylistLoader_.master.playlists[t])throw new Error(\"Unknown playlist URI: \"+t);t=this.masterPlaylistLoader_.master.playlists[t]}var e=!this.media_||t.id!==this.media_.id;if(e&&this.loadedPlaylists_[t.id]&&this.loadedPlaylists_[t.id].endList)return this.state=\"HAVE_METADATA\",this.media_=t,void(e&&(this.trigger(\"mediachanging\"),this.trigger(\"mediachange\")));e&&(this.media_&&this.trigger(\"mediachanging\"),this.addSidxSegments_(t,n,function(e){i.haveMetadata({startingState:n,playlist:t})}))},t.haveMetadata=function(e){var t=e.startingState,e=e.playlist;this.state=\"HAVE_METADATA\",this.loadedPlaylists_[e.id]=e,this.mediaRequest_=null,this.refreshMedia_(e.id),\"HAVE_MASTER\"===t?this.trigger(\"loadedmetadata\"):this.trigger(\"mediachange\")},t.pause=function(){this.masterPlaylistLoader_.createMupOnMedia_&&(this.off(\"loadedmetadata\",this.masterPlaylistLoader_.createMupOnMedia_),this.masterPlaylistLoader_.createMupOnMedia_=null),this.stopRequest(),_.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null,this.isMaster_&&(_.clearTimeout(this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_),this.masterPlaylistLoader_.minimumUpdatePeriodTimeout_=null),\"HAVE_NOTHING\"===this.state&&(this.started=!1)},t.load=function(e){var t=this;_.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=null;var i=this.media();e?(e=i?i.targetDuration/2*1e3:5e3,this.mediaUpdateTimeout=_.setTimeout(function(){return t.load()},e)):this.started?i&&!i.endList?(this.isMaster_&&!this.minimumUpdatePeriodTimeout_&&(this.trigger(\"minimumUpdatePeriod\"),this.updateMinimumUpdatePeriodTimeout_()),this.trigger(\"mediaupdatetimeout\")):this.trigger(\"loadedplaylist\"):this.start()},t.start=function(){var i=this;this.started=!0,this.isMaster_?this.requestMaster_(function(e,t){i.haveMaster_(),i.hasPendingRequest()||i.media_||i.media(i.masterPlaylistLoader_.master.playlists[0])}):this.mediaRequest_=_.setTimeout(function(){return i.haveMaster_()},0)},t.requestMaster_=function(n){var r=this;this.request=this.vhs_.xhr({uri:this.masterPlaylistLoader_.srcUrl,withCredentials:this.withCredentials},function(e,t){if(!r.requestErrored_(e,t)){var i=t.responseText!==r.masterPlaylistLoader_.masterXml_;return r.masterPlaylistLoader_.masterXml_=t.responseText,t.responseHeaders&&t.responseHeaders.date?r.masterLoaded_=Date.parse(t.responseHeaders.date):r.masterLoaded_=Date.now(),r.masterPlaylistLoader_.srcUrl=no(r.handleManifestRedirects,r.masterPlaylistLoader_.srcUrl,t),i?(r.handleMaster_(),void r.syncClientServerClock_(function(){return n(t,i)})):n(t,i)}\"HAVE_NOTHING\"===r.state&&(r.started=!1)})},t.syncClientServerClock_=function(i){var n=this,r=bs(this.masterPlaylistLoader_.masterXml_);return null===r?(this.masterPlaylistLoader_.clientOffset_=this.masterLoaded_-Date.now(),i()):\"DIRECT\"===r.method?(this.masterPlaylistLoader_.clientOffset_=r.value-Date.now(),i()):void(this.request=this.vhs_.xhr({uri:Mu(this.masterPlaylistLoader_.srcUrl,r.value),method:r.method,withCredentials:this.withCredentials},function(e,t){if(n.request){if(e)return n.masterPlaylistLoader_.clientOffset_=n.masterLoaded_-Date.now(),i();t=\"HEAD\"===r.method?t.responseHeaders&&t.responseHeaders.date?Date.parse(t.responseHeaders.date):n.masterLoaded_:Date.parse(t.responseText);n.masterPlaylistLoader_.clientOffset_=t-Date.now(),i()}}))},t.haveMaster_=function(){this.state=\"HAVE_MASTER\",this.isMaster_?this.trigger(\"loadedplaylist\"):this.media_||this.media(this.childPlaylist_)},t.handleMaster_=function(){this.mediaRequest_=null;var e,t,t=(n={masterXml:this.masterPlaylistLoader_.masterXml_,srcUrl:this.masterPlaylistLoader_.srcUrl,clientOffset:this.masterPlaylistLoader_.clientOffset_,sidxMapping:this.masterPlaylistLoader_.sidxMapping_},e=n.masterXml,i=n.srcUrl,t=n.clientOffset,n=n.sidxMapping,n=_s(e,{manifestUri:i,clientOffset:t,sidxMapping:n}),Lo(n,i),n),i=this.masterPlaylistLoader_.master;i&&(t=function(e,t,i){for(var a=!0,s=Wu(e,{duration:t.duration,minimumUpdatePeriod:t.minimumUpdatePeriod}),n=0;n<t.playlists.length;n++){var r,o=t.playlists[n];o.sidx&&(r=Qa(o.sidx),i&&i[r]&&i[r].sidx&&Ya(o,i[r].sidx,o.sidx.resolvedUri));o=No(s,o,$o);o&&(s=o,a=!1)}return Ao(t,function(e,t,i,n){var r;e.playlists&&e.playlists.length&&(r=e.playlists[0].id,(e=No(s,e.playlists[0],$o))&&((s=e).mediaGroups[t][i][n].playlists[0]=s.playlists[r],a=!1))}),(a=t.minimumUpdatePeriod===e.minimumUpdatePeriod&&a)?null:s}(i,t,this.masterPlaylistLoader_.sidxMapping_)),this.masterPlaylistLoader_.master=t||i;var n=this.masterPlaylistLoader_.master.locations&&this.masterPlaylistLoader_.master.locations[0];return n&&n!==this.masterPlaylistLoader_.srcUrl&&(this.masterPlaylistLoader_.srcUrl=n),(!i||t&&t.minimumUpdatePeriod!==i.minimumUpdatePeriod)&&this.updateMinimumUpdatePeriodTimeout_(),Boolean(t)},t.updateMinimumUpdatePeriodTimeout_=function(){var e=this.masterPlaylistLoader_;e.createMupOnMedia_&&(e.off(\"loadedmetadata\",e.createMupOnMedia_),e.createMupOnMedia_=null),e.minimumUpdatePeriodTimeout_&&(_.clearTimeout(e.minimumUpdatePeriodTimeout_),e.minimumUpdatePeriodTimeout_=null);var t=e.master&&e.master.minimumUpdatePeriod;0===t&&(e.media()?t=1e3*e.media().targetDuration:(e.createMupOnMedia_=e.updateMinimumUpdatePeriodTimeout_,e.one(\"loadedmetadata\",e.createMupOnMedia_))),\"number\"!=typeof t||t<=0?t<0&&this.logger_(\"found invalid minimumUpdatePeriod of \"+t+\", not setting a timeout\"):this.createMUPTimeout_(t)},t.createMUPTimeout_=function(e){var t=this.masterPlaylistLoader_;t.minimumUpdatePeriodTimeout_=_.setTimeout(function(){t.minimumUpdatePeriodTimeout_=null,t.trigger(\"minimumUpdatePeriod\"),t.createMUPTimeout_(e)},e)},t.refreshXml_=function(){var i=this;this.requestMaster_(function(e,t){var r,a;t&&(i.media_&&(i.media_=i.masterPlaylistLoader_.master.playlists[i.media_.id]),i.masterPlaylistLoader_.sidxMapping_=(t=i.masterPlaylistLoader_.master,r=i.masterPlaylistLoader_.sidxMapping_,a=Jo(t.playlists,r),Ao(t,function(e,t,i,n){e.playlists&&e.playlists.length&&(e=e.playlists,a=Wu(a,Jo(e,r)))}),a),i.addSidxSegments_(i.media(),i.state,function(e){i.refreshMedia_(i.media().id)}))})},t.refreshMedia_=function(e){var t=this;if(!e)throw new Error(\"refreshMedia_ must take a media id\");this.media_&&this.isMaster_&&this.handleMaster_();var i=this.masterPlaylistLoader_.master.playlists,n=!this.media_||this.media_!==i[e];n?this.media_=i[e]:this.trigger(\"playlistunchanged\"),this.mediaUpdateTimeout||function e(){t.media().endList||(t.mediaUpdateTimeout=_.setTimeout(function(){t.trigger(\"mediaupdatetimeout\"),e()},Uo(t.media(),Boolean(n))))}(),this.trigger(\"loadedplaylist\")},e}(zt),Gu={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,BACK_BUFFER_LENGTH:30,GOAL_BUFFER_LENGTH_RATE:1,INITIAL_BANDWIDTH:4194304,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:16,BUFFER_LOW_WATER_LINE_RATE:1,BUFFER_HIGH_WATER_LINE:30},ni=function(n){return function(){var e=function(t){try{return URL.createObjectURL(new Blob([t],{type:\"application/javascript\"}))}catch(e){var i=new BlobBuilder;return i.append(t),URL.createObjectURL(i.getBlob())}}(n),t=Zo(new Worker(e));t.objURL=e;var i=t.terminate;return t.on=t.addEventListener,t.off=t.removeEventListener,t.terminate=function(){return URL.revokeObjectURL(e),i.call(this)},t}},nr=function(e){return\"var browserWorkerPolyFill = \"+Zo.toString()+\";\\nbrowserWorkerPolyFill(self);\\n\"+e},z=function(e){return e.toString().replace(/^function.+?{/,\"\").slice(0,-1)},Xu=ni(nr(z(function(){var e=function(){this.init=function(){var a={};this.on=function(e,t){a[e]||(a[e]=[]),a[e]=a[e].concat(t)},this.off=function(e,t){return!!a[e]&&(t=a[e].indexOf(t),a[e]=a[e].slice(),a[e].splice(t,1),-1<t)},this.trigger=function(e){var t,i,n,r=a[e];if(r)if(2===arguments.length)for(i=r.length,t=0;t<i;++t)r[t].call(this,arguments[1]);else{for(n=[],t=arguments.length,t=1;t<arguments.length;++t)n.push(arguments[t]);for(i=r.length,t=0;t<i;++t)r[t].apply(this,n)}},this.dispose=function(){a={}}}};e.prototype.pipe=function(t){return this.on(\"data\",function(e){t.push(e)}),this.on(\"done\",function(e){t.flush(e)}),this.on(\"partialdone\",function(e){t.partialFlush(e)}),this.on(\"endedtimeline\",function(e){t.endTimeline(e)}),this.on(\"reset\",function(e){t.reset(e)}),t},e.prototype.push=function(e){this.trigger(\"data\",e)},e.prototype.flush=function(e){this.trigger(\"done\",e)},e.prototype.partialFlush=function(e){this.trigger(\"partialdone\",e)},e.prototype.endTimeline=function(e){this.trigger(\"endedtimeline\",e)},e.prototype.reset=function(e){this.trigger(\"reset\",e)};var u,t,i,n,r,a,s,o,l,c,d,h,p,f,m,g,y,v,_,b,T,S,E,k,C,w,I,x,A,P,L,D,O,R,M,N,U,B,F,j=e,H=Math.pow(2,32)-1;!function(){if(T={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],pasp:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},\"undefined\"!=typeof Uint8Array){for(var e in T)T.hasOwnProperty(e)&&(T[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);S=new Uint8Array([\"i\".charCodeAt(0),\"s\".charCodeAt(0),\"o\".charCodeAt(0),\"m\".charCodeAt(0)]),k=new Uint8Array([\"a\".charCodeAt(0),\"v\".charCodeAt(0),\"c\".charCodeAt(0),\"1\".charCodeAt(0)]),E=new Uint8Array([0,0,0,1]),C=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),w=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),I={video:C,audio:w},P=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),A=new Uint8Array([0,0,0,0,0,0,0,0]),L=new Uint8Array([0,0,0,0,0,0,0,0]),D=L,O=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),R=L,x=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),u=function(e){for(var t,i=[],n=0,r=1;r<arguments.length;r++)i.push(arguments[r]);for(r=i.length;r--;)n+=i[r].byteLength;for(t=new Uint8Array(n+8),new DataView(t.buffer,t.byteOffset,t.byteLength).setUint32(0,t.byteLength),t.set(e,4),r=0,n=8;r<i.length;r++)t.set(i[r],n),n+=i[r].byteLength;return t},t=function(){return u(T.dinf,u(T.dref,P))},i=function(e){return u(T.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,e.audioobjecttype<<3|e.samplingfrequencyindex>>>1,e.samplingfrequencyindex<<7|e.channelcount<<3,6,1,2]))},f=function(e){return u(T.hdlr,I[e])},p=function(e){var t=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,e.duration>>>24&255,e.duration>>>16&255,e.duration>>>8&255,255&e.duration,85,196,0,0]);return e.samplerate&&(t[12]=e.samplerate>>>24&255,t[13]=e.samplerate>>>16&255,t[14]=e.samplerate>>>8&255,t[15]=255&e.samplerate),u(T.mdhd,t)},h=function(e){return u(T.mdia,p(e),f(e.type),a(e))},r=function(e){return u(T.mfhd,new Uint8Array([0,0,0,0,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e]))},a=function(e){return u(T.minf,\"video\"===e.type?u(T.vmhd,x):u(T.smhd,A),t(),g(e))},qe=function(e,t){for(var i=[],n=t.length;n--;)i[n]=v(t[n]);return u.apply(null,[T.moof,r(e)].concat(i))},s=function(e){for(var t=e.length,i=[];t--;)i[t]=c(e[t]);return u.apply(null,[T.moov,l(4294967295)].concat(i).concat(o(e)))},o=function(e){for(var t=e.length,i=[];t--;)i[t]=_(e[t]);return u.apply(null,[T.mvex].concat(i))},l=function(e){e=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return u(T.mvhd,e)},m=function(e){for(var t,i=e.samples||[],n=new Uint8Array(4+i.length),r=0;r<i.length;r++)t=i[r].flags,n[r+4]=t.dependsOn<<4|t.isDependedOn<<2|t.hasRedundancy;return u(T.sdtp,n)},g=function(e){return u(T.stbl,y(e),u(T.stts,R),u(T.stsc,D),u(T.stsz,O),u(T.stco,L))},y=function(e){return u(T.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),(\"video\"===e.type?M:N)(e))},M=function(e){for(var t,i,n=e.sps||[],r=e.pps||[],a=[],s=[],o=0;o<n.length;o++)a.push((65280&n[o].byteLength)>>>8),a.push(255&n[o].byteLength),a=a.concat(Array.prototype.slice.call(n[o]));for(o=0;o<r.length;o++)s.push((65280&r[o].byteLength)>>>8),s.push(255&r[o].byteLength),s=s.concat(Array.prototype.slice.call(r[o]));return t=[T.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&e.width)>>8,255&e.width,(65280&e.height)>>8,255&e.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),u(T.avcC,new Uint8Array([1,e.profileIdc,e.profileCompatibility,e.levelIdc,255].concat([n.length],a,[r.length],s))),u(T.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192]))],e.sarRatio&&(i=e.sarRatio[0],e=e.sarRatio[1],t.push(u(T.pasp,new Uint8Array([(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i,(4278190080&e)>>24,(16711680&e)>>16,(65280&e)>>8,255&e])))),u.apply(null,t)},N=function(e){return u(T.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&e.channelcount)>>8,255&e.channelcount,(65280&e.samplesize)>>8,255&e.samplesize,0,0,0,0,(65280&e.samplerate)>>8,255&e.samplerate,0,0]),i(e))},d=function(e){e=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,0,(4278190080&e.duration)>>24,(16711680&e.duration)>>16,(65280&e.duration)>>8,255&e.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&e.width)>>8,255&e.width,0,0,(65280&e.height)>>8,255&e.height,0,0]);return u(T.tkhd,e)},v=function(e){var t,i=u(T.tfhd,new Uint8Array([0,0,0,58,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),n=Math.floor(e.baseMediaDecodeTime/(1+H)),r=Math.floor(e.baseMediaDecodeTime%(1+H)),n=u(T.tfdt,new Uint8Array([1,0,0,0,n>>>24&255,n>>>16&255,n>>>8&255,255&n,r>>>24&255,r>>>16&255,r>>>8&255,255&r]));return\"audio\"===e.type?(t=b(e,92),u(T.traf,i,n,t)):(r=m(e),t=b(e,r.length+92),u(T.traf,i,n,t,r))},c=function(e){return e.duration=e.duration||4294967295,u(T.trak,d(e),h(e))},_=function(e){var t=new Uint8Array([0,0,0,0,(4278190080&e.id)>>24,(16711680&e.id)>>16,(65280&e.id)>>8,255&e.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return\"video\"!==e.type&&(t[t.length-1]=0),u(T.trex,t)},U=function(e,t){var i=0,n=0,r=0,a=0;return e.length&&(void 0!==e[0].duration&&(i=1),void 0!==e[0].size&&(n=2),void 0!==e[0].flags&&(r=4),void 0!==e[0].compositionTimeOffset&&(a=8)),[0,0,i|n|r|a,1,(4278190080&e.length)>>>24,(16711680&e.length)>>>16,(65280&e.length)>>>8,255&e.length,(4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t]},B=function(e,t){var i,n,r,a,s=e.samples||[];for(t+=20+16*s.length,t=U(s,t),(n=new Uint8Array(t.length+16*s.length)).set(t),i=t.length,a=0;a<s.length;a++)r=s[a],n[i++]=(4278190080&r.duration)>>>24,n[i++]=(16711680&r.duration)>>>16,n[i++]=(65280&r.duration)>>>8,n[i++]=255&r.duration,n[i++]=(4278190080&r.size)>>>24,n[i++]=(16711680&r.size)>>>16,n[i++]=(65280&r.size)>>>8,n[i++]=255&r.size,n[i++]=r.flags.isLeading<<2|r.flags.dependsOn,n[i++]=r.flags.isDependedOn<<6|r.flags.hasRedundancy<<4|r.flags.paddingValue<<1|r.flags.isNonSyncSample,n[i++]=61440&r.flags.degradationPriority,n[i++]=15&r.flags.degradationPriority,n[i++]=(4278190080&r.compositionTimeOffset)>>>24,n[i++]=(16711680&r.compositionTimeOffset)>>>16,n[i++]=(65280&r.compositionTimeOffset)>>>8,n[i++]=255&r.compositionTimeOffset;return u(T.trun,n)},F=function(e,t){var i,n,r,a,s=e.samples||[];for(t+=20+8*s.length,t=U(s,t),(i=new Uint8Array(t.length+8*s.length)).set(t),n=t.length,a=0;a<s.length;a++)r=s[a],i[n++]=(4278190080&r.duration)>>>24,i[n++]=(16711680&r.duration)>>>16,i[n++]=(65280&r.duration)>>>8,i[n++]=255&r.duration,i[n++]=(4278190080&r.size)>>>24,i[n++]=(16711680&r.size)>>>16,i[n++]=(65280&r.size)>>>8,i[n++]=255&r.size;return u(T.trun,i)},b=function(e,t){return(\"audio\"===e.type?F:B)(e,t)};n=function(){return u(T.ftyp,S,E,S,k)};function q(e,t){var i={size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0,isNonSyncSample:1}};return i.dataOffset=t,i.compositionTimeOffset=e.pts-e.dts,i.duration=e.duration,i.size=4*e.length,i.size+=e.byteLength,e.keyFrame&&(i.flags.dependsOn=2,i.flags.isNonSyncSample=0),i}function V(e){for(var t=[];e--;)t.push(0);return t}function W(){var e,i;return z||(e={96e3:[ee,[227,64],V(154),[56]],88200:[ee,[231],V(170),[56]],64e3:[ee,[248,192],V(240),[56]],48e3:[ee,[255,192],V(268),[55,148,128],V(54),[112]],44100:[ee,[255,192],V(268),[55,163,128],V(84),[112]],32e3:[ee,[255,192],V(268),[55,234],V(226),[112]],24e3:[ee,[255,192],V(268),[55,255,128],V(268),[111,112],V(126),[224]],16e3:[ee,[255,192],V(268),[55,255,128],V(268),[111,255],V(269),[223,108],V(195),[1,192]],12e3:[te,V(268),[3,127,248],V(268),[6,255,240],V(268),[13,255,224],V(268),[27,253,128],V(259),[56]],11025:[te,V(268),[3,127,248],V(268),[6,255,240],V(268),[13,255,224],V(268),[27,255,192],V(268),[55,175,128],V(108),[112]],8e3:[te,V(268),[3,121,16],V(47),[7]]},i=e,z=Object.keys(i).reduce(function(e,t){return e[t]=new Uint8Array(i[t].reduce(function(e,t){return e.concat(t)},[])),e},{})),z}var z,G=function(e){return u(T.mdat,e)},X=qe,K=function(e){var t=n(),i=s(e),e=new Uint8Array(t.byteLength+i.byteLength);return e.set(t),e.set(i,t.byteLength),e},Y=function(e){var t,i,n=[],r=[];for(r.byteLength=0,r.nalCount=0,r.duration=0,t=n.byteLength=0;t<e.length;t++)\"access_unit_delimiter_rbsp\"===(i=e[t]).nalUnitType?(n.length&&(n.duration=i.dts-n.dts,r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n)),(n=[i]).byteLength=i.data.byteLength,n.pts=i.pts,n.dts=i.dts):(\"slice_layer_without_partitioning_rbsp_idr\"===i.nalUnitType&&(n.keyFrame=!0),n.duration=i.dts-n.dts,n.byteLength+=i.data.byteLength,n.push(i));return r.length&&(!n.duration||n.duration<=0)&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.length,r.duration+=n.duration,r.push(n),r},Q=function(e){var t,i,n=[],r=[];for(n.byteLength=0,n.nalCount=0,n.duration=0,n.pts=e[0].pts,n.dts=e[0].dts,r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=e[0].pts,r.dts=e[0].dts,t=0;t<e.length;t++)(i=e[t]).keyFrame?(n.length&&(r.push(n),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration),(n=[i]).nalCount=i.length,n.byteLength=i.byteLength,n.pts=i.pts,n.dts=i.dts,n.duration=i.duration):(n.duration+=i.duration,n.nalCount+=i.length,n.byteLength+=i.byteLength,n.push(i));return r.length&&n.duration<=0&&(n.duration=r[r.length-1].duration),r.byteLength+=n.byteLength,r.nalCount+=n.nalCount,r.duration+=n.duration,r.push(n),r},$=function(e){var t;return!e[0][0].keyFrame&&1<e.length&&(t=e.shift(),e.byteLength-=t.byteLength,e.nalCount-=t.nalCount,e[0][0].dts=t.dts,e[0][0].pts=t.pts,e[0][0].duration+=t.duration),e},J=function(e,t){for(var i,n,r,a=t||0,s=[],o=0;o<e.length;o++)for(n=e[o],i=0;i<n.length;i++)r=n[i],a+=(r=q(r,a)).size,s.push(r);return s},Z=function(e){for(var t,i,n,r,a,s=0,o=e.byteLength,u=e.nalCount,l=new Uint8Array(o+4*u),c=new DataView(l.buffer),d=0;d<e.length;d++)for(n=e[d],t=0;t<n.length;t++)for(r=n[t],i=0;i<r.length;i++)a=r[i],c.setUint32(s,a.data.byteLength),l.set(a.data,s+=4),s+=a.data.byteLength;return l},ee=[33,16,5,32,164,27],te=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],ie=function(e){return 9e4*e},ne=function(e,t){return e*t},re=function(e){return e/9e4},ae=function(e,t){return e/t},se=9e4,oe=ie,ue=re,le=function(e,t){return ie(ae(e,t))},ce=function(e,t){return ne(re(e),t)},de=function(e,t,i){return re(i?e:e-t)},he=function(e,t,i,n){var r,a,s,o,u,l,c=0,d=0;if(t.length&&(r=le(e.baseMediaDecodeTime,e.samplerate),a=Math.ceil(se/(e.samplerate/1024)),i&&n&&(s=r-Math.max(i,n),d=(c=Math.floor(s/a))*a),!(c<1||se/2<d))){for(o=(o=W()[e.samplerate])||t[0].data,u=0;u<c;u++)l=t[0],t.splice(0,0,{data:o,dts:l.dts-a,pts:l.pts-a});return e.baseMediaDecodeTime-=Math.floor(ce(d,e.samplerate)),d}},pe=function(e,t,i){return t.minSegmentDts>=i?e:(t.minSegmentDts=1/0,e.filter(function(e){return e.dts>=i&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)}))},fe=function(e){for(var t,i=[],n=0;n<e.length;n++)t=e[n],i.push({size:t.data.byteLength,duration:1024});return i},me=function(e){for(var t,i=0,n=new Uint8Array(function(e){for(var t=0,i=0;i<e.length;i++)t+=e[i].data.byteLength;return t}(e)),r=0;r<e.length;r++)t=e[r],n.set(t.data,i),i+=t.data.byteLength;return n},ge=se,ye=function(e){delete e.minSegmentDts,delete e.maxSegmentDts,delete e.minSegmentPts,delete e.maxSegmentPts},ve=function(e,t){var i=e.minSegmentDts;return t||(i-=e.timelineStartInfo.dts),t=e.timelineStartInfo.baseMediaDecodeTime,t+=i,t=Math.max(0,t),\"audio\"===e.type&&(t*=e.samplerate/ge,t=Math.floor(t)),t},_e=function(e,t){\"number\"==typeof t.pts&&(void 0===e.timelineStartInfo.pts&&(e.timelineStartInfo.pts=t.pts),void 0===e.minSegmentPts?e.minSegmentPts=t.pts:e.minSegmentPts=Math.min(e.minSegmentPts,t.pts),void 0===e.maxSegmentPts?e.maxSegmentPts=t.pts:e.maxSegmentPts=Math.max(e.maxSegmentPts,t.pts)),\"number\"==typeof t.dts&&(void 0===e.timelineStartInfo.dts&&(e.timelineStartInfo.dts=t.dts),void 0===e.minSegmentDts?e.minSegmentDts=t.dts:e.minSegmentDts=Math.min(e.minSegmentDts,t.dts),void 0===e.maxSegmentDts?e.maxSegmentDts=t.dts:e.maxSegmentDts=Math.max(e.maxSegmentDts,t.dts))},be=function(e){for(var t=0,i={payloadType:-1,payloadSize:0},n=0,r=0;t<e.byteLength&&128!==e[t];){for(;255===e[t];)n+=255,t++;for(n+=e[t++];255===e[t];)r+=255,t++;if(r+=e[t++],!i.payload&&4===n){if(\"GA94\"===String.fromCharCode(e[t+3],e[t+4],e[t+5],e[t+6])){i.payloadType=n,i.payloadSize=r,i.payload=e.subarray(t,t+r);break}i.payload=void 0}t+=r,r=n=0}return i},Te=function(e){return 181!==e.payload[0]||49!=(e.payload[1]<<8|e.payload[2])||\"GA94\"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1)},Se=function(e,t){var i,n,r,a,s=[];if(!(64&t[0]))return s;for(n=31&t[0],i=0;i<n;i++)a={type:3&t[2+(r=3*i)],pts:e},4&t[2+r]&&(a.ccData=t[3+r]<<8|t[4+r],s.push(a));return s},Ee=function(e){for(var t=e.byteLength,i=[],n=1;n<t-2;)0===e[n]&&0===e[n+1]&&3===e[n+2]?(i.push(n+2),n+=2):n++;if(0===i.length)return e;for(var r=t-i.length,a=new Uint8Array(r),s=0,n=0;n<r;s++,n++)s===i[0]&&(s++,i.shift()),a[n]=e[s];return a},ke=4,Ce=function e(t){t=t||{},e.prototype.init.call(this),this.parse708captions_=\"boolean\"!=typeof t.parse708captions||t.parse708captions,this.captionPackets_=[],this.ccStreams_=[new Me(0,0),new Me(0,1),new Me(1,0),new Me(1,1)],this.parse708captions_&&(this.cc708Stream_=new Pe),this.reset(),this.ccStreams_.forEach(function(e){e.on(\"data\",this.trigger.bind(this,\"data\")),e.on(\"partialdone\",this.trigger.bind(this,\"partialdone\")),e.on(\"done\",this.trigger.bind(this,\"done\"))},this),this.parse708captions_&&(this.cc708Stream_.on(\"data\",this.trigger.bind(this,\"data\")),this.cc708Stream_.on(\"partialdone\",this.trigger.bind(this,\"partialdone\")),this.cc708Stream_.on(\"done\",this.trigger.bind(this,\"done\")))};(Ce.prototype=new j).push=function(e){var t,i;if(\"sei_rbsp\"===e.nalUnitType&&(t=be(e.escapedRBSP)).payload&&t.payloadType===ke&&(i=Te(t)))if(e.dts<this.latestDts_)this.ignoreNextEqualDts_=!0;else{if(e.dts===this.latestDts_&&this.ignoreNextEqualDts_)return this.numSameDts_--,void(this.numSameDts_||(this.ignoreNextEqualDts_=!1));i=Se(e.pts,i),this.captionPackets_=this.captionPackets_.concat(i),this.latestDts_!==e.dts&&(this.numSameDts_=0),this.numSameDts_++,this.latestDts_=e.dts}},Ce.prototype.flushCCStreams=function(t){this.ccStreams_.forEach(function(e){return\"flush\"===t?e.flush():e.partialFlush()},this)},Ce.prototype.flushStream=function(e){this.captionPackets_.length&&(this.captionPackets_.forEach(function(e,t){e.presortIndex=t}),this.captionPackets_.sort(function(e,t){return e.pts===t.pts?e.presortIndex-t.presortIndex:e.pts-t.pts}),this.captionPackets_.forEach(function(e){e.type<2?this.dispatchCea608Packet(e):this.dispatchCea708Packet(e)},this),this.captionPackets_.length=0),this.flushCCStreams(e)},Ce.prototype.flush=function(){return this.flushStream(\"flush\")},Ce.prototype.partialFlush=function(){return this.flushStream(\"partialFlush\")},Ce.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.numSameDts_=0,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach(function(e){e.reset()})},Ce.prototype.dispatchCea608Packet=function(e){this.setsTextOrXDSActive(e)?this.activeCea608Channel_[e.type]=null:this.setsChannel1Active(e)?this.activeCea608Channel_[e.type]=0:this.setsChannel2Active(e)&&(this.activeCea608Channel_[e.type]=1),null!==this.activeCea608Channel_[e.type]&&this.ccStreams_[(e.type<<1)+this.activeCea608Channel_[e.type]].push(e)},Ce.prototype.setsChannel1Active=function(e){return 4096==(30720&e.ccData)},Ce.prototype.setsChannel2Active=function(e){return 6144==(30720&e.ccData)},Ce.prototype.setsTextOrXDSActive=function(e){return 256==(28928&e.ccData)||4138==(30974&e.ccData)||6186==(30974&e.ccData)},Ce.prototype.dispatchCea708Packet=function(e){this.parse708captions_&&this.cc708Stream_.push(e)};function we(e){return 32<=e&&e<=127||160<=e&&e<=255}function Ie(e){this.windowNum=e,this.reset()}var xe={127:9834,4128:32,4129:160,4133:8230,4138:352,4140:338,4144:9608,4145:8216,4146:8217,4147:8220,4148:8221,4149:8226,4153:8482,4154:353,4156:339,4157:8480,4159:376,4214:8539,4215:8540,4216:8541,4217:8542,4218:9168,4219:9124,4220:9123,4221:9135,4222:9126,4223:9121,4256:12600};Ie.prototype.reset=function(){this.clearText(),this.pendingNewLine=!1,this.winAttr={},this.penAttr={},this.penLoc={},this.penColor={},this.visible=0,this.rowLock=0,this.columnLock=0,this.priority=0,this.relativePositioning=0,this.anchorVertical=0,this.anchorHorizontal=0,this.anchorPoint=0,this.rowCount=1,this.virtualRowCount=this.rowCount+1,this.columnCount=41,this.windowStyle=0,this.penStyle=0},Ie.prototype.getText=function(){return this.rows.join(\"\\n\")},Ie.prototype.clearText=function(){this.rows=[\"\"],this.rowIdx=0},Ie.prototype.newLine=function(e){for(this.rows.length>=this.virtualRowCount&&\"function\"==typeof this.beforeRowOverflow&&this.beforeRowOverflow(e),0<this.rows.length&&(this.rows.push(\"\"),this.rowIdx++);this.rows.length>this.virtualRowCount;)this.rows.shift(),this.rowIdx--},Ie.prototype.isEmpty=function(){return 0===this.rows.length||1===this.rows.length&&\"\"===this.rows[0]},Ie.prototype.addText=function(e){this.rows[this.rowIdx]+=e},Ie.prototype.backspace=function(){var e;this.isEmpty()||(e=this.rows[this.rowIdx],this.rows[this.rowIdx]=e.substr(0,e.length-1))};function Ae(e){this.serviceNum=e,this.text=\"\",this.currentWindow=new Ie(-1),this.windows=[]}Ae.prototype.init=function(e,t){this.startPts=e;for(var i=0;i<8;i++)this.windows[i]=new Ie(i),\"function\"==typeof t&&(this.windows[i].beforeRowOverflow=t)},Ae.prototype.setCurrentWindow=function(e){this.currentWindow=this.windows[e]};var Pe=function e(){e.prototype.init.call(this);var t=this;this.current708Packet=null,this.services={},this.push=function(e){(3===e.type||null===t.current708Packet)&&t.new708Packet(),t.add708Bytes(e)}};Pe.prototype=new j,Pe.prototype.new708Packet=function(){null!==this.current708Packet&&this.push708Packet(),this.current708Packet={data:[],ptsVals:[]}},Pe.prototype.add708Bytes=function(e){var t=e.ccData,i=t>>>8,t=255&t;this.current708Packet.ptsVals.push(e.pts),this.current708Packet.data.push(i),this.current708Packet.data.push(t)},Pe.prototype.push708Packet=function(){var e,t=this.current708Packet,i=t.data,n=null,r=0,a=i[r++];for(t.seq=a>>6,t.sizeCode=63&a;r<i.length;r++)e=31&(a=i[r++]),7===(n=a>>5)&&0<e&&(n=i[r++]),this.pushServiceBlock(n,r,e),0<e&&(r+=e-1)},Pe.prototype.pushServiceBlock=function(e,t,i){for(var n,r=t,a=this.current708Packet.data,s=(s=this.services[e])||this.initService(e,r);r<t+i&&r<a.length;r++)n=a[r],we(n)?r=this.handleText(r,s):16===n?r=this.extendedCommands(r,s):128<=n&&n<=135?r=this.setCurrentWindow(r,s):152<=n&&n<=159?r=this.defineWindow(r,s):136===n?r=this.clearWindows(r,s):140===n?r=this.deleteWindows(r,s):137===n?r=this.displayWindows(r,s):138===n?r=this.hideWindows(r,s):139===n?r=this.toggleWindows(r,s):151===n?r=this.setWindowAttributes(r,s):144===n?r=this.setPenAttributes(r,s):145===n?r=this.setPenColor(r,s):146===n?r=this.setPenLocation(r,s):143===n?s=this.reset(r,s):8===n?s.currentWindow.backspace():12===n?s.currentWindow.clearText():13===n?s.currentWindow.pendingNewLine=!0:14===n?s.currentWindow.clearText():141===n&&r++},Pe.prototype.extendedCommands=function(e,t){var i=this.current708Packet.data[++e];return e=we(i)?this.handleText(e,t,!0):e},Pe.prototype.getPts=function(e){return this.current708Packet.ptsVals[Math.floor(e/2)]},Pe.prototype.initService=function(t,e){var i=this;return this.services[t]=new Ae(t),this.services[t].init(this.getPts(e),function(e){i.flushDisplayed(e,i.services[t])}),this.services[t]},Pe.prototype.handleText=function(e,t,i){var n=this.current708Packet.data[e],n=(n=xe[i=(i?4096:0)|n]||i,4096&i&&i===n?\"\":String.fromCharCode(n)),t=t.currentWindow;return t.pendingNewLine&&!t.isEmpty()&&t.newLine(this.getPts(e)),t.pendingNewLine=!1,t.addText(n),e},Pe.prototype.setCurrentWindow=function(e,t){var i=this.current708Packet.data[e];return t.setCurrentWindow(7&i),e},Pe.prototype.defineWindow=function(e,t){var i=this.current708Packet.data,n=i[e];t.setCurrentWindow(7&n);t=t.currentWindow,n=i[++e];return t.visible=(32&n)>>5,t.rowLock=(16&n)>>4,t.columnLock=(8&n)>>3,t.priority=7&n,n=i[++e],t.relativePositioning=(128&n)>>7,t.anchorVertical=127&n,n=i[++e],t.anchorHorizontal=n,n=i[++e],t.anchorPoint=(240&n)>>4,t.rowCount=15&n,n=i[++e],t.columnCount=63&n,n=i[++e],t.windowStyle=(56&n)>>3,t.penStyle=7&n,t.virtualRowCount=t.rowCount+1,e},Pe.prototype.setWindowAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],t=t.currentWindow.winAttr,n=i[++e];return t.fillOpacity=(192&n)>>6,t.fillRed=(48&n)>>4,t.fillGreen=(12&n)>>2,t.fillBlue=3&n,n=i[++e],t.borderType=(192&n)>>6,t.borderRed=(48&n)>>4,t.borderGreen=(12&n)>>2,t.borderBlue=3&n,n=i[++e],t.borderType+=(128&n)>>5,t.wordWrap=(64&n)>>6,t.printDirection=(48&n)>>4,t.scrollDirection=(12&n)>>2,t.justify=3&n,n=i[++e],t.effectSpeed=(240&n)>>4,t.effectDirection=(12&n)>>2,t.displayEffect=3&n,e},Pe.prototype.flushDisplayed=function(e,t){for(var i=[],n=0;n<8;n++)t.windows[n].visible&&!t.windows[n].isEmpty()&&i.push(t.windows[n].getText());t.endPts=e,t.text=i.join(\"\\n\\n\"),this.pushCaption(t),t.startPts=e},Pe.prototype.pushCaption=function(e){\"\"!==e.text&&(this.trigger(\"data\",{startPts:e.startPts,endPts:e.endPts,text:e.text,stream:\"cc708_\"+e.serviceNum}),e.text=\"\",e.startPts=e.endPts)},Pe.prototype.displayWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible=1);return e},Pe.prototype.hideWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible=0);return e},Pe.prototype.toggleWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&(t.windows[r].visible^=1);return e},Pe.prototype.clearWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&t.windows[r].clearText();return e},Pe.prototype.deleteWindows=function(e,t){var i=this.current708Packet.data[++e],n=this.getPts(e);this.flushDisplayed(n,t);for(var r=0;r<8;r++)i&1<<r&&t.windows[r].reset();return e},Pe.prototype.setPenAttributes=function(e,t){var i=this.current708Packet.data,n=i[e],t=t.currentWindow.penAttr,n=i[++e];return t.textTag=(240&n)>>4,t.offset=(12&n)>>2,t.penSize=3&n,n=i[++e],t.italics=(128&n)>>7,t.underline=(64&n)>>6,t.edgeType=(56&n)>>3,t.fontStyle=7&n,e},Pe.prototype.setPenColor=function(e,t){var i=this.current708Packet.data,n=i[e],t=t.currentWindow.penColor,n=i[++e];return t.fgOpacity=(192&n)>>6,t.fgRed=(48&n)>>4,t.fgGreen=(12&n)>>2,t.fgBlue=3&n,n=i[++e],t.bgOpacity=(192&n)>>6,t.bgRed=(48&n)>>4,t.bgGreen=(12&n)>>2,t.bgBlue=3&n,n=i[++e],t.edgeRed=(48&n)>>4,t.edgeGreen=(12&n)>>2,t.edgeBlue=3&n,e},Pe.prototype.setPenLocation=function(e,t){var i=this.current708Packet.data,n=i[e],r=t.currentWindow.penLoc;return t.currentWindow.pendingNewLine=!0,n=i[++e],r.row=15&n,n=i[++e],r.column=63&n,e},Pe.prototype.reset=function(e,t){var i=this.getPts(e);return this.flushDisplayed(i,t),this.initService(t.serviceNum,e)};function Le(e){return null===e?\"\":(e=Oe[e]||e,String.fromCharCode(e))}function De(){for(var e=[],t=15;t--;)e.push(\"\");return e}var Oe={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},Re=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],Me=function e(t,i){e.prototype.init.call(this),this.field_=t||0,this.dataChannel_=i||0,this.name_=\"CC\"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(e){var t,i,n,r,a=32639&e.ccData;a!==this.lastControlCode_?(4096==(61440&a)?this.lastControlCode_=a:a!==this.PADDING_&&(this.lastControlCode_=null),t=a>>>8,i=255&a,a===this.PADDING_||(a===this.RESUME_CAPTION_LOADING_?this.mode_=\"popOn\":a===this.END_OF_CAPTION_?(this.mode_=\"popOn\",this.clearFormatting(e.pts),this.flushDisplayed(e.pts),r=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=r,this.startPts_=e.pts):a===this.ROLL_UP_2_ROWS_?(this.rollUpRows_=2,this.setRollUp(e.pts)):a===this.ROLL_UP_3_ROWS_?(this.rollUpRows_=3,this.setRollUp(e.pts)):a===this.ROLL_UP_4_ROWS_?(this.rollUpRows_=4,this.setRollUp(e.pts)):a===this.CARRIAGE_RETURN_?(this.clearFormatting(e.pts),this.flushDisplayed(e.pts),this.shiftRowsUp_(),this.startPts_=e.pts):a===this.BACKSPACE_?\"popOn\"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1):a===this.ERASE_DISPLAYED_MEMORY_?(this.flushDisplayed(e.pts),this.displayed_=De()):a===this.ERASE_NON_DISPLAYED_MEMORY_?this.nonDisplayed_=De():a===this.RESUME_DIRECT_CAPTIONING_?(\"paintOn\"!==this.mode_&&(this.flushDisplayed(e.pts),this.displayed_=De()),this.mode_=\"paintOn\",this.startPts_=e.pts):this.isSpecialCharacter(t,i)?(n=Le((t=(3&t)<<8)|i),this[this.mode_](e.pts,n),this.column_++):this.isExtCharacter(t,i)?(\"popOn\"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[this.row_]=this.displayed_[this.row_].slice(0,-1),n=Le((t=(3&t)<<8)|i),this[this.mode_](e.pts,n),this.column_++):this.isMidRowCode(t,i)?(this.clearFormatting(e.pts),this[this.mode_](e.pts,\" \"),this.column_++,14==(14&i)&&this.addFormatting(e.pts,[\"i\"]),1==(1&i)&&this.addFormatting(e.pts,[\"u\"])):this.isOffsetControlCode(t,i)?this.column_+=3&i:this.isPAC(t,i)?(r=Re.indexOf(7968&a),\"rollUp\"===this.mode_&&(r-this.rollUpRows_+1<0&&(r=this.rollUpRows_-1),this.setRollUp(e.pts,r)),r!==this.row_&&(this.clearFormatting(e.pts),this.row_=r),1&i&&-1===this.formatting_.indexOf(\"u\")&&this.addFormatting(e.pts,[\"u\"]),16==(16&a)&&(this.column_=4*((14&a)>>1)),this.isColorPAC(i)&&14==(14&i)&&this.addFormatting(e.pts,[\"i\"])):this.isNormalChar(t)&&(0===i&&(i=null),n=Le(t),n+=Le(i),this[this.mode_](e.pts,n),this.column_+=n.length))):this.lastControlCode_=null}};Me.prototype=new j,Me.prototype.flushDisplayed=function(e){var t=this.displayed_.map(function(e,t){try{return e.trim()}catch(e){return this.trigger(\"log\",{level:\"warn\",message:\"Skipping a malformed 608 caption at index \"+t+\".\"}),\"\"}},this).join(\"\\n\").replace(/^\\n+|\\n+$/g,\"\");t.length&&this.trigger(\"data\",{startPts:this.startPts_,endPts:e,text:t,stream:this.name_})},Me.prototype.reset=function(){this.mode_=\"popOn\",this.topRow_=0,this.startPts_=0,this.displayed_=De(),this.nonDisplayed_=De(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.rollUpRows_=2,this.formatting_=[]},Me.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},Me.prototype.isSpecialCharacter=function(e,t){return e===this.EXT_&&48<=t&&t<=63},Me.prototype.isExtCharacter=function(e,t){return(e===this.EXT_+1||e===this.EXT_+2)&&32<=t&&t<=63},Me.prototype.isMidRowCode=function(e,t){return e===this.EXT_&&32<=t&&t<=47},Me.prototype.isOffsetControlCode=function(e,t){return e===this.OFFSET_&&33<=t&&t<=35},Me.prototype.isPAC=function(e,t){return e>=this.BASE_&&e<this.BASE_+8&&64<=t&&t<=127},Me.prototype.isColorPAC=function(e){return 64<=e&&e<=79||96<=e&&e<=127},Me.prototype.isNormalChar=function(e){return 32<=e&&e<=127},Me.prototype.setRollUp=function(e,t){if(\"rollUp\"!==this.mode_&&(this.row_=14,this.mode_=\"rollUp\",this.flushDisplayed(e),this.nonDisplayed_=De(),this.displayed_=De()),void 0!==t&&t!==this.row_)for(var i=0;i<this.rollUpRows_;i++)this.displayed_[t-i]=this.displayed_[this.row_-i],this.displayed_[this.row_-i]=\"\";void 0===t&&(t=this.row_),this.topRow_=t-this.rollUpRows_+1},Me.prototype.addFormatting=function(e,t){this.formatting_=this.formatting_.concat(t);t=t.reduce(function(e,t){return e+\"<\"+t+\">\"},\"\");this[this.mode_](e,t)},Me.prototype.clearFormatting=function(e){var t;this.formatting_.length&&(t=this.formatting_.reverse().reduce(function(e,t){return e+\"</\"+t+\">\"},\"\"),this.formatting_=[],this[this.mode_](e,t))},Me.prototype.popOn=function(e,t){var i=this.nonDisplayed_[this.row_];this.nonDisplayed_[this.row_]=i+=t},Me.prototype.rollUp=function(e,t){var i=this.displayed_[this.row_];this.displayed_[this.row_]=i+=t},Me.prototype.shiftRowsUp_=function(){for(var e=0;e<this.topRow_;e++)this.displayed_[e]=\"\";for(e=this.row_+1;e<15;e++)this.displayed_[e]=\"\";for(e=this.topRow_;e<this.row_;e++)this.displayed_[e]=this.displayed_[e+1];this.displayed_[this.row_]=\"\"},Me.prototype.paintOn=function(e,t){var i=this.displayed_[this.row_];this.displayed_[this.row_]=i+=t};function Ne(e,t){var i=1;for(t<e&&(i=-1);4294967296<Math.abs(t-e);)e+=8589934592*i;return e}var Ue={CaptionStream:Ce,Cea608Stream:Me,Cea708Stream:Pe},Be={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21},e=function e(t){var i,n;e.prototype.init.call(this),this.type_=t||\"shared\",this.push=function(e){\"shared\"!==this.type_&&e.type!==this.type_||(void 0===n&&(n=e.dts),e.dts=Ne(e.dts,n),e.pts=Ne(e.pts,n),i=e.dts,this.trigger(\"data\",e))},this.flush=function(){n=i,this.trigger(\"done\")},this.endTimeline=function(){this.flush(),this.trigger(\"endedtimeline\")},this.discontinuity=function(){i=n=void 0},this.reset=function(){this.discontinuity(),this.trigger(\"reset\")}};e.prototype=new j;function Fe(e,t,i){for(var n=\"\",r=t;r<i;r++)n+=\"%\"+(\"00\"+e[r].toString(16)).slice(-2);return n}function je(e,t,i){return decodeURIComponent(Fe(e,t,i))}function He(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]}var qe=e,Ce=Ne,Ve={TXXX:function(e){var t;if(3===e.data[0]){for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=je(e.data,1,t),e.value=je(e.data,t+1,e.data.length).replace(/\\0*$/,\"\");break}e.data=e.value}},WXXX:function(e){var t;if(3===e.data[0])for(t=1;t<e.data.length;t++)if(0===e.data[t]){e.description=je(e.data,1,t),e.url=je(e.data,t+1,e.data.length);break}},PRIV:function(e){for(var t,i=0;i<e.data.length;i++)if(0===e.data[i]){e.owner=(t=e.data,unescape(Fe(t,0,i)));break}e.privateData=e.data.subarray(i+1),e.data=e.privateData}},We=function(e){var t,i={descriptor:e&&e.descriptor},u=0,l=[],c=0;if(We.prototype.init.call(this),this.dispatchType=Be.METADATA_STREAM_TYPE.toString(16),i.descriptor)for(t=0;t<i.descriptor.length;t++)this.dispatchType+=(\"00\"+i.descriptor[t].toString(16)).slice(-2);this.push=function(e){var t,i,n,r,a,s,o;if(\"timed-metadata\"===e.type)if(e.dataAlignmentIndicator&&(c=0,l.length=0),0===l.length&&(e.data.length<10||e.data[0]!==\"I\".charCodeAt(0)||e.data[1]!==\"D\".charCodeAt(0)||e.data[2]!==\"3\".charCodeAt(0)))this.trigger(\"log\",{level:\"warn\",message:\"Skipping unrecognized metadata packet\"});else if(l.push(e),c+=e.data.byteLength,1===l.length&&(u=He(e.data.subarray(6,10)),u+=10),!(c<u)){for(t={data:new Uint8Array(u),frames:[],pts:l[0].pts,dts:l[0].dts},r=0;r<u;)t.data.set(l[0].data.subarray(0,u-r),r),r+=l[0].data.byteLength,c-=l[0].data.byteLength,l.shift();i=10,64&t.data[5]&&(i+=4,i+=He(t.data.subarray(10,14)),u-=He(t.data.subarray(16,20)));do{if((n=He(t.data.subarray(i+4,i+8)))<1)return void this.trigger(\"log\",{level:\"warn\",message:\"Malformed ID3 frame encountered. Skipping metadata parsing.\"})}while((o={id:String.fromCharCode(t.data[i],t.data[i+1],t.data[i+2],t.data[i+3]),data:t.data.subarray(i+10,i+n+10)}).key=o.id,Ve[o.id]&&(Ve[o.id](o),\"com.apple.streaming.transportStreamTimestamp\"===o.owner&&(s=(1&(a=o.data)[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2,s*=4,s+=3&a[7],o.timeStamp=s,void 0===t.pts&&void 0===t.dts&&(t.pts=o.timeStamp,t.dts=o.timeStamp),this.trigger(\"timestamp\",o))),t.frames.push(o),i+=10,(i+=n)<u);this.trigger(\"data\",t)}}};We.prototype=new j;var ze,Ge,e=We,qe=qe,Xe=function(){var r=new Uint8Array(188),a=0;Xe.prototype.init.call(this),this.push=function(e){var t,i=0,n=188;for(a?((t=new Uint8Array(e.byteLength+a)).set(r.subarray(0,a)),t.set(e,a),a=0):t=e;n<t.byteLength;)71!==t[i]||71!==t[n]?(i++,n++):(this.trigger(\"data\",t.subarray(i,n)),i+=188,n+=188);i<t.byteLength&&(r.set(t.subarray(i),0),a=t.byteLength-i)},this.flush=function(){188===a&&71===r[0]&&(this.trigger(\"data\",r),a=0),this.trigger(\"done\")},this.endTimeline=function(){this.flush(),this.trigger(\"endedtimeline\")},this.reset=function(){a=0,this.trigger(\"reset\")}};Xe.prototype=new j,(ze=function(){var n,r,a,s;ze.prototype.init.call(this),(s=this).packetsWaitingForPmt=[],this.programMapTable=void 0,n=function(e,t){var i=0;t.payloadUnitStartIndicator&&(i+=e[i]+1),(\"pat\"===t.type?r:a)(e.subarray(i),t)},r=function(e,t){t.section_number=e[7],t.last_section_number=e[8],s.pmtPid=(31&e[10])<<8|e[11],t.pmtPid=s.pmtPid},a=function(e,t){var i,n;if(1&e[5]){for(s.programMapTable={video:null,audio:null,\"timed-metadata\":{}},i=3+((15&e[1])<<8|e[2])-4,n=12+((15&e[10])<<8|e[11]);n<i;){var r=e[n],a=(31&e[n+1])<<8|e[n+2];r===Be.H264_STREAM_TYPE&&null===s.programMapTable.video?s.programMapTable.video=a:r===Be.ADTS_STREAM_TYPE&&null===s.programMapTable.audio?s.programMapTable.audio=a:r===Be.METADATA_STREAM_TYPE&&(s.programMapTable[\"timed-metadata\"][a]=r),n+=5+((15&e[n+3])<<8|e[n+4])}t.programMapTable=s.programMapTable}},this.push=function(e){var t={},i=4;if(t.payloadUnitStartIndicator=!!(64&e[1]),t.pid=31&e[1],t.pid<<=8,t.pid|=e[2],1<(48&e[3])>>>4&&(i+=e[i]+1),0===t.pid)t.type=\"pat\",n(e.subarray(i),t),this.trigger(\"data\",t);else if(t.pid===this.pmtPid)for(t.type=\"pmt\",n(e.subarray(i),t),this.trigger(\"data\",t);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([e,i,t]):this.processPes_(e,i,t)},this.processPes_=function(e,t,i){i.pid===this.programMapTable.video?i.streamType=Be.H264_STREAM_TYPE:i.pid===this.programMapTable.audio?i.streamType=Be.ADTS_STREAM_TYPE:i.streamType=this.programMapTable[\"timed-metadata\"][i.pid],i.type=\"pes\",i.data=e.subarray(t),this.trigger(\"data\",i)}}).prototype=new j,ze.STREAM_TYPES={h264:27,adts:15},(Ge=function(){function n(e,t,i){var n,r,a,s,o=new Uint8Array(e.size),u={type:t},l=0,c=0;if(e.data.length&&!(e.size<9)){for(u.trackId=e.data[0].pid,l=0;l<e.data.length;l++)n=e.data[l],o.set(n.data,c),c+=n.data.byteLength;a=u,s=(r=o)[0]<<16|r[1]<<8|r[2],a.data=new Uint8Array,1==s&&(a.packetLength=6+(r[4]<<8|r[5]),a.dataAlignmentIndicator=0!=(4&r[6]),192&(s=r[7])&&(a.pts=(14&r[9])<<27|(255&r[10])<<20|(254&r[11])<<12|(255&r[12])<<5|(254&r[13])>>>3,a.pts*=4,a.pts+=(6&r[13])>>>1,a.dts=a.pts,64&s&&(a.dts=(14&r[14])<<27|(255&r[15])<<20|(254&r[16])<<12|(255&r[17])<<5|(254&r[18])>>>3,a.dts*=4,a.dts+=(6&r[18])>>>1)),a.data=r.subarray(9+r[8])),t=\"video\"===t||u.packetLength<=e.size,(i||t)&&(e.size=0,e.data.length=0),t&&d.trigger(\"data\",u)}}var t,d=this,r=!1,a={data:[],size:0},s={data:[],size:0},o={data:[],size:0};Ge.prototype.init.call(this),this.push=function(i){({pat:function(){},pes:function(){var e,t;switch(i.streamType){case Be.H264_STREAM_TYPE:e=a,t=\"video\";break;case Be.ADTS_STREAM_TYPE:e=s,t=\"audio\";break;case Be.METADATA_STREAM_TYPE:e=o,t=\"timed-metadata\";break;default:return}i.payloadUnitStartIndicator&&n(e,t,!0),e.data.push(i),e.size+=i.data.byteLength},pmt:function(){var e={type:\"metadata\",tracks:[]};null!==(t=i.programMapTable).video&&e.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.video,codec:\"avc\",type:\"video\"}),null!==t.audio&&e.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.audio,codec:\"adts\",type:\"audio\"}),r=!0,d.trigger(\"data\",e)}})[i.type]()},this.reset=function(){a.size=0,a.data.length=0,s.size=0,s.data.length=0,this.trigger(\"reset\")},this.flushStreams_=function(){n(a,\"video\"),n(s,\"audio\"),n(o,\"timed-metadata\")},this.flush=function(){var e;!r&&t&&(e={type:\"metadata\",tracks:[]},null!==t.video&&e.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.video,codec:\"avc\",type:\"video\"}),null!==t.audio&&e.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+t.audio,codec:\"adts\",type:\"audio\"}),d.trigger(\"data\",e)),r=!1,this.flushStreams_(),this.trigger(\"done\")}}).prototype=new j;var Ke,Ye={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:Xe,TransportParseStream:ze,ElementaryStream:Ge,TimestampRolloverStream:qe,CaptionStream:Ue.CaptionStream,Cea608Stream:Ue.Cea608Stream,Cea708Stream:Ue.Cea708Stream,MetadataStream:e};for(Ke in Be)Be.hasOwnProperty(Ke)&&(Ye[Ke]=Be[Ke]);var Qe=Ye,$e=se,Je=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],Ze=function(u){var l,c=0;Ze.prototype.init.call(this),this.skipWarn_=function(e,t){this.trigger(\"log\",{level:\"warn\",message:\"adts skiping bytes \"+e+\" to \"+t+\" in frame \"+c+\" outside syncword\"})},this.push=function(e){var t,i,n,r,a,s,o=0;if(u||(c=0),\"audio\"===e.type){for(l&&l.length?(n=l,(l=new Uint8Array(n.byteLength+e.data.byteLength)).set(n),l.set(e.data,n.byteLength)):l=e.data;o+7<l.length;)if(255===l[o]&&240==(246&l[o+1])){if(\"number\"==typeof s&&(this.skipWarn_(s,o),s=null),i=2*(1&~l[o+1]),t=(3&l[o+3])<<11|l[o+4]<<3|(224&l[o+5])>>5,a=(r=1024*(1+(3&l[o+6])))*$e/Je[(60&l[o+2])>>>2],l.byteLength-o<t)break;this.trigger(\"data\",{pts:e.pts+c*a,dts:e.dts+c*a,sampleCount:r,audioobjecttype:1+(l[o+2]>>>6&3),channelcount:(1&l[o+2])<<2|(192&l[o+3])>>>6,samplerate:Je[(60&l[o+2])>>>2],samplingfrequencyindex:(60&l[o+2])>>>2,samplesize:16,data:l.subarray(o+7+i,o+t)}),c++,o+=t}else\"number\"!=typeof s&&(s=o),o++;\"number\"==typeof s&&(this.skipWarn_(s,o),s=null),l=l.subarray(o)}},this.flush=function(){c=0,this.trigger(\"done\")},this.reset=function(){l=void 0,this.trigger(\"reset\")},this.endTimeline=function(){l=void 0,this.trigger(\"endedtimeline\")}};Ze.prototype=new j;var et,tt,it=Ze,nt=function(n){var r=n.byteLength,a=0,s=0;this.length=function(){return 8*r},this.bitsAvailable=function(){return 8*r+s},this.loadWord=function(){var e=n.byteLength-r,t=new Uint8Array(4),i=Math.min(4,r);if(0===i)throw new Error(\"no bytes available\");t.set(n.subarray(e,e+i)),a=new DataView(t.buffer).getUint32(0),s=8*i,r-=i},this.skipBits=function(e){var t;e<s||(e-=s,e-=8*(t=Math.floor(e/8)),r-=t,this.loadWord()),a<<=e,s-=e},this.readBits=function(e){var t=Math.min(s,e),i=a>>>32-t;return 0<(s-=t)?a<<=t:0<r&&this.loadWord(),0<(t=e-t)?i<<t|this.readBits(t):i},this.skipLeadingZeros=function(){for(var e=0;e<s;++e)if(0!=(a&2147483648>>>e))return a<<=e,s-=e,e;return this.loadWord(),e+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var e=this.skipLeadingZeros();return this.readBits(e+1)-1},this.readExpGolomb=function(){var e=this.readUnsignedExpGolomb();return 1&e?1+e>>>1:-1*(e>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()},rt=function(){var n,r,a=0;rt.prototype.init.call(this),this.push=function(e){for(var t,i=(r=r?((t=new Uint8Array(r.byteLength+e.data.byteLength)).set(r),t.set(e.data,r.byteLength),t):e.data).byteLength;a<i-3;a++)if(1===r[a+2]){n=a+5;break}for(;n<i;)switch(r[n]){case 0:if(0!==r[n-1]){n+=2;break}if(0!==r[n-2]){n++;break}for(a+3!==n-2&&this.trigger(\"data\",r.subarray(a+3,n-2));1!==r[++n]&&n<i;);a=n-2,n+=3;break;case 1:if(0!==r[n-1]||0!==r[n-2]){n+=3;break}this.trigger(\"data\",r.subarray(a+3,n-2)),a=n-2,n+=3;break;default:n+=3}r=r.subarray(a),n-=a,a=0},this.reset=function(){r=null,a=0,this.trigger(\"reset\")},this.flush=function(){r&&3<r.byteLength&&this.trigger(\"data\",r.subarray(a+3)),r=null,a=0,this.trigger(\"done\")},this.endTimeline=function(){this.flush(),this.trigger(\"endedtimeline\")}};rt.prototype=new j,tt={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(et=function(){var i,n,r,a,s,o,m,t=new rt;et.prototype.init.call(this),(i=this).push=function(e){\"video\"===e.type&&(n=e.trackId,r=e.pts,a=e.dts,t.push(e))},t.on(\"data\",function(e){var t={trackId:n,pts:r,dts:a,data:e,nalUnitTypeCode:31&e[0]};switch(t.nalUnitTypeCode){case 5:t.nalUnitType=\"slice_layer_without_partitioning_rbsp_idr\";break;case 6:t.nalUnitType=\"sei_rbsp\",t.escapedRBSP=s(e.subarray(1));break;case 7:t.nalUnitType=\"seq_parameter_set_rbsp\",t.escapedRBSP=s(e.subarray(1)),t.config=o(t.escapedRBSP);break;case 8:t.nalUnitType=\"pic_parameter_set_rbsp\";break;case 9:t.nalUnitType=\"access_unit_delimiter_rbsp\"}i.trigger(\"data\",t)}),t.on(\"done\",function(){i.trigger(\"done\")}),t.on(\"partialdone\",function(){i.trigger(\"partialdone\")}),t.on(\"reset\",function(){i.trigger(\"reset\")}),t.on(\"endedtimeline\",function(){i.trigger(\"endedtimeline\")}),this.flush=function(){t.flush()},this.partialFlush=function(){t.partialFlush()},this.reset=function(){t.reset()},this.endTimeline=function(){t.endTimeline()},m=function(e,t){for(var i=8,n=8,r=0;r<e;r++)i=0===(n=0!==n?(i+t.readExpGolomb()+256)%256:n)?i:n},s=function(e){for(var t=e.byteLength,i=[],n=1;n<t-2;)0===e[n]&&0===e[n+1]&&3===e[n+2]?(i.push(n+2),n+=2):n++;if(0===i.length)return e;for(var r=t-i.length,a=new Uint8Array(r),s=0,n=0;n<r;s++,n++)s===i[0]&&(s++,i.shift()),a[n]=e[s];return a},o=function(e){var t,i,n,r,a,s=0,o=0,u=0,l=0,c=[1,1],d=new nt(e),h=d.readUnsignedByte(),p=d.readUnsignedByte(),f=d.readUnsignedByte();if(d.skipUnsignedExpGolomb(),tt[h]&&(3===(i=d.readUnsignedExpGolomb())&&d.skipBits(1),d.skipUnsignedExpGolomb(),d.skipUnsignedExpGolomb(),d.skipBits(1),d.readBoolean()))for(r=3!==i?8:12,a=0;a<r;a++)d.readBoolean()&&m(a<6?16:64,d);if(d.skipUnsignedExpGolomb(),0===(n=d.readUnsignedExpGolomb()))d.readUnsignedExpGolomb();else if(1===n)for(d.skipBits(1),d.skipExpGolomb(),d.skipExpGolomb(),t=d.readUnsignedExpGolomb(),a=0;a<t;a++)d.skipExpGolomb();if(d.skipUnsignedExpGolomb(),d.skipBits(1),e=d.readUnsignedExpGolomb(),i=d.readUnsignedExpGolomb(),0===(n=d.readBits(1))&&d.skipBits(1),d.skipBits(1),d.readBoolean()&&(s=d.readUnsignedExpGolomb(),o=d.readUnsignedExpGolomb(),u=d.readUnsignedExpGolomb(),l=d.readUnsignedExpGolomb()),d.readBoolean()&&d.readBoolean()){switch(d.readUnsignedByte()){case 1:c=[1,1];break;case 2:c=[12,11];break;case 3:c=[10,11];break;case 4:c=[16,11];break;case 5:c=[40,33];break;case 6:c=[24,11];break;case 7:c=[20,11];break;case 8:c=[32,11];break;case 9:c=[80,33];break;case 10:c=[18,11];break;case 11:c=[15,11];break;case 12:c=[64,33];break;case 13:c=[160,99];break;case 14:c=[4,3];break;case 15:c=[3,2];break;case 16:c=[2,1];break;case 255:c=[d.readUnsignedByte()<<8|d.readUnsignedByte(),d.readUnsignedByte()<<8|d.readUnsignedByte()]}c&&(c[0],c[1])}return{profileIdc:h,levelIdc:f,profileCompatibility:p,width:16*(e+1)-2*s-2*o,height:(2-n)*(i+1)*16-2*u-2*l,sarRatio:c}}}).prototype=new j;function at(e,t){var i=0<=(i=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9])?i:0;return(16&e[t+5])>>4?i+20:i+10}function st(e,t){return e.length-t<10||e[t]!==\"I\".charCodeAt(0)||e[t+1]!==\"D\".charCodeAt(0)||e[t+2]!==\"3\".charCodeAt(0)?t:st(e,t+=at(e,t))}function ot(e){return e[0]<<21|e[1]<<14|e[2]<<7|e[3]}var qe={H264Stream:et,NalByteStream:rt},ut=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],lt={isLikelyAacData:function(e){var t=st(e,0);return e.length>=t+2&&255==(255&e[t])&&240==(240&e[t+1])&&16==(22&e[t+1])},parseId3TagSize:at,parseAdtsSize:function(e,t){var i=(224&e[t+5])>>5,n=e[t+4]<<3;return 6144&e[t+3]|n|i},parseType:function(e,t){return e[t]===\"I\".charCodeAt(0)&&e[t+1]===\"D\".charCodeAt(0)&&e[t+2]===\"3\".charCodeAt(0)?\"timed-metadata\":!0&e[t]&&240==(240&e[t+1])?\"audio\":null},parseSampleRate:function(e){for(var t=0;t+5<e.length;){if(255===e[t]&&240==(246&e[t+1]))return ut[(60&e[t+2])>>>2];t++}return null},parseAacTimestamp:function(e){var t,i=10;64&e[5]&&(i+=4,i+=ot(e.subarray(10,14)));do{if((t=ot(e.subarray(i+4,i+8)))<1)return null;if(\"PRIV\"===String.fromCharCode(e[i],e[i+1],e[i+2],e[i+3]))for(var n=e.subarray(i+10,i+t+10),r=0;r<n.byteLength;r++)if(0===n[r]){if(\"com.apple.streaming.transportStreamTimestamp\"!==unescape(function(e,t,i){for(var n=\"\",r=t;r<i;r++)n+=\"%\"+(\"00\"+e[r].toString(16)).slice(-2);return n}(n,0,r)))break;var a=n.subarray(r+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+=3&a[7]}}while(i+=10,(i+=t)<e.byteLength);return null}},ct=function(){var a=new Uint8Array,s=0;ct.prototype.init.call(this),this.setTimestamp=function(e){s=e},this.push=function(e){var t,i,n=0,r=0;for(a.length?(i=a.length,(a=new Uint8Array(e.byteLength+i)).set(a.subarray(0,i)),a.set(e,i)):a=e;3<=a.length-r;)if(a[r]!==\"I\".charCodeAt(0)||a[r+1]!==\"D\".charCodeAt(0)||a[r+2]!==\"3\".charCodeAt(0))if(255!=(255&a[r])||240!=(240&a[r+1]))r++;else{if(a.length-r<7)break;if(r+(n=lt.parseAdtsSize(a,r))>a.length)break;t={type:\"audio\",data:a.subarray(r,r+n),pts:s,dts:s},this.trigger(\"data\",t),r+=n}else{if(a.length-r<10)break;if(r+(n=lt.parseId3TagSize(a,r))>a.length)break;t={type:\"timed-metadata\",data:a.subarray(r,r+n)},this.trigger(\"data\",t),r+=n}e=a.length-r,a=0<e?a.subarray(r):new Uint8Array},this.reset=function(){a=new Uint8Array,this.trigger(\"reset\")},this.endTimeline=function(){a=new Uint8Array,this.trigger(\"endedtimeline\")}};ct.prototype=new j;function dt(e,t){var i;if(e.length===t.length){for(i=0;i<e.length;i++)if(e[i]!==t[i])return;return 1}}function ht(e,t,i,n,r,a){return{start:{dts:e,pts:e+(i-t)},end:{dts:e+(n-t),pts:e+(r-i)},prependedContentDuration:a,baseMediaDecodeTime:e}}var pt,ft,mt,gt=ct,yt=[\"audioobjecttype\",\"channelcount\",\"samplerate\",\"samplingfrequencyindex\",\"samplesize\"],vt=[\"width\",\"height\",\"profileIdc\",\"levelIdc\",\"profileCompatibility\",\"sarRatio\"],_t=qe.H264Stream,bt=lt.isLikelyAacData,Tt=se,St=function(a,s){var o=[],u=0,l=0,c=0,d=1/0;s=s||{},St.prototype.init.call(this),this.push=function(t){_e(a,t),a&&yt.forEach(function(e){a[e]=t[e]}),o.push(t)},this.setEarliestDts=function(e){l=e},this.setVideoBaseMediaDecodeTime=function(e){d=e},this.setAudioAppendStart=function(e){c=e},this.flush=function(){var e,t,i,n,r;0!==o.length&&(e=pe(o,a,l),a.baseMediaDecodeTime=ve(a,s.keepOriginalTimestamps),r=he(a,e,c,d),a.samples=fe(e),t=G(me(e)),o=[],n=X(u,[a]),i=new Uint8Array(n.byteLength+t.byteLength),u++,i.set(n),i.set(t,n.byteLength),ye(a),n=Math.ceil(1024*Tt/a.samplerate),e.length&&(n=e.length*n,this.trigger(\"segmentTimingInfo\",ht(le(a.baseMediaDecodeTime,a.samplerate),e[0].dts,e[0].pts,e[0].dts+n,e[0].pts+n,r||0)),this.trigger(\"timingInfo\",{start:e[0].pts,end:e[0].pts+n})),this.trigger(\"data\",{track:a,boxes:i})),this.trigger(\"done\",\"AudioSegmentStream\")},this.reset=function(){ye(a),o=[],this.trigger(\"reset\")}};St.prototype=new j,(pt=function(s,a){var t,i,o=0,u=[],l=[];a=a||{},pt.prototype.init.call(this),delete s.minPTS,this.gopCache_=[],this.push=function(e){_e(s,e),\"seq_parameter_set_rbsp\"!==e.nalUnitType||t||(t=e.config,s.sps=[e.data],vt.forEach(function(e){s[e]=t[e]},this)),\"pic_parameter_set_rbsp\"!==e.nalUnitType||i||(i=e.data,s.pps=[e.data]),u.push(e)},this.flush=function(){for(var e,t,i,n=0;u.length&&\"access_unit_delimiter_rbsp\"!==u[0].nalUnitType;)u.shift();if(0===u.length)return this.resetStream_(),void this.trigger(\"done\",\"VideoSegmentStream\");if(e=Y(u),(t=Q(e))[0][0].keyFrame||((i=this.getGopForFusion_(u[0],s))?(n=i.duration,t.unshift(i),t.byteLength+=i.byteLength,t.nalCount+=i.nalCount,t.pts=i.pts,t.dts=i.dts,t.duration+=i.duration):t=$(t)),l.length){var r=a.alignGopsAtEnd?this.alignGopsAtEnd_(t):this.alignGopsAtStart_(t);if(!r)return this.gopCache_.unshift({gop:t.pop(),pps:s.pps,sps:s.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),u=[],this.resetStream_(),void this.trigger(\"done\",\"VideoSegmentStream\");ye(s),t=r}_e(s,t),s.samples=J(t),e=G(Z(t)),s.baseMediaDecodeTime=ve(s,a.keepOriginalTimestamps),this.trigger(\"processedGopsInfo\",t.map(function(e){return{pts:e.pts,dts:e.dts,byteLength:e.byteLength}})),i=t[0],r=t[t.length-1],this.trigger(\"segmentTimingInfo\",ht(s.baseMediaDecodeTime,i.dts,i.pts,r.dts+r.duration,r.pts+r.duration,n)),this.trigger(\"timingInfo\",{start:t[0].pts,end:t[t.length-1].pts+t[t.length-1].duration}),this.gopCache_.unshift({gop:t.pop(),pps:s.pps,sps:s.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),u=[],this.trigger(\"baseMediaDecodeTime\",s.baseMediaDecodeTime),this.trigger(\"timelineStartInfo\",s.timelineStartInfo),n=X(o,[s]),t=new Uint8Array(n.byteLength+e.byteLength),o++,t.set(n),t.set(e,n.byteLength),this.trigger(\"data\",{track:s,boxes:t}),this.resetStream_(),this.trigger(\"done\",\"VideoSegmentStream\")},this.reset=function(){this.resetStream_(),u=[],this.gopCache_.length=0,l.length=0,this.trigger(\"reset\")},this.resetStream_=function(){ye(s),i=t=void 0},this.getGopForFusion_=function(e){for(var t,i,n,r=1/0,a=0;a<this.gopCache_.length;a++)i=(n=this.gopCache_[a]).gop,s.pps&&dt(s.pps[0],n.pps[0])&&s.sps&&dt(s.sps[0],n.sps[0])&&(i.dts<s.timelineStartInfo.dts||-1e4<=(i=e.dts-i.dts-i.duration)&&i<=45e3&&(!t||i<r)&&(t=n,r=i));return t?t.gop:null},this.alignGopsAtStart_=function(e){for(var t,i,n,r,a=e.byteLength,s=e.nalCount,o=e.duration,u=t=0;u<l.length&&t<e.length&&(i=l[u],n=e[t],i.pts!==n.pts);)n.pts>i.pts?u++:(t++,a-=n.byteLength,s-=n.nalCount,o-=n.duration);return 0===t?e:t===e.length?null:((r=e.slice(t)).byteLength=a,r.duration=o,r.nalCount=s,r.pts=r[0].pts,r.dts=r[0].dts,r)},this.alignGopsAtEnd_=function(e){for(var t,i,n=l.length-1,r=e.length-1,a=null,s=!1;0<=n&&0<=r;){if(t=l[n],i=e[r],t.pts===i.pts){s=!0;break}t.pts>i.pts?n--:(n===l.length-1&&(a=r),r--)}if(!s&&null===a)return null;if(0===(u=s?r:a))return e;var o=e.slice(u),u=o.reduce(function(e,t){return e.byteLength+=t.byteLength,e.duration+=t.duration,e.nalCount+=t.nalCount,e},{byteLength:0,duration:0,nalCount:0});return o.byteLength=u.byteLength,o.duration=u.duration,o.nalCount=u.nalCount,o.pts=o[0].pts,o.dts=o[0].dts,o},this.alignGopsWith=function(e){l=e}}).prototype=new j,(mt=function(e,t){this.numberOfTracks=0,this.metadataStream=t,\"undefined\"!=typeof(e=e||{}).remux?this.remuxTracks=!!e.remux:this.remuxTracks=!0,\"boolean\"==typeof e.keepOriginalTimestamps?this.keepOriginalTimestamps=e.keepOriginalTimestamps:this.keepOriginalTimestamps=!1,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,mt.prototype.init.call(this),this.push=function(e){return e.text?this.pendingCaptions.push(e):e.frames?this.pendingMetadata.push(e):(this.pendingTracks.push(e.track),this.pendingBytes+=e.boxes.byteLength,\"video\"===e.track.type&&(this.videoTrack=e.track,this.pendingBoxes.push(e.boxes)),void(\"audio\"===e.track.type&&(this.audioTrack=e.track,this.pendingBoxes.unshift(e.boxes))))}}).prototype=new j,mt.prototype.flush=function(e){var t,i,n,r=0,a={captions:[],captionStreams:{},metadata:[],info:{}},s=0;if(this.pendingTracks.length<this.numberOfTracks){if(\"VideoSegmentStream\"!==e&&\"AudioSegmentStream\"!==e)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger(\"done\"),this.emittedTracks=0))}if(this.videoTrack?(s=this.videoTrack.timelineStartInfo.pts,vt.forEach(function(e){a.info[e]=this.videoTrack[e]},this)):this.audioTrack&&(s=this.audioTrack.timelineStartInfo.pts,yt.forEach(function(e){a.info[e]=this.audioTrack[e]},this)),this.videoTrack||this.audioTrack){for(1===this.pendingTracks.length?a.type=this.pendingTracks[0].type:a.type=\"combined\",this.emittedTracks+=this.pendingTracks.length,e=K(this.pendingTracks),a.initSegment=new Uint8Array(e.byteLength),a.initSegment.set(e),a.data=new Uint8Array(this.pendingBytes),n=0;n<this.pendingBoxes.length;n++)a.data.set(this.pendingBoxes[n],r),r+=this.pendingBoxes[n].byteLength;for(n=0;n<this.pendingCaptions.length;n++)(t=this.pendingCaptions[n]).startTime=de(t.startPts,s,this.keepOriginalTimestamps),t.endTime=de(t.endPts,s,this.keepOriginalTimestamps),a.captionStreams[t.stream]=!0,a.captions.push(t);for(n=0;n<this.pendingMetadata.length;n++)(i=this.pendingMetadata[n]).cueTime=de(i.pts,s,this.keepOriginalTimestamps),a.metadata.push(i);for(a.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger(\"data\",a),n=0;n<a.captions.length;n++)t=a.captions[n],this.trigger(\"caption\",t);for(n=0;n<a.metadata.length;n++)i=a.metadata[n],this.trigger(\"id3Frame\",i)}this.emittedTracks>=this.numberOfTracks&&(this.trigger(\"done\"),this.emittedTracks=0)},mt.prototype.setRemux=function(e){this.remuxTracks=e},(ft=function(n){var r,a,s=this,o=!0;ft.prototype.init.call(this),this.baseMediaDecodeTime=(n=n||{}).baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var t={};(this.transmuxPipeline_=t).type=\"aac\",t.metadataStream=new Qe.MetadataStream,t.aacStream=new gt,t.audioTimestampRolloverStream=new Qe.TimestampRolloverStream(\"audio\"),t.timedMetadataTimestampRolloverStream=new Qe.TimestampRolloverStream(\"timed-metadata\"),t.adtsStream=new it,t.coalesceStream=new mt(n,t.metadataStream),t.headOfPipeline=t.aacStream,t.aacStream.pipe(t.audioTimestampRolloverStream).pipe(t.adtsStream),t.aacStream.pipe(t.timedMetadataTimestampRolloverStream).pipe(t.metadataStream).pipe(t.coalesceStream),t.metadataStream.on(\"timestamp\",function(e){t.aacStream.setTimestamp(e.timeStamp)}),t.aacStream.on(\"data\",function(e){\"timed-metadata\"!==e.type&&\"audio\"!==e.type||t.audioSegmentStream||(a=a||{timelineStartInfo:{baseMediaDecodeTime:s.baseMediaDecodeTime},codec:\"adts\",type:\"audio\"},t.coalesceStream.numberOfTracks++,t.audioSegmentStream=new St(a,n),t.audioSegmentStream.on(\"log\",s.getLogTrigger_(\"audioSegmentStream\")),t.audioSegmentStream.on(\"timingInfo\",s.trigger.bind(s,\"audioTimingInfo\")),t.adtsStream.pipe(t.audioSegmentStream).pipe(t.coalesceStream),s.trigger(\"trackinfo\",{hasAudio:!!a,hasVideo:!!r}))}),t.coalesceStream.on(\"data\",this.trigger.bind(this,\"data\")),t.coalesceStream.on(\"done\",this.trigger.bind(this,\"done\"))},this.setupTsPipeline=function(){var i={};(this.transmuxPipeline_=i).type=\"ts\",i.metadataStream=new Qe.MetadataStream,i.packetStream=new Qe.TransportPacketStream,i.parseStream=new Qe.TransportParseStream,i.elementaryStream=new Qe.ElementaryStream,i.timestampRolloverStream=new Qe.TimestampRolloverStream,i.adtsStream=new it,i.h264Stream=new _t,i.captionStream=new Qe.CaptionStream(n),i.coalesceStream=new mt(n,i.metadataStream),i.headOfPipeline=i.packetStream,i.packetStream.pipe(i.parseStream).pipe(i.elementaryStream).pipe(i.timestampRolloverStream),i.timestampRolloverStream.pipe(i.h264Stream),i.timestampRolloverStream.pipe(i.adtsStream),i.timestampRolloverStream.pipe(i.metadataStream).pipe(i.coalesceStream),i.h264Stream.pipe(i.captionStream).pipe(i.coalesceStream),i.elementaryStream.on(\"data\",function(e){var t;if(\"metadata\"===e.type){for(t=e.tracks.length;t--;)r||\"video\"!==e.tracks[t].type?a||\"audio\"!==e.tracks[t].type||((a=e.tracks[t]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime):(r=e.tracks[t]).timelineStartInfo.baseMediaDecodeTime=s.baseMediaDecodeTime;r&&!i.videoSegmentStream&&(i.coalesceStream.numberOfTracks++,i.videoSegmentStream=new pt(r,n),i.videoSegmentStream.on(\"log\",s.getLogTrigger_(\"videoSegmentStream\")),i.videoSegmentStream.on(\"timelineStartInfo\",function(e){a&&!n.keepOriginalTimestamps&&(a.timelineStartInfo=e,i.audioSegmentStream.setEarliestDts(e.dts-s.baseMediaDecodeTime))}),i.videoSegmentStream.on(\"processedGopsInfo\",s.trigger.bind(s,\"gopInfo\")),i.videoSegmentStream.on(\"segmentTimingInfo\",s.trigger.bind(s,\"videoSegmentTimingInfo\")),i.videoSegmentStream.on(\"baseMediaDecodeTime\",function(e){a&&i.audioSegmentStream.setVideoBaseMediaDecodeTime(e)}),i.videoSegmentStream.on(\"timingInfo\",s.trigger.bind(s,\"videoTimingInfo\")),i.h264Stream.pipe(i.videoSegmentStream).pipe(i.coalesceStream)),a&&!i.audioSegmentStream&&(i.coalesceStream.numberOfTracks++,i.audioSegmentStream=new St(a,n),i.audioSegmentStream.on(\"log\",s.getLogTrigger_(\"audioSegmentStream\")),i.audioSegmentStream.on(\"timingInfo\",s.trigger.bind(s,\"audioTimingInfo\")),i.audioSegmentStream.on(\"segmentTimingInfo\",s.trigger.bind(s,\"audioSegmentTimingInfo\")),i.adtsStream.pipe(i.audioSegmentStream).pipe(i.coalesceStream)),s.trigger(\"trackinfo\",{hasAudio:!!a,hasVideo:!!r})}}),i.coalesceStream.on(\"data\",this.trigger.bind(this,\"data\")),i.coalesceStream.on(\"id3Frame\",function(e){e.dispatchType=i.metadataStream.dispatchType,s.trigger(\"id3Frame\",e)}),i.coalesceStream.on(\"caption\",this.trigger.bind(this,\"caption\")),i.coalesceStream.on(\"done\",this.trigger.bind(this,\"done\"))},this.setBaseMediaDecodeTime=function(e){var t=this.transmuxPipeline_;n.keepOriginalTimestamps||(this.baseMediaDecodeTime=e),a&&(a.timelineStartInfo.dts=void 0,a.timelineStartInfo.pts=void 0,ye(a),t.audioTimestampRolloverStream&&t.audioTimestampRolloverStream.discontinuity()),r&&(t.videoSegmentStream&&(t.videoSegmentStream.gopCache_=[]),r.timelineStartInfo.dts=void 0,r.timelineStartInfo.pts=void 0,ye(r),t.captionStream.reset()),t.timestampRolloverStream&&t.timestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(e){a&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(e)},this.setRemux=function(e){var t=this.transmuxPipeline_;n.remux=e,t&&t.coalesceStream&&t.coalesceStream.setRemux(e)},this.alignGopsWith=function(e){r&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(e)},this.getLogTrigger_=function(t){var i=this;return function(e){e.stream=t,i.trigger(\"log\",e)}},this.push=function(e){if(o){var t=bt(e);if(t&&\"aac\"!==this.transmuxPipeline_.type?this.setupAacPipeline():t||\"ts\"===this.transmuxPipeline_.type||this.setupTsPipeline(),this.transmuxPipeline_)for(var i=Object.keys(this.transmuxPipeline_),n=0;n<i.length;n++){var r=i[n];\"headOfPipeline\"!==r&&this.transmuxPipeline_[r].on&&this.transmuxPipeline_[r].on(\"log\",this.getLogTrigger_(r))}o=!1}this.transmuxPipeline_.headOfPipeline.push(e)},this.flush=function(){o=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.endTimeline=function(){this.transmuxPipeline_.headOfPipeline.endTimeline()},this.reset=function(){this.transmuxPipeline_.headOfPipeline&&this.transmuxPipeline_.headOfPipeline.reset()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new j;function Et(e,c){var i=Lt(e,[\"moof\",\"traf\"]),e=Lt(e,[\"mdat\"]),d={},n=[];return e.forEach(function(e,t){t=i[t];n.push({mdat:e,traf:t})}),n.forEach(function(e){var t,i,n,r,a,s=e.mdat,o=e.traf,u=Lt(o,[\"tfhd\"]),l=Nt(u[0]),e=l.trackId,u=Lt(o,[\"tfdt\"]),u=0<u.length?Ot(u[0]).baseMediaDecodeTime:0,o=Lt(o,[\"trun\"]);c===e&&0<o.length&&(o=o,t=u,i=(l=l).defaultSampleDuration||0,n=l.defaultSampleSize||0,r=l.trackId,a=[],o.forEach(function(e){e=Mt(e).samples;e.forEach(function(e){void 0===e.duration&&(e.duration=i),void 0===e.size&&(e.size=n),e.trackId=r,e.dts=t,void 0===e.compositionTimeOffset&&(e.compositionTimeOffset=0),e.pts=t+e.compositionTimeOffset,t+=e.duration}),a=a.concat(e)}),s=function(e,t,i){for(var n,r,a=new DataView(e.buffer,e.byteOffset,e.byteLength),s={logs:[],seiNals:[]},o=0;o+4<e.length;o+=n)if(n=a.getUint32(o),o+=4,!(n<=0))switch(31&e[o]){case 6:var u=e.subarray(o+1,o+1+n),l=function(e,t){for(var i=e,n=0;n<t.length;n++){var r=t[n];if(i<r.size)return r;i-=r.size}return null}(o,t),u={nalUnitType:\"sei_rbsp\",size:n,data:u,escapedRBSP:Ut(u),trackId:i};if(l)u.pts=l.pts,u.dts=l.dts,r=l;else{if(!r){s.logs.push({level:\"warn\",message:\"We've encountered a nal unit without data at \"+o+\" for trackId \"+i+\". See mux.js#223.\"});break}u.pts=r.pts,u.dts=r.dts}s.seiNals.push(u)}return s}(s,a,e),d[e]||(d[e]={seiNals:[],logs:[]}),d[e].seiNals=d[e].seiNals.concat(s.seiNals),d[e].logs=d[e].logs.concat(s.logs))}),d}function kt(e){var t=31&e[1];return t<<=8,t|=e[2]}function Ct(e){return!!(64&e[1])}function wt(e){var t=0;return 1<(48&e[3])>>>4&&(t+=e[4]+1),t}function It(e){switch(e){case 5:return\"slice_layer_without_partitioning_rbsp_idr\";case 6:return\"sei_rbsp\";case 7:return\"seq_parameter_set_rbsp\";case 8:return\"pic_parameter_set_rbsp\";case 9:return\"access_unit_delimiter_rbsp\";default:return null}}var xt={Transmuxer:ft,VideoSegmentStream:pt,AudioSegmentStream:St,AUDIO_PROPERTIES:yt,VIDEO_PROPERTIES:vt,generateSegmentTimingInfo:ht},e=function(e){return e>>>0},At=function(e){var t=\"\";return t+=String.fromCharCode(e[0]),t+=String.fromCharCode(e[1]),t+=String.fromCharCode(e[2]),t+=String.fromCharCode(e[3])},Pt=e,Lt=function e(t,i){var n,r,a,s=[];if(!i.length)return null;for(n=0;n<t.byteLength;)r=Pt(t[n]<<24|t[n+1]<<16|t[n+2]<<8|t[n+3]),a=At(t.subarray(n+4,n+8)),r=1<r?n+r:t.byteLength,a===i[0]&&(1===i.length?s.push(t.subarray(n+8,r)):(a=e(t.subarray(n+8,r),i.slice(1))).length&&(s=s.concat(a))),n=r;return s},Dt=e,Ot=function(e){var t={version:e[0],flags:new Uint8Array(e.subarray(1,4)),baseMediaDecodeTime:Dt(e[4]<<24|e[5]<<16|e[6]<<8|e[7])};return 1===t.version&&(t.baseMediaDecodeTime*=Math.pow(2,32),t.baseMediaDecodeTime+=Dt(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),t},Rt=function(e){return{isLeading:(12&e[0])>>>2,dependsOn:3&e[0],isDependedOn:(192&e[1])>>>6,hasRedundancy:(48&e[1])>>>4,paddingValue:(14&e[1])>>>1,isNonSyncSample:1&e[1],degradationPriority:e[2]<<8|e[3]}},Mt=function(e){var t,i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),samples:[]},n=new DataView(e.buffer,e.byteOffset,e.byteLength),r=1&i.flags[2],a=4&i.flags[2],s=1&i.flags[1],o=2&i.flags[1],u=4&i.flags[1],l=8&i.flags[1],c=n.getUint32(4),d=8;for(r&&(i.dataOffset=n.getInt32(d),d+=4),a&&c&&(t={flags:Rt(e.subarray(d,d+4))},d+=4,s&&(t.duration=n.getUint32(d),d+=4),o&&(t.size=n.getUint32(d),d+=4),l&&(1===i.version?t.compositionTimeOffset=n.getInt32(d):t.compositionTimeOffset=n.getUint32(d),d+=4),i.samples.push(t),c--);c--;)t={},s&&(t.duration=n.getUint32(d),d+=4),o&&(t.size=n.getUint32(d),d+=4),u&&(t.flags=Rt(e.subarray(d,d+4)),d+=4),l&&(1===i.version?t.compositionTimeOffset=n.getInt32(d):t.compositionTimeOffset=n.getUint32(d),d+=4),i.samples.push(t);return i},Nt=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),trackId:t.getUint32(4)},n=1&i.flags[2],r=2&i.flags[2],a=8&i.flags[2],s=16&i.flags[2],o=32&i.flags[2],u=65536&i.flags[0],l=131072&i.flags[0],e=8;return n&&(e+=4,i.baseDataOffset=t.getUint32(12),e+=4),r&&(i.sampleDescriptionIndex=t.getUint32(e),e+=4),a&&(i.defaultSampleDuration=t.getUint32(e),e+=4),s&&(i.defaultSampleSize=t.getUint32(e),e+=4),o&&(i.defaultSampleFlags=t.getUint32(e)),u&&(i.durationIsEmpty=!0),!n&&l&&(i.baseDataOffsetIsMoof=!0),i},Ut=Ee,Bt=Ue.CaptionStream,Ft=function(){var t,r,a,s,o,i,n=!1;this.isInitialized=function(){return n},this.init=function(e){t=new Bt,n=!0,i=!!e&&e.isPartial,t.on(\"data\",function(e){e.startTime=e.startPts/s,e.endTime=e.endPts/s,o.captions.push(e),o.captionStreams[e.stream]=!0}),t.on(\"log\",function(e){o.logs.push(e)})},this.isNewInit=function(e,t){return!(e&&0===e.length||t&&\"object\"==typeof t&&0===Object.keys(t).length)&&(a!==e[0]||s!==t[a])},this.parse=function(e,t,i){if(!this.isInitialized())return null;if(!t||!i)return null;if(this.isNewInit(t,i))a=t[0],s=i[a];else if(null===a||!s)return r.push(e),null;for(;0<r.length;){var n=r.shift();this.parse(n,t,i)}return(e=function(e,t,i){if(null===t)return null;t=Et(e,t)[t]||{};return{seiNals:t.seiNals,logs:t.logs,timescale:i}}(e,a,s))&&e.logs&&(o.logs=o.logs.concat(e.logs)),null!==e&&e.seiNals?(this.pushNals(e.seiNals),this.flushStream(),o):o.logs.length?{logs:o.logs,captions:[],captionStreams:[]}:null},this.pushNals=function(e){if(!this.isInitialized()||!e||0===e.length)return null;e.forEach(function(e){t.push(e)})},this.flushStream=function(){if(!this.isInitialized())return null;i?t.partialFlush():t.flush()},this.clearParsedCaptions=function(){o.captions=[],o.captionStreams={},o.logs=[]},this.resetCaptionStream=function(){if(!this.isInitialized())return null;t.reset()},this.clearAllCaptions=function(){this.clearParsedCaptions(),this.resetCaptionStream()},this.reset=function(){r=[],s=a=null,o?this.clearParsedCaptions():o={captions:[],captionStreams:{},logs:[]},this.resetCaptionStream()},this.reset()},jt=e,Ht=function(e){return(\"00\"+e.toString(16)).slice(-2)},qe=function(e){return Lt(e,[\"moov\",\"trak\"]).reduce(function(e,t){var i,n,r=Lt(t,[\"tkhd\"])[0];return r?(i=r[0],r=jt(r[n=0===i?12:20]<<24|r[1+n]<<16|r[2+n]<<8|r[3+n]),(t=Lt(t,[\"mdia\",\"mdhd\"])[0])?(i=t[0],e[r]=jt(t[n=0===i?12:20]<<24|t[1+n]<<16|t[2+n]<<8|t[3+n]),e):null):null},{})},j=function(n,e){var e=Lt(e,[\"moof\",\"traf\"]),e=[].concat.apply([],e.map(function(i){return Lt(i,[\"tfhd\"]).map(function(e){var t=jt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]),e=n[t]||9e4,t=Lt(i,[\"tfdt\"]).map(function(e){var t=e[0],i=jt(e[4]<<24|e[5]<<16|e[6]<<8|e[7]);return 1===t&&(i*=Math.pow(2,32),i+=jt(e[8]<<24|e[9]<<16|e[10]<<8|e[11])),i})[0];return(t=\"number\"!=typeof t||isNaN(t)?1/0:t)/e})})),e=Math.min.apply(null,e);return isFinite(e)?e:0},Ee=function(e,t){var i,n,r=Lt(t,[\"moof\",\"traf\"]),a=0,s=0;return r&&r.length&&(i=Lt(r[0],[\"tfhd\"])[0],t=Lt(r[0],[\"trun\"])[0],r=Lt(r[0],[\"tfdt\"])[0],i&&(n=Nt(i).trackId),r&&(a=Ot(r).baseMediaDecodeTime),!t||(t=Mt(t)).samples&&t.samples.length&&(s=t.samples[0].compositionTimeOffset||0)),(a+s)/(e[n]||9e4)},qt=function(e){var t=0===e[0]?12:20;return jt(e[t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])},e=function(e){var e=Lt(e,[\"moov\",\"trak\"]),s=[];return e.forEach(function(e){var t={},i=Lt(e,[\"tkhd\"])[0];i&&(i=(n=new DataView(i.buffer,i.byteOffset,i.byteLength)).getUint8(0),t.id=0===i?n.getUint32(12):n.getUint32(20));var n=Lt(e,[\"mdia\",\"hdlr\"])[0];n&&(a=At(n.subarray(8,12)),t.type=\"vide\"===a?\"video\":\"soun\"===a?\"audio\":a);var r,a=Lt(e,[\"mdia\",\"minf\",\"stbl\",\"stsd\"])[0];a&&(a=a.subarray(8),t.codec=At(a.subarray(4,8)),(a=Lt(a,[t.codec])[0])&&(/^[a-z]vc[1-9]$/i.test(t.codec)?(r=a.subarray(78),\"avcC\"===At(r.subarray(4,8))&&11<r.length?(t.codec+=\".\",t.codec+=Ht(r[9]),t.codec+=Ht(r[10]),t.codec+=Ht(r[11])):t.codec=\"avc1.4d400d\"):/^mp4[a,v]$/i.test(t.codec)?(r=a.subarray(28),\"esds\"===At(r.subarray(4,8))&&20<r.length&&0!==r[19]?(t.codec+=\".\"+Ht(r[19]),t.codec+=\".\"+Ht(r[20]>>>2&63).replace(/^0/,\"\")):t.codec=\"mp4a.40.2\"):t.codec=t.codec.toLowerCase()));e=Lt(e,[\"mdia\",\"mdhd\"])[0];e&&(t.timescale=qt(e)),s.push(t)}),s},Vt=j,Wt=e,zt=Ce,Gt={};Gt.ts={parseType:function(e,t){e=kt(e);return 0===e?\"pat\":e===t?\"pmt\":t?\"pes\":null},parsePat:function(e){var t=Ct(e),i=4+wt(e);return t&&(i+=e[i]+1),(31&e[i+10])<<8|e[i+11]},parsePmt:function(e){var t={},i=Ct(e),n=4+wt(e);if(i&&(n+=e[n]+1),1&e[n+5]){for(var r=3+((15&e[n+1])<<8|e[n+2])-4,a=12+((15&e[n+10])<<8|e[n+11]);a<r;){var s=n+a;t[(31&e[s+1])<<8|e[s+2]]=e[s],a+=5+((15&e[s+3])<<8|e[s+4])}return t}},parsePayloadUnitStartIndicator:Ct,parsePesType:function(e,t){switch(t[kt(e)]){case Be.H264_STREAM_TYPE:return\"video\";case Be.ADTS_STREAM_TYPE:return\"audio\";case Be.METADATA_STREAM_TYPE:return\"timed-metadata\";default:return null}},parsePesTime:function(e){if(!Ct(e))return null;var t=4+wt(e);if(t>=e.byteLength)return null;var i=null,n=e[t+7];return 192&n&&((i={}).pts=(14&e[t+9])<<27|(255&e[t+10])<<20|(254&e[t+11])<<12|(255&e[t+12])<<5|(254&e[t+13])>>>3,i.pts*=4,i.pts+=(6&e[t+13])>>>1,i.dts=i.pts,64&n&&(i.dts=(14&e[t+14])<<27|(255&e[t+15])<<20|(254&e[t+16])<<12|(255&e[t+17])<<5|(254&e[t+18])>>>3,i.dts*=4,i.dts+=(6&e[t+18])>>>1)),i},videoPacketContainsKeyFrame:function(e){for(var t=4+wt(e),i=e.subarray(t),n=0,r=0,a=!1;r<i.byteLength-3;r++)if(1===i[r+2]){n=r+5;break}for(;n<i.byteLength;)switch(i[n]){case 0:if(0!==i[n-1]){n+=2;break}if(0!==i[n-2]){n++;break}for(r+3!==n-2&&\"slice_layer_without_partitioning_rbsp_idr\"===It(31&i[r+3])&&(a=!0);1!==i[++n]&&n<i.length;);r=n-2,n+=3;break;case 1:if(0!==i[n-1]||0!==i[n-2]){n+=3;break}\"slice_layer_without_partitioning_rbsp_idr\"===It(31&i[r+3])&&(a=!0),r=n-2,n+=3;break;default:n+=3}return i=i.subarray(r),n-=r,r=0,a=i&&3<i.byteLength&&\"slice_layer_without_partitioning_rbsp_idr\"===It(31&i[r+3])?!0:a}},Gt.aac=lt;function Xt(e,t,i){for(var n,r,a,s,o=0,u=188,l=!1;u<=e.byteLength;)if(71!==e[o]||71!==e[u]&&u!==e.byteLength)o++,u++;else{if(n=e.subarray(o,u),\"pes\"===Gt.ts.parseType(n,t.pid)&&(r=Gt.ts.parsePesType(n,t.table),a=Gt.ts.parsePayloadUnitStartIndicator(n),\"audio\"===r&&a&&(s=Gt.ts.parsePesTime(n))&&(s.type=\"audio\",i.audio.push(s),l=!0)),l)break;o+=188,u+=188}for(o=(u=e.byteLength)-188,l=!1;0<=o;)if(71!==e[o]||71!==e[u]&&u!==e.byteLength)o--,u--;else{if(n=e.subarray(o,u),\"pes\"===Gt.ts.parseType(n,t.pid)&&(r=Gt.ts.parsePesType(n,t.table),a=Gt.ts.parsePayloadUnitStartIndicator(n),\"audio\"===r&&a&&(s=Gt.ts.parsePesTime(n))&&(s.type=\"audio\",i.audio.push(s),l=!0)),l)break;o-=188,u-=188}}function Kt(e){var t,i={pid:null,table:null},n={};for(t in!function(e,t){for(var i,n=0,r=188;r<e.byteLength;)if(71!==e[n]||71!==e[r])n++,r++;else{switch(i=e.subarray(n,r),Gt.ts.parseType(i,t.pid)){case\"pat\":t.pid=Gt.ts.parsePat(i);break;case\"pmt\":var a=Gt.ts.parsePmt(i);t.table=t.table||{},Object.keys(a).forEach(function(e){t.table[e]=a[e]})}n+=188,r+=188}}(e,i),i.table)if(i.table.hasOwnProperty(t))switch(i.table[t]){case Be.H264_STREAM_TYPE:n.video=[],function(e,t,i){for(var n,r,a,s,o,u,l,c,d=0,h=188,p=!1,f={data:[],size:0};h<e.byteLength;)if(71!==e[d]||71!==e[h])d++,h++;else{if(n=e.subarray(d,h),\"pes\"===Gt.ts.parseType(n,t.pid))if(r=Gt.ts.parsePesType(n,t.table),a=Gt.ts.parsePayloadUnitStartIndicator(n),\"video\"===r&&(a&&!p&&(s=Gt.ts.parsePesTime(n))&&(s.type=\"video\",i.video.push(s),p=!0),!i.firstKeyFrame)){if(a&&0!==f.size){for(o=new Uint8Array(f.size),u=0;f.data.length;)l=f.data.shift(),o.set(l,u),u+=l.byteLength;!Gt.ts.videoPacketContainsKeyFrame(o)||(c=Gt.ts.parsePesTime(o))&&(i.firstKeyFrame=c,i.firstKeyFrame.type=\"video\"),f.size=0}f.data.push(n),f.size+=n.byteLength}if(p&&i.firstKeyFrame)break;d+=188,h+=188}for(d=(h=e.byteLength)-188,p=!1;0<=d;)if(71!==e[d]||71!==e[h])d--,h--;else{if(n=e.subarray(d,h),\"pes\"===Gt.ts.parseType(n,t.pid)&&(r=Gt.ts.parsePesType(n,t.table),a=Gt.ts.parsePayloadUnitStartIndicator(n),\"video\"===r&&a&&(s=Gt.ts.parsePesTime(n))&&(s.type=\"video\",i.video.push(s),p=!0)),p)break;d-=188,h-=188}}(e,i,n),0===n.video.length&&delete n.video;break;case Be.ADTS_STREAM_TYPE:n.audio=[],Xt(e,i,n),0===n.audio.length&&delete n.audio}return n}var Yt=se,Qt=function(e,t){var i,n,r=(Gt.aac.isLikelyAacData(e)?function(e){for(var t,i=!1,n=0,r=null,a=null,s=0,o=0;3<=e.length-o;){switch(Gt.aac.parseType(e,o)){case\"timed-metadata\":if(e.length-o<10){i=!0;break}if((s=Gt.aac.parseId3TagSize(e,o))>e.length){i=!0;break}null===a&&(t=e.subarray(o,o+s),a=Gt.aac.parseAacTimestamp(t)),o+=s;break;case\"audio\":if(e.length-o<7){i=!0;break}if((s=Gt.aac.parseAdtsSize(e,o))>e.length){i=!0;break}null===r&&(t=e.subarray(o,o+s),r=Gt.aac.parseSampleRate(t)),n++,o+=s;break;default:o++}if(i)return null}if(null===r||null===a)return null;var u=Yt/r;return{audio:[{type:\"audio\",dts:a,pts:a},{type:\"audio\",dts:a+1024*n*u,pts:a+1024*n*u}]}}:Kt)(e);return r&&(r.audio||r.video)?(e=t,(t=r).audio&&t.audio.length&&(\"undefined\"!=typeof(i=e)&&!isNaN(i)||(i=t.audio[0].dts),t.audio.forEach(function(e){e.dts=zt(e.dts,i),e.pts=zt(e.pts,i),e.dtsTime=e.dts/Yt,e.ptsTime=e.pts/Yt})),t.video&&t.video.length&&(\"undefined\"!=typeof(n=e)&&!isNaN(n)||(n=t.video[0].dts),t.video.forEach(function(e){e.dts=zt(e.dts,n),e.pts=zt(e.pts,n),e.dtsTime=e.dts/Yt,e.ptsTime=e.pts/Yt}),t.firstKeyFrame&&((t=t.firstKeyFrame).dts=zt(t.dts,n),t.pts=zt(t.pts,n),t.dtsTime=t.dts/Yt,t.ptsTime=t.pts/Yt)),r):null},$t=function(){function e(e,t){this.options=t||{},this.self=e,this.init()}var t=e.prototype;return t.init=function(){var i,e;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new xt.Transmuxer(this.options),i=this.self,(e=this.transmuxer).on(\"data\",function(e){var t=e.initSegment;e.initSegment={data:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength};t=e.data;e.data=t.buffer,i.postMessage({action:\"data\",segment:e,byteOffset:t.byteOffset,byteLength:t.byteLength},[e.data])}),e.on(\"done\",function(e){i.postMessage({action:\"done\"})}),e.on(\"gopInfo\",function(e){i.postMessage({action:\"gopInfo\",gopInfo:e})}),e.on(\"videoSegmentTimingInfo\",function(e){var t={start:{decode:ue(e.start.dts),presentation:ue(e.start.pts)},end:{decode:ue(e.end.dts),presentation:ue(e.end.pts)},baseMediaDecodeTime:ue(e.baseMediaDecodeTime)};e.prependedContentDuration&&(t.prependedContentDuration=ue(e.prependedContentDuration)),i.postMessage({action:\"videoSegmentTimingInfo\",videoSegmentTimingInfo:t})}),e.on(\"audioSegmentTimingInfo\",function(e){var t={start:{decode:ue(e.start.dts),presentation:ue(e.start.pts)},end:{decode:ue(e.end.dts),presentation:ue(e.end.pts)},baseMediaDecodeTime:ue(e.baseMediaDecodeTime)};e.prependedContentDuration&&(t.prependedContentDuration=ue(e.prependedContentDuration)),i.postMessage({action:\"audioSegmentTimingInfo\",audioSegmentTimingInfo:t})}),e.on(\"id3Frame\",function(e){i.postMessage({action:\"id3Frame\",id3Frame:e})}),e.on(\"caption\",function(e){i.postMessage({action:\"caption\",caption:e})}),e.on(\"trackinfo\",function(e){i.postMessage({action:\"trackinfo\",trackInfo:e})}),e.on(\"audioTimingInfo\",function(e){i.postMessage({action:\"audioTimingInfo\",audioTimingInfo:{start:ue(e.start),end:ue(e.end)}})}),e.on(\"videoTimingInfo\",function(e){i.postMessage({action:\"videoTimingInfo\",videoTimingInfo:{start:ue(e.start),end:ue(e.end)}})}),e.on(\"log\",function(e){i.postMessage({action:\"log\",log:e})})},t.pushMp4Captions=function(e){this.captionParser||(this.captionParser=new Ft,this.captionParser.init());var t=new Uint8Array(e.data,e.byteOffset,e.byteLength),e=this.captionParser.parse(t,e.trackIds,e.timescales);this.self.postMessage({action:\"mp4Captions\",captions:e&&e.captions||[],logs:e&&e.logs||[],data:t.buffer},[t.buffer])},t.probeMp4StartTime=function(e){var t=e.timescales,e=e.data,t=Vt(t,e);this.self.postMessage({action:\"probeMp4StartTime\",startTime:t,data:e},[e.buffer])},t.probeMp4Tracks=function(e){var t=e.data,e=Wt(t);this.self.postMessage({action:\"probeMp4Tracks\",tracks:e,data:t},[t.buffer])},t.probeTs=function(e){var t=e.data,i=e.baseStartTime,e=\"number\"!=typeof i||isNaN(i)?void 0:i*se,i=Qt(t,e),e=null;i&&((e={hasVideo:i.video&&2===i.video.length||!1,hasAudio:i.audio&&2===i.audio.length||!1}).hasVideo&&(e.videoStart=i.video[0].ptsTime),e.hasAudio&&(e.audioStart=i.audio[0].ptsTime)),this.self.postMessage({action:\"probeTs\",result:e,data:t},[t.buffer])},t.clearAllMp4Captions=function(){this.captionParser&&this.captionParser.clearAllCaptions()},t.clearParsedMp4Captions=function(){this.captionParser&&this.captionParser.clearParsedCaptions()},t.push=function(e){e=new Uint8Array(e.data,e.byteOffset,e.byteLength);this.transmuxer.push(e)},t.reset=function(){this.transmuxer.reset()},t.setTimestampOffset=function(e){e=e.timestampOffset||0;this.transmuxer.setBaseMediaDecodeTime(Math.round(oe(e)))},t.setAudioAppendStart=function(e){this.transmuxer.setAudioAppendStart(Math.ceil(oe(e.appendStart)))},t.setRemux=function(e){this.transmuxer.setRemux(e.remux)},t.flush=function(e){this.transmuxer.flush(),self.postMessage({action:\"done\",type:\"transmuxed\"})},t.endTimeline=function(){this.transmuxer.endTimeline(),self.postMessage({action:\"endedtimeline\",type:\"transmuxed\"})},t.alignGopsWith=function(e){this.transmuxer.alignGopsWith(e.gopsToAlignWith.slice())},e}();self.onmessage=function(e){\"init\"===e.data.action&&e.data.options?this.messageHandlers=new $t(self,e.data.options):(this.messageHandlers||(this.messageHandlers=new $t(self)),e.data&&e.data.action&&\"init\"!==e.data.action&&this.messageHandlers[e.data.action]&&this.messageHandlers[e.data.action](e.data))}}))),Ku=function(e){e.currentTransmux=null,e.transmuxQueue.length&&(e.currentTransmux=e.transmuxQueue.shift(),\"function\"==typeof e.currentTransmux?e.currentTransmux():eu(e.currentTransmux))},Yu=function(e){iu(\"reset\",e)},Qu=function(e){var t=new Xu;t.currentTransmux=null,t.transmuxQueue=[];var i=t.terminate;return t.terminate=function(){return t.currentTransmux=null,t.transmuxQueue.length=0,i.call(t)},t.postMessage({action:\"init\",options:e}),t},$u=2,Ju=-101,Zu=-102,el=ro(\"CodecUtils\"),tl=ro(\"PlaylistSelector\"),zt=function(){var e=this.useDevicePixelRatio&&_.devicePixelRatio||1;return ku(this.playlists.master,this.systemBandwidth,parseInt(Tu(this.tech_.el(),\"width\"),10)*e,parseInt(Tu(this.tech_.el(),\"height\"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)},il=function(n){function e(e,t){var i=n.call(this)||this;if(!e)throw new TypeError(\"Initialization settings are required\");if(\"function\"!=typeof e.currentTime)throw new TypeError(\"No currentTime getter specified\");if(!e.mediaSource)throw new TypeError(\"No MediaSource specified\");return i.bandwidth=e.bandwidth,i.throughput={rate:0,count:0},i.roundTrip=NaN,i.resetStats_(),i.mediaIndex=null,i.partIndex=null,i.hasPlayed_=e.hasPlayed,i.currentTime_=e.currentTime,i.seekable_=e.seekable,i.seeking_=e.seeking,i.duration_=e.duration,i.mediaSource_=e.mediaSource,i.vhs_=e.vhs,i.loaderType_=e.loaderType,i.currentMediaInfo_=void 0,i.startingMediaInfo_=void 0,i.segmentMetadataTrack_=e.segmentMetadataTrack,i.goalBufferLength_=e.goalBufferLength,i.sourceType_=e.sourceType,i.sourceUpdater_=e.sourceUpdater,i.inbandTextTracks_=e.inbandTextTracks,i.state_=\"INIT\",i.timelineChangeController_=e.timelineChangeController,i.shouldSaveSegmentTimingInfo_=!0,i.parse708captions_=e.parse708captions,i.checkBufferTimeout_=null,i.error_=void 0,i.currentTimeline_=-1,i.pendingSegment_=null,i.xhrOptions_=null,i.pendingSegments_=[],i.audioDisabled_=!1,i.isPendingTimestampOffset_=!1,i.gopBuffer_=[],i.timeMapping_=0,i.safeAppend_=11<=Zn.browser.IE_VERSION,i.appendInitSegment_={audio:!0,video:!0},i.playlistOfLastInitSegment_={audio:null,video:null},i.callQueue_=[],i.loadQueue_=[],i.metadataQueue_={id3:[],caption:[]},i.waitingOnRemove_=!1,i.quotaExceededErrorRetryTimeout_=null,i.activeInitSegmentId_=null,i.initSegments_={},i.cacheEncryptionKeys_=e.cacheEncryptionKeys,i.keyCache_={},i.decrypter_=e.decrypter,i.syncController_=e.syncController,i.syncPoint_={segmentIndex:0,time:0},i.transmuxer_=i.createTransmuxer_(),i.triggerSyncInfoUpdate_=function(){return i.trigger(\"syncinfoupdate\")},i.syncController_.on(\"syncinfoupdate\",i.triggerSyncInfoUpdate_),i.mediaSource_.addEventListener(\"sourceopen\",function(){i.isEndOfStream_()||(i.ended_=!1)}),i.fetchAtBuffer_=!1,i.logger_=ro(\"SegmentLoader[\"+i.loaderType_+\"]\"),Object.defineProperty(ft(i),\"state\",{get:function(){return this.state_},set:function(e){e!==this.state_&&(this.logger_(this.state_+\" -> \"+e),this.state_=e,this.trigger(\"statechange\"))}}),i.sourceUpdater_.on(\"ready\",function(){i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),\"main\"===i.loaderType_&&i.timelineChangeController_.on(\"pendingtimelinechange\",function(){i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),\"audio\"===i.loaderType_&&i.timelineChangeController_.on(\"timelinechange\",function(){i.hasEnoughInfoToLoad_()&&i.processLoadQueue_(),i.hasEnoughInfoToAppend_()&&i.processCallQueue_()}),i}mt(e,n);var t=e.prototype;return t.createTransmuxer_=function(){return Qu({remux:!1,alignGopsAtEnd:this.safeAppend_,keepOriginalTimestamps:!0,parse708captions:this.parse708captions_})},t.resetStats_=function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0,this.mediaAppends=0},t.dispose=function(){this.trigger(\"dispose\"),this.state=\"DISPOSED\",this.pause(),this.abort_(),this.transmuxer_&&this.transmuxer_.terminate(),this.resetStats_(),this.checkBufferTimeout_&&_.clearTimeout(this.checkBufferTimeout_),this.syncController_&&this.triggerSyncInfoUpdate_&&this.syncController_.off(\"syncinfoupdate\",this.triggerSyncInfoUpdate_),this.off()},t.setAudio=function(e){this.audioDisabled_=!e,e?this.appendInitSegment_.audio=!0:this.sourceUpdater_.removeAudio(0,this.duration_())},t.abort=function(){\"WAITING\"===this.state?(this.abort_(),this.state=\"READY\",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)},t.abort_=function(){this.pendingSegment_&&this.pendingSegment_.abortRequests&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.timelineChangeController_.clearPendingTimelineChange(this.loaderType_),this.waitingOnRemove_=!1,_.clearTimeout(this.quotaExceededErrorRetryTimeout_),this.quotaExceededErrorRetryTimeout_=null},t.checkForAbort_=function(e){return\"APPENDING\"!==this.state||this.pendingSegment_?!this.pendingSegment_||this.pendingSegment_.requestId!==e:(this.state=\"READY\",!0)},t.error=function(e){return\"undefined\"!=typeof e&&(this.logger_(\"error occurred:\",e),this.error_=e),this.pendingSegment_=null,this.error_},t.endOfStream=function(){this.ended_=!0,this.transmuxer_&&Yu(this.transmuxer_),this.gopBuffer_.length=0,this.pause(),this.trigger(\"ended\")},t.buffered_=function(){var e=this.getMediaInfo_();if(!this.sourceUpdater_||!e)return Zn.createTimeRanges();if(\"main\"===this.loaderType_){var t=e.hasAudio,i=e.hasVideo,e=e.isMuxed;if(i&&t&&!this.audioDisabled_&&!e)return this.sourceUpdater_.buffered();if(i)return this.sourceUpdater_.videoBuffered()}return this.sourceUpdater_.audioBuffered()},t.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=Wo(e),n=this.initSegments_[i];return t&&!n&&e.bytes&&(this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:e.bytes,tracks:e.tracks,timescales:e.timescales}),n||e},t.segmentKey=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=zo(e),n=this.keyCache_[i];this.cacheEncryptionKeys_&&t&&!n&&e.bytes&&(this.keyCache_[i]=n={resolvedUri:e.resolvedUri,bytes:e.bytes});e={resolvedUri:(n||e).resolvedUri};return n&&(e.bytes=n.bytes),e},t.couldBeginLoading_=function(){return this.playlist_&&!this.paused()},t.load=function(){if(this.monitorBuffer_(),this.playlist_)return\"INIT\"===this.state&&this.couldBeginLoading_()?this.init_():void(!this.couldBeginLoading_()||\"READY\"!==this.state&&\"INIT\"!==this.state||(this.state=\"READY\"))},t.init_=function(){return this.state=\"READY\",this.resetEverything(),this.monitorBuffer_()},t.playlist=function(e,t){if(void 0===t&&(t={}),e){var i=this.playlist_,n=this.pendingSegment_;this.playlist_=e,this.xhrOptions_=t,\"INIT\"===this.state&&(e.syncInfo={mediaSequence:e.mediaSequence,time:0},\"main\"===this.loaderType_&&this.syncController_.setDateTimeMappingForStart(e));var r=null;if(i&&(i.id?r=i.id:i.uri&&(r=i.uri)),this.logger_(\"playlist update [\"+r+\" => \"+(e.id||e.uri)+\"]\"),this.trigger(\"syncinfoupdate\"),\"INIT\"===this.state&&this.couldBeginLoading_())return this.init_();if(!i||i.uri!==e.uri)return null!==this.mediaIndex&&this.resyncLoader(),this.currentMediaInfo_=void 0,void this.trigger(\"playlistupdate\");t=e.mediaSequence-i.mediaSequence;this.logger_(\"live window shift [\"+t+\"]\"),null!==this.mediaIndex&&(this.mediaIndex-=t,this.mediaIndex<0?(this.mediaIndex=null,this.partIndex=null):(r=this.playlist_.segments[this.mediaIndex],!this.partIndex||r.parts&&r.parts.length&&r.parts[this.partIndex]||(r=this.mediaIndex,this.logger_(\"currently processing part (index \"+this.partIndex+\") no longer exists.\"),this.resetLoader(),this.mediaIndex=r))),n&&(n.mediaIndex-=t,n.mediaIndex<0?(n.mediaIndex=null,n.partIndex=null):(0<=n.mediaIndex&&(n.segment=e.segments[n.mediaIndex]),0<=n.partIndex&&n.segment.parts&&(n.part=n.segment.parts[n.partIndex]))),this.syncController_.saveExpiredSegmentInfo(i,e)}},t.pause=function(){this.checkBufferTimeout_&&(_.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)},t.paused=function(){return null===this.checkBufferTimeout_},t.resetEverything=function(e){this.ended_=!1,this.appendInitSegment_={audio:!0,video:!0},this.resetLoader(),this.remove(0,1/0,e),this.transmuxer_&&this.transmuxer_.postMessage({action:\"clearAllMp4Captions\"})},t.resetLoader=function(){this.fetchAtBuffer_=!1,this.resyncLoader()},t.resyncLoader=function(){this.transmuxer_&&Yu(this.transmuxer_),this.mediaIndex=null,this.partIndex=null,this.syncPoint_=null,this.isPendingTimestampOffset_=!1,this.callQueue_=[],this.loadQueue_=[],this.metadataQueue_.id3=[],this.metadataQueue_.caption=[],this.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:\"clearParsedMp4Captions\"})},t.remove=function(e,t,i,n){if(void 0===i&&(i=function(){}),void 0===n&&(n=!1),(t=t===1/0?this.duration_():t)<=e)this.logger_(\"skipping remove because end ${end} is <= start ${start}\");else if(this.sourceUpdater_&&this.getMediaInfo_()){var r,a=1,s=function(){0===--a&&i()};for(r in!n&&this.audioDisabled_||(a++,this.sourceUpdater_.removeAudio(e,t,s)),!n&&\"main\"!==this.loaderType_||(this.gopBuffer_=function(e,t,i,n){for(var r=Math.ceil((t-n)*Ru),a=Math.ceil((i-n)*Ru),n=e.slice(),s=e.length;s--&&!(e[s].pts<=a););if(-1===s)return n;for(var o=s+1;o--&&!(e[o].pts<=r););return o=Math.max(o,0),n.splice(o,s-o+1),n}(this.gopBuffer_,e,t,this.timeMapping_),a++,this.sourceUpdater_.removeVideo(e,t,s)),this.inbandTextTracks_)wu(e,t,this.inbandTextTracks_[r]);wu(e,t,this.segmentMetadataTrack_),s()}else this.logger_(\"skipping remove because no source updater or starting media info\")},t.monitorBuffer_=function(){this.checkBufferTimeout_&&_.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=_.setTimeout(this.monitorBufferTick_.bind(this),1)},t.monitorBufferTick_=function(){\"READY\"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&_.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=_.setTimeout(this.monitorBufferTick_.bind(this),500)},t.fillBuffer_=function(){var e;this.sourceUpdater_.updating()||(e=this.chooseNextRequest_())&&(\"number\"==typeof e.timestampOffset&&(this.isPendingTimestampOffset_=!1,this.timelineChangeController_.pendingTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline})),this.loadSegment_(e))},t.isEndOfStream_=function(e,t,i){if(void 0===e&&(e=this.mediaIndex),void 0===t&&(t=this.playlist_),void 0===i&&(i=this.partIndex),!t||!this.mediaSource_)return!1;var n=\"number\"==typeof e&&t.segments[e],e=e+1===t.segments.length,n=!n||!n.parts||i+1===n.parts.length;return t.endList&&\"open\"===this.mediaSource_.readyState&&e&&n},t.chooseNextRequest_=function(){var e=co(this.buffered_())||0,t=Math.max(0,e-this.currentTime_()),i=!this.hasPlayed_()&&1<=t,n=t>=this.goalBufferLength_(),r=this.playlist_.segments;if(!r.length||i||n)return null;this.syncPoint_=this.syncPoint_||this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_());t={partIndex:null,mediaIndex:null,startOfSegment:null,playlist:this.playlist_,isSyncRequest:Boolean(!this.syncPoint_)};t.isSyncRequest?t.mediaIndex=function(e,t,i){t=t||[];for(var n=[],r=0,a=0;a<t.length;a++){var s=t[a];if(e===s.timeline&&(n.push(a),i<(r+=s.duration)))return a}return 0===n.length?0:n[n.length-1]}(this.currentTimeline_,r,e):null!==this.mediaIndex?(i=r[this.mediaIndex],n=\"number\"==typeof this.partIndex?this.partIndex:-1,t.startOfSegment=i.end||e,i.parts&&i.parts[n+1]?(t.mediaIndex=this.mediaIndex,t.partIndex=n+1):t.mediaIndex=this.mediaIndex+1):(e=(s=Bu.getMediaInfoForTime({playlist:this.playlist_,currentTime:this.fetchAtBuffer_?e:this.currentTime_(),startingPartIndex:this.syncPoint_.partIndex,startingSegmentIndex:this.syncPoint_.segmentIndex,startTime:this.syncPoint_.time})).segmentIndex,a=s.startTime,s=s.partIndex,t.getMediaInfoForTime=this.fetchAtBuffer_?\"bufferedEnd\":\"currentTime\",t.mediaIndex=e,t.startOfSegment=a,t.partIndex=s);var a=r[t.mediaIndex],s=a&&\"number\"==typeof t.partIndex&&a.parts&&a.parts[t.partIndex];if(!a||\"number\"==typeof t.partIndex&&!s)return null;\"number\"!=typeof t.partIndex&&a.parts&&(t.partIndex=0);a=this.mediaSource_&&\"ended\"===this.mediaSource_.readyState;return t.mediaIndex>=r.length-1&&a&&!this.seeking_()?null:this.generateSegmentInfo_(t)},t.generateSegmentInfo_=function(e){var t=e.playlist,i=e.mediaIndex,n=e.startOfSegment,r=e.isSyncRequest,a=e.partIndex,s=e.forceTimestampOffset,o=e.getMediaInfoForTime,u=t.segments[i],e=\"number\"==typeof a&&u.parts[a],o={requestId:\"segment-loader-\"+Math.random(),uri:e&&e.resolvedUri||u.resolvedUri,mediaIndex:i,partIndex:e?a:null,isSyncRequest:r,startOfSegment:n,playlist:t,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:u.timeline,duration:e&&e.duration||u.duration,segment:u,part:e,byteLength:0,transmuxer:this.transmuxer_,getMediaInfoForTime:o},s=\"undefined\"!=typeof s?s:this.isPendingTimestampOffset_;o.timestampOffset=this.timestampOffsetForSegment_({segmentTimeline:u.timeline,currentTimeline:this.currentTimeline_,startOfSegment:n,buffered:this.buffered_(),overrideCheck:s});s=co(this.sourceUpdater_.audioBuffered());return\"number\"==typeof s&&(o.audioAppendStart=s-this.sourceUpdater_.audioTimestampOffset()),this.sourceUpdater_.videoBuffered().length&&(o.gopsToAlignWith=function(e,t,i){if(\"undefined\"==typeof t||null===t||!e.length)return[];for(var n=Math.ceil((t-i+3)*Ru),r=0;r<e.length&&!(e[r].pts>n);r++);return e.slice(r)}(this.gopBuffer_,this.currentTime_()-this.sourceUpdater_.videoTimestampOffset(),this.timeMapping_)),o},t.timestampOffsetForSegment_=function(e){return i=(t=e).segmentTimeline,n=t.currentTimeline,r=t.startOfSegment,e=t.buffered,t.overrideCheck||i!==n?!(i<n)&&e.length?e.end(e.length-1):r:null;var t,i,n,r},t.earlyAbortWhenNeeded_=function(e){var t,i,n,r,a,s,o,u,l,c,d,h,p;!this.vhs_.tech_.paused()&&this.xhrOptions_.timeout&&this.playlist_.attributes.BANDWIDTH&&(Date.now()-(e.firstBytesReceivedAt||Date.now())<1e3||(t=this.currentTime_(),r=e.bandwidth,a=this.pendingSegment_.duration,p=Bu.estimateSegmentRequestTime(a,r,this.playlist_,e.bytesReceived),i=this.buffered_(),n=t,void 0===(e=this.vhs_.tech_.playbackRate())&&(e=1),p<=(e=((i.length?i.end(i.length-1):0)-n)/e-1)||(r={master:this.vhs_.playlists.master,currentTime:t,bandwidth:r,duration:this.duration_(),segmentDuration:a,timeUntilRebuffer:e,currentTimeline:this.currentTimeline_,syncController:this.syncController_},a=r.master,s=r.currentTime,o=r.bandwidth,u=r.duration,l=r.segmentDuration,c=r.timeUntilRebuffer,d=r.currentTimeline,h=r.syncController,a=(r=(a=!(a=(r=a.playlists.filter(function(e){return!Bu.isIncompatible(e)})).filter(Bu.isEnabled)).length?r.filter(function(e){return!Bu.isDisabled(e)}):a).filter(Bu.hasAttribute.bind(null,\"BANDWIDTH\")).map(function(e){var t=h.getSyncPoint(e,u,d,s)?1:2;return{playlist:e,rebufferingImpact:Bu.estimateSegmentRequestTime(l,o,e)*t-c}})).filter(function(e){return e.rebufferingImpact<=0}),Su(a,function(e,t){return Eu(t.playlist,e.playlist)}),(r=a.length?a[0]:(Su(r,function(e,t){return e.rebufferingImpact-t.rebufferingImpact}),r[0]||null))&&(p=p-e-r.rebufferingImpact,!r.playlist||r.playlist.uri===this.playlist_.uri||p<(e<=Nu?1:.5)||(this.bandwidth=r.playlist.attributes.BANDWIDTH*Gu.BANDWIDTH_VARIANCE+1,this.trigger(\"earlyabort\"))))))},t.handleAbort_=function(e){this.logger_(\"Aborting \"+xu(e)),this.mediaRequestsAborted+=1},t.handleProgress_=function(e,t){this.earlyAbortWhenNeeded_(t.stats),this.checkForAbort_(t.requestId)||this.trigger(\"progress\")},t.handleTrackInfo_=function(e,t){this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||this.checkForIllegalMediaSwitch(t)||(function(e,t){if(!e&&!t||!e&&t||e&&!t)return!1;if(e===t)return!0;var i=Object.keys(e).sort(),n=Object.keys(t).sort();if(i.length!==n.length)return!1;for(var r=0;r<i.length;r++){var a=i[r];if(a!==n[r])return!1;if(e[a]!==t[a])return!1}return!0}(this.currentMediaInfo_,t=t||{})||(this.appendInitSegment_={audio:!0,video:!0},this.startingMediaInfo_=t,this.currentMediaInfo_=t,this.logger_(\"trackinfo update\",t),this.trigger(\"trackinfo\")),this.checkForAbort_(e.requestId)||(this.pendingSegment_.trackInfo=t,this.hasEnoughInfoToAppend_()&&this.processCallQueue_()))},t.handleTimingInfo_=function(e,t,i,n){var r;this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||((r=this.pendingSegment_)[e=Au(t)]=r[e]||{},r[e][i]=n,this.logger_(\"timinginfo: \"+t+\" - \"+i+\" - \"+n),this.hasEnoughInfoToAppend_()&&this.processCallQueue_())},t.handleCaptions_=function(e,t){var g,y,v=this;this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||(0!==t.length?this.pendingSegment_.hasAppendedData_?(g=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),y={},t.forEach(function(e){y[e.stream]=y[e.stream]||{startTime:1/0,captions:[],endTime:0};var t=y[e.stream];t.startTime=Math.min(t.startTime,e.startTime+g),t.endTime=Math.max(t.endTime,e.endTime+g),t.captions.push(e)}),Object.keys(y).forEach(function(e){var t,i,n,r,a,s,o,u,l,c,d=y[e],h=d.startTime,p=d.endTime,f=d.captions,m=v.inbandTextTracks_;v.logger_(\"adding cues from \"+h+\" -> \"+p+\" for \"+e),t=m,i=v.vhs_.tech_,t[n=e]||(i.trigger({type:\"usage\",name:\"vhs-608\"}),i.trigger({type:\"usage\",name:\"hls-608\"}),/^cc708_/.test(r=n)&&(r=\"SERVICE\"+n.split(\"_\")[1]),(o=i.textTracks().getTrackById(r))?t[n]=o:(s=a=n,d=!1,(o=(i.options_.vhs&&i.options_.vhs.captionServices||{})[r])&&(a=o.label,s=o.language,d=o.default),t[n]=i.addRemoteTextTrack({kind:\"captions\",id:r,default:d,label:a,language:s},!1).track)),wu(h,p,m[e]),l=(f={captionArray:f,inbandTextTracks:m,timestampOffset:g}).inbandTextTracks,m=f.captionArray,c=f.timestampOffset,m&&(u=_.WebKitDataCue||_.VTTCue,m.forEach(function(e){var t=e.stream;l[t].addCue(new u(e.startTime+c,e.endTime+c,e.text))}))}),this.transmuxer_&&this.transmuxer_.postMessage({action:\"clearParsedMp4Captions\"})):this.metadataQueue_.caption.push(this.handleCaptions_.bind(this,e,t)):this.logger_(\"SegmentLoader received no captions from a caption event\"))},t.handleId3_=function(e,t,i){var n,r,a,s;this.earlyAbortWhenNeeded_(e.stats),this.checkForAbort_(e.requestId)||(this.pendingSegment_.hasAppendedData_?(n=null===this.sourceUpdater_.videoTimestampOffset()?this.sourceUpdater_.audioTimestampOffset():this.sourceUpdater_.videoTimestampOffset(),r=this.inbandTextTracks_,a=i,s=this.vhs_.tech_,r.metadataTrack_||(r.metadataTrack_=s.addRemoteTextTrack({kind:\"metadata\",label:\"Timed Metadata\"},!1).track,r.metadataTrack_.inBandMetadataTrackDispatchType=a),Cu({inbandTextTracks:this.inbandTextTracks_,metadataArray:t,timestampOffset:n,videoDuration:this.duration_()})):this.metadataQueue_.id3.push(this.handleId3_.bind(this,e,t,i)))},t.processMetadataQueue_=function(){this.metadataQueue_.id3.forEach(function(e){return e()}),this.metadataQueue_.caption.forEach(function(e){return e()}),this.metadataQueue_.id3=[],this.metadataQueue_.caption=[]},t.processCallQueue_=function(){var e=this.callQueue_;this.callQueue_=[],e.forEach(function(e){return e()})},t.processLoadQueue_=function(){var e=this.loadQueue_;this.loadQueue_=[],e.forEach(function(e){return e()})},t.hasEnoughInfoToLoad_=function(){if(\"audio\"!==this.loaderType_)return!0;var e=this.pendingSegment_;return!!e&&(!this.getCurrentMediaInfo_()||!Pu({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},t.getCurrentMediaInfo_=function(e){return(e=void 0===e?this.pendingSegment_:e)&&e.trackInfo||this.currentMediaInfo_},t.getMediaInfo_=function(e){return void 0===e&&(e=this.pendingSegment_),this.getCurrentMediaInfo_(e)||this.startingMediaInfo_},t.hasEnoughInfoToAppend_=function(){if(!this.sourceUpdater_.ready())return!1;if(this.waitingOnRemove_||this.quotaExceededErrorRetryTimeout_)return!1;var e=this.pendingSegment_,t=this.getCurrentMediaInfo_();if(!e||!t)return!1;var i=t.hasAudio,n=t.hasVideo,t=t.isMuxed;return!(n&&!e.videoTimingInfo)&&(!(i&&!this.audioDisabled_&&!t&&!e.audioTimingInfo)&&!Pu({timelineChangeController:this.timelineChangeController_,currentTimeline:this.currentTimeline_,segmentTimeline:e.timeline,loaderType:this.loaderType_,audioDisabled:this.audioDisabled_}))},t.handleData_=function(e,t){if(this.earlyAbortWhenNeeded_(e.stats),!this.checkForAbort_(e.requestId))if(!this.callQueue_.length&&this.hasEnoughInfoToAppend_()){var i,n=this.pendingSegment_;if(this.setTimeMapping_(n.timeline),this.updateMediaSecondsLoaded_(n.segment),\"closed\"!==this.mediaSource_.readyState){if(e.map&&(e.map=this.initSegmentForMap(e.map,!0),n.segment.map=e.map),e.key&&this.segmentKey(e.key,!0),n.isFmp4=e.isFmp4,n.timingInfo=n.timingInfo||{},n.isFmp4?(this.trigger(\"fmp4\"),n.timingInfo.start=n[Au(t.type)].start):(i=this.getCurrentMediaInfo_(),(i=\"main\"===this.loaderType_&&i&&i.hasVideo)&&(r=n.videoTimingInfo.start),n.timingInfo.start=this.trueSegmentStart_({currentStart:n.timingInfo.start,playlist:n.playlist,mediaIndex:n.mediaIndex,currentVideoTimestampOffset:this.sourceUpdater_.videoTimestampOffset(),useVideoTimingInfo:i,firstVideoFrameTimeForData:r,videoTimingInfo:n.videoTimingInfo,audioTimingInfo:n.audioTimingInfo})),this.updateAppendInitSegmentStatus(n,t.type),this.updateSourceBufferTimestampOffset_(n),n.isSyncRequest){this.updateTimingInfoEnd_(n),this.syncController_.saveSegmentTimingInfo({segmentInfo:n,shouldSaveTimelineMapping:\"main\"===this.loaderType_});var r=this.chooseNextRequest_();if(r.mediaIndex!==n.mediaIndex||r.partIndex!==n.partIndex)return void this.logger_(\"sync segment was incorrect, not appending\");this.logger_(\"sync segment was correct, appending\")}n.hasAppendedData_=!0,this.processMetadataQueue_(),this.appendData_(n,t)}}else this.callQueue_.push(this.handleData_.bind(this,e,t))},t.updateAppendInitSegmentStatus=function(e,t){\"main\"!==this.loaderType_||\"number\"!=typeof e.timestampOffset||e.changedTimestampOffset||(this.appendInitSegment_={audio:!0,video:!0}),this.playlistOfLastInitSegment_[t]!==e.playlist&&(this.appendInitSegment_[t]=!0)},t.getInitSegmentAndUpdateState_=function(e){var t=e.type,i=e.initSegment,n=e.map,r=e.playlist;if(n){e=Wo(n);if(this.activeInitSegmentId_===e)return null;i=this.initSegmentForMap(n,!0).bytes,this.activeInitSegmentId_=e}return i&&this.appendInitSegment_[t]?(this.playlistOfLastInitSegment_[t]=r,this.appendInitSegment_[t]=!1,this.activeInitSegmentId_=null,i):null},t.handleQuotaExceededError_=function(e,t){var i=this,n=e.segmentInfo,r=e.type,a=e.bytes,s=this.sourceUpdater_.audioBuffered(),o=this.sourceUpdater_.videoBuffered();1<s.length&&this.logger_(\"On QUOTA_EXCEEDED_ERR, found gaps in the audio buffer: \"+lo(s).join(\", \")),1<o.length&&this.logger_(\"On QUOTA_EXCEEDED_ERR, found gaps in the video buffer: \"+lo(o).join(\", \"));var u=s.length?s.start(0):0,l=s.length?s.end(s.length-1):0,c=o.length?o.start(0):0,e=o.length?o.end(o.length-1):0;if(l-u<=1&&e-c<=1)return this.logger_(\"On QUOTA_EXCEEDED_ERR, single segment too large to append to buffer, triggering an error. Appended byte length: \"+a.byteLength+\", audio buffer: \"+lo(s).join(\", \")+\", video buffer: \"+lo(o).join(\", \")+\", \"),this.error({message:\"Quota exceeded error with append of a single segment of content\",excludeUntil:1/0}),void this.trigger(\"error\");this.waitingOnRemove_=!0,this.callQueue_.push(this.appendToSourceBuffer_.bind(this,{segmentInfo:n,type:r,bytes:a}));a=this.currentTime_()-1;this.logger_(\"On QUOTA_EXCEEDED_ERR, removing audio/video from 0 to \"+a),this.remove(0,a,function(){i.logger_(\"On QUOTA_EXCEEDED_ERR, retrying append in 1s\"),i.waitingOnRemove_=!1,i.quotaExceededErrorRetryTimeout_=_.setTimeout(function(){i.logger_(\"On QUOTA_EXCEEDED_ERR, re-processing call queue\"),i.quotaExceededErrorRetryTimeout_=null,i.processCallQueue_()},1e3)},!0)},t.handleAppendError_=function(e,t){var i=e.segmentInfo,n=e.type,e=e.bytes;t&&(22!==t.code?(this.logger_(\"Received non QUOTA_EXCEEDED_ERR on append\",t),this.error(n+\" append of \"+e.length+\"b failed for segment #\"+i.mediaIndex+\" in playlist \"+i.playlist.id),this.trigger(\"appenderror\")):this.handleQuotaExceededError_({segmentInfo:i,type:n,bytes:e}))},t.appendToSourceBuffer_=function(e){var t,i,n=e.segmentInfo,r=e.type,a=e.initSegment,s=e.data,o=e.bytes;o||(e=[s],s=s.byteLength,a&&(e.unshift(a),s+=a.byteLength),i=0,(e={bytes:s,segments:e}).bytes&&(t=new Uint8Array(e.bytes),e.segments.forEach(function(e){t.set(e,i),i+=e.byteLength})),o=t),this.sourceUpdater_.appendBuffer({segmentInfo:n,type:r,bytes:o},this.handleAppendError_.bind(this,{segmentInfo:n,type:r,bytes:o}))},t.handleSegmentTimingInfo_=function(e,t,i){this.pendingSegment_&&t===this.pendingSegment_.requestId&&((t=this.pendingSegment_.segment)[e=e+\"TimingInfo\"]||(t[e]={}),t[e].transmuxerPrependedSeconds=i.prependedContentDuration||0,t[e].transmuxedPresentationStart=i.start.presentation,t[e].transmuxedDecodeStart=i.start.decode,t[e].transmuxedPresentationEnd=i.end.presentation,t[e].transmuxedDecodeEnd=i.end.decode,t[e].baseMediaDecodeTime=i.baseMediaDecodeTime)},t.appendData_=function(e,t){var i=t.type,n=t.data;n&&n.byteLength&&(\"audio\"===i&&this.audioDisabled_||(t=this.getInitSegmentAndUpdateState_({type:i,initSegment:t.initSegment,playlist:e.playlist,map:e.isFmp4?e.segment.map:null}),this.appendToSourceBuffer_({segmentInfo:e,type:i,initSegment:t,data:n})))},t.loadSegment_=function(t){var i=this;this.state=\"WAITING\",this.pendingSegment_=t,this.trimBackBuffer_(t),\"number\"==typeof t.timestampOffset&&this.transmuxer_&&this.transmuxer_.postMessage({action:\"clearAllMp4Captions\"}),this.hasEnoughInfoToLoad_()?this.updateTransmuxerAndRequestSegment_(t):this.loadQueue_.push(function(){var e=g({},t,{forceTimestampOffset:!0});g(t,i.generateSegmentInfo_(e)),i.isPendingTimestampOffset_=!1,i.updateTransmuxerAndRequestSegment_(t)})},t.updateTransmuxerAndRequestSegment_=function(n){var r=this;this.shouldUpdateTransmuxerTimestampOffset_(n.timestampOffset)&&(this.gopBuffer_.length=0,n.gopsToAlignWith=[],this.timeMapping_=0,this.transmuxer_.postMessage({action:\"reset\"}),this.transmuxer_.postMessage({action:\"setTimestampOffset\",timestampOffset:n.timestampOffset}));var e=this.createSimplifiedSegmentObj_(n),t=this.isEndOfStream_(n.mediaIndex,n.playlist,n.partIndex),i=null!==this.mediaIndex,a=n.timeline!==this.currentTimeline_&&0<n.timeline,a=t||i&&a;this.logger_(\"Requesting \"+xu(n)),e.map&&!e.map.bytes&&(this.logger_(\"going to request init segment.\"),this.appendInitSegment_={video:!0,audio:!0}),n.abortRequests=mu({xhr:this.vhs_.xhr,xhrOptions:this.xhrOptions_,decryptionWorker:this.decrypter_,segment:e,abortFn:this.handleAbort_.bind(this,n),progressFn:this.handleProgress_.bind(this),trackInfoFn:this.handleTrackInfo_.bind(this),timingInfoFn:this.handleTimingInfo_.bind(this),videoSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,\"video\",n.requestId),audioSegmentTimingInfoFn:this.handleSegmentTimingInfo_.bind(this,\"audio\",n.requestId),captionsFn:this.handleCaptions_.bind(this),isEndOfTimeline:a,endedTimelineFn:function(){r.logger_(\"received endedtimeline callback\")},id3Fn:this.handleId3_.bind(this),dataFn:this.handleData_.bind(this),doneFn:this.segmentRequestFinished_.bind(this),onTransmuxerLog:function(e){var t=e.message,i=e.level,e=e.stream;r.logger_(xu(n)+\" logged from transmuxer stream \"+e+\" as a \"+i+\": \"+t)}})},t.trimBackBuffer_=function(e){var t,i,n,r,r=(t=this.seekable_(),i=this.currentTime_(),n=this.playlist_.targetDuration||10,r=i-Gu.BACK_BUFFER_LENGTH,t.length&&(r=Math.max(r,t.start(0))),Math.min(i-n,r));0<r&&this.remove(0,r)},t.createSimplifiedSegmentObj_=function(e){var t=e.segment,i=e.part,n={resolvedUri:(i||t).resolvedUri,byterange:(i||t).byterange,requestId:e.requestId,transmuxer:e.transmuxer,audioAppendStart:e.audioAppendStart,gopsToAlignWith:e.gopsToAlignWith,part:e.part},i=e.playlist.segments[e.mediaIndex-1];return i&&i.timeline===t.timeline&&(i.videoTimingInfo?n.baseStartTime=i.videoTimingInfo.transmuxedDecodeEnd:i.audioTimingInfo&&(n.baseStartTime=i.audioTimingInfo.transmuxedDecodeEnd)),t.key&&(e=t.key.iv||new Uint32Array([0,0,0,e.mediaIndex+e.playlist.mediaSequence]),n.key=this.segmentKey(t.key),n.key.iv=e),t.map&&(n.map=this.initSegmentForMap(t.map)),n},t.saveTransferStats_=function(e){this.mediaRequests+=1,e&&(this.mediaBytesTransferred+=e.bytesReceived,this.mediaTransferDuration+=e.roundTripTime)},t.saveBandwidthRelatedStats_=function(e,t){this.pendingSegment_.byteLength=t.bytesReceived,e<1/60?this.logger_(\"Ignoring segment's bandwidth because its duration of \"+e+\" is less than the min to record \"+1/60):(this.bandwidth=t.bandwidth,this.roundTrip=t.roundTripTime)},t.handleTimeout_=function(){this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,this.trigger(\"bandwidthupdate\")},t.segmentRequestFinished_=function(e,t,i){if(this.callQueue_.length)this.callQueue_.push(this.segmentRequestFinished_.bind(this,e,t,i));else if(this.saveTransferStats_(t.stats),this.pendingSegment_&&t.requestId===this.pendingSegment_.requestId){if(e)return this.pendingSegment_=null,this.state=\"READY\",e.code===Zu?void 0:(this.pause(),e.code===Ju?void this.handleTimeout_():(this.mediaRequestsErrored+=1,this.error(e),void this.trigger(\"error\")));e=this.pendingSegment_;this.saveBandwidthRelatedStats_(e.duration,t.stats),e.endOfAllRequests=t.endOfAllRequests,i.gopInfo&&(this.gopBuffer_=function(e,t,i){if(!t.length)return e;if(i)return t.slice();for(var n=t[0].pts,r=0;r<e.length&&!(e[r].pts>=n);r++);return e.slice(0,r).concat(t)}(this.gopBuffer_,i.gopInfo,this.safeAppend_)),this.state=\"APPENDING\",this.trigger(\"appending\"),this.waitForAppendsToComplete_(e)}},t.setTimeMapping_=function(e){e=this.syncController_.mappingForTimeline(e);null!==e&&(this.timeMapping_=e)},t.updateMediaSecondsLoaded_=function(e){\"number\"==typeof e.start&&\"number\"==typeof e.end?this.mediaSecondsLoaded+=e.end-e.start:this.mediaSecondsLoaded+=e.duration},t.shouldUpdateTransmuxerTimestampOffset_=function(e){return null!==e&&(\"main\"===this.loaderType_&&e!==this.sourceUpdater_.videoTimestampOffset()||!this.audioDisabled_&&e!==this.sourceUpdater_.audioTimestampOffset())},t.trueSegmentStart_=function(e){var t=e.currentStart,i=e.playlist,n=e.mediaIndex,r=e.firstVideoFrameTimeForData,a=e.currentVideoTimestampOffset,s=e.useVideoTimingInfo,o=e.videoTimingInfo,e=e.audioTimingInfo;if(\"undefined\"!=typeof t)return t;if(!s)return e.start;i=i.segments[n-1];return 0!==n&&i&&\"undefined\"!=typeof i.start&&i.end===r+a?o.start:r},t.waitForAppendsToComplete_=function(e){var t=this.getCurrentMediaInfo_(e);if(!t)return this.error({message:\"No starting media returned, likely due to an unsupported media format.\",blacklistDuration:1/0}),void this.trigger(\"error\");var i=t.hasAudio,n=t.hasVideo,t=t.isMuxed,n=\"main\"===this.loaderType_&&n,t=!this.audioDisabled_&&i&&!t;if(e.waitingOnAppends=0,!e.hasAppendedData_)return e.timingInfo||\"number\"!=typeof e.timestampOffset||(this.isPendingTimestampOffset_=!0),e.timingInfo={start:0},e.waitingOnAppends++,this.isPendingTimestampOffset_||(this.updateSourceBufferTimestampOffset_(e),this.processMetadataQueue_()),void this.checkAppendsDone_(e);n&&e.waitingOnAppends++,t&&e.waitingOnAppends++,n&&this.sourceUpdater_.videoQueueCallback(this.checkAppendsDone_.bind(this,e)),t&&this.sourceUpdater_.audioQueueCallback(this.checkAppendsDone_.bind(this,e))},t.checkAppendsDone_=function(e){this.checkForAbort_(e.requestId)||(e.waitingOnAppends--,0===e.waitingOnAppends&&this.handleAppendsDone_())},t.checkForIllegalMediaSwitch=function(e){var t,i,e=(t=this.loaderType_,i=this.getCurrentMediaInfo_(),e=e,\"main\"===t&&i&&e?e.hasAudio||e.hasVideo?i.hasVideo&&!e.hasVideo?\"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.\":!i.hasVideo&&e.hasVideo?\"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.\":null:\"Neither audio nor video found in segment.\":null);return!!e&&(this.error({message:e,blacklistDuration:1/0}),this.trigger(\"error\"),!0)},t.updateSourceBufferTimestampOffset_=function(e){var t;null===e.timestampOffset||\"number\"!=typeof e.timingInfo.start||e.changedTimestampOffset||\"main\"!==this.loaderType_||(t=!1,e.timestampOffset-=e.timingInfo.start,e.changedTimestampOffset=!0,e.timestampOffset!==this.sourceUpdater_.videoTimestampOffset()&&(this.sourceUpdater_.videoTimestampOffset(e.timestampOffset),t=!0),e.timestampOffset!==this.sourceUpdater_.audioTimestampOffset()&&(this.sourceUpdater_.audioTimestampOffset(e.timestampOffset),t=!0),t&&this.trigger(\"timestampoffset\"))},t.updateTimingInfoEnd_=function(e){e.timingInfo=e.timingInfo||{};var t=this.getMediaInfo_(),t=\"main\"===this.loaderType_&&t&&t.hasVideo&&e.videoTimingInfo?e.videoTimingInfo:e.audioTimingInfo;t&&(e.timingInfo.end=\"number\"==typeof t.end?t.end:t.start+e.duration)},t.handleAppendsDone_=function(){if(this.pendingSegment_&&this.trigger(\"appendsdone\"),!this.pendingSegment_)return this.state=\"READY\",void(this.paused()||this.monitorBuffer_());var e=this.pendingSegment_;this.updateTimingInfoEnd_(e),this.shouldSaveSegmentTimingInfo_&&this.syncController_.saveSegmentTimingInfo({segmentInfo:e,shouldSaveTimelineMapping:\"main\"===this.loaderType_});var t=Du(e,this.sourceType_);t&&(\"warn\"===t.severity?Zn.log.warn(t.message):this.logger_(t.message)),this.recordThroughput_(e),this.pendingSegment_=null,this.state=\"READY\",!e.isSyncRequest||(this.trigger(\"syncinfoupdate\"),e.hasAppendedData_)?(this.logger_(\"Appended \"+xu(e)),this.addSegmentMetadataCue_(e),this.fetchAtBuffer_=!0,this.currentTimeline_!==e.timeline&&(this.timelineChangeController_.lastTimelineChange({type:this.loaderType_,from:this.currentTimeline_,to:e.timeline}),\"main\"!==this.loaderType_||this.audioDisabled_||this.timelineChangeController_.lastTimelineChange({type:\"audio\",from:this.currentTimeline_,to:e.timeline})),this.currentTimeline_=e.timeline,this.trigger(\"syncinfoupdate\"),(t=e.segment).end&&this.currentTime_()-t.end>3*e.playlist.targetDuration?this.resetEverything():(null!==this.mediaIndex&&this.trigger(\"bandwidthupdate\"),this.trigger(\"progress\"),this.mediaIndex=e.mediaIndex,this.partIndex=e.partIndex,this.isEndOfStream_(e.mediaIndex,e.playlist,e.partIndex)&&this.endOfStream(),this.trigger(\"appended\"),e.hasAppendedData_&&this.mediaAppends++,this.paused()||this.monitorBuffer_())):this.logger_(\"Throwing away un-appended sync request \"+xu(e))},t.recordThroughput_=function(e){var t,i;e.duration<1/60?this.logger_(\"Ignoring segment's throughput because its duration of \"+e.duration+\" is less than the min to record \"+1/60):(t=this.throughput.rate,i=Date.now()-e.endOfAllRequests+1,i=Math.floor(e.byteLength/i*8*1e3),this.throughput.rate+=(i-t)/++this.throughput.count)},t.addSegmentMetadataCue_=function(e){var t,i,n,r;this.segmentMetadataTrack_&&(i=(t=e.segment).start,r=t.end,Iu(i)&&Iu(r)&&(wu(i,r,this.segmentMetadataTrack_),n=_.WebKitDataCue||_.VTTCue,e={custom:t.custom,dateTimeObject:t.dateTimeObject,dateTimeString:t.dateTimeString,bandwidth:e.playlist.attributes.BANDWIDTH,resolution:e.playlist.attributes.RESOLUTION,codecs:e.playlist.attributes.CODECS,byteLength:e.byteLength,uri:e.uri,timeline:e.timeline,playlist:e.playlist.id,start:i,end:r},(r=new n(i,r,JSON.stringify(e))).value=e,this.segmentMetadataTrack_.addCue(r)))},e}(Zn.EventTarget);function nl(){}function rl(e){return\"string\"!=typeof e?e:e.replace(/./,function(e){return e.toUpperCase()})}function al(e,t){var i=t[e+\"Buffer\"];return i&&i.updating||t.queuePending[e]}function sl(e,t){if(0!==t.queue.length){var i=0,n=t.queue[i];if(\"mediaSource\"!==n.type){if(\"mediaSource\"!==e&&t.ready()&&\"closed\"!==t.mediaSource.readyState&&!al(e,t)){if(n.type!==e){if(null===(i=function(e,t){for(var i=0;i<t.length;i++){var n=t[i];if(\"mediaSource\"===n.type)return null;if(n.type===e)return i}return null}(e,t.queue)))return;n=t.queue[i]}t.queue.splice(i,1),(t.queuePending[e]=n).action(e,t),n.doneFn||(t.queuePending[e]=null,sl(e,t))}}else t.updating()||\"closed\"===t.mediaSource.readyState||(t.queue.shift(),n.action(t),n.doneFn&&n.doneFn(),sl(\"audio\",t),sl(\"video\",t))}}function ol(e,t){var i=t[e+\"Buffer\"],n=rl(e);i&&(i.removeEventListener(\"updateend\",t[\"on\"+n+\"UpdateEnd_\"]),i.removeEventListener(\"error\",t[\"on\"+n+\"Error_\"]),t.codecs[e]=null,t[e+\"Buffer\"]=null)}function ul(e,t){return e&&t&&-1!==Array.prototype.indexOf.call(e.sourceBuffers,t)}function ll(e){var t=e.type,i=e.sourceUpdater,n=e.action,r=e.doneFn,e=e.name;i.queue.push({type:t,action:n,doneFn:r,name:e}),sl(t,i)}function cl(i,n){return function(e){var t;n.queuePending[i]&&(t=n.queuePending[i].doneFn,n.queuePending[i]=null,t&&t(n[i+\"Error_\"])),sl(i,n)}}function dl(e){return decodeURIComponent(escape(String.fromCharCode.apply(null,e)))}function hl(e,t){e.abort(),e.pause(),t&&t.activePlaylistLoader&&(t.activePlaylistLoader.pause(),t.activePlaylistLoader=null)}function pl(e,t){(t.activePlaylistLoader=e).load()}function fl(e,t){for(var i=0;i<e.length;i++){if(Co(t,e[i]))return!0;if(e[i].playlists&&fl(e[i].playlists,t))return!0}return!1}function ml(a){[\"AUDIO\",\"SUBTITLES\",\"CLOSED-CAPTIONS\"].forEach(function(e){Fl[e](e,a)});var e,s=a.mediaTypes,t=a.masterPlaylistLoader,i=a.tech,n=a.vhs,r=a.segmentLoaders,o=r.AUDIO,u=r.main;function l(){s.AUDIO.onTrackChanged(),i.trigger({type:\"usage\",name:\"vhs-audio-change\"}),i.trigger({type:\"usage\",name:\"hls-audio-change\"})}for(e in[\"AUDIO\",\"SUBTITLES\"].forEach(function(e){var u,l,o,c,t,i,d,h,n,r;s[e].activeGroup=(u=e,l=a,function(t){var e=l.masterPlaylistLoader,i=l.mediaTypes[u].groups,n=e.media();if(!n)return null;var r=null;n.attributes[u]&&(r=i[n.attributes[u]]);var a=Object.keys(i);if(!r)if(\"AUDIO\"===u&&1<a.length&&Io(l.master))for(var s=0;s<a.length;s++){var o=i[a[s]];if(fl(o,n)){r=o;break}}else i.main?r=i.main:1===a.length&&(r=i[a[0]]);return\"undefined\"==typeof t?r:null!==t&&r&&r.filter(function(e){return e.id===t.id})[0]||null}),s[e].activeTrack=jl[e](e,a),s[e].onGroupChanged=(o=e,c=a,function(){var e=c.segmentLoaders,t=e[o],i=e.main,n=c.mediaTypes[o],r=n.activeTrack(),a=n.getActiveGroup(),s=n.activePlaylistLoader,e=n.lastGroup_;a&&e&&a.id===e.id||(n.lastGroup_=a,n.lastTrack_=r,hl(t,n),a&&!a.isMasterPlaylist&&(a.playlistLoader?(t.resyncLoader(),pl(a.playlistLoader,n)):s&&i.resetEverything()))}),s[e].onGroupChanging=(t=e,i=a,function(){var e=i.segmentLoaders[t];i.mediaTypes[t].lastGroup_=null,e.abort(),e.pause()}),s[e].onTrackChanged=(d=e,h=a,function(){var e=h.masterPlaylistLoader,t=h.segmentLoaders,i=t[d],n=t.main,r=h.mediaTypes[d],a=r.activeTrack(),s=r.getActiveGroup(),o=r.activePlaylistLoader,u=r.lastTrack_;if((!u||!a||u.id!==a.id)&&(r.lastGroup_=s,r.lastTrack_=a,hl(i,r),s)){if(s.isMasterPlaylist){if(!a||!u||a.id===u.id)return;var l=h.vhs.masterPlaylistController_,t=l.selectPlaylist();return l.media()===t?void 0:(r.logger_(\"track change. Switching master audio from \"+u.id+\" to \"+a.id),e.pause(),n.resetEverything(),void l.fastQualityChange_(t))}if(\"AUDIO\"===d){if(!s.playlistLoader)return n.setAudio(!0),void n.resetEverything();i.setAudio(!0),n.setAudio(!1)}o!==s.playlistLoader&&(i.track&&i.track(a),i.resetEverything()),pl(s.playlistLoader,r)}}),s[e].getActiveGroup=(n=e,r=a.mediaTypes,function(){var e=r[n].activeTrack();return e?r[n].activeGroup(e):null})}),(r=s.AUDIO.activeGroup())&&(r=(r.filter(function(e){return e.default})[0]||r[0]).id,s.AUDIO.tracks[r].enabled=!0,s.AUDIO.onGroupChanged(),s.AUDIO.onTrackChanged(),s.AUDIO.getActiveGroup().playlistLoader?(u.setAudio(!1),o.setAudio(!0)):u.setAudio(!0)),t.on(\"mediachange\",function(){[\"AUDIO\",\"SUBTITLES\"].forEach(function(e){return s[e].onGroupChanged()})}),t.on(\"mediachanging\",function(){[\"AUDIO\",\"SUBTITLES\"].forEach(function(e){return s[e].onGroupChanging()})}),i.audioTracks().addEventListener(\"change\",l),i.remoteTextTracks().addEventListener(\"change\",s.SUBTITLES.onTrackChanged),n.on(\"dispose\",function(){i.audioTracks().removeEventListener(\"change\",l),i.remoteTextTracks().removeEventListener(\"change\",s.SUBTITLES.onTrackChanged)}),i.clearTracks(\"audio\"),s.AUDIO.tracks)i.audioTracks().addTrack(s.AUDIO.tracks[e])}function gl(e,t,i){var n,r,a,s,o=e.masterPlaylistController_,u=o[(e.options_.smoothQualityChange?\"smooth\":\"fast\")+\"QualityChange_\"].bind(o);t.attributes&&(n=t.attributes.RESOLUTION,this.width=n&&n.width,this.height=n&&n.height,this.bandwidth=t.attributes.BANDWIDTH),this.codecs=_u(o.master(),t),this.playlist=t,this.id=i,this.enabled=(r=e.playlists,a=t.id,s=u,function(e){var t=r.master.playlists[a],i=To(t),n=So(t);return\"undefined\"==typeof e?n:(e?delete t.disabled:t.disabled=!0,e===n||i||(s(),e?r.trigger(\"renditionenabled\"):r.trigger(\"renditiondisabled\")),e)})}function yl(t,e){var i=0,n=0,r=Zn.mergeOptions(zl,e);function a(){n&&t.currentTime(n)}function s(e){null!=e&&(n=t.duration()!==1/0&&t.currentTime()||0,t.one(\"loadedmetadata\",a),t.src(e),t.trigger({type:\"usage\",name:\"vhs-error-reload\"}),t.trigger({type:\"usage\",name:\"hls-error-reload\"}),t.play())}function o(){return Date.now()-i<1e3*r.errorInterval?(t.trigger({type:\"usage\",name:\"vhs-error-reload-canceled\"}),void t.trigger({type:\"usage\",name:\"hls-error-reload-canceled\"})):r.getSource&&\"function\"==typeof r.getSource?(i=Date.now(),r.getSource.call(t,s)):void Zn.log.error(\"ERROR: reloadSourceOnError - The option getSource must be a function!\")}function u(){t.off(\"loadedmetadata\",a),t.off(\"error\",o),t.off(\"dispose\",u)}t.ready(function(){t.trigger({type:\"usage\",name:\"vhs-error-reload-initialized\"}),t.trigger({type:\"usage\",name:\"hls-error-reload-initialized\"})}),t.on(\"error\",o),t.on(\"dispose\",u),t.reloadSourceOnError=function(e){u(),yl(t,e)}}var vl,_l=[\"video\",\"audio\"],bl=function(n,r,a){return function(t,i){var e=i[t+\"Buffer\"];if(ul(i.mediaSource,e)){i.logger_(\"Appending segment \"+r.mediaIndex+\"'s \"+n.length+\" bytes to \"+t+\"Buffer\");try{e.appendBuffer(n)}catch(e){i.logger_(\"Error with code \"+e.code+\" \"+(22===e.code?\"(QUOTA_EXCEEDED_ERR) \":\"\")+\"when appending segment \"+r.mediaIndex+\" to \"+t+\"Buffer\"),i.queuePending[t]=null,a(e)}}}},Tl=function(n,r){return function(t,i){var e=i[t+\"Buffer\"];if(ul(i.mediaSource,e)){i.logger_(\"Removing \"+n+\" to \"+r+\" from \"+t+\"Buffer\");try{e.remove(n,r)}catch(e){i.logger_(\"Remove \"+n+\" to \"+r+\" from \"+t+\"Buffer failed\")}}}},Sl=function(n){return function(e,t){var i=t[e+\"Buffer\"];ul(t.mediaSource,i)&&(t.logger_(\"Setting \"+e+\"timestampOffset to \"+n),i.timestampOffset=n)}},El=function(i){return function(e,t){i()}},kl=function(t){return function(e){if(\"open\"===e.mediaSource.readyState){e.logger_(\"Calling mediaSource endOfStream(\"+(t||\"\")+\")\");try{e.mediaSource.endOfStream(t)}catch(e){Zn.log.warn(\"Failed to call media source endOfStream\",e)}}}},Cl=function(t){return function(e){e.logger_(\"Setting mediaSource duration to \"+t);try{e.mediaSource.duration=t}catch(e){Zn.log.warn(\"Failed to set media source duration\",e)}}},wl=function(){return function(t,e){if(\"open\"===e.mediaSource.readyState){var i=e[t+\"Buffer\"];if(ul(e.mediaSource,i)){e.logger_(\"calling abort on \"+t+\"Buffer\");try{i.abort()}catch(e){Zn.log.warn(\"Failed to abort on \"+t+\"Buffer\",e)}}}}},Il=function(n,r){return function(e){var t=rl(n),i=pr(r);e.logger_(\"Adding \"+n+\"Buffer with codec \"+r+\" to mediaSource\");i=e.mediaSource.addSourceBuffer(i);i.addEventListener(\"updateend\",e[\"on\"+t+\"UpdateEnd_\"]),i.addEventListener(\"error\",e[\"on\"+t+\"Error_\"]),e.codecs[n]=r,e[n+\"Buffer\"]=i}},xl=function(i){return function(e){var t=e[i+\"Buffer\"];if(ol(i,e),ul(e.mediaSource,t)){e.logger_(\"Removing \"+i+\"Buffer with codec \"+e.codecs[i]+\" from mediaSource\");try{e.mediaSource.removeSourceBuffer(t)}catch(e){Zn.log.warn(\"Failed to removeSourceBuffer \"+i+\"Buffer\",e)}}}},Al=function(r){return function(e,t){var i=t[e+\"Buffer\"],n=pr(r);ul(t.mediaSource,i)&&t.codecs[e]!==r&&(t.logger_(\"changing \"+e+\"Buffer codec from \"+t.codecs[e]+\" to \"+r),i.changeType(n),t.codecs[e]=r)}},Pl=function(i){function e(e){var t=i.call(this)||this;return t.mediaSource=e,t.sourceopenListener_=function(){return sl(\"mediaSource\",ft(t))},t.mediaSource.addEventListener(\"sourceopen\",t.sourceopenListener_),t.logger_=ro(\"SourceUpdater\"),t.audioTimestampOffset_=0,t.videoTimestampOffset_=0,t.queue=[],t.queuePending={audio:null,video:null},t.delayedAudioAppendQueue_=[],t.videoAppendQueued_=!1,t.codecs={},t.onVideoUpdateEnd_=cl(\"video\",ft(t)),t.onAudioUpdateEnd_=cl(\"audio\",ft(t)),t.onVideoError_=function(e){t.videoError_=e},t.onAudioError_=function(e){t.audioError_=e},t.createdSourceBuffers_=!1,t.initializedEme_=!1,t.triggeredReady_=!1,t}mt(e,i);var t=e.prototype;return t.initializedEme=function(){this.initializedEme_=!0,this.triggerReady()},t.hasCreatedSourceBuffers=function(){return this.createdSourceBuffers_},t.hasInitializedAnyEme=function(){return this.initializedEme_},t.ready=function(){return this.hasCreatedSourceBuffers()&&this.hasInitializedAnyEme()},t.createSourceBuffers=function(e){this.hasCreatedSourceBuffers()||(this.addOrChangeSourceBuffers(e),this.createdSourceBuffers_=!0,this.trigger(\"createdsourcebuffers\"),this.triggerReady())},t.triggerReady=function(){this.ready()&&!this.triggeredReady_&&(this.triggeredReady_=!0,this.trigger(\"ready\"))},t.addSourceBuffer=function(e,t){ll({type:\"mediaSource\",sourceUpdater:this,action:Il(e,t),name:\"addSourceBuffer\"})},t.abort=function(e){ll({type:e,sourceUpdater:this,action:wl(e),name:\"abort\"})},t.removeSourceBuffer=function(e){this.canRemoveSourceBuffer()?ll({type:\"mediaSource\",sourceUpdater:this,action:xl(e),name:\"removeSourceBuffer\"}):Zn.log.error(\"removeSourceBuffer is not supported!\")},t.canRemoveSourceBuffer=function(){return!Zn.browser.IE_VERSION&&!Zn.browser.IS_FIREFOX&&_.MediaSource&&_.MediaSource.prototype&&\"function\"==typeof _.MediaSource.prototype.removeSourceBuffer},e.canChangeType=function(){return _.SourceBuffer&&_.SourceBuffer.prototype&&\"function\"==typeof _.SourceBuffer.prototype.changeType},t.canChangeType=function(){return this.constructor.canChangeType()},t.changeType=function(e,t){this.canChangeType()?ll({type:e,sourceUpdater:this,action:Al(t),name:\"changeType\"}):Zn.log.error(\"changeType is not supported!\")},t.addOrChangeSourceBuffers=function(i){var n=this;if(!i||\"object\"!=typeof i||0===Object.keys(i).length)throw new Error(\"Cannot addOrChangeSourceBuffers to undefined codecs\");Object.keys(i).forEach(function(e){var t=i[e];if(!n.hasCreatedSourceBuffers())return n.addSourceBuffer(e,t);n.canChangeType()&&n.changeType(e,t)})},t.appendBuffer=function(e,t){var i=this,n=e.segmentInfo,r=e.type,a=e.bytes;if(this.processedAppend_=!0,\"audio\"===r&&this.videoBuffer&&!this.videoAppendQueued_)return this.delayedAudioAppendQueue_.push([e,t]),void this.logger_(\"delayed audio append of \"+a.length+\" until video append\");ll({type:r,sourceUpdater:this,action:bl(a,n||{mediaIndex:-1},t),doneFn:t,name:\"appendBuffer\"}),\"video\"===r&&(this.videoAppendQueued_=!0,this.delayedAudioAppendQueue_.length&&(r=this.delayedAudioAppendQueue_.slice(),this.logger_(\"queuing delayed audio \"+r.length+\" appendBuffers\"),this.delayedAudioAppendQueue_.length=0,r.forEach(function(e){i.appendBuffer.apply(i,e)})))},t.audioBuffered=function(){return ul(this.mediaSource,this.audioBuffer)&&this.audioBuffer.buffered||Zn.createTimeRange()},t.videoBuffered=function(){return ul(this.mediaSource,this.videoBuffer)&&this.videoBuffer.buffered||Zn.createTimeRange()},t.buffered=function(){var e=ul(this.mediaSource,this.videoBuffer)?this.videoBuffer:null,t=ul(this.mediaSource,this.audioBuffer)?this.audioBuffer:null;return t&&!e?this.audioBuffered():e&&!t?this.videoBuffered():function(e,t){var i=null,n=null,r=0,a=[],s=[];if(!(e&&e.length&&t&&t.length))return Zn.createTimeRange();for(var o=e.length;o--;)a.push({time:e.start(o),type:\"start\"}),a.push({time:e.end(o),type:\"end\"});for(o=t.length;o--;)a.push({time:t.start(o),type:\"start\"}),a.push({time:t.end(o),type:\"end\"});for(a.sort(function(e,t){return e.time-t.time}),o=0;o<a.length;o++)\"start\"===a[o].type?2===++r&&(i=a[o].time):\"end\"===a[o].type&&1===--r&&(n=a[o].time),null!==i&&null!==n&&(s.push([i,n]),n=i=null);return Zn.createTimeRanges(s)}(this.audioBuffered(),this.videoBuffered())},t.setDuration=function(e,t){void 0===t&&(t=nl),ll({type:\"mediaSource\",sourceUpdater:this,action:Cl(e),name:\"duration\",doneFn:t})},t.endOfStream=function(e,t){void 0===t&&(t=nl),ll({type:\"mediaSource\",sourceUpdater:this,action:kl(e=\"string\"!=typeof(e=void 0===e?null:e)?void 0:e),name:\"endOfStream\",doneFn:t})},t.removeAudio=function(e,t,i){void 0===i&&(i=nl),this.audioBuffered().length&&0!==this.audioBuffered().end(0)?ll({type:\"audio\",sourceUpdater:this,action:Tl(e,t),doneFn:i,name:\"remove\"}):i()},t.removeVideo=function(e,t,i){void 0===i&&(i=nl),this.videoBuffered().length&&0!==this.videoBuffered().end(0)?ll({type:\"video\",sourceUpdater:this,action:Tl(e,t),doneFn:i,name:\"remove\"}):i()},t.updating=function(){return!(!al(\"audio\",this)&&!al(\"video\",this))},t.audioTimestampOffset=function(e){return\"undefined\"!=typeof e&&this.audioBuffer&&this.audioTimestampOffset_!==e&&(ll({type:\"audio\",sourceUpdater:this,action:Sl(e),name:\"timestampOffset\"}),this.audioTimestampOffset_=e),this.audioTimestampOffset_},t.videoTimestampOffset=function(e){return\"undefined\"!=typeof e&&this.videoBuffer&&this.videoTimestampOffset!==e&&(ll({type:\"video\",sourceUpdater:this,action:Sl(e),name:\"timestampOffset\"}),this.videoTimestampOffset_=e),this.videoTimestampOffset_},t.audioQueueCallback=function(e){this.audioBuffer&&ll({type:\"audio\",sourceUpdater:this,action:El(e),name:\"callback\"})},t.videoQueueCallback=function(e){this.videoBuffer&&ll({type:\"video\",sourceUpdater:this,action:El(e),name:\"callback\"})},t.dispose=function(){var t=this;this.trigger(\"dispose\"),_l.forEach(function(e){t.abort(e),t.canRemoveSourceBuffer()?t.removeSourceBuffer(e):t[e+\"QueueCallback\"](function(){return ol(e,t)})}),this.videoAppendQueued_=!1,this.delayedAudioAppendQueue_.length=0,this.sourceopenListener_&&this.mediaSource.removeEventListener(\"sourceopen\",this.sourceopenListener_),this.off()},e}(Zn.EventTarget),Ll=new Uint8Array(\"\\n\\n\".split(\"\").map(function(e){return e.charCodeAt(0)})),Dl=function(i){function e(e,t){return(t=i.call(this,e,t=void 0===t?{}:t)||this).mediaSource_=null,t.subtitlesTrack_=null,t.loaderType_=\"subtitle\",t.featuresNativeTextTracks_=e.featuresNativeTextTracks,t.shouldSaveSegmentTimingInfo_=!1,t}mt(e,i);var t=e.prototype;return t.createTransmuxer_=function(){return null},t.buffered_=function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues||!this.subtitlesTrack_.cues.length)return Zn.createTimeRanges();var e=this.subtitlesTrack_.cues,t=e[0].startTime,e=e[e.length-1].startTime;return Zn.createTimeRanges([[t,e]])},t.initSegmentForMap=function(e,t){if(void 0===t&&(t=!1),!e)return null;var i=Wo(e),n=this.initSegments_[i];return t&&!n&&e.bytes&&(t=Ll.byteLength+e.bytes.byteLength,(t=new Uint8Array(t)).set(e.bytes),t.set(Ll,e.bytes.byteLength),this.initSegments_[i]=n={resolvedUri:e.resolvedUri,byterange:e.byterange,bytes:t}),n||e},t.couldBeginLoading_=function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()},t.init_=function(){return this.state=\"READY\",this.resetEverything(),this.monitorBuffer_()},t.track=function(e){return\"undefined\"==typeof e||(this.subtitlesTrack_=e,\"INIT\"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_},t.remove=function(e,t){wu(e,t,this.subtitlesTrack_)},t.fillBuffer_=function(){var e=this,t=this.chooseNextRequest_();if(t){if(null===this.syncController_.timestampOffsetForTimeline(t.timeline))return this.syncController_.one(\"timestampoffset\",function(){e.state=\"READY\",e.paused()||e.monitorBuffer_()}),void(this.state=\"WAITING_ON_TIMELINE\");this.loadSegment_(t)}},t.timestampOffsetForSegment_=function(){return null},t.chooseNextRequest_=function(){return this.skipEmptySegments_(i.prototype.chooseNextRequest_.call(this))},t.skipEmptySegments_=function(e){for(;e&&e.segment.empty;){if(e.mediaIndex+1>=e.playlist.segments.length){e=null;break}e=this.generateSegmentInfo_({playlist:e.playlist,mediaIndex:e.mediaIndex+1,startOfSegment:e.startOfSegment+e.duration,isSyncRequest:e.isSyncRequest})}return e},t.stopForError=function(e){this.error(e),this.state=\"READY\",this.pause(),this.trigger(\"error\")},t.segmentRequestFinished_=function(e,t,i){var n=this;if(this.subtitlesTrack_){if(this.saveTransferStats_(t.stats),!this.pendingSegment_)return this.state=\"READY\",void(this.mediaRequestsAborted+=1);if(e)return e.code===Ju&&this.handleTimeout_(),e.code===Zu?this.mediaRequestsAborted+=1:this.mediaRequestsErrored+=1,void this.stopForError(e);var r=this.pendingSegment_;this.saveBandwidthRelatedStats_(r.duration,t.stats),this.state=\"APPENDING\",this.trigger(\"appending\");var a=r.segment;if(a.map&&(a.map.bytes=t.map.bytes),r.bytes=t.bytes,\"function\"!=typeof _.WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var s=function(){n.subtitlesTrack_.tech_.off(\"vttjsloaded\",o),n.stopForError({message:\"Error loading vtt.js\"})},o=function(){n.subtitlesTrack_.tech_.off(\"vttjserror\",s),n.segmentRequestFinished_(e,t,i)};return this.state=\"WAITING_ON_VTTJS\",this.subtitlesTrack_.tech_.one(\"vttjsloaded\",o),void this.subtitlesTrack_.tech_.one(\"vttjserror\",s)}a.requested=!0;try{this.parseVTTCues_(r)}catch(e){return void this.stopForError({message:e.message})}if(this.updateTimeMapping_(r,this.syncController_.timelines[r.timeline],this.playlist_),r.cues.length?r.timingInfo={start:r.cues[0].startTime,end:r.cues[r.cues.length-1].endTime}:r.timingInfo={start:r.startOfSegment,end:r.startOfSegment+r.duration},r.isSyncRequest)return this.trigger(\"syncinfoupdate\"),this.pendingSegment_=null,void(this.state=\"READY\");r.byteLength=r.bytes.byteLength,this.mediaSecondsLoaded+=a.duration,r.cues.forEach(function(e){n.subtitlesTrack_.addCue(n.featuresNativeTextTracks_?new _.VTTCue(e.startTime,e.endTime,e.text):e)}),function(t){var e=t.cues;if(e)for(var i=0;i<e.length;i++){for(var n=[],r=0,a=0;a<e.length;a++)e[i].startTime===e[a].startTime&&e[i].endTime===e[a].endTime&&e[i].text===e[a].text&&1<++r&&n.push(e[a]);n.length&&n.forEach(function(e){return t.removeCue(e)})}}(this.subtitlesTrack_),this.handleAppendsDone_()}else this.state=\"READY\"},t.handleData_=function(){},t.updateTimingInfoEnd_=function(){},t.parseVTTCues_=function(t){var e=!1;\"function\"==typeof _.TextDecoder?i=new _.TextDecoder(\"utf8\"):(i=_.WebVTT.StringDecoder(),e=!0);var i=new _.WebVTT.Parser(_,_.vttjs,i);t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},i.oncue=t.cues.push.bind(t.cues),i.ontimestampmap=function(e){t.timestampmap=e},i.onparsingerror=function(e){Zn.log.warn(\"Error encountered when parsing cues: \"+e.message)},t.segment.map&&(n=t.segment.map.bytes,e&&(n=dl(n)),i.parse(n));var n=t.bytes;e&&(n=dl(n)),i.parse(n),i.flush()},t.updateTimeMapping_=function(e,t,i){var n,r,a=e.segment;t&&(e.cues.length?(r=e.timestampmap,n=r.MPEGTS/Ru-r.LOCAL+t.mapping,e.cues.forEach(function(e){e.startTime+=n,e.endTime+=n}),i.syncInfo||(r=e.cues[0].startTime,t=e.cues[e.cues.length-1].startTime,i.syncInfo={mediaSequence:i.mediaSequence+e.mediaIndex,time:Math.min(r,t-a.duration)})):a.empty=!0)},e}(il),Ol=[{name:\"VOD\",run:function(e,t,i,n,r){if(i===1/0)return null;return{time:0,segmentIndex:0,partIndex:null}}},{name:\"ProgramDateTime\",run:function(e,t,i,n,r){if(!Object.keys(e.timelineToDatetimeMappings).length)return null;var a=null,s=null,o=ho(t);r=r||0;for(var u=0;u<o.length;u++){var l=o[t.endList||0===r?u:o.length-(u+1)],c=l.segment,d=e.timelineToDatetimeMappings[c.timeline];if(d&&c.dateTimeObject){var h=c.dateTimeObject.getTime()/1e3+d;if(c.parts&&\"number\"==typeof l.partIndex)for(var p=0;p<l.partIndex;p++)h+=c.parts[p].duration;d=Math.abs(r-h);if(null!==s&&(0===d||s<d))break;s=d,a={time:h,segmentIndex:l.segmentIndex,partIndex:l.partIndex}}}return a}},{name:\"Segment\",run:function(e,t,i,n,r){var a=null,s=null;r=r||0;for(var o=ho(t),u=0;u<o.length;u++){var l=o[t.endList||0===r?u:o.length-(u+1)],c=l.segment,d=l.part&&l.part.start||c&&c.start;if(c.timeline===n&&\"undefined\"!=typeof d){c=Math.abs(r-d);if(null!==s&&s<c)break;(!a||null===s||c<=s)&&(s=c,a={time:d,segmentIndex:l.segmentIndex,partIndex:l.partIndex})}}return a}},{name:\"Discontinuity\",run:function(e,t,i,n,r){var a=null;if(r=r||0,t.discontinuityStarts&&t.discontinuityStarts.length)for(var s=null,o=0;o<t.discontinuityStarts.length;o++){var u=t.discontinuityStarts[o],l=t.discontinuitySequence+o+1,c=e.discontinuities[l];if(c){l=Math.abs(r-c.time);if(null!==s&&s<l)break;(!a||null===s||l<=s)&&(s=l,a={time:c.time,segmentIndex:u,partIndex:null})}}return a}},{name:\"Playlist\",run:function(e,t,i,n,r){return t.syncInfo?{time:t.syncInfo.time,segmentIndex:t.syncInfo.mediaSequence-t.mediaSequence,partIndex:null}:null}}],Rl=function(i){function e(e){var t=i.call(this)||this;return t.timelines=[],t.discontinuities=[],t.timelineToDatetimeMappings={},t.logger_=ro(\"SyncController\"),t}mt(e,i);var t=e.prototype;return t.getSyncPoint=function(e,t,i,n){i=this.runStrategies_(e,t,i,n);return i.length?this.selectSyncPoint_(i,{key:\"time\",value:n}):null},t.getExpiredTime=function(e,t){if(!e||!e.segments)return null;t=this.runStrategies_(e,t,e.discontinuitySequence,0);if(!t.length)return null;t=this.selectSyncPoint_(t,{key:\"segmentIndex\",value:0});return 0<t.segmentIndex&&(t.time*=-1),Math.abs(t.time+vo({defaultDuration:e.targetDuration,durationList:e.segments,startIndex:t.segmentIndex,endIndex:0}))},t.runStrategies_=function(e,t,i,n){for(var r=[],a=0;a<Ol.length;a++){var s=Ol[a],o=s.run(this,e,t,i,n);o&&(o.strategy=s.name,r.push({strategy:s.name,syncPoint:o}))}return r},t.selectSyncPoint_=function(e,t){for(var i=e[0].syncPoint,n=Math.abs(e[0].syncPoint[t.key]-t.value),r=e[0].strategy,a=1;a<e.length;a++){var s=Math.abs(e[a].syncPoint[t.key]-t.value);s<n&&(n=s,i=e[a].syncPoint,r=e[a].strategy)}return this.logger_(\"syncPoint for [\"+t.key+\": \"+t.value+\"] chosen with strategy [\"+r+\"]: [time:\"+i.time+\", segmentIndex:\"+i.segmentIndex+(\"number\"==typeof i.partIndex?\",partIndex:\"+i.partIndex:\"\")+\"]\"),i},t.saveExpiredSegmentInfo=function(e,t){for(var i=t.mediaSequence-e.mediaSequence-1;0<=i;i--){var n=e.segments[i];if(n&&\"undefined\"!=typeof n.start){t.syncInfo={mediaSequence:e.mediaSequence+i,time:n.start},this.logger_(\"playlist refresh sync: [time:\"+t.syncInfo.time+\", mediaSequence: \"+t.syncInfo.mediaSequence+\"]\"),this.trigger(\"syncinfoupdate\");break}}},t.setDateTimeMappingForStart=function(e){var t;this.timelineToDatetimeMappings={},e.segments&&e.segments.length&&e.segments[0].dateTimeObject&&(e=(t=e.segments[0]).dateTimeObject.getTime()/1e3,this.timelineToDatetimeMappings[t.timeline]=-e)},t.saveSegmentTimingInfo=function(e){var t=e.segmentInfo,i=e.shouldSaveTimelineMapping,n=this.calculateSegmentTimeMapping_(t,t.timingInfo,i),e=t.segment;n&&(this.saveDiscontinuitySyncInfo_(t),t.playlist.syncInfo||(t.playlist.syncInfo={mediaSequence:t.playlist.mediaSequence+t.mediaIndex,time:e.start}));t=e.dateTimeObject;e.discontinuity&&i&&t&&(this.timelineToDatetimeMappings[e.timeline]=-t.getTime()/1e3)},t.timestampOffsetForTimeline=function(e){return\"undefined\"==typeof this.timelines[e]?null:this.timelines[e].time},t.mappingForTimeline=function(e){return\"undefined\"==typeof this.timelines[e]?null:this.timelines[e].mapping},t.calculateSegmentTimeMapping_=function(e,t,i){var n,r,a=e.segment,s=e.part,o=this.timelines[e.timeline];if(\"number\"==typeof e.timestampOffset)o={time:e.startOfSegment,mapping:e.startOfSegment-t.start},i&&(this.timelines[e.timeline]=o,this.trigger(\"timestampoffset\"),this.logger_(\"time mapping for timeline \"+e.timeline+\": [time: \"+o.time+\"] [mapping: \"+o.mapping+\"]\")),n=e.startOfSegment,r=t.end+o.mapping;else{if(!o)return!1;n=t.start+o.mapping,r=t.end+o.mapping}return s&&(s.start=n,s.end=r),(!a.start||n<a.start)&&(a.start=n),a.end=r,!0},t.saveDiscontinuitySyncInfo_=function(e){var t=e.playlist,i=e.segment;if(i.discontinuity)this.discontinuities[i.timeline]={time:i.start,accuracy:0};else if(t.discontinuityStarts&&t.discontinuityStarts.length)for(var n=0;n<t.discontinuityStarts.length;n++){var r,a=t.discontinuityStarts[n],s=t.discontinuitySequence+n+1,o=a-e.mediaIndex,u=Math.abs(o);(!this.discontinuities[s]||this.discontinuities[s].accuracy>u)&&(r=void 0,r=o<0?i.start-vo({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex,endIndex:a}):i.end+vo({defaultDuration:t.targetDuration,durationList:t.segments,startIndex:e.mediaIndex+1,endIndex:a}),this.discontinuities[s]={time:r,accuracy:u})}},t.dispose=function(){this.trigger(\"dispose\"),this.off()},e}(Zn.EventTarget),Ml=function(t){function e(){var e=t.call(this)||this;return e.pendingTimelineChanges_={},e.lastTimelineChanges_={},e}mt(e,t);var i=e.prototype;return i.clearPendingTimelineChange=function(e){this.pendingTimelineChanges_[e]=null,this.trigger(\"pendingtimelinechange\")},i.pendingTimelineChange=function(e){var t=e.type,i=e.from,e=e.to;return\"number\"==typeof i&&\"number\"==typeof e&&(this.pendingTimelineChanges_[t]={type:t,from:i,to:e},this.trigger(\"pendingtimelinechange\")),this.pendingTimelineChanges_[t]},i.lastTimelineChange=function(e){var t=e.type,i=e.from,e=e.to;return\"number\"==typeof i&&\"number\"==typeof e&&(this.lastTimelineChanges_[t]={type:t,from:i,to:e},delete this.pendingTimelineChanges_[t],this.trigger(\"timelinechange\")),this.lastTimelineChanges_[t]},i.dispose=function(){this.trigger(\"dispose\"),this.pendingTimelineChanges_={},this.lastTimelineChanges_={},this.off()},e}(Zn.EventTarget),Nl=ni(nr(z(function(){function e(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return function(){throw new Error(\"Dynamic requires are not currently supported by @rollup/plugin-commonjs\")}(null==t&&i.path)}},i.exports),i.exports}var t=e(function(e){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,\"value\"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e},e.exports.default=e.exports,e.exports.__esModule=!0}),i=e(function(i){function n(e,t){return i.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i.exports.default=i.exports,i.exports.__esModule=!0,n(e,t)}i.exports=n,i.exports.default=i.exports,i.exports.__esModule=!0}),n=e(function(e){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0}),r=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;t=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(t,1),-1<t},t.trigger=function(e){var t=this.listeners[e];if(t)if(2===arguments.length)for(var i=t.length,n=0;n<i;++n)t[n].call(this,arguments[1]);else for(var r=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,r)},t.dispose=function(){this.listeners={}},t.pipe=function(t){this.on(\"data\",function(e){t.push(e)})},e}();\n/*! @name aes-decrypter @version 3.1.2 @license Apache-2.0 */\nvar c=null,m=function(){function e(e){var t,i,n;c=c||function(){for(var e,t,i,n,r,a,s,o=[[[],[],[],[],[]],[[],[],[],[],[]]],u=o[0],l=o[1],c=u[4],d=l[4],h=[],p=[],f=0;f<256;f++)p[(h[f]=f<<1^283*(f>>7))^f]=f;for(e=t=0;!c[e];e^=i||1,t=p[t]||1)for(s=16843009*h[n=h[i=h[d[c[e]=r=(r=t^t<<1^t<<2^t<<3^t<<4)>>8^255&r^99]=e]]]^65537*n^257*i^16843008*e,a=257*h[r]^16843008*r,f=0;f<4;f++)u[f][e]=a=a<<24^a>>>8,l[f][r]=s=s<<24^s>>>8;for(f=0;f<5;f++)u[f]=u[f].slice(0),l[f]=l[f].slice(0);return o}(),this._tables=[[c[0][0].slice(),c[0][1].slice(),c[0][2].slice(),c[0][3].slice(),c[0][4].slice()],[c[1][0].slice(),c[1][1].slice(),c[1][2].slice(),c[1][3].slice(),c[1][4].slice()]];var r=this._tables[0][4],a=this._tables[1],s=e.length,o=1;if(4!==s&&6!==s&&8!==s)throw new Error(\"Invalid aes key size\");var u=e.slice(0),l=[];for(this._key=[u,l],t=s;t<4*s+28;t++)n=u[t-1],(t%s==0||8===s&&t%s==4)&&(n=r[n>>>24]<<24^r[n>>16&255]<<16^r[n>>8&255]<<8^r[255&n],t%s==0&&(n=n<<8^n>>>24^o<<24,o=o<<1^283*(o>>7))),u[t]=u[t-s]^n;for(i=0;t;i++,t--)n=u[3&i?t:t-4],l[i]=t<=4||i<4?n:a[0][r[n>>>24]]^a[1][r[n>>16&255]]^a[2][r[n>>8&255]]^a[3][r[255&n]]}return e.prototype.decrypt=function(e,t,i,n,r,a){for(var s,o,u,l=this._key[1],c=e^l[0],d=n^l[1],h=i^l[2],p=t^l[3],f=l.length/4-2,m=4,t=this._tables[1],g=t[0],y=t[1],v=t[2],_=t[3],b=t[4],T=0;T<f;T++)s=g[c>>>24]^y[d>>16&255]^v[h>>8&255]^_[255&p]^l[m],o=g[d>>>24]^y[h>>16&255]^v[p>>8&255]^_[255&c]^l[m+1],u=g[h>>>24]^y[p>>16&255]^v[c>>8&255]^_[255&d]^l[m+2],p=g[p>>>24]^y[c>>16&255]^v[d>>8&255]^_[255&h]^l[m+3],m+=4,c=s,d=o,h=u;for(T=0;T<4;T++)r[(3&-T)+a]=b[c>>>24]<<24^b[d>>16&255]<<16^b[h>>8&255]<<8^b[255&p]^l[m++],s=c,c=d,d=h,h=p,p=s},e}(),l=function(t){function e(){var e=t.call(this,r)||this;return e.jobs=[],e.delay=1,e.timeout_=null,e}n(e,t);var i=e.prototype;return i.processJob_=function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null},i.push=function(e){this.jobs.push(e),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))},e}(r),g=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},a=function(){function u(e,t,i,n){var r=u.STEP,a=new Int32Array(e.buffer),s=new Uint8Array(e.byteLength),o=0;for(this.asyncStream_=new l,this.asyncStream_.push(this.decryptChunk_(a.subarray(o,o+r),t,i,s)),o=r;o<a.length;o+=r)i=new Uint32Array([g(a[o-4]),g(a[o-3]),g(a[o-2]),g(a[o-1])]),this.asyncStream_.push(this.decryptChunk_(a.subarray(o,o+r),t,i,s));this.asyncStream_.push(function(){\n/*! @name pkcs7 @version 1.0.4 @license Apache-2.0 */\nvar e;n(null,(e=s).subarray(0,e.byteLength-e[e.byteLength-1]))})}return u.prototype.decryptChunk_=function(t,i,n,r){return function(){var e=function(e,t,i){for(var n,r,a,s,o=new Int32Array(e.buffer,e.byteOffset,e.byteLength>>2),u=new m(Array.prototype.slice.call(t)),e=new Uint8Array(e.byteLength),l=new Int32Array(e.buffer),c=i[0],d=i[1],h=i[2],p=i[3],f=0;f<o.length;f+=4)n=g(o[f]),r=g(o[f+1]),a=g(o[f+2]),s=g(o[f+3]),u.decrypt(n,r,a,s,l,f),l[f]=g(l[f]^c),l[f+1]=g(l[f+1]^d),l[f+2]=g(l[f+2]^h),l[f+3]=g(l[f+3]^p),c=n,d=r,h=a,p=s;return e}(t,i,n);r.set(e,t.byteOffset)}},t(u,null,[{key:\"STEP\",get:function(){return 32e3}}]),u}();self.onmessage=function(e){var r=e.data,t=new Uint8Array(r.encrypted.bytes,r.encrypted.byteOffset,r.encrypted.byteLength),i=new Uint32Array(r.key.bytes,r.key.byteOffset,r.key.byteLength/4),e=new Uint32Array(r.iv.bytes,r.iv.byteOffset,r.iv.byteLength/4);new a(t,i,e,function(e,t){var i,n;self.postMessage((i={source:r.source,decrypted:t},n={},Object.keys(i).forEach(function(e){var t=i[e];ArrayBuffer.isView(t)?n[e]={bytes:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength}:n[e]=t}),n),[t.buffer])})}}))),Ul={AUDIO:function(s,o){return function(){var e=o.segmentLoaders[s],t=o.mediaTypes[s],i=o.blacklistCurrentPlaylist;hl(e,t);var n=t.activeTrack(),e=t.activeGroup(),e=(e.filter(function(e){return e.default})[0]||e[0]).id,r=t.tracks[e];if(n!==r){for(var a in Zn.log.warn(\"Problem encountered loading the alternate audio track.Switching back to default.\"),t.tracks)t.tracks[a].enabled=t.tracks[a]===r;t.onTrackChanged()}else i({message:\"Problem encountered loading the default audio track.\"})}},SUBTITLES:function(i,n){return function(){var e=n.segmentLoaders[i],t=n.mediaTypes[i];Zn.log.warn(\"Problem encountered loading the subtitle track.Disabling subtitle track.\"),hl(e,t);e=t.activeTrack();e&&(e.mode=\"disabled\"),t.onTrackChanged()}}},Bl={AUDIO:function(e,t,i){var n,r,a;t&&(n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e],t.on(\"loadedmetadata\",function(){var e=t.media();a.playlist(e,r),(!n.paused()||e.endList&&\"none\"!==n.preload())&&a.load()}),t.on(\"loadedplaylist\",function(){a.playlist(t.media(),r),n.paused()||a.load()}),t.on(\"error\",Ul[e](e,i)))},SUBTITLES:function(e,t,i){var n=i.tech,r=i.requestOptions,a=i.segmentLoaders[e],s=i.mediaTypes[e];t.on(\"loadedmetadata\",function(){var e=t.media();a.playlist(e,r),a.track(s.activeTrack()),(!n.paused()||e.endList&&\"none\"!==n.preload())&&a.load()}),t.on(\"loadedplaylist\",function(){a.playlist(t.media(),r),n.paused()||a.load()}),t.on(\"error\",Ul[e](e,i))}},Fl={AUDIO:function(e,t){var i,n,r=t.vhs,a=t.sourceType,s=t.segmentLoaders[e],o=t.requestOptions,u=t.master.mediaGroups,l=t.mediaTypes[e],c=l.groups,d=l.tracks,h=l.logger_,p=t.masterPlaylistLoader,f=Io(p.master);for(i in u[e]&&0!==Object.keys(u[e]).length||(u[e]={main:{default:{default:!0}}},f&&(u[e].main.default.playlists=p.master.playlists)),u[e])for(var m in c[i]||(c[i]=[]),u[e][i]){var g=u[e][i][m],y=void 0,y=f?(h(\"AUDIO group '\"+i+\"' label '\"+m+\"' is a master playlist\"),g.isMasterPlaylist=!0,null):\"vhs-json\"===a&&g.playlists?new Hu(g.playlists[0],r,o):g.resolvedUri?new Hu(g.resolvedUri,r,o):g.playlists&&\"dash\"===a?new zu(g.playlists[0],r,o,p):null,g=Zn.mergeOptions({id:m,playlistLoader:y},g);Bl[e](e,g.playlistLoader,t),c[i].push(g),\"undefined\"==typeof d[m]&&(g=new Zn.AudioTrack({id:m,kind:(n=void 0,n=(y=g).default?\"main\":\"alternative\",n=y.characteristics&&0<=y.characteristics.indexOf(\"public.accessibility.describes-video\")?\"main-desc\":n),enabled:!1,language:g.language,default:g.default,label:m}),d[m]=g)}s.on(\"error\",Ul[e](e,t))},SUBTITLES:function(e,t){var i,n=t.tech,r=t.vhs,a=t.sourceType,s=t.segmentLoaders[e],o=t.requestOptions,u=t.master.mediaGroups,l=t.mediaTypes[e],c=l.groups,d=l.tracks,h=t.masterPlaylistLoader;for(i in u[e])for(var p in c[i]||(c[i]=[]),u[e][i])if(!u[e][i][p].forced){var f=u[e][i][p],m=void 0;if(\"hls\"===a)m=new Hu(f.resolvedUri,r,o);else if(\"dash\"===a){if(!f.playlists.filter(function(e){return e.excludeUntil!==1/0}).length)return;m=new zu(f.playlists[0],r,o,h)}else\"vhs-json\"===a&&(m=new Hu(f.playlists?f.playlists[0]:f.resolvedUri,r,o));f=Zn.mergeOptions({id:p,playlistLoader:m},f),Bl[e](e,f.playlistLoader,t),c[i].push(f),\"undefined\"==typeof d[p]&&(f=n.addRemoteTextTrack({id:p,kind:\"subtitles\",default:f.default&&f.autoselect,language:f.language,label:p},!1).track,d[p]=f)}s.on(\"error\",Ul[e](e,t))},\"CLOSED-CAPTIONS\":function(e,t){var i,n=t.tech,r=t.master.mediaGroups,t=t.mediaTypes[e],a=t.groups,s=t.tracks;for(i in r[e])for(var o in a[i]||(a[i]=[]),r[e][i]){var u,l,c=r[e][i][o];/^(?:CC|SERVICE)/.test(c.instreamId)&&(void 0===(l=(u=n.options_.vhs&&n.options_.vhs.captionServices||{})[(l={label:o,language:c.language,instreamId:c.instreamId,default:c.default&&c.autoselect}).instreamId]?Zn.mergeOptions(l,u[l.instreamId]):l).default&&delete l.default,a[i].push(Zn.mergeOptions({id:o},c)),\"undefined\"==typeof s[o]&&(l=n.addRemoteTextTrack({id:l.instreamId,kind:\"captions\",default:l.default,language:l.language,label:l.label},!1).track,s[o]=l))}}},jl={AUDIO:function(i,n){return function(){var e,t=n.mediaTypes[i].tracks;for(e in t)if(t[e].enabled)return t[e];return null}},SUBTITLES:function(i,n){return function(){var e,t=n.mediaTypes[i].tracks;for(e in t)if(\"showing\"===t[e].mode||\"hidden\"===t[e].mode)return t[e];return null}}},Hl=[\"mediaRequests\",\"mediaRequestsAborted\",\"mediaRequestsTimedout\",\"mediaRequestsErrored\",\"mediaTransferDuration\",\"mediaBytesTransferred\",\"mediaAppends\"],ql=function(g){function e(e){var t=g.call(this)||this,i=e.src,n=e.handleManifestRedirects,r=e.withCredentials,a=e.tech,s=e.bandwidth,o=e.externVhs,u=e.useCueTags,l=e.blacklistDuration,c=e.enableLowInitialPlaylist,d=e.sourceType,h=e.cacheEncryptionKeys,p=e.experimentalBufferBasedABR;if(!i)throw new Error(\"A non-empty playlist URL or JSON manifest string is required\");var f,m=e.maxPlaylistRetries;null!==m&&\"undefined\"!=typeof m||(m=1/0),vl=o,t.experimentalBufferBasedABR=Boolean(p),t.withCredentials=r,t.tech_=a,t.vhs_=a.vhs,t.sourceType_=d,t.useCueTags_=u,t.blacklistDuration=l,t.maxPlaylistRetries=m,t.enableLowInitialPlaylist=c,t.useCueTags_&&(t.cueTagsTrack_=t.tech_.addTextTrack(\"metadata\",\"ad-cues\"),t.cueTagsTrack_.inBandMetadataTrackDispatchType=\"\"),t.requestOptions_={withCredentials:r,handleManifestRedirects:n,maxPlaylistRetries:m,timeout:null},t.on(\"error\",t.pauseLoading),t.mediaTypes_=(f={},[\"AUDIO\",\"SUBTITLES\",\"CLOSED-CAPTIONS\"].forEach(function(e){f[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:nl,activeTrack:nl,getActiveGroup:nl,onGroupChanged:nl,onTrackChanged:nl,lastTrack_:null,logger_:ro(\"MediaGroups[\"+e+\"]\")}}),f),t.mediaSource=new _.MediaSource,t.handleDurationChange_=t.handleDurationChange_.bind(ft(t)),t.handleSourceOpen_=t.handleSourceOpen_.bind(ft(t)),t.handleSourceEnded_=t.handleSourceEnded_.bind(ft(t)),t.mediaSource.addEventListener(\"durationchange\",t.handleDurationChange_),t.mediaSource.addEventListener(\"sourceopen\",t.handleSourceOpen_),t.mediaSource.addEventListener(\"sourceended\",t.handleSourceEnded_),t.seekable_=Zn.createTimeRanges(),t.hasPlayed_=!1,t.syncController_=new Rl(e),t.segmentMetadataTrack_=a.addRemoteTextTrack({kind:\"metadata\",label:\"segment-metadata\"},!1).track,t.decrypter_=new Nl,t.sourceUpdater_=new Pl(t.mediaSource),t.inbandTextTracks_={},t.timelineChangeController_=new Ml;h={vhs:t.vhs_,parse708captions:e.parse708captions,mediaSource:t.mediaSource,currentTime:t.tech_.currentTime.bind(t.tech_),seekable:function(){return t.seekable()},seeking:function(){return t.tech_.seeking()},duration:function(){return t.duration()},hasPlayed:function(){return t.hasPlayed_},goalBufferLength:function(){return t.goalBufferLength()},bandwidth:s,syncController:t.syncController_,decrypter:t.decrypter_,sourceType:t.sourceType_,inbandTextTracks:t.inbandTextTracks_,cacheEncryptionKeys:h,sourceUpdater:t.sourceUpdater_,timelineChangeController:t.timelineChangeController_};t.masterPlaylistLoader_=new(\"dash\"===t.sourceType_?zu:Hu)(i,t.vhs_,t.requestOptions_),t.setupMasterPlaylistLoaderListeners_(),t.mainSegmentLoader_=new il(Zn.mergeOptions(h,{segmentMetadataTrack:t.segmentMetadataTrack_,loaderType:\"main\"}),e),t.audioSegmentLoader_=new il(Zn.mergeOptions(h,{loaderType:\"audio\"}),e),t.subtitleSegmentLoader_=new Dl(Zn.mergeOptions(h,{loaderType:\"vtt\",featuresNativeTextTracks:t.tech_.featuresNativeTextTracks}),e),t.setupSegmentLoaderListeners_(),t.experimentalBufferBasedABR&&(t.masterPlaylistLoader_.one(\"loadedplaylist\",function(){return t.startABRTimer_()}),t.tech_.on(\"pause\",function(){return t.stopABRTimer_()}),t.tech_.on(\"play\",function(){return t.startABRTimer_()})),Hl.forEach(function(e){t[e+\"_\"]=function(e){return this.audioSegmentLoader_[e]+this.mainSegmentLoader_[e]}.bind(ft(t),e)}),t.logger_=ro(\"MPC\"),t.triggeredFmp4Usage=!1,\"none\"===t.tech_.preload()?(t.loadOnPlay_=function(){t.loadOnPlay_=null,t.masterPlaylistLoader_.load()},t.tech_.one(\"play\",t.loadOnPlay_)):t.masterPlaylistLoader_.load(),t.timeToLoadedData__=-1,t.mainAppendsToLoadedData__=-1,t.audioAppendsToLoadedData__=-1;e=\"none\"===t.tech_.preload()?\"play\":\"loadstart\";return t.tech_.one(e,function(){var e=Date.now();t.tech_.one(\"loadeddata\",function(){t.timeToLoadedData__=Date.now()-e,t.mainAppendsToLoadedData__=t.mainSegmentLoader_.mediaAppends,t.audioAppendsToLoadedData__=t.audioSegmentLoader_.mediaAppends})}),t}mt(e,g);var t=e.prototype;return t.mainAppendsToLoadedData_=function(){return this.mainAppendsToLoadedData__},t.audioAppendsToLoadedData_=function(){return this.audioAppendsToLoadedData__},t.appendsToLoadedData_=function(){var e=this.mainAppendsToLoadedData_(),t=this.audioAppendsToLoadedData_();return-1===e||-1===t?-1:e+t},t.timeToLoadedData_=function(){return this.timeToLoadedData__},t.checkABR_=function(){var e=this.selectPlaylist();this.shouldSwitchToMedia_(e)&&this.switchMedia_(e,\"abr\")},t.switchMedia_=function(e,t,i){var n=this.media(),r=n&&(n.id||n.uri),n=e.id||e.uri;r&&r!==n&&(this.logger_(\"switch media \"+r+\" -> \"+n+\" from \"+t),this.tech_.trigger({type:\"usage\",name:\"vhs-rendition-change-\"+t})),this.masterPlaylistLoader_.media(e,i)},t.startABRTimer_=function(){var e=this;this.stopABRTimer_(),this.abrTimer_=_.setInterval(function(){return e.checkABR_()},250)},t.stopABRTimer_=function(){this.tech_.scrubbing&&this.tech_.scrubbing()||(_.clearInterval(this.abrTimer_),this.abrTimer_=null)},t.getAudioTrackPlaylists_=function(){var e=this.master();if(!e||!e.mediaGroups||!e.mediaGroups.AUDIO)return e&&e.playlists||[];var t,i=e.mediaGroups.AUDIO,e=Object.keys(i);if(Object.keys(this.mediaTypes_.AUDIO.groups).length)t=this.mediaTypes_.AUDIO.activeTrack();else{var n,r=i.main||e.length&&i[e[0]];for(n in r)if(r[n].default){t={label:n};break}}if(!t)return[];var a,s,o=[];for(a in i)i[a][t.label]&&((s=i[a][t.label]).playlists?o.push.apply(o,s.playlists):o.push(s));return o},t.setupMasterPlaylistLoaderListeners_=function(){var i=this;this.masterPlaylistLoader_.on(\"loadedmetadata\",function(){var e=i.masterPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ko(i.masterPlaylistLoader_.master,i.masterPlaylistLoader_.media())?i.requestOptions_.timeout=0:i.requestOptions_.timeout=t,e.endList&&\"none\"!==i.tech_.preload()&&(i.mainSegmentLoader_.playlist(e,i.requestOptions_),i.mainSegmentLoader_.load()),ml({sourceType:i.sourceType_,segmentLoaders:{AUDIO:i.audioSegmentLoader_,SUBTITLES:i.subtitleSegmentLoader_,main:i.mainSegmentLoader_},tech:i.tech_,requestOptions:i.requestOptions_,masterPlaylistLoader:i.masterPlaylistLoader_,vhs:i.vhs_,master:i.master(),mediaTypes:i.mediaTypes_,blacklistCurrentPlaylist:i.blacklistCurrentPlaylist.bind(i)}),i.triggerPresenceUsage_(i.master(),e),i.setupFirstPlay(),!i.mediaTypes_.AUDIO.activePlaylistLoader||i.mediaTypes_.AUDIO.activePlaylistLoader.media()?i.trigger(\"selectedinitialmedia\"):i.mediaTypes_.AUDIO.activePlaylistLoader.one(\"loadedmetadata\",function(){i.trigger(\"selectedinitialmedia\")})}),this.masterPlaylistLoader_.on(\"loadedplaylist\",function(){i.loadOnPlay_&&i.tech_.off(\"play\",i.loadOnPlay_);var e,t=i.masterPlaylistLoader_.media();if(!t){if(i.excludeUnsupportedVariants_(),!(e=(e=i.enableLowInitialPlaylist?i.selectInitialPlaylist():e)||i.selectPlaylist())||!i.shouldSwitchToMedia_(e))return;if(i.initialMedia_=e,i.switchMedia_(i.initialMedia_,\"initial\"),!(\"vhs-json\"===i.sourceType_&&i.initialMedia_.segments))return;t=i.initialMedia_}i.handleUpdatedMediaPlaylist(t)}),this.masterPlaylistLoader_.on(\"error\",function(){i.blacklistCurrentPlaylist(i.masterPlaylistLoader_.error)}),this.masterPlaylistLoader_.on(\"mediachanging\",function(){i.mainSegmentLoader_.abort(),i.mainSegmentLoader_.pause()}),this.masterPlaylistLoader_.on(\"mediachange\",function(){var e=i.masterPlaylistLoader_.media(),t=1.5*e.targetDuration*1e3;ko(i.masterPlaylistLoader_.master,i.masterPlaylistLoader_.media())?i.requestOptions_.timeout=0:i.requestOptions_.timeout=t,i.mainSegmentLoader_.playlist(e,i.requestOptions_),i.mainSegmentLoader_.load(),i.tech_.trigger({type:\"mediachange\",bubbles:!0})}),this.masterPlaylistLoader_.on(\"playlistunchanged\",function(){var e=i.masterPlaylistLoader_.media();\"playlist-unchanged\"!==e.lastExcludeReason_&&i.stuckAtPlaylistEnd_(e)&&(i.blacklistCurrentPlaylist({message:\"Playlist no longer updating.\",reason:\"playlist-unchanged\"}),i.tech_.trigger(\"playliststuck\"))}),this.masterPlaylistLoader_.on(\"renditiondisabled\",function(){i.tech_.trigger({type:\"usage\",name:\"vhs-rendition-disabled\"}),i.tech_.trigger({type:\"usage\",name:\"hls-rendition-disabled\"})}),this.masterPlaylistLoader_.on(\"renditionenabled\",function(){i.tech_.trigger({type:\"usage\",name:\"vhs-rendition-enabled\"}),i.tech_.trigger({type:\"usage\",name:\"hls-rendition-enabled\"})})},t.handleUpdatedMediaPlaylist=function(e){this.useCueTags_&&this.updateAdCues_(e),this.mainSegmentLoader_.playlist(e,this.requestOptions_),this.updateDuration(!e.endList),this.tech_.paused()||(this.mainSegmentLoader_.load(),this.audioSegmentLoader_&&this.audioSegmentLoader_.load())},t.triggerPresenceUsage_=function(e,t){var i,n=e.mediaGroups||{},r=!0,e=Object.keys(n.AUDIO);for(i in n.AUDIO)for(var a in n.AUDIO[i])n.AUDIO[i][a].uri||(r=!1);r&&(this.tech_.trigger({type:\"usage\",name:\"vhs-demuxed\"}),this.tech_.trigger({type:\"usage\",name:\"hls-demuxed\"})),Object.keys(n.SUBTITLES).length&&(this.tech_.trigger({type:\"usage\",name:\"vhs-webvtt\"}),this.tech_.trigger({type:\"usage\",name:\"hls-webvtt\"})),vl.Playlist.isAes(t)&&(this.tech_.trigger({type:\"usage\",name:\"vhs-aes\"}),this.tech_.trigger({type:\"usage\",name:\"hls-aes\"})),e.length&&1<Object.keys(n.AUDIO[e[0]]).length&&(this.tech_.trigger({type:\"usage\",name:\"vhs-alternate-audio\"}),this.tech_.trigger({type:\"usage\",name:\"hls-alternate-audio\"})),this.useCueTags_&&(this.tech_.trigger({type:\"usage\",name:\"vhs-playlist-cue-tags\"}),this.tech_.trigger({type:\"usage\",name:\"hls-playlist-cue-tags\"}))},t.shouldSwitchToMedia_=function(e){var t=this.masterPlaylistLoader_.media(),i=this.tech_.buffered();return function(e){var t=e.currentPlaylist,i=e.nextPlaylist,n=e.forwardBuffer,r=e.bufferLowWaterLine,a=e.bufferHighWaterLine,s=e.duration,o=e.experimentalBufferBasedABR,u=e.log;if(!i)return Zn.log.warn(\"We received no playlist to switch to. Please check your stream.\"),!1;var l=\"allowing switch \"+(t&&t.id||\"null\")+\" -> \"+i.id;if(!t||!t.endList)return u(l+\" as current playlist \"+(t?\"is live\":\"is not set\")),!0;if(i.id===t.id)return!1;e=o?Gu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE:Gu.MAX_BUFFER_LOW_WATER_LINE;if(s<e)return u(l+\" as duration < max low water line (\"+s+\" < \"+e+\")\"),!0;e=i.attributes.BANDWIDTH,i=t.attributes.BANDWIDTH;if(e<i&&(!o||n<a)){t=l+\" as next bandwidth < current bandwidth (\"+e+\" < \"+i+\")\";return o&&(t+=\" and forwardBuffer < bufferHighWaterLine (\"+n+\" < \"+a+\")\"),u(t),!0}if((!o||i<e)&&r<=n){r=l+\" as forwardBuffer >= bufferLowWaterLine (\"+n+\" >= \"+r+\")\";return o&&(r+=\" and next bandwidth > current bandwidth (\"+e+\" > \"+i+\")\"),u(r),!0}return u(\"not \"+l+\" as no switching criteria met\"),!1}({currentPlaylist:t,nextPlaylist:e,forwardBuffer:i.length?i.end(i.length-1)-this.tech_.currentTime():0,bufferLowWaterLine:this.bufferLowWaterLine(),bufferHighWaterLine:this.bufferHighWaterLine(),duration:this.duration(),experimentalBufferBasedABR:this.experimentalBufferBasedABR,log:this.logger_})},t.setupSegmentLoaderListeners_=function(){var t=this;this.experimentalBufferBasedABR||(this.mainSegmentLoader_.on(\"bandwidthupdate\",function(){var e=t.selectPlaylist();t.shouldSwitchToMedia_(e)&&t.switchMedia_(e,\"bandwidthupdate\"),t.tech_.trigger(\"bandwidthupdate\")}),this.mainSegmentLoader_.on(\"progress\",function(){t.trigger(\"progress\")})),this.mainSegmentLoader_.on(\"error\",function(){t.blacklistCurrentPlaylist(t.mainSegmentLoader_.error())}),this.mainSegmentLoader_.on(\"appenderror\",function(){t.error=t.mainSegmentLoader_.error_,t.trigger(\"error\")}),this.mainSegmentLoader_.on(\"syncinfoupdate\",function(){t.onSyncInfoUpdate_()}),this.mainSegmentLoader_.on(\"timestampoffset\",function(){t.tech_.trigger({type:\"usage\",name:\"vhs-timestamp-offset\"}),t.tech_.trigger({type:\"usage\",name:\"hls-timestamp-offset\"})}),this.audioSegmentLoader_.on(\"syncinfoupdate\",function(){t.onSyncInfoUpdate_()}),this.audioSegmentLoader_.on(\"appenderror\",function(){t.error=t.audioSegmentLoader_.error_,t.trigger(\"error\")}),this.mainSegmentLoader_.on(\"ended\",function(){t.logger_(\"main segment loader ended\"),t.onEndOfStream()}),this.mainSegmentLoader_.on(\"earlyabort\",function(e){t.experimentalBufferBasedABR||(t.delegateLoaders_(\"all\",[\"abort\"]),t.blacklistCurrentPlaylist({message:\"Aborted early because there isn't enough bandwidth to complete the request without rebuffering.\"},120))});function e(){if(!t.sourceUpdater_.hasCreatedSourceBuffers())return t.tryToCreateSourceBuffers_();var e=t.getCodecsOrExclude_();e&&t.sourceUpdater_.addOrChangeSourceBuffers(e)}this.mainSegmentLoader_.on(\"trackinfo\",e),this.audioSegmentLoader_.on(\"trackinfo\",e),this.mainSegmentLoader_.on(\"fmp4\",function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:\"usage\",name:\"vhs-fmp4\"}),t.tech_.trigger({type:\"usage\",name:\"hls-fmp4\"}),t.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on(\"fmp4\",function(){t.triggeredFmp4Usage||(t.tech_.trigger({type:\"usage\",name:\"vhs-fmp4\"}),t.tech_.trigger({type:\"usage\",name:\"hls-fmp4\"}),t.triggeredFmp4Usage=!0)}),this.audioSegmentLoader_.on(\"ended\",function(){t.logger_(\"audioSegmentLoader ended\"),t.onEndOfStream()})},t.mediaSecondsLoaded_=function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)},t.load=function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()},t.smoothQualityChange_=function(e){void 0===e&&(e=this.selectPlaylist()),this.fastQualityChange_(e)},t.fastQualityChange_=function(e){var t=this;(e=void 0===e?this.selectPlaylist():e)!==this.masterPlaylistLoader_.media()?(this.switchMedia_(e,\"fast-quality\"),this.mainSegmentLoader_.resetEverything(function(){Zn.browser.IE_VERSION||Zn.browser.IS_EDGE?t.tech_.setCurrentTime(t.tech_.currentTime()+.04):t.tech_.setCurrentTime(t.tech_.currentTime())})):this.logger_(\"skipping fastQualityChange because new media is same as old\")},t.play=function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_&&this.load();var e=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<e.start(0)?this.tech_.setCurrentTime(e.end(e.length-1)):void 0}},t.setupFirstPlay=function(){var e=this,t=this.masterPlaylistLoader_.media();if(!t||this.tech_.paused()||this.hasPlayed_)return!1;if(!t.endList){var i=this.seekable();if(!i.length)return!1;if(Zn.browser.IE_VERSION&&0===this.tech_.readyState())return this.tech_.one(\"loadedmetadata\",function(){e.trigger(\"firstplay\"),e.tech_.setCurrentTime(i.end(0)),e.hasPlayed_=!0}),!1;this.trigger(\"firstplay\"),this.tech_.setCurrentTime(i.end(0))}return this.hasPlayed_=!0,this.load(),!0},t.handleSourceOpen_=function(){var e;this.tryToCreateSourceBuffers_(),!this.tech_.autoplay()||\"undefined\"!=typeof(e=this.tech_.play())&&\"function\"==typeof e.then&&e.then(null,function(e){}),this.trigger(\"sourceopen\")},t.handleSourceEnded_=function(){var e,t;!this.inbandTextTracks_.metadataTrack_||(e=this.inbandTextTracks_.metadataTrack_.cues)&&e.length&&(t=this.duration(),e[e.length-1].endTime=isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t)},t.handleDurationChange_=function(){this.tech_.trigger(\"durationchange\")},t.onEndOfStream=function(){var e,t=this.mainSegmentLoader_.ended_;(t=this.mediaTypes_.AUDIO.activePlaylistLoader?((e=this.mainSegmentLoader_.getCurrentMediaInfo_())&&!e.hasVideo||t)&&this.audioSegmentLoader_.ended_:t)&&(this.stopABRTimer_(),this.sourceUpdater_.endOfStream())},t.stuckAtPlaylistEnd_=function(e){if(!this.seekable().length)return!1;var t=this.syncController_.getExpiredTime(e,this.duration());if(null===t)return!1;var i=vl.Playlist.playlistEnd(e,t),e=this.tech_.currentTime(),t=this.tech_.buffered();if(!t.length)return i-e<=.1;t=t.end(t.length-1);return t-e<=.1&&i-t<=.1},t.blacklistCurrentPlaylist=function(e,t){var i=(e=void 0===e?{}:e).playlist||this.masterPlaylistLoader_.media();if(t=t||e.blacklistDuration||this.blacklistDuration,!i)return this.error=e,void(\"open\"!==this.mediaSource.readyState?this.trigger(\"error\"):this.sourceUpdater_.endOfStream(\"network\"));i.playlistErrors_++;var n,r=this.masterPlaylistLoader_.master.playlists,a=r.filter(So),s=1===a.length&&a[0]===i;if(1===r.length&&t!==1/0)return Zn.log.warn(\"Problem encountered with playlist \"+i.id+\". Trying again since it is the only playlist.\"),this.tech_.trigger(\"retryplaylist\"),this.masterPlaylistLoader_.load(s);s&&(n=!1,r.forEach(function(e){var t;e===i||\"undefined\"!=typeof(t=e.excludeUntil)&&t!==1/0&&(n=!0,delete e.excludeUntil)}),n&&(Zn.log.warn(\"Removing other playlists from the exclusion list because the last rendition is about to be excluded.\"),this.tech_.trigger(\"retryplaylist\"))),a=i.playlistErrors_>this.maxPlaylistRetries?1/0:Date.now()+1e3*t,i.excludeUntil=a,e.reason&&(i.lastExcludeReason_=e.reason),this.tech_.trigger(\"blacklistplaylist\"),this.tech_.trigger({type:\"usage\",name:\"vhs-rendition-blacklisted\"}),this.tech_.trigger({type:\"usage\",name:\"hls-rendition-blacklisted\"});r=this.selectPlaylist();if(!r)return this.error=\"Playback cannot continue. No available working or supported playlists.\",void this.trigger(\"error\");t=e.internal?this.logger_:Zn.log.warn,a=e.message?\" \"+e.message:\"\";t((e.internal?\"Internal problem\":\"Problem\")+\" encountered with playlist \"+i.id+\".\"+a+\" Switching to playlist \"+r.id+\".\"),r.attributes.AUDIO!==i.attributes.AUDIO&&this.delegateLoaders_(\"audio\",[\"abort\",\"pause\"]),r.attributes.SUBTITLES!==i.attributes.SUBTITLES&&this.delegateLoaders_(\"subtitle\",[\"abort\",\"pause\"]),this.delegateLoaders_(\"main\",[\"abort\",\"pause\"]);a=r.targetDuration/2*1e3||5e3,a=\"number\"==typeof r.lastRequest&&Date.now()-r.lastRequest<=a;return this.switchMedia_(r,\"exclude\",s||a)},t.pauseLoading=function(){this.delegateLoaders_(\"all\",[\"abort\",\"pause\"]),this.stopABRTimer_()},t.delegateLoaders_=function(i,e){var n=this,r=[],t=\"all\"===i;!t&&\"main\"!==i||r.push(this.masterPlaylistLoader_);var a=[];!t&&\"audio\"!==i||a.push(\"AUDIO\"),!t&&\"subtitle\"!==i||(a.push(\"CLOSED-CAPTIONS\"),a.push(\"SUBTITLES\")),a.forEach(function(e){e=n.mediaTypes_[e]&&n.mediaTypes_[e].activePlaylistLoader;e&&r.push(e)}),[\"main\",\"audio\",\"subtitle\"].forEach(function(e){var t=n[e+\"SegmentLoader_\"];!t||i!==e&&\"all\"!==i||r.push(t)}),r.forEach(function(t){return e.forEach(function(e){\"function\"==typeof t[e]&&t[e]()})})},t.setCurrentTime=function(e){var t=so(this.tech_.buffered(),e);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?t&&t.length?e:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0},t.duration=function(){if(!this.masterPlaylistLoader_)return 0;var e=this.masterPlaylistLoader_.media();return e?e.endList?this.mediaSource?this.mediaSource.duration:vl.Playlist.duration(e):1/0:0},t.seekable=function(){return this.seekable_},t.onSyncInfoUpdate_=function(){var e;if(this.masterPlaylistLoader_){var t=this.masterPlaylistLoader_.media();if(t){var i=this.syncController_.getExpiredTime(t,this.duration());if(null!==i){var n,r,a=this.masterPlaylistLoader_.master,s=vl.Playlist.seekable(t,i,vl.Playlist.liveEdgeDelay(a,t));if(0!==s.length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(t=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(i=this.syncController_.getExpiredTime(t,this.duration())))return;if(0===(e=vl.Playlist.seekable(t,i,vl.Playlist.liveEdgeDelay(a,t))).length)return}this.seekable_&&this.seekable_.length&&(n=this.seekable_.end(0),r=this.seekable_.start(0)),!e||e.start(0)>s.end(0)||s.start(0)>e.end(0)?this.seekable_=s:this.seekable_=Zn.createTimeRanges([[(e.start(0)>s.start(0)?e:s).start(0),(e.end(0)<s.end(0)?e:s).end(0)]]),this.seekable_&&this.seekable_.length&&this.seekable_.end(0)===n&&this.seekable_.start(0)===r||(this.logger_(\"seekable updated [\"+uo(this.seekable_)+\"]\"),this.tech_.trigger(\"seekablechanged\"))}}}}},t.updateDuration=function(e){if(this.updateDuration_&&(this.mediaSource.removeEventListener(\"sourceopen\",this.updateDuration_),this.updateDuration_=null),\"open\"!==this.mediaSource.readyState)return this.updateDuration_=this.updateDuration.bind(this,e),void this.mediaSource.addEventListener(\"sourceopen\",this.updateDuration_);if(e){var t=this.seekable();return t.length?void((isNaN(this.mediaSource.duration)||this.mediaSource.duration<t.end(t.length-1))&&this.sourceUpdater_.setDuration(t.end(t.length-1))):void 0}e=this.tech_.buffered(),t=vl.Playlist.duration(this.masterPlaylistLoader_.media());0<e.length&&(t=Math.max(t,e.end(e.length-1))),this.mediaSource.duration!==t&&this.sourceUpdater_.setDuration(t)},t.dispose=function(){var n=this;this.trigger(\"dispose\"),this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),this.loadOnPlay_&&this.tech_.off(\"play\",this.loadOnPlay_),[\"AUDIO\",\"SUBTITLES\"].forEach(function(e){var t,i=n.mediaTypes_[e].groups;for(t in i)i[t].forEach(function(e){e.playlistLoader&&e.playlistLoader.dispose()})}),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose(),this.sourceUpdater_.dispose(),this.timelineChangeController_.dispose(),this.stopABRTimer_(),this.updateDuration_&&this.mediaSource.removeEventListener(\"sourceopen\",this.updateDuration_),this.mediaSource.removeEventListener(\"durationchange\",this.handleDurationChange_),this.mediaSource.removeEventListener(\"sourceopen\",this.handleSourceOpen_),this.mediaSource.removeEventListener(\"sourceended\",this.handleSourceEnded_),this.off()},t.master=function(){return this.masterPlaylistLoader_.master},t.media=function(){return this.masterPlaylistLoader_.media()||this.initialMedia_},t.areMediaTypesKnown_=function(){var e=!!this.mediaTypes_.AUDIO.activePlaylistLoader,t=!!this.mainSegmentLoader_.getCurrentMediaInfo_(),e=!e||!!this.audioSegmentLoader_.getCurrentMediaInfo_();return t&&e},t.getCodecsOrExclude_=function(){var n=this,r={main:this.mainSegmentLoader_.getCurrentMediaInfo_()||{},audio:this.audioSegmentLoader_.getCurrentMediaInfo_()||{}};r.video=r.main;var e=_u(this.master(),this.media()),a={},t=!!this.mediaTypes_.AUDIO.activePlaylistLoader;if(r.main.hasVideo&&(a.video=e.video||r.main.videoCodec||\"avc1.4d400d\"),r.main.isMuxed&&(a.video+=\",\"+(e.audio||r.main.audioCodec||kr)),(r.main.hasAudio&&!r.main.isMuxed||r.audio.hasAudio||t)&&(a.audio=e.audio||r.main.audioCodec||r.audio.audioCodec||kr,r.audio.isFmp4=(r.main.hasAudio&&!r.main.isMuxed?r.main:r.audio).isFmp4),a.audio||a.video){var s,i,o={};if([\"video\",\"audio\"].forEach(function(e){var t,i;a.hasOwnProperty(e)&&(t=r[e].isFmp4,i=a[e],!(t?fr:mr)(i))&&(i=r[e].isFmp4?\"browser\":\"muxer\",o[i]=o[i]||[],o[i].push(a[e]),\"audio\"===e&&(s=i))}),t&&s&&this.media().attributes.AUDIO&&(i=this.media().attributes.AUDIO,this.master().playlists.forEach(function(e){(e.attributes&&e.attributes.AUDIO)===i&&e!==n.media()&&(e.excludeUntil=1/0)}),this.logger_(\"excluding audio group \"+i+\" as \"+s+' does not support codec(s): \"'+a.audio+'\"')),!Object.keys(o).length){if(this.sourceUpdater_.hasCreatedSourceBuffers()&&!this.sourceUpdater_.canChangeType()){var u=[];if([\"video\",\"audio\"].forEach(function(e){var t=(dr(n.sourceUpdater_.codecs[e]||\"\")[0]||{}).type,i=(dr(a[e]||\"\")[0]||{}).type;t&&i&&t.toLowerCase()!==i.toLowerCase()&&u.push('\"'+n.sourceUpdater_.codecs[e]+'\" -> \"'+a[e]+'\"')}),u.length)return void this.blacklistCurrentPlaylist({playlist:this.media(),message:\"Codec switching not supported: \"+u.join(\", \")+\".\",blacklistDuration:1/0,internal:!0})}return a}t=Object.keys(o).reduce(function(e,t){return e&&(e+=\", \"),e+=t+' does not support codec(s): \"'+o[t].join(\",\")+'\"'},\"\")+\".\";this.blacklistCurrentPlaylist({playlist:this.media(),internal:!0,message:t,blacklistDuration:1/0})}else this.blacklistCurrentPlaylist({playlist:this.media(),message:\"Could not determine codecs for playlist.\",blacklistDuration:1/0})},t.tryToCreateSourceBuffers_=function(){var e;\"open\"!==this.mediaSource.readyState||this.sourceUpdater_.hasCreatedSourceBuffers()||!this.areMediaTypesKnown_()||(e=this.getCodecsOrExclude_())&&(this.sourceUpdater_.createSourceBuffers(e),e=[e.video,e.audio].filter(Boolean).join(\",\"),this.excludeIncompatibleVariants_(e))},t.excludeUnsupportedVariants_=function(){var n=this,r=this.master().playlists,a=[];Object.keys(r).forEach(function(e){var t,i=r[e];-1===a.indexOf(i.id)&&(a.push(i.id),t=[],!(e=_u(n.master,i)).audio||mr(e.audio)||fr(e.audio)||t.push(\"audio codec \"+e.audio),!e.video||mr(e.video)||fr(e.video)||t.push(\"video codec \"+e.video),e.text&&\"stpp.ttml.im1t\"===e.text&&t.push(\"text codec \"+e.text),t.length&&(i.excludeUntil=1/0,n.logger_(\"excluding \"+i.id+\" for unsupported: \"+t.join(\", \"))))})},t.excludeIncompatibleVariants_=function(e){var r=this,a=[],s=this.master().playlists,e=yu(dr(e)),o=vu(e),u=e.video&&dr(e.video)[0]||null,l=e.audio&&dr(e.audio)[0]||null;Object.keys(s).forEach(function(e){var t,i,n=s[e];-1===a.indexOf(n.id)&&n.excludeUntil!==1/0&&(a.push(n.id),t=[],i=_u(r.masterPlaylistLoader_.master,n),e=vu(i),(i.audio||i.video)&&(e!==o&&t.push('codec count \"'+e+'\" !== \"'+o+'\"'),r.sourceUpdater_.canChangeType()||(e=i.video&&dr(i.video)[0]||null,i=i.audio&&dr(i.audio)[0]||null,e&&u&&e.type.toLowerCase()!==u.type.toLowerCase()&&t.push('video codec \"'+e.type+'\" !== \"'+u.type+'\"'),i&&l&&i.type.toLowerCase()!==l.type.toLowerCase()&&t.push('audio codec \"'+i.type+'\" !== \"'+l.type+'\"')),t.length&&(n.excludeUntil=1/0,r.logger_(\"blacklisting \"+n.id+\": \"+t.join(\" && \")))))})},t.updateAdCues_=function(e){var t=0,i=this.seekable();i.length&&(t=i.start(0)),function(e,t,i){if(void 0===i&&(i=0),e.segments)for(var n=i,r=0;r<e.segments.length;r++){var a,s,o,u=e.segments[r];if(o=o||function(e,t){for(var i=e.cues,n=0;n<i.length;n++){var r=i[n];if(t>=r.adStartTime&&t<=r.adEndTime)return r}return null}(t,n+u.duration/2)){if(\"cueIn\"in u){o.endTime=n,o.adEndTime=n,n+=u.duration,o=null;continue}if(n<o.endTime){n+=u.duration;continue}o.endTime+=u.duration}else\"cueOut\"in u&&((o=new _.VTTCue(n,n+u.duration,u.cueOut)).adStartTime=n,o.adEndTime=n+parseFloat(u.cueOut),t.addCue(o)),\"cueOutCont\"in u&&(a=(s=u.cueOutCont.split(\"/\").map(parseFloat))[0],s=s[1],(o=new _.VTTCue(n,n+u.duration,\"\")).adStartTime=n-a,o.adEndTime=o.adStartTime+s,t.addCue(o));n+=u.duration}}(e,this.cueTagsTrack_,t)},t.goalBufferLength=function(){var e=this.tech_.currentTime(),t=Gu.GOAL_BUFFER_LENGTH,i=Gu.GOAL_BUFFER_LENGTH_RATE,n=Math.max(t,Gu.MAX_GOAL_BUFFER_LENGTH);return Math.min(t+e*i,n)},t.bufferLowWaterLine=function(){var e=this.tech_.currentTime(),t=Gu.BUFFER_LOW_WATER_LINE,i=Gu.BUFFER_LOW_WATER_LINE_RATE,n=Math.max(t,Gu.MAX_BUFFER_LOW_WATER_LINE),r=Math.max(t,Gu.EXPERIMENTAL_MAX_BUFFER_LOW_WATER_LINE);return Math.min(t+e*i,this.experimentalBufferBasedABR?r:n)},t.bufferHighWaterLine=function(){return Gu.BUFFER_HIGH_WATER_LINE},e}(Zn.EventTarget),Vl=[\"seeking\",\"seeked\",\"pause\",\"playing\",\"error\"],Wl=function(){function e(e){var t=this;this.masterPlaylistController_=e.masterPlaylistController,this.tech_=e.tech,this.seekable=e.seekable,this.allowSeeksWithinUnsafeLiveWindow=e.allowSeeksWithinUnsafeLiveWindow,this.liveRangeSafeTimeDelta=e.liveRangeSafeTimeDelta,this.media=e.media,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,this.logger_=ro(\"PlaybackWatcher\"),this.logger_(\"initialize\");function i(){return t.monitorCurrentTime_()}function n(){return t.monitorCurrentTime_()}function r(){return t.techWaiting_()}function a(){return t.cancelTimer_()}function s(){return t.fixesBadSeeks_()}var o=this.masterPlaylistController_,u=[\"main\",\"subtitle\",\"audio\"],l={};u.forEach(function(e){l[e]={reset:function(){return t.resetSegmentDownloads_(e)},updateend:function(){return t.checkSegmentDownloads_(e)}},o[e+\"SegmentLoader_\"].on(\"appendsdone\",l[e].updateend),o[e+\"SegmentLoader_\"].on(\"playlistupdate\",l[e].reset),t.tech_.on([\"seeked\",\"seeking\"],l[e].reset)}),this.tech_.on(\"seekablechanged\",s),this.tech_.on(\"waiting\",r),this.tech_.on(Vl,a),this.tech_.on(\"canplay\",n),this.tech_.one(\"play\",i),this.dispose=function(){t.logger_(\"dispose\"),t.tech_.off(\"seekablechanged\",s),t.tech_.off(\"waiting\",r),t.tech_.off(Vl,a),t.tech_.off(\"canplay\",n),t.tech_.off(\"play\",i),u.forEach(function(e){o[e+\"SegmentLoader_\"].off(\"appendsdone\",l[e].updateend),o[e+\"SegmentLoader_\"].off(\"playlistupdate\",l[e].reset),t.tech_.off([\"seeked\",\"seeking\"],l[e].reset)}),t.checkCurrentTimeTimeout_&&_.clearTimeout(t.checkCurrentTimeTimeout_),t.cancelTimer_()}}var t=e.prototype;return t.monitorCurrentTime_=function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&_.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=_.setTimeout(this.monitorCurrentTime_.bind(this),250)},t.resetSegmentDownloads_=function(e){var t=this.masterPlaylistController_[e+\"SegmentLoader_\"];0<this[e+\"StalledDownloads_\"]&&this.logger_(\"resetting possible stalled download count for \"+e+\" loader\"),this[e+\"StalledDownloads_\"]=0,this[e+\"Buffered_\"]=t.buffered_()},t.checkSegmentDownloads_=function(e){var t=this.masterPlaylistController_,i=t[e+\"SegmentLoader_\"],n=i.buffered_(),r=function(e,t){if(e===t)return!1;if(!e&&t||!t&&e)return!0;if(e.length!==t.length)return!0;for(var i=0;i<e.length;i++)if(e.start(i)!==t.start(i)||e.end(i)!==t.end(i))return!0;return!1}(this[e+\"Buffered_\"],n);this[e+\"Buffered_\"]=n,r?this.resetSegmentDownloads_(e):(this[e+\"StalledDownloads_\"]++,this.logger_(\"found #\"+this[e+\"StalledDownloads_\"]+\" \"+e+\" appends that did not increase buffer (possible stalled download)\",{playlistId:i.playlist_&&i.playlist_.id,buffered:lo(n)}),this[e+\"StalledDownloads_\"]<10||(this.logger_(e+\" loader stalled download exclusion\"),this.resetSegmentDownloads_(e),this.tech_.trigger({type:\"usage\",name:\"vhs-\"+e+\"-download-exclusion\"}),\"subtitle\"!==e&&t.blacklistCurrentPlaylist({message:\"Excessive \"+e+\" segment downloading detected.\"},1/0)))},t.checkCurrentTime_=function(){if(this.tech_.seeking()&&this.fixesBadSeeks_())return this.consecutiveUpdates=0,void(this.lastRecordedTime=this.tech_.currentTime());if(!this.tech_.paused()&&!this.tech_.seeking()){var e=this.tech_.currentTime(),t=this.tech_.buffered();if(this.lastRecordedTime===e&&(!t.length||e+.1>=t.end(t.length-1)))return this.techWaiting_();5<=this.consecutiveUpdates&&e===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):e===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=e)}},t.cancelTimer_=function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_(\"cancelTimer_\"),clearTimeout(this.timer_)),this.timer_=null},t.fixesBadSeeks_=function(){if(!this.tech_.seeking())return!1;var e,t=this.seekable(),i=this.tech_.currentTime();if(this.afterSeekableWindow_(t,i,this.media(),this.allowSeeksWithinUnsafeLiveWindow)&&(e=t.end(t.length-1)),\"undefined\"!=typeof(e=this.beforeSeekableWindow_(t,i)?(r=t.start(0))+(r===t.end(0)?0:.1):e))return this.logger_(\"Trying to seek outside of seekable at time \"+i+\" with seekable range \"+uo(t)+\". Seeking to \"+e+\".\"),this.tech_.setCurrentTime(e),!0;var n,r,a=this.tech_.buffered();return n={buffered:a,targetDuration:this.media().targetDuration,currentTime:i},r=n.buffered,t=n.targetDuration,n=n.currentTime,!(!r.length||r.end(0)-r.start(0)<2*t||n>r.start(0))&&r.start(0)-n<t&&(e=a.start(0)+.1,this.logger_(\"Buffered region starts (\"+a.start(0)+\")  just beyond seek point (\"+i+\"). Seeking to \"+e+\".\"),this.tech_.setCurrentTime(e),!0)},t.waiting_=function(){var e,t;this.techWaiting_()||(e=this.tech_.currentTime(),t=this.tech_.buffered(),(t=so(t,e)).length&&e+3<=t.end(0)&&(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.logger_(\"Stopped at \"+e+\" while inside a buffered region [\"+t.start(0)+\" -> \"+t.end(0)+\"]. Attempting to resume playback by seeking to the current time.\"),this.tech_.trigger({type:\"usage\",name:\"vhs-unknown-waiting\"}),this.tech_.trigger({type:\"usage\",name:\"hls-unknown-waiting\"})))},t.techWaiting_=function(){var e=this.seekable(),t=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(e,t)){var i=e.end(e.length-1);return this.logger_(\"Fell out of live window at time \"+t+\". Seeking to live point (seekable end) \"+i),this.cancelTimer_(),this.tech_.setCurrentTime(i),this.tech_.trigger({type:\"usage\",name:\"vhs-live-resync\"}),this.tech_.trigger({type:\"usage\",name:\"hls-live-resync\"}),!0}e=this.tech_.vhs.masterPlaylistController_.sourceUpdater_,i=this.tech_.buffered();if(this.videoUnderflow_({audioBuffered:e.audioBuffered(),videoBuffered:e.videoBuffered(),currentTime:t}))return this.cancelTimer_(),this.tech_.setCurrentTime(t),this.tech_.trigger({type:\"usage\",name:\"vhs-video-underflow\"}),this.tech_.trigger({type:\"usage\",name:\"hls-video-underflow\"}),!0;e=oo(i,t);if(0<e.length){i=e.start(0)-t;return this.logger_(\"Stopped at \"+t+\", setting timer for \"+i+\", seeking to \"+e.start(0)),this.cancelTimer_(),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*i,t),!0}return!1},t.afterSeekableWindow_=function(e,t,i,n){if(void 0===n&&(n=!1),!e.length)return!1;var r=e.end(e.length-1)+.1;return(r=!i.endList&&n?e.end(e.length-1)+3*i.targetDuration:r)<t},t.beforeSeekableWindow_=function(e,t){return!!(e.length&&0<e.start(0)&&t<e.start(0)-this.liveRangeSafeTimeDelta)},t.videoUnderflow_=function(e){var t,i,n=e.videoBuffered,r=e.audioBuffered,a=e.currentTime;if(n)return n.length&&r.length?(i=so(n,a-3),e=so(n,a),(r=so(r,a)).length&&!e.length&&i.length&&(t={start:i.end(0),end:r.end(0)})):oo(n,a).length||(t=this.gapFromVideoUnderflow_(n,a)),!!t&&(this.logger_(\"Encountered a gap in video from \"+t.start+\" to \"+t.end+\". Seeking to current time \"+a),!0)},t.skipTheGap_=function(e){var t=this.tech_.buffered(),i=this.tech_.currentTime(),t=oo(t,i);this.cancelTimer_(),0!==t.length&&i===e&&(this.logger_(\"skipTheGap_:\",\"currentTime:\",i,\"scheduled currentTime:\",e,\"nextRange start:\",t.start(0)),this.tech_.setCurrentTime(t.start(0)+Nu),this.tech_.trigger({type:\"usage\",name:\"vhs-gap-skip\"}),this.tech_.trigger({type:\"usage\",name:\"hls-gap-skip\"}))},t.gapFromVideoUnderflow_=function(e,t){for(var i=function(e){if(e.length<2)return Zn.createTimeRanges();for(var t=[],i=1;i<e.length;i++){var n=e.end(i-1),r=e.start(i);t.push([n,r])}return Zn.createTimeRanges(t)}(e),n=0;n<i.length;n++){var r=i.start(n),a=i.end(n);if(t-r<4&&2<t-r)return{start:r,end:a}}return null},e}(),zl={errorInterval:30,getSource:function(e){return e(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_||this.currentSource())}},z=function(e){yl(this,e)},Gl={PlaylistLoader:Hu,Playlist:Bu,utils:ii,STANDARD_PLAYLIST_SELECTOR:zt,INITIAL_PLAYLIST_SELECTOR:function(){var t=this,e=this.playlists.master.playlists.filter(Bu.isEnabled);return Su(e,Eu),e.filter(function(e){return!!_u(t.playlists.master,e).video})[0]||null},lastBandwidthSelector:zt,movingAverageBandwidthSelector:function(t){var i=-1,n=-1;if(t<0||1<t)throw new Error(\"Moving average bandwidth decay must be between 0 and 1.\");return function(){var e=this.useDevicePixelRatio&&_.devicePixelRatio||1;return i<0&&(i=this.systemBandwidth,n=this.systemBandwidth),0<this.systemBandwidth&&this.systemBandwidth!==n&&(i=t*this.systemBandwidth+(1-t)*i,n=this.systemBandwidth),ku(this.playlists.master,i,parseInt(Tu(this.tech_.el(),\"width\"),10)*e,parseInt(Tu(this.tech_.el(),\"height\"),10)*e,this.limitRenditionByPlayerDimensions,this.masterPlaylistController_)}},comparePlaylistBandwidth:Eu,comparePlaylistResolution:function(e,t){var i,n;return(i=(i=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width?e.attributes.RESOLUTION.width:i)||_.Number.MAX_VALUE)===(n=(n=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width?t.attributes.RESOLUTION.width:n)||_.Number.MAX_VALUE)&&e.attributes.BANDWIDTH&&t.attributes.BANDWIDTH?e.attributes.BANDWIDTH-t.attributes.BANDWIDTH:i-n},xhr:Fo()};Object.keys(Gu).forEach(function(t){Object.defineProperty(Gl,t,{get:function(){return Zn.log.warn(\"using Vhs.\"+t+\" is UNSAFE be sure you know what you are doing\"),Gu[t]},set:function(e){Zn.log.warn(\"using Vhs.\"+t+\" is UNSAFE be sure you know what you are doing\"),\"number\"!=typeof e||e<0?Zn.log.warn(\"value of Vhs.\"+t+\" must be greater than or equal to 0\"):Gu[t]=e}})});function Xl(e,t){for(var i=t.media(),n=-1,r=0;r<e.length;r++)if(e[r].id===i.id){n=r;break}e.selectedIndex_=n,e.trigger({selectedIndex:n,type:\"change\"})}var Kl=\"videojs-vhs\";Gl.canPlaySource=function(){return Zn.log.warn(\"HLS is no longer a tech. Please remove it from your player's techOrder.\")};function Yl(e){var n=e.player,t=e.sourceKeySystems,i=e.audioMedia,e=e.mainPlaylists;if(!n.eme.initializeMediaKeys)return Promise.resolve();var r,e=(e=e=i?e.concat([i]):e,r=Object.keys(t),e.reduce(function(e,n){if(!n.contentProtection)return e;var t=r.reduce(function(e,t){var i=n.contentProtection[t];return i&&i.pssh&&(e[t]={pssh:i.pssh}),e},{});return Object.keys(t).length&&e.push(t),e},[])),a=[],s=[];return e.forEach(function(e){s.push(new Promise(function(e,t){n.tech_.one(\"keysessioncreated\",e)})),a.push(new Promise(function(t,i){n.eme.initializeMediaKeys({keySystems:e},function(e){e?i(e):t()})}))}),Promise.race([Promise.all(a),Promise.race(s)])}function Ql(e){var t=e.player;return!!(e=function(e,t,i){if(!e)return e;var n={};t&&t.attributes&&t.attributes.CODECS&&(n=yu(dr(t.attributes.CODECS))),i&&i.attributes&&i.attributes.CODECS&&(n.audio=i.attributes.CODECS);var r,a=pr(n.video),s=pr(n.audio),o={};for(r in e)o[r]={},s&&(o[r].audioContentType=s),a&&(o[r].videoContentType=a),t.contentProtection&&t.contentProtection[r]&&t.contentProtection[r].pssh&&(o[r].pssh=t.contentProtection[r].pssh),\"string\"==typeof e[r]&&(o[r].url=e[r]);return Zn.mergeOptions(e,o)}(e.sourceKeySystems,e.media,e.audioMedia))&&(!((t.currentSource().keySystems=e)&&!t.eme)||(Zn.log.warn(\"DRM encrypted source cannot be decrypted without a DRM plugin\"),!1))}function $l(){if(!_.localStorage)return null;var e=_.localStorage.getItem(Kl);if(!e)return null;try{return JSON.parse(e)}catch(e){return null}}Gl.supportsNativeHls=function(){if(!d||!d.createElement)return!1;var t=d.createElement(\"video\");if(!Zn.getTech(\"Html5\").isSupported())return!1;return[\"application/vnd.apple.mpegurl\",\"audio/mpegurl\",\"audio/x-mpegurl\",\"application/x-mpegurl\",\"video/x-mpegurl\",\"video/mpegurl\",\"application/mpegurl\"].some(function(e){return/maybe|probably/i.test(t.canPlayType(e))})}(),Gl.supportsNativeDash=!!(d&&d.createElement&&Zn.getTech(\"Html5\").isSupported())&&/maybe|probably/i.test(d.createElement(\"video\").canPlayType(\"application/dash+xml\")),Gl.supportsTypeNatively=function(e){return\"hls\"===e?Gl.supportsNativeHls:\"dash\"===e&&Gl.supportsNativeDash},Gl.isSupported=function(){return Zn.log.warn(\"HLS is no longer a tech. Please remove it from your player's techOrder.\")};var Jl=function(r){function e(e,t,i){var n=r.call(this,t,Zn.mergeOptions(i.hls,i.vhs))||this;if(i.hls&&Object.keys(i.hls).length&&Zn.log.warn(\"Using hls options is deprecated. Use vhs instead.\"),\"number\"==typeof i.initialBandwidth&&(n.options_.bandwidth=i.initialBandwidth),n.logger_=ro(\"VhsHandler\"),t.options_&&t.options_.playerId&&((i=Zn(t.options_.playerId)).hasOwnProperty(\"hls\")||Object.defineProperty(i,\"hls\",{get:function(){return Zn.log.warn(\"player.hls is deprecated. Use player.tech().vhs instead.\"),t.trigger({type:\"usage\",name:\"hls-player-access\"}),ft(n)},configurable:!0}),i.hasOwnProperty(\"vhs\")||Object.defineProperty(i,\"vhs\",{get:function(){return Zn.log.warn(\"player.vhs is deprecated. Use player.tech().vhs instead.\"),t.trigger({type:\"usage\",name:\"vhs-player-access\"}),ft(n)},configurable:!0}),i.hasOwnProperty(\"dash\")||Object.defineProperty(i,\"dash\",{get:function(){return Zn.log.warn(\"player.dash is deprecated. Use player.tech().vhs instead.\"),ft(n)},configurable:!0}),n.player_=i),n.tech_=t,n.source_=e,n.stats={},n.ignoreNextSeekingEvent_=!1,n.setOptions_(),n.options_.overrideNative&&t.overrideNativeAudioTracks&&t.overrideNativeVideoTracks)t.overrideNativeAudioTracks(!0),t.overrideNativeVideoTracks(!0);else if(n.options_.overrideNative&&(t.featuresNativeVideoTracks||t.featuresNativeAudioTracks))throw new Error(\"Overriding native HLS requires emulated tracks. See https://git.io/vMpjB\");return n.on(d,[\"fullscreenchange\",\"webkitfullscreenchange\",\"mozfullscreenchange\",\"MSFullscreenChange\"],function(e){var t=d.fullscreenElement||d.webkitFullscreenElement||d.mozFullScreenElement||d.msFullscreenElement;t&&t.contains(n.tech_.el())?n.masterPlaylistController_.fastQualityChange_():n.masterPlaylistController_.checkABR_()}),n.on(n.tech_,\"seeking\",function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())}),n.on(n.tech_,\"error\",function(){this.tech_.error()&&this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()}),n.on(n.tech_,\"play\",n.play),n}mt(e,r);var t=e.prototype;return t.setOptions_=function(){var e,t=this;this.options_.withCredentials=this.options_.withCredentials||!1,this.options_.handleManifestRedirects=!1!==this.options_.handleManifestRedirects,this.options_.limitRenditionByPlayerDimensions=!1!==this.options_.limitRenditionByPlayerDimensions,this.options_.useDevicePixelRatio=this.options_.useDevicePixelRatio||!1,this.options_.smoothQualityChange=this.options_.smoothQualityChange||!1,this.options_.useBandwidthFromLocalStorage=\"undefined\"!=typeof this.source_.useBandwidthFromLocalStorage?this.source_.useBandwidthFromLocalStorage:this.options_.useBandwidthFromLocalStorage||!1,this.options_.customTagParsers=this.options_.customTagParsers||[],this.options_.customTagMappers=this.options_.customTagMappers||[],this.options_.cacheEncryptionKeys=this.options_.cacheEncryptionKeys||!1,\"number\"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),\"number\"!=typeof this.options_.bandwidth&&this.options_.useBandwidthFromLocalStorage&&((e=$l())&&e.bandwidth&&(this.options_.bandwidth=e.bandwidth,this.tech_.trigger({type:\"usage\",name:\"vhs-bandwidth-from-local-storage\"}),this.tech_.trigger({type:\"usage\",name:\"hls-bandwidth-from-local-storage\"})),e&&e.throughput&&(this.options_.throughput=e.throughput,this.tech_.trigger({type:\"usage\",name:\"vhs-throughput-from-local-storage\"}),this.tech_.trigger({type:\"usage\",name:\"hls-throughput-from-local-storage\"}))),\"number\"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=Gu.INITIAL_BANDWIDTH),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&this.options_.bandwidth===Gu.INITIAL_BANDWIDTH,[\"withCredentials\",\"useDevicePixelRatio\",\"limitRenditionByPlayerDimensions\",\"bandwidth\",\"smoothQualityChange\",\"customTagParsers\",\"customTagMappers\",\"handleManifestRedirects\",\"cacheEncryptionKeys\",\"playlistSelector\",\"initialPlaylistSelector\",\"experimentalBufferBasedABR\",\"liveRangeSafeTimeDelta\",\"experimentalLLHLS\"].forEach(function(e){\"undefined\"!=typeof t.source_[e]&&(t.options_[e]=t.source_[e])}),this.limitRenditionByPlayerDimensions=this.options_.limitRenditionByPlayerDimensions,this.useDevicePixelRatio=this.options_.useDevicePixelRatio},t.src=function(e,t){var n=this;e&&(this.setOptions_(),this.options_.src=0===(e=this.source_.src).toLowerCase().indexOf(\"data:application/vnd.videojs.vhs+json,\")?JSON.parse(e.substring(e.indexOf(\",\")+1)):e,this.options_.tech=this.tech_,this.options_.externVhs=Gl,this.options_.sourceType=gr(t),this.options_.seekTo=function(e){n.tech_.setCurrentTime(e)},this.options_.smoothQualityChange&&Zn.log.warn(\"smoothQualityChange is deprecated and will be removed in the next major version\"),this.masterPlaylistController_=new ql(this.options_),t=Zn.mergeOptions({liveRangeSafeTimeDelta:.1},this.options_,{seekable:function(){return n.seekable()},media:function(){return n.masterPlaylistController_.media()},masterPlaylistController:this.masterPlaylistController_}),this.playbackWatcher_=new Wl(t),this.masterPlaylistController_.on(\"error\",function(){var e=Zn.players[n.tech_.options_.playerId],t=n.masterPlaylistController_.error;\"object\"!=typeof t||t.code?\"string\"==typeof t&&(t={message:t,code:3}):t.code=3,e.error(t)}),t=this.options_.experimentalBufferBasedABR?Gl.movingAverageBandwidthSelector(.55):Gl.STANDARD_PLAYLIST_SELECTOR,this.masterPlaylistController_.selectPlaylist=(this.selectPlaylist||t).bind(this),this.masterPlaylistController_.selectInitialPlaylist=Gl.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(e){this.masterPlaylistController_.selectPlaylist=e.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=e,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.bandwidth},set:function(e){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=e,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var e=1/(this.bandwidth||1),t=0<this.throughput?1/this.throughput:0;return Math.floor(1/(e+t))},set:function(){Zn.log.error('The \"systemBandwidth\" property is read-only')}}}),this.options_.bandwidth&&(this.bandwidth=this.options_.bandwidth),this.options_.throughput&&(this.throughput=this.options_.throughput),Object.defineProperties(this.stats,{bandwidth:{get:function(){return n.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return n.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return n.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return n.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return n.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return n.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return n.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return n.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0},mediaAppends:{get:function(){return n.masterPlaylistController_.mediaAppends_()||0},enumerable:!0},mainAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.mainAppendsToLoadedData_()||0},enumerable:!0},audioAppendsToLoadedData:{get:function(){return n.masterPlaylistController_.audioAppendsToLoadedData_()||0},enumerable:!0},appendsToLoadedData:{get:function(){return n.masterPlaylistController_.appendsToLoadedData_()||0},enumerable:!0},timeToLoadedData:{get:function(){return n.masterPlaylistController_.timeToLoadedData_()||0},enumerable:!0},buffered:{get:function(){return lo(n.tech_.buffered())},enumerable:!0},currentTime:{get:function(){return n.tech_.currentTime()},enumerable:!0},currentSource:{get:function(){return n.tech_.currentSource_},enumerable:!0},currentTech:{get:function(){return n.tech_.name_},enumerable:!0},duration:{get:function(){return n.tech_.duration()},enumerable:!0},master:{get:function(){return n.playlists.master},enumerable:!0},playerDimensions:{get:function(){return n.tech_.currentDimensions()},enumerable:!0},seekable:{get:function(){return lo(n.tech_.seekable())},enumerable:!0},timestamp:{get:function(){return Date.now()},enumerable:!0},videoPlaybackQuality:{get:function(){return n.tech_.getVideoPlaybackQuality()},enumerable:!0}}),this.tech_.one(\"canplay\",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.tech_.on(\"bandwidthupdate\",function(){n.options_.useBandwidthFromLocalStorage&&function(e){if(!_.localStorage)return;var t=(t=$l())?Zn.mergeOptions(t,e):e;try{_.localStorage.setItem(Kl,JSON.stringify(t))}catch(e){return}}({bandwidth:n.bandwidth,throughput:Math.round(n.throughput)})}),this.masterPlaylistController_.on(\"selectedinitialmedia\",function(){var i;(i=n).representations=function(){var e=i.masterPlaylistController_.master(),e=Io(e)?i.masterPlaylistController_.getAudioTrackPlaylists_():e.playlists;return e?e.filter(function(e){return!To(e)}).map(function(e,t){return new gl(i,e,e.id)}):[]}}),this.masterPlaylistController_.sourceUpdater_.on(\"createdsourcebuffers\",function(){n.setupEme_()}),this.on(this.masterPlaylistController_,\"progress\",function(){this.tech_.trigger(\"progress\")}),this.on(this.masterPlaylistController_,\"firstplay\",function(){this.ignoreNextSeekingEvent_=!0}),this.setupQualityLevels_(),this.tech_.el()&&(this.mediaSourceUrl_=_.URL.createObjectURL(this.masterPlaylistController_.mediaSource),this.tech_.src(this.mediaSourceUrl_)))},t.setupEme_=function(){var t=this,e=this.masterPlaylistController_.mediaTypes_.AUDIO.activePlaylistLoader,i=Ql({player:this.player_,sourceKeySystems:this.source_.keySystems,media:this.playlists.media(),audioMedia:e&&e.media()});11!==Zn.browser.IE_VERSION&&i?(this.logger_(\"waiting for EME key session creation\"),Yl({player:this.player_,sourceKeySystems:this.source_.keySystems,audioMedia:e&&e.media(),mainPlaylists:this.playlists.master.playlists}).then(function(){t.logger_(\"created EME key session\"),t.masterPlaylistController_.sourceUpdater_.initializedEme()}).catch(function(e){t.logger_(\"error while creating EME key session\",e),t.player_.error({message:\"Failed to initialize media keys for EME\",code:3})})):this.masterPlaylistController_.sourceUpdater_.initializedEme()},t.setupQualityLevels_=function(){var i=this,e=Zn.players[this.tech_.options_.playerId];e&&e.qualityLevels&&!this.qualityLevels_&&(this.qualityLevels_=e.qualityLevels(),this.masterPlaylistController_.on(\"selectedinitialmedia\",function(){var t,e;t=i.qualityLevels_,(e=i).representations().forEach(function(e){t.addQualityLevel(e)}),Xl(t,e.playlists)}),this.playlists.on(\"mediachange\",function(){Xl(i.qualityLevels_,i.playlists)}))},e.version=function(){return{\"@videojs/http-streaming\":\"2.9.2\",\"mux.js\":\"5.12.2\",\"mpd-parser\":\"0.17.0\",\"m3u8-parser\":\"4.7.0\",\"aes-decrypter\":\"3.1.2\"}},t.version=function(){return this.constructor.version()},t.canChangeType=function(){return Pl.canChangeType()},t.play=function(){this.masterPlaylistController_.play()},t.setCurrentTime=function(e){this.masterPlaylistController_.setCurrentTime(e)},t.duration=function(){return this.masterPlaylistController_.duration()},t.seekable=function(){return this.masterPlaylistController_.seekable()},t.dispose=function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),this.player_&&(delete this.player_.vhs,delete this.player_.dash,delete this.player_.hls),this.tech_&&this.tech_.vhs&&delete this.tech_.vhs,this.tech_&&delete this.tech_.hls,this.mediaSourceUrl_&&_.URL.revokeObjectURL&&(_.URL.revokeObjectURL(this.mediaSourceUrl_),this.mediaSourceUrl_=null),r.prototype.dispose.call(this)},t.convertToProgramTime=function(e,t){return Xo({playlist:this.masterPlaylistController_.media(),time:e,callback:t})},t.seekToProgramTime=function(e,t,i,n){return void 0===i&&(i=!0),void 0===n&&(n=2),Ko({programTime:e,playlist:this.masterPlaylistController_.media(),retryCount:n,pauseAfterSeek:i,seekTo:this.options_.seekTo,tech:this.options_.tech,callback:t})},e}(Zn.getComponent(\"Component\")),Zl={name:\"videojs-http-streaming\",VERSION:\"2.9.2\",canHandleSource:function(e,t){t=Zn.mergeOptions(Zn.options,t=void 0===t?{}:t);return Zl.canPlayType(e.type,t)},handleSource:function(e,t,i){i=Zn.mergeOptions(Zn.options,i=void 0===i?{}:i);return t.vhs=new Jl(e,t,i),Zn.hasOwnProperty(\"hls\")||Object.defineProperty(t,\"hls\",{get:function(){return Zn.log.warn(\"player.tech().hls is deprecated. Use player.tech().vhs instead.\"),t.vhs},configurable:!0}),t.vhs.xhr=Fo(),t.vhs.src(e.src,e.type),t.vhs},canPlayType:function(e,t){t=Zn.mergeOptions(Zn.options,t=void 0===t?{}:t).vhs.overrideNative,t=void 0===t?!Zn.browser.IS_ANY_SAFARI:t,e=gr(e);return e&&(!Gl.supportsTypeNatively(e)||t)?\"maybe\":\"\"}};return fr(\"avc1.4d400d,mp4a.40.2\")&&Zn.getTech(\"Html5\").registerSourceHandler(Zl,0),Zn.VhsHandler=Jl,Object.defineProperty(Zn,\"HlsHandler\",{get:function(){return Zn.log.warn(\"videojs.HlsHandler is deprecated. Use videojs.VhsHandler instead.\"),Jl},configurable:!0}),Zn.VhsSourceHandler=Zl,Object.defineProperty(Zn,\"HlsSourceHandler\",{get:function(){return Zn.log.warn(\"videojs.HlsSourceHandler is deprecated. Use videojs.VhsSourceHandler instead.\"),Zl},configurable:!0}),Zn.Vhs=Gl,Object.defineProperty(Zn,\"Hls\",{get:function(){return Zn.log.warn(\"videojs.Hls is deprecated. Use videojs.Vhs instead.\"),Gl},configurable:!0}),Zn.use||(Zn.registerComponent(\"Hls\",Gl),Zn.registerComponent(\"Vhs\",Gl)),Zn.options.vhs=Zn.options.vhs||{},Zn.options.hls=Zn.options.hls||{},Zn.registerPlugin?Zn.registerPlugin(\"reloadSourceOnError\",z):Zn.plugin(\"reloadSourceOnError\",z),Zn});","/*! @name videojs-contrib-quality-levels @version 2.0.9 @license Apache-2.0 */\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t(require(\"video.js\"),require(\"global/document\")):\"function\"==typeof define&&define.amd?define([\"video.js\",\"global/document\"],t):e.videojsContribQualityLevels=t(e.videojs,e.document)}(this,function(e,t){\"use strict\";function n(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}e=e&&e.hasOwnProperty(\"default\")?e.default:e,t=t&&t.hasOwnProperty(\"default\")?t.default:t;var r=function(r){var i,l;function o(){var i,l=n(n(i=r.call(this)||this));if(e.browser.IS_IE8)for(var s in l=t.createElement(\"custom\"),o.prototype)\"constructor\"!==s&&(l[s]=o.prototype[s]);return l.levels_=[],l.selectedIndex_=-1,Object.defineProperty(l,\"selectedIndex\",{get:function(){return l.selectedIndex_}}),Object.defineProperty(l,\"length\",{get:function(){return l.levels_.length}}),l||n(i)}l=r,(i=o).prototype=Object.create(l.prototype),i.prototype.constructor=i,i.__proto__=l;var s=o.prototype;return s.addQualityLevel=function(n){var r=this.getQualityLevelById(n.id);if(r)return r;var i=this.levels_.length;return r=new function n(r){var i=this;if(e.browser.IS_IE8)for(var l in i=t.createElement(\"custom\"),n.prototype)\"constructor\"!==l&&(i[l]=n.prototype[l]);return i.id=r.id,i.label=i.id,i.width=r.width,i.height=r.height,i.bitrate=r.bandwidth,i.enabled_=r.enabled,Object.defineProperty(i,\"enabled\",{get:function(){return i.enabled_()},set:function(e){i.enabled_(e)}}),i}(n),\"\"+i in this||Object.defineProperty(this,i,{get:function(){return this.levels_[i]}}),this.levels_.push(r),this.trigger({qualityLevel:r,type:\"addqualitylevel\"}),r},s.removeQualityLevel=function(e){for(var t=null,n=0,r=this.length;n<r;n++)if(this[n]===e){t=this.levels_.splice(n,1)[0],this.selectedIndex_===n?this.selectedIndex_=-1:this.selectedIndex_>n&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:\"removequalitylevel\"}),t},s.getQualityLevelById=function(e){for(var t=0,n=this.length;t<n;t++){var r=this[t];if(r.id===e)return r}return null},s.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},o}(e.EventTarget);for(var i in r.prototype.allowedEvents_={change:\"change\",addqualitylevel:\"addqualitylevel\",removequalitylevel:\"removequalitylevel\"},r.prototype.allowedEvents_)r.prototype[\"on\"+i]=null;var l=function(t){return n=this,e.mergeOptions({},t),i=n.qualityLevels,l=new r,n.on(\"dispose\",function e(){l.dispose(),n.qualityLevels=i,n.off(\"dispose\",e)}),n.qualityLevels=function(){return l},n.qualityLevels.VERSION=\"2.0.9\",l;var n,i,l};return(e.registerPlugin||e.plugin)(\"qualityLevels\",l),l.VERSION=\"2.0.9\",l});\n","/**\n * videojs-hls-quality-selector\n * @version 1.1.4\n * @copyright 2020 Chris Boustead (chris@forgemotion.com)\n * @license MIT\n */\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e(require(\"video.js\")):\"function\"==typeof define&&define.amd?define([\"video.js\"],e):t.videojsHlsQualitySelector=e(t.videojs)}(this,function(o){\"use strict\";o=o&&o.hasOwnProperty(\"default\")?o.default:o;var u=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},l=(function(){function a(t){this.value=t}function t(o){var r,u;function l(t,e){try{var n=o[t](e),i=n.value;i instanceof a?Promise.resolve(i.value).then(function(t){l(\"next\",t)},function(t){l(\"throw\",t)}):s(n.done?\"return\":\"normal\",n.value)}catch(t){s(\"throw\",t)}}function s(t,e){switch(t){case\"return\":r.resolve({value:e,done:!0});break;case\"throw\":r.reject(e);break;default:r.resolve({value:e,done:!1})}(r=r.next)?l(r.key,r.arg):u=null}this._invoke=function(i,o){return new Promise(function(t,e){var n={key:i,arg:o,resolve:t,reject:e,next:null};u?u=u.next=n:(r=u=n,l(i,o))})},\"function\"!=typeof o.return&&(this.return=void 0)}\"function\"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(t){return this._invoke(\"next\",t)},t.prototype.throw=function(t){return this._invoke(\"throw\",t)},t.prototype.return=function(t){return this._invoke(\"return\",t)}}(),function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")}),t=function(t,e){if(\"function\"!=typeof e&&null!==e)throw new TypeError(\"Super expression must either be null or a function, not \"+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},s=function(t,e){if(!t)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return!e||\"object\"!=typeof e&&\"function\"!=typeof e?t:e},e=o.getComponent(\"MenuButton\"),r=o.getComponent(\"Menu\"),a=o.getComponent(\"Component\"),c=o.dom;var h=function(e){function n(t){return l(this,n),s(this,e.call(this,t,{title:t.localize(\"Quality\"),name:\"QualityButton\"}))}return t(n,e),n.prototype.createItems=function(){return[]},n.prototype.createMenu=function(){var t,e=new r(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var n=c.createEl(\"li\",{className:\"vjs-menu-title\",innerHTML:(t=this.options_.title,\"string\"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)),tabIndex:-1}),i=new a(this.player_,{el:n});this.hideThreshold_+=1,e.addItem(i)}if(this.items=this.createItems(),this.items)for(var o=0;o<this.items.length;o++)e.addItem(this.items[o]);return e},n}(e),i=function(r){function u(t,e,n,i){l(this,u);var o=s(this,r.call(this,t,{label:e.label,selectable:!0,selected:e.selected||!1}));return o.item=e,o.qualityButton=n,o.plugin=i,o}return t(u,r),u.prototype.handleClick=function(){for(var t=0;t<this.qualityButton.items.length;++t)this.qualityButton.items[t].selected(!1);this.plugin.setQuality(this.item.value),this.selected(!0)},u}(o.getComponent(\"MenuItem\")),y={},n=o.registerPlugin||o.plugin,f=function(){function n(t,e){l(this,n),this.player=t,this.config=e,this.player.qualityLevels&&this.getHls()&&(this.createQualityButton(),this.bindPlayerEvents())}return n.prototype.getHls=function(){return this.player.tech({IWillNotUseThisInPlugins:!0}).hls},n.prototype.bindPlayerEvents=function(){this.player.qualityLevels().on(\"addqualitylevel\",this.onAddQualityLevel.bind(this))},n.prototype.createQualityButton=function(){var t=this.player;this._qualityButton=new h(t);var e=t.controlBar.children().length-2,n=t.controlBar.addChild(this._qualityButton,{componentClass:\"qualitySelector\"},this.config.placementIndex||e);if(n.addClass(\"vjs-quality-selector\"),this.config.displayCurrentQuality)this.setButtonInnerText(\"auto\");else{var i=\" \"+(this.config.vjsIconClass||\"vjs-icon-hd\");n.menuButton_.$(\".vjs-icon-placeholder\").className+=i}n.removeClass(\"vjs-hidden\")},n.prototype.setButtonInnerText=function(t){this._qualityButton.menuButton_.$(\".vjs-icon-placeholder\").innerHTML=t},n.prototype.getQualityMenuItem=function(t){var e=this.player;return new i(e,t,this._qualityButton,this)},n.prototype.onAddQualityLevel=function(){for(var n=this,t=this.player,i=t.qualityLevels().levels_||[],o=[],e=function(e){if(!o.filter(function(t){return t.item&&t.item.value===i[e].height}).length){var t=n.getQualityMenuItem.call(n,{label:i[e].height+\"p\",value:i[e].height});o.push(t)}},r=0;r<i.length;++r)e(r);o.sort(function(t,e){return\"object\"!==(void 0===t?\"undefined\":u(t))||\"object\"!==(void 0===e?\"undefined\":u(e))?-1:t.item.value<e.item.value?-1:t.item.value>e.item.value?1:0}),o.push(this.getQualityMenuItem.call(this,{label:t.localize(\"Auto\"),value:\"auto\",selected:!0})),this._qualityButton&&(this._qualityButton.createItems=function(){return o},this._qualityButton.update())},n.prototype.setQuality=function(t){var e=this.player.qualityLevels();this._currentQuality=t,this.config.displayCurrentQuality&&this.setButtonInnerText(\"auto\"===t?t:t+\"p\");for(var n=0;n<e.length;++n){var i=e[n];i.enabled=i.height===t||\"auto\"===t}this._qualityButton.unpressButton()},n.prototype.getCurrentQuality=function(){return this._currentQuality||\"auto\"},n}(),p=function(n){var i=this;this.ready(function(){var t,e;t=i,e=o.mergeOptions(y,n),t.addClass(\"vjs-hls-quality-selector\"),t.hlsQualitySelector=new f(t,e)})};return n(\"hlsQualitySelector\",p),p.VERSION=\"1.1.4\",p});","define('@ember-decorators/argument/-debug/decorators/immutable', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _validationDecorator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const immutable = (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n    validations.isImmutable = true;\n  });\n\n  exports.default = immutable;\n});","define('@ember-decorators/argument/-debug/decorators/required', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _validationDecorator) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const required = (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n    validations.isRequired = true;\n  });\n\n  exports.default = required;\n});","define('@ember-decorators/argument/-debug/decorators/type', ['exports', '@ember-decorators/argument/-debug/utils/validation-decorator', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validationDecorator, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = type;\n  function type(type) {\n    (true && !(arguments.length === 1) && Ember.assert(`The @type decorator can only receive one type, but instead received ${arguments.length}. Use the 'unionOf' helper to create a union type.`, arguments.length === 1));\n\n\n    const validator = (0, _validators.resolveValidator)(type);\n\n    return (0, _validationDecorator.default)(function (target, key, desc, options, validations) {\n      validations.typeValidators.push(validator);\n    });\n  }\n});","define(\"@ember-decorators/argument/-debug/errors\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  class MutabilityError extends Error {}\n\n  exports.MutabilityError = MutabilityError;\n  class RequiredFieldError extends Error {}\n\n  exports.RequiredFieldError = RequiredFieldError;\n  class TypeError extends Error {}\n  exports.TypeError = TypeError;\n});","define('@ember-decorators/argument/-debug/helpers/array-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = arrayOf;\n  function arrayOf(type) {\n    (true && !(arguments.length === 1) && Ember.assert(`The 'arrayOf' helper must receive exactly one type. Use the 'unionOf' helper to create a union type.`, arguments.length === 1));\n\n\n    const validator = (0, _validators.resolveValidator)(type);\n\n    return (0, _validators.makeValidator)(`arrayOf(${validator})`, value => {\n      return Ember.isArray(value) && value.every(validator);\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/one-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = oneOf;\n  function oneOf(...list) {\n    (true && !(arguments.length >= 1) && Ember.assert(`The 'oneOf' helper must receive at least one argument`, arguments.length >= 1));\n    (true && !(list.every(item => typeof item === 'string')) && Ember.assert(`The 'oneOf' helper must receive arguments of strings, received: ${list}`, list.every(item => typeof item === 'string')));\n\n\n    return (0, _validators.makeValidator)(`oneOf(${list.join()})`, value => {\n      return list.includes(value);\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/optional', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = optional;\n\n\n  const nullValidator = (0, _validators.resolveValidator)(null);\n  const undefinedValidator = (0, _validators.resolveValidator)(undefined);\n\n  function optional(type) {\n    (true && !(arguments.length === 1) && Ember.assert(`The 'optional' helper must receive exactly one type. Use the 'unionOf' helper to create a union type.`, arguments.length === 1));\n\n\n    const validator = (0, _validators.resolveValidator)(type);\n    const validatorDesc = validator.toString();\n\n    (true && !(validatorDesc !== 'null') && Ember.assert(`Passsing 'null' to the 'optional' helper does not make sense.`, validatorDesc !== 'null'));\n    (true && !(validatorDesc !== 'undefined') && Ember.assert(`Passsing 'undefined' to the 'optional' helper does not make sense.`, validatorDesc !== 'undefined'));\n\n\n    return (0, _validators.makeValidator)(`optional(${validator})`, value => nullValidator(value) || undefinedValidator(value) || validator(value));\n  }\n});","define('@ember-decorators/argument/-debug/helpers/shape-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = shapeOf;\n  function shapeOf(shape) {\n    (true && !(arguments.length === 1) && Ember.assert(`The 'shapeOf' helper must receive exactly one shape`, arguments.length === 1));\n    (true && !(typeof shape === 'object') && Ember.assert(`The 'shapeOf' helper must receive an object to match the shape to, received: ${shape}`, typeof shape === 'object'));\n    (true && !(Object.keys(shape).length > 0) && Ember.assert(`The object passed to the 'shapeOf' helper must have at least one key:type pair`, Object.keys(shape).length > 0));\n\n\n    let typeDesc = [];\n\n    for (let key in shape) {\n      shape[key] = (0, _validators.resolveValidator)(shape[key]);\n\n      typeDesc.push(`${key}:${shape[key]}`);\n    }\n\n    return (0, _validators.makeValidator)(`shapeOf({${typeDesc.join()}})`, value => {\n      for (let key in shape) {\n        if (shape[key](Ember.get(value, key)) !== true) {\n          return false;\n        }\n      }\n\n      return true;\n    });\n  }\n});","define('@ember-decorators/argument/-debug/helpers/union-of', ['exports', '@ember-decorators/argument/-debug/utils/validators'], function (exports, _validators) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = unionOf;\n  function unionOf(...types) {\n    (true && !(arguments.length > 1) && Ember.assert(`The 'unionOf' helper must receive more than one type`, arguments.length > 1));\n\n\n    const validators = types.map(_validators.resolveValidator);\n\n    return (0, _validators.makeValidator)(`unionOf(${validators.join()})`, value => {\n      return validators.some(validator => validator(value));\n    });\n  }\n});","define('@ember-decorators/argument/-debug/index', ['exports', '@ember-decorators/argument/-debug/decorators/immutable', '@ember-decorators/argument/-debug/decorators/required', '@ember-decorators/argument/-debug/decorators/type', '@ember-decorators/argument/-debug/helpers/array-of', '@ember-decorators/argument/-debug/helpers/shape-of', '@ember-decorators/argument/-debug/helpers/union-of', '@ember-decorators/argument/-debug/helpers/optional', '@ember-decorators/argument/-debug/helpers/one-of', '@ember-decorators/argument/-debug/errors', '@ember-decorators/argument/-debug/utils/validations-for'], function (exports, _immutable, _required, _type, _arrayOf, _shapeOf, _unionOf, _optional, _oneOf, _errors, _validationsFor) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'immutable', {\n    enumerable: true,\n    get: function () {\n      return _immutable.default;\n    }\n  });\n  Object.defineProperty(exports, 'required', {\n    enumerable: true,\n    get: function () {\n      return _required.default;\n    }\n  });\n  Object.defineProperty(exports, 'type', {\n    enumerable: true,\n    get: function () {\n      return _type.default;\n    }\n  });\n  Object.defineProperty(exports, 'arrayOf', {\n    enumerable: true,\n    get: function () {\n      return _arrayOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'shapeOf', {\n    enumerable: true,\n    get: function () {\n      return _shapeOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'unionOf', {\n    enumerable: true,\n    get: function () {\n      return _unionOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'optional', {\n    enumerable: true,\n    get: function () {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(exports, 'oneOf', {\n    enumerable: true,\n    get: function () {\n      return _oneOf.default;\n    }\n  });\n  Object.defineProperty(exports, 'MutabilityError', {\n    enumerable: true,\n    get: function () {\n      return _errors.MutabilityError;\n    }\n  });\n  Object.defineProperty(exports, 'RequiredFieldError', {\n    enumerable: true,\n    get: function () {\n      return _errors.RequiredFieldError;\n    }\n  });\n  Object.defineProperty(exports, 'TypeError', {\n    enumerable: true,\n    get: function () {\n      return _errors.TypeError;\n    }\n  });\n  Object.defineProperty(exports, 'getValidationsForKey', {\n    enumerable: true,\n    get: function () {\n      return _validationsFor.getValidationsForKey;\n    }\n  });\n});","define('@ember-decorators/argument/-debug/utils/computed', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isMandatorySetter = isMandatorySetter;\n  exports.isDescriptor = isDescriptor;\n  exports.isDescriptorTrap = isDescriptorTrap;\n  function isMandatorySetter(setter) {\n    return setter && setter.toString().match('You must use .*set()') !== null;\n  }\n\n  function isDescriptor(maybeDesc) {\n    return maybeDesc !== null && typeof maybeDesc === 'object' && maybeDesc.isDescriptor;\n  }\n\n  function isDescriptorTrap(maybeDesc) {\n    return maybeDesc !== null && typeof maybeDesc === 'object' && !!maybeDesc.__DESCRIPTOR__;\n  }\n});","define(\"@ember-decorators/argument/-debug/utils/object\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getPropertyDescriptor = getPropertyDescriptor;\n  function getPropertyDescriptor(object, key) {\n    if (object === undefined) return;\n\n    return Object.getOwnPropertyDescriptor(object, key) || getPropertyDescriptor(Object.getPrototypeOf(object), key);\n  }\n});","define('@ember-decorators/argument/-debug/utils/validation-decorator', ['exports', '@ember-decorators/argument/-debug/utils/computed', '@ember-decorators/argument/-debug/utils/object', '@ember-decorators/argument/-debug/utils/validations-for', '@ember-decorators/argument/-debug/errors'], function (exports, _computed, _object, _validationsFor, _errors) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = validationDecorator;\n\n\n  const notifyPropertyChange = Ember.notifyPropertyChange || Ember.propertyDidChange;\n\n  function guardBind(fn, ...args) {\n    if (typeof fn === 'function') {\n      return fn.bind(...args);\n    }\n  }\n\n  class ValidatedProperty {\n    constructor({ originalValue, klass, keyName, isImmutable, typeValidators }) {\n      this.isDescriptor = true;\n\n      this.klass = klass;\n      this.originalValue = originalValue;\n      this.isImmutable = isImmutable;\n      this.typeValidators = typeValidators;\n\n      runValidators(typeValidators, klass, keyName, originalValue, 'init');\n    }\n\n    get(obj, keyName) {\n      let klass = this.klass,\n          originalValue = this.originalValue,\n          isImmutable = this.isImmutable,\n          typeValidators = this.typeValidators;\n\n\n      let newValue = this._get(obj, keyName);\n\n      if (isImmutable && newValue !== originalValue) {\n        throw new _errors.MutabilityError(`Immutable value ${klass.name}#${keyName} changed by underlying computed, original value: ${originalValue}, new value: ${newValue}`);\n      }\n\n      if (typeValidators.length > 0) {\n        runValidators(typeValidators, klass, keyName, newValue, 'get');\n      }\n\n      return newValue;\n    }\n\n    set(obj, keyName, value) {\n      let klass = this.klass,\n          isImmutable = this.isImmutable,\n          typeValidators = this.typeValidators;\n\n\n      if (isImmutable) {\n        throw new _errors.MutabilityError(`Attempted to set ${klass.name}#${keyName} to the value ${value} but the field is immutable`);\n      }\n\n      let newValue = this._set(obj, keyName, value);\n\n      if (typeValidators.length > 0) {\n        runValidators(typeValidators, klass, keyName, newValue, 'set');\n      }\n\n      return newValue;\n    }\n  }\n\n  class StandardValidatedProperty extends ValidatedProperty {\n    constructor({ originalValue }) {\n      super(...arguments);\n\n      this.cachedValue = originalValue;\n    }\n\n    _get() {\n      return this.cachedValue;\n    }\n\n    _set(obj, keyName, value) {\n      if (value === this.cachedValue) return value;\n\n      this.cachedValue = value;\n\n      notifyPropertyChange(obj, keyName);\n\n      return this.cachedValue;\n    }\n  }\n\n  class NativeComputedValidatedProperty extends ValidatedProperty {\n    constructor({ desc }) {\n      super(...arguments);\n\n      this.desc = desc;\n    }\n\n    _get(obj) {\n      return this.desc.get.call(obj);\n    }\n\n    _set(obj, keyName, value) {\n      // By default Ember.get will check to see if the value has changed before setting\n      // and calling propertyDidChange. In order to not change behavior, we must do the same\n      let currentValue = this._get(obj);\n\n      if (value === currentValue) return value;\n\n      this.desc.set.call(obj, value);\n\n      notifyPropertyChange(obj, keyName);\n\n      return this._get(obj);\n    }\n  }\n\n  class ComputedValidatedProperty extends ValidatedProperty {\n    constructor({ desc }) {\n      super(...arguments);\n\n      this.desc = desc;\n\n      this.setup = guardBind(desc.setup, desc);\n      this.teardown = guardBind(desc.teardown, desc);\n      this.willChange = guardBind(desc.willChange, desc);\n      this.didChange = guardBind(desc.didChange, desc);\n      this.willWatch = guardBind(desc.willWatch, desc);\n      this.didUnwatch = guardBind(desc.didUnwatch, desc);\n    }\n\n    _get(obj, keyName) {\n      return this.desc.get(obj, keyName);\n    }\n\n    _set(obj, keyName, value) {\n      if (true) {\n        return this.desc.set(obj, keyName, value);\n      }\n\n      this.desc.set(obj, keyName, value);\n\n      var _Ember$meta = Ember.meta(obj);\n\n      let cache = _Ember$meta.cache;\n\n\n      return typeof cache === 'object' ? cache[keyName] : value;\n    }\n  }\n\n  function runValidators(validators, klass, key, value, phase) {\n    validators.forEach(validator => {\n      if (validator(value) === false) {\n        let formattedValue = typeof value === 'string' ? `'${value}'` : value;\n        throw new _errors.TypeError(`${klass.name}#${key} expected value of type ${validator} during '${phase}', but received: ${formattedValue}`);\n      }\n    });\n  }\n\n  function wrapField(klass, instance, validations, keyName) {\n    var _validations$keyName = validations[keyName];\n    const isImmutable = _validations$keyName.isImmutable,\n          isRequired = _validations$keyName.isRequired,\n          typeValidators = _validations$keyName.typeValidators,\n          typeRequired = _validations$keyName.typeRequired;\n\n\n    if (isRequired && instance[keyName] === undefined && !instance.hasOwnProperty(keyName)) {\n      throw new _errors.RequiredFieldError(`${klass.name}#${keyName} is a required value, but was not provided. You can provide it as an argument, as a class field, or in the constructor`);\n    }\n\n    // opt out early if no further validations\n    if (!isImmutable && typeValidators.length === 0) {\n      if (typeValidators.length === 0 && typeRequired) {\n        throw new _errors.TypeError(`${klass.name}#${keyName} requires a type, add one using the @type decorator`);\n      }\n\n      return;\n    }\n\n    let originalValue = instance[keyName];\n    let meta = Ember.meta(instance);\n\n    if (true) {\n      let possibleDesc = meta.peekDescriptors(keyName);\n\n      if (possibleDesc !== undefined) {\n        originalValue = possibleDesc;\n      }\n    }\n\n    if ((0, _computed.isDescriptorTrap)(originalValue)) {\n      originalValue = originalValue.__DESCRIPTOR__;\n    }\n\n    let validatedProperty;\n\n    if ((0, _computed.isDescriptor)(originalValue)) {\n      let desc = originalValue;\n\n      originalValue = desc.get(instance, keyName);\n\n      validatedProperty = new ComputedValidatedProperty({\n        desc, isImmutable, keyName, klass, originalValue, typeValidators\n      });\n    } else {\n      let desc = (0, _object.getPropertyDescriptor)(instance, keyName);\n\n      if ((typeof desc.get === 'function' || typeof desc.set === 'function') && !(0, _computed.isMandatorySetter)(desc.set)) {\n        validatedProperty = new NativeComputedValidatedProperty({\n          desc, isImmutable, keyName, klass, originalValue, typeValidators\n        });\n      } else {\n        validatedProperty = new StandardValidatedProperty({\n          isImmutable, keyName, klass, originalValue, typeValidators\n        });\n      }\n    }\n\n    if (true) {\n      // We're trying to fly under the radar here, so don't use Ember.defineProperty.\n      // Ember should think the property is completely unchanged.\n      Object.defineProperty(instance, keyName, {\n        configurable: true,\n        enumerable: true,\n        get() {\n          return validatedProperty.get(this, keyName);\n        }\n      });\n\n      meta.writeDescriptors(keyName, validatedProperty);\n    } else {\n      // We're trying to fly under the radar here, so don't use Ember.defineProperty.\n      // Ember should think the property is completely unchanged.\n      Object.defineProperty(instance, keyName, {\n        configurable: true,\n        enumerable: true,\n        writable: true,\n        value: validatedProperty\n      });\n    }\n  }\n\n  const ValidatingCreateMixin = Ember.Mixin.create({\n    create() {\n      const instance = this._super.apply(this, arguments);\n\n      const klass = this;\n      const prototype = Object.getPrototypeOf(instance);\n      const validations = (0, _validationsFor.getValidationsFor)(prototype);\n\n      if (!validations) {\n        return instance;\n      }\n\n      for (let key in validations) {\n        wrapField(klass, instance, validations, key);\n      }\n\n      return instance;\n    }\n  });\n\n  Ember.Object.reopenClass(ValidatingCreateMixin);\n\n  // Reopening a parent class does not apply the mixin to existing child classes,\n  // so we need to apply it directly\n  ValidatingCreateMixin.apply(Ember.Component);\n  ValidatingCreateMixin.apply(Ember.Service);\n  ValidatingCreateMixin.apply(Ember.Controller);\n\n  if (requireModule.has('ember-data')) {\n    let DS = requireModule('ember-data').default;\n\n    if (DS.Model) {\n      ValidatingCreateMixin.apply(DS.Model);\n    }\n  }\n\n  function validationDecorator(fn) {\n    return function (target, key, desc, options) {\n      const validations = (0, _validationsFor.getValidationsForKey)(target, key);\n\n      fn(target, key, desc, options, validations);\n\n      if (!desc.get && !desc.set) {\n        // always ensure the property is writeable, doesn't make sense otherwise (babel bug?)\n        desc.writable = true;\n        desc.configurable = true;\n      }\n\n      if (desc.initializer === null) {\n        desc.initializer = undefined;\n      }\n    };\n  }\n});","define(\"@ember-decorators/argument/-debug/utils/validations-for\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getValidationsFor = getValidationsFor;\n  exports.getOrCreateValidationsFor = getOrCreateValidationsFor;\n  exports.getValidationsForKey = getValidationsForKey;\n  const validationMetaMap = new WeakMap();\n\n  class FieldValidations {\n    constructor(parentValidations = null) {\n      if (parentValidations === null) {\n        this.isRequired = false;\n        this.isImmutable = false;\n        this.isArgument = false;\n        this.typeRequired = false;\n\n        this.typeValidators = [];\n      } else {\n        const isRequired = parentValidations.isRequired,\n              isImmutable = parentValidations.isImmutable,\n              isArgument = parentValidations.isArgument,\n              typeRequired = parentValidations.typeRequired,\n              typeValidators = parentValidations.typeValidators;\n\n\n        this.isRequired = isRequired;\n        this.isImmutable = isImmutable;\n        this.isArgument = isArgument;\n        this.typeRequired = typeRequired;\n\n        this.typeValidators = typeValidators.slice();\n      }\n    }\n  }\n\n  function getValidationsFor(target) {\n    // Reached the root of the prototype chain\n    if (target === null) return;\n\n    return validationMetaMap.get(target) || getValidationsFor(Object.getPrototypeOf(target));\n  }\n\n  function getOrCreateValidationsFor(target) {\n    if (!validationMetaMap.has(target)) {\n      const parentMeta = getValidationsFor(Object.getPrototypeOf(target));\n      validationMetaMap.set(target, Object.create(parentMeta || null));\n    }\n\n    return validationMetaMap.get(target);\n  }\n\n  function getValidationsForKey(target, key) {\n    const validations = getOrCreateValidationsFor(target);\n\n    if (!Object.hasOwnProperty.call(validations, key)) {\n      const parentValidations = validations[key];\n      validations[key] = new FieldValidations(parentValidations);\n    }\n\n    return validations[key];\n  }\n});","define('@ember-decorators/argument/-debug/utils/validators', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.makeValidator = makeValidator;\n  exports.resolveValidator = resolveValidator;\n\n\n  function instanceOf(type) {\n    return makeValidator(type.toString(), value => value instanceof type);\n  }\n\n  const primitiveTypeValidators = {\n    any: makeValidator('any', () => true),\n    object: makeValidator('object', value => {\n      return typeof value !== 'boolean' && typeof value !== 'number' && typeof value !== 'string' && typeof value !== 'symbol' && value !== null && value !== undefined;\n    }),\n\n    boolean: makeValidator('boolean', value => typeof value === 'boolean'),\n    number: makeValidator('number', value => typeof value === 'number'),\n    string: makeValidator('string', value => typeof value === 'string'),\n    symbol: makeValidator('symbol', value => typeof value === 'symbol'),\n\n    null: makeValidator('null', value => value === null),\n    undefined: makeValidator('undefined', value => value === undefined)\n  };\n\n  function makeValidator(desc, fn) {\n    fn.isValidator = true;\n    fn.toString = () => desc;\n    return fn;\n  }\n\n  function resolveValidator(type) {\n    if (type === null || type === undefined) {\n      return type === null ? primitiveTypeValidators.null : primitiveTypeValidators.undefined;\n    } else if (type.isValidator === true) {\n      return type;\n    } else if (typeof type === 'function' || typeof type === 'object') {\n      // We allow objects for certain classes in IE, like Element, which have typeof 'object' for some reason\n      return instanceOf(type);\n    } else if (typeof type === 'string') {\n      (true && !(primitiveTypeValidators[type] !== undefined) && Ember.assert(`Unknown primitive type received: ${type}`, primitiveTypeValidators[type] !== undefined));\n\n\n      return primitiveTypeValidators[type];\n    } else {\n      (true && !(false) && Ember.assert(`Types must either be a primitive type string, class, validator, or null or undefined, received: ${type}`, false));\n    }\n  }\n});","define('@ember-decorators/argument/-debug/validated-component', ['exports', 'ember-get-config', '@ember-decorators/argument/-debug/utils/validations-for', '@ember-decorators/argument/-debug/utils/validation-decorator'], function (exports, _emberGetConfig, _validationsFor) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  let validatedComponent;\n\n  const whitelist = {\n    ariaRole: true,\n    class: true,\n    classNames: true,\n    id: true,\n    isVisible: true,\n    tagName: true,\n    target: true,\n    __ANGLE_ATTRS__: true\n  };\n\n  if (true) {\n    validatedComponent = Ember.Component.extend();\n\n    validatedComponent.reopenClass({\n      create(props) {\n        // First create the instance to realize any dynamically added bindings or fields\n        const instance = this._super(...arguments);\n\n        const prototype = Object.getPrototypeOf(instance);\n        const validations = (0, _validationsFor.getValidationsFor)(prototype) || {};\n        if (Ember.getWithDefault(_emberGetConfig.default, '@ember-decorators/argument.ignoreComponentsWithoutValidations', false) && Object.keys(validations).length === 0) {\n          return instance;\n        }\n\n        const attributes = instance.attributeBindings || [];\n        const classNames = (instance.classNameBindings || []).map(binding => binding.split(':')[0]);\n\n        for (let key in props.attrs) {\n          const isValidArgOrAttr = key in validations && validations[key].isArgument || key in whitelist || attributes.indexOf(key) !== -1 || classNames.indexOf(key) !== -1;\n\n          (true && !(isValidArgOrAttr) && Ember.assert(`Attempted to assign the argument '${key}' on an instance of ${this.name || this}, but no argument was defined for that key. Use the @argument helper on the class field to define an argument for that class.`, isValidArgOrAttr));\n        }\n\n        return instance;\n      }\n    });\n  } else {\n    validatedComponent = Ember.Component;\n  }\n\n  exports.default = validatedComponent;\n});","define('@ember-decorators/argument/errors', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'MutabilityError', {\n    enumerable: true,\n    get: function () {\n      return _debug.MutabilityError;\n    }\n  });\n  Object.defineProperty(exports, 'RequiredFieldError', {\n    enumerable: true,\n    get: function () {\n      return _debug.RequiredFieldError;\n    }\n  });\n  Object.defineProperty(exports, 'TypeError', {\n    enumerable: true,\n    get: function () {\n      return _debug.TypeError;\n    }\n  });\n});","define('@ember-decorators/argument/index', ['exports', 'ember-get-config', '@ember-decorators/argument/utils/make-computed', '@ember-decorators/argument/-debug'], function (exports, _emberGetConfig, _makeComputed, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.argument = argument;\n\n\n  let valueMap = new WeakMap();\n\n  function valuesFor(obj) {\n    if (!valueMap.has(obj)) {\n      valueMap.set(obj, Object.create(null));\n    }\n\n    return valueMap.get(obj);\n  }\n\n  let internalArgumentDecorator = function internalArgumentDecorator(target, key, desc, options) {\n    if (true) {\n      let validations = (0, _debug.getValidationsForKey)(target, key);\n      validations.isArgument = true;\n      validations.typeRequired = Ember.getWithDefault(_emberGetConfig.default, '@ember-decorators/argument.typeRequired', false);\n    }\n\n    // always ensure the property is writeable, doesn't make sense otherwise (babel bug?)\n    desc.writable = true;\n    desc.configurable = true;\n\n    if (desc.initializer === null || desc.initializer === undefined) {\n      desc.initializer = undefined;\n      return;\n    }\n\n    let initializer = desc.initializer;\n\n    let get = function get() {\n      let values = valuesFor(this);\n\n      if (!Object.hasOwnProperty.call(values, key)) {\n        values[key] = initializer.call(this);\n      }\n\n      return values[key];\n    };\n\n    if (options.defaultIfNullish === true || options.defaultIfUndefined === true) {\n      let defaultIf;\n\n      if (options.defaultIfNullish === true) {\n        defaultIf = v => v === undefined || v === null;\n      } else {\n        defaultIf = v => v === undefined;\n      }\n\n      if (true) {\n        return {\n          get,\n          set(value) {\n            if (defaultIf(value)) {\n              valuesFor(this)[key] = initializer.call(this);\n            } else {\n              valuesFor(this)[key] = value;\n            }\n          }\n        };\n      }\n\n      let descriptor = (0, _makeComputed.default)({\n        get,\n        set(keyName, value) {\n          if (defaultIf(value)) {\n            return valuesFor(this)[key] = initializer.call(this);\n          } else {\n            return valuesFor(this)[key] = value;\n          }\n        }\n      });\n\n      // Decorators spec doesn't allow us to make a computed directly on\n      // the prototype, so we need to wrap the descriptor in a getter\n      return {\n        get() {\n          return descriptor;\n        }\n      };\n    } else {\n      return {\n        get,\n        set(value) {\n          valuesFor(this)[key] = value;\n        }\n      };\n    }\n  };\n\n  function argument(maybeOptions, maybeKey, maybeDesc) {\n    if (typeof maybeKey === 'string' && typeof maybeDesc === 'object') {\n      return internalArgumentDecorator(maybeOptions, maybeKey, maybeDesc, { defaultIfUndefined: false });\n    }\n\n    return function (target, key, desc) {\n      return internalArgumentDecorator(target, key, desc, maybeOptions);\n    };\n  }\n});","define('@ember-decorators/argument/type', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'type', {\n    enumerable: true,\n    get: function () {\n      return _debug.type;\n    }\n  });\n  Object.defineProperty(exports, 'arrayOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.arrayOf;\n    }\n  });\n  Object.defineProperty(exports, 'shapeOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.shapeOf;\n    }\n  });\n  Object.defineProperty(exports, 'unionOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.unionOf;\n    }\n  });\n  Object.defineProperty(exports, 'optional', {\n    enumerable: true,\n    get: function () {\n      return _debug.optional;\n    }\n  });\n  Object.defineProperty(exports, 'oneOf', {\n    enumerable: true,\n    get: function () {\n      return _debug.oneOf;\n    }\n  });\n});","define('@ember-decorators/argument/types', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.Node = exports.Element = exports.ClosureAction = exports.Action = undefined;\n\n\n  /**\n   * Action type, covers both string actions and closure actions\n   */\n  const Action = exports.Action = (0, _debug.unionOf)('string', Function);\n\n  /**\n   * Action type, covers both string actions and closure actions\n   */\n  const ClosureAction = exports.ClosureAction = Function;\n\n  /**\n   * Element type polyfill for fastboot\n   */\n  const Element = exports.Element = window ? window.Element : class Element {};\n\n  /**\n   * Node type polyfill for fastboot\n   */\n  const Node = exports.Node = window ? window.Node : class Node {};\n});","define('@ember-decorators/argument/utils/make-computed', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeComputed;\n  function makeComputed(desc) {\n    if (true) {\n      return Ember.computed(desc);\n    } else {\n      const get = desc.get,\n            set = desc.set;\n\n\n      return Ember.computed(function (key, value) {\n        if (arguments.length > 1) {\n          return set.call(this, key, value);\n        }\n\n        return get.call(this);\n      });\n    }\n  }\n});","define('@ember-decorators/argument/validation', ['exports', '@ember-decorators/argument/-debug'], function (exports, _debug) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'immutable', {\n    enumerable: true,\n    get: function () {\n      return _debug.immutable;\n    }\n  });\n  Object.defineProperty(exports, 'required', {\n    enumerable: true,\n    get: function () {\n      return _debug.required;\n    }\n  });\n});","define(\"@ember-decorators/component/index\", [\"exports\", \"@ember-decorators/utils/collapse-proto\", \"@ember-decorators/utils/decorator\"], function (_exports, _collapseProto, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.layout = _exports.tagName = _exports.attributeBindings = _exports.classNameBindings = _exports.classNames = _exports.className = _exports.attribute = void 0;\n\n  /**\n    Decorator which indicates that the field or computed should be bound\n    to an attribute value on the component. This replaces `attributeBindings`\n    by directly allowing you to specify which properties should be bound.\n    ```js\n    export default class AttributeDemoComponent extends Component {\n      @attribute role = 'button';\n      // With provided attribute name\n      @attribute('data-foo') foo = 'lol';\n      @attribute\n      @computed\n      get id() {\n        // return generated id\n      }\n    }\n    ```\n    @function\n    @param {string} name? - The name of the attribute to bind the value to if it is truthy\n  */\n  const attribute = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (true && !(params.length <= 1) && Ember.assert(`The @attribute decorator may take up to one parameter, the bound attribute name. Received: ${params.length}`, params.length <= 1));\n    (true && !(params.every(s => typeof s === 'string')) && Ember.assert(`The @attribute decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n\n    if (!target.hasOwnProperty('attributeBindings')) {\n      let parentValue = target.attributeBindings;\n      target.attributeBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n\n    let binding = params[0] ? `${key}:${params[0]}` : key;\n    target.attributeBindings.push(binding);\n\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n\n    return desc;\n  });\n  /**\n    Decorator which indicates that the field or computed should be bound to\n    the component class names. This replaces `classNameBindings` by directly\n    allowing you to specify which properties should be bound.\n    ```js\n    export default class ClassNameDemoComponent extends Component {\n      @className boundField = 'default-class';\n      // With provided true/false class names\n      @className('active', 'inactive') isActive = true;\n      @className\n      @computed\n      get boundComputed() {\n        // return generated class\n      }\n    }\n    ```\n    @function\n    @param {string} truthyName? - The class to be applied if the value the field\n                                  is truthy, defaults to the name of the field.\n    @param {string} falsyName? - The class to be applied if the value of the field\n                                 is falsy.\n  */\n\n  _exports.attribute = attribute;\n  const className = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (true && !(params.length <= 2) && Ember.assert(`The @className decorator may take up to two parameters, the truthy class and falsy class for the class binding. Received: ${params.length}`, params.length <= 2));\n    (true && !(params.every(s => typeof s === 'string')) && Ember.assert(`The @className decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n\n    if (!target.hasOwnProperty('classNameBindings')) {\n      let parentValue = target.classNameBindings;\n      target.classNameBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n\n    let binding = params.length > 0 ? `${key}:${params.join(':')}` : key;\n    target.classNameBindings.push(binding);\n\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n\n    return desc;\n  });\n  _exports.className = className;\n\n  function concattedPropDecorator(propName) {\n    return (0, _decorator.decoratorWithRequiredParams)((target, propValues) => {\n      (true && !(propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)) && Ember.assert(`The @${propName} decorator must be provided strings, received: ${propValues}`, propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)));\n      (0, _collapseProto.default)(target.prototype);\n\n      if (propName in target.prototype) {\n        let parentValues = target.prototype[propName];\n        propValues.unshift(...parentValues);\n      }\n\n      target.prototype[propName] = propValues;\n      return target;\n    }, propName);\n  }\n  /**\n    Class decorator which specifies the class names to be applied to a component.\n    This replaces the `classNames` property on components in the traditional Ember\n    object model.\n    ```js\n    @classNames('a-static-class', 'another-static-class')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNames - The list of classes to be applied to the component\n  */\n\n\n  const classNames = concattedPropDecorator('classNames');\n  /**\n    Class decorator which specifies the class name bindings to be applied to a\n    component. This replaces the `classNameBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @classNameBindings('aDynamicProperty:truthy-class-name:falsy-class-name')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNameBindings - The list of class name bindings to be applied to the component\n  */\n\n  _exports.classNames = classNames;\n  const classNameBindings = concattedPropDecorator('classNameBindings');\n  /**\n    Class decorator which specifies the attribute bindings to be applied to a\n    component. This replaces the `attributeBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @attributeBindings('role', 'aProperty:a-different-attribute')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} attributeBindings - The list of attribute bindings to be applied to the component\n  */\n\n  _exports.classNameBindings = classNameBindings;\n  const attributeBindings = concattedPropDecorator('attributeBindings');\n  /**\n    Class decorator which specifies the tag name of the component. This replaces\n    the `tagName` property on components in the traditional Ember object model.\n    ```js\n    @tagName('button')\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    @function\n    @param {string} tagName - The HTML tag to be used for the component\n  */\n\n  _exports.attributeBindings = attributeBindings;\n  const tagName = (0, _decorator.decoratorWithRequiredParams)((target, params) => {\n    let [tagName] = params;\n    (true && !(params.length === 1) && Ember.assert(`The @tagName decorator must be provided exactly one argument, received: ${tagName}`, params.length === 1));\n    (true && !(typeof tagName === 'string') && Ember.assert(`The @tagName decorator must be provided a string, received: ${tagName}`, typeof tagName === 'string'));\n    target.prototype.tagName = tagName;\n    return target;\n  }, 'tagName');\n  /**\n    Class decorator which specifies the layout for the component. This replaces\n    the `layout` property on components in the traditional Ember object model.\n    ```js\n    import template from '../templates/components/x-foo';\n    @layout(template)\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    ```js\n    import hbs from 'htmlbars-inline-precompile';\n    @layout(hbs`<h1>Hello {{ name }}</h1>`)\n    export default class TagNameDemoComponent extends Component {\n      constructor() {\n        super(...arguments);\n        this.set('name', 'Tomster');\n      }\n    }\n    ```\n    @function\n    @param {TemplateFactory} template - The compiled template to be used for the component\n  */\n\n  _exports.tagName = tagName;\n\n  const layout = (...params) => target => {\n    let [template] = params;\n    (true && !(params.length === 1) && Ember.assert(`The @layout decorator must be provided exactly one argument, received: ${params.length}`, params.length === 1));\n    (true && !(typeof template !== 'string') && Ember.assert(`The @layout decorator must be provided a template, received: ${template}. If you want to compile strings to templates, be sure to use 'htmlbars-inline-precompile'`, typeof template !== 'string'));\n    (true && !(typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined') && Ember.assert(`The @layout decorator must be provided a template, received: ${template}`, typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined'));\n    target.prototype.layout = template;\n    return target;\n  };\n\n  _exports.layout = layout;\n});","define(\"@ember-decorators/object/index\", [\"exports\", \"@ember-decorators/utils/decorator\"], function (_exports, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.off = _exports.on = _exports.unobserves = _exports.observes = void 0;\n\n  /**\n    Triggers the target function when the dependent properties have changed. Note,\n    `@observes` _must_ be used on EmberObject based classes only, otherwise there\n    may be subtle issues and breakage.\n  \n    ```javascript\n    import { observes } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that trigger the function\n   */\n  const observes = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (true && !(desc && typeof desc.value === 'function') && Ember.assert('The @observes decorator must be applied to functions', desc && typeof desc.value === 'function'));\n    (true && !(target instanceof Ember.Object) && Ember.assert(`You attempted to use @observes on ${target.constructor.name}#${key}, which does not extend from EmberObject. Unfortunately this does not work with stage 1 decorator transforms, and will break in subtle ways. You must rewrite your class to extend from EmberObject.`, target instanceof Ember.Object));\n\n    for (let path of params) {\n      Ember.expandProperties(path, expandedPath => {\n        Ember.addObserver(target, expandedPath, null, key);\n      });\n    }\n\n    return desc;\n  }, 'observes');\n  /**\n    Removes observers from the target function.\n  \n    ```javascript\n    import { observes, unobserves } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @unobserves('foo') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that no longer trigger the function\n   */\n\n  _exports.observes = observes;\n  const unobserves = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let path of params) {\n      Ember.expandProperties(path, expandedPath => {\n        Ember.removeObserver(target, expandedPath, null, key);\n      });\n    }\n\n    return desc;\n  }, 'unobserves');\n  /**\n    Adds an event listener to the target function.\n  \n    ```javascript\n    import { on } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that trigger the function\n   */\n\n  _exports.unobserves = unobserves;\n  const on = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (true && !(desc && typeof desc.value === 'function') && Ember.assert('The @on decorator must be applied to functions', desc && typeof desc.value === 'function'));\n\n    for (let eventName of params) {\n      Ember.addListener(target, eventName, null, key);\n    }\n\n    return desc;\n  }, 'on');\n  /**\n    Removes an event listener from the target function.\n  \n    ```javascript\n    import { on, off } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @off('fooEvent', 'barEvent') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that no longer trigger the function\n   */\n\n  _exports.on = on;\n  const off = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let eventName of params) {\n      Ember.removeListener(target, eventName, null, key);\n    }\n\n    return desc;\n  }, 'off');\n  _exports.off = off;\n});","define(\"@ember-decorators/utils/-private/class-field-descriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isFieldDescriptor = isFieldDescriptor;\n  _exports.isDescriptor = isDescriptor;\n\n  function isClassDescriptor(possibleDesc) {\n    let [target] = possibleDesc;\n    return possibleDesc.length === 1 && typeof target === 'function' && 'prototype' in target && !target.__isComputedDecorator;\n  }\n\n  function isFieldDescriptor(possibleDesc) {\n    let [target, key, desc] = possibleDesc;\n    return possibleDesc.length === 3 && typeof target === 'object' && target !== null && typeof key === 'string' && (typeof desc === 'object' && desc !== null && 'enumerable' in desc && 'configurable' in desc || desc === undefined) // TS compatibility\n    ;\n  }\n\n  function isDescriptor(possibleDesc) {\n    return isFieldDescriptor(possibleDesc) || isClassDescriptor(possibleDesc);\n  }\n});","define(\"@ember-decorators/utils/collapse-proto\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = collapseProto;\n\n  function collapseProto(target) {\n    // We must collapse the superclass prototype to make sure that the `actions`\n    // object will exist. Since collapsing doesn't generally happen until a class is\n    // instantiated, we have to do it manually.\n    if (typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\n  }\n});","define(\"@ember-decorators/utils/decorator\", [\"exports\", \"@ember-decorators/utils/-private/class-field-descriptor\"], function (_exports, _classFieldDescriptor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.decoratorWithParams = decoratorWithParams;\n  _exports.decoratorWithRequiredParams = decoratorWithRequiredParams;\n\n  /**\n   * A macro that takes a decorator function and allows it to optionally\n   * receive parameters\n   *\n   * ```js\n   * let foo = decoratorWithParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo bar; // undefined\n   *   @foo('bar') baz; // ['bar']\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n  function decoratorWithParams(fn) {\n    return function (...params) {\n      // determine if user called as @computed('blah', 'blah') or @computed\n      if ((0, _classFieldDescriptor.isDescriptor)(params)) {\n        return fn(...params);\n      } else {\n        return (...desc) => fn(...desc, params);\n      }\n    };\n  }\n  /**\n   * A macro that takes a decorator function and requires it to receive\n   * parameters:\n   *\n   * ```js\n   * let foo = decoratorWithRequiredParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo('bar') baz; // ['bar']\n   *   @foo bar; // Error\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n\n\n  function decoratorWithRequiredParams(fn, name) {\n    return function (...params) {\n      (true && !(!(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0) && Ember.assert(`The @${name || fn.name} decorator requires parameters`, !(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0));\n      return (...desc) => fn(...desc, params);\n    };\n  }\n});","define(\"@ember/render-modifiers/modifiers/did-insert\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The `{{did-insert}}` element modifier is activated when an element is\n    inserted into the DOM.\n  \n    In this example, the `fadeIn` function receives the `div` DOM element as its\n    first argument and is executed after the element is inserted into the DOM.\n  \n    ```handlebars\n    <div {{did-insert this.fadeIn}} class=\"alert\">\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      fadeIn(element) {\n        element.classList.add('fade-in');\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-insert this.incrementCount}}>first</div>\n    <div {{did-insert this.incrementCount}}>second</div>\n  \n    <p>{{this.count}} elements were rendered</p>\n    ```\n  \n    ```js\n    export default Component.extend({\n      count: tracked({ value: 0 }),\n  \n      incrementCount: action(function() {\n        this.count++;\n      })\n    });\n    ```\n  \n    @method did-insert\n    @public\n  */\n  var _default = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.13', {\n      disableAutoTracking: true\n    }),\n\n    createModifier() {},\n\n    installModifier(_state, element, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    },\n\n    updateModifier() {},\n\n    destroyModifier() {}\n\n  }), class DidInsertModifier {});\n\n  _exports.default = _default;\n});","define(\"@ember/render-modifiers/modifiers/did-update\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The `{{did-update}}` element modifier is activated when any of its arguments\n    are updated. It does not run on initial render.\n  \n    In this example, the `resize` function receives the `textarea` DOM element as its\n    first argument and is executed anytime the `@text` argument changes.\n  \n    ```handlebars\n    <textarea {{did-update this.resize @text}} readonly style=\"padding: 0px;\">\n      {{@text}}\n    </textarea>\n    ```\n  \n    ```js\n    export default Component.extend({\n      resize(element) {\n        element.style.height = `${element.scrollHeight}px`;\n      }\n    });\n    ```\n  \n    In addition to the `element`, both named and positional arguments are passed to the\n    executed function:\n  \n    ```handlebars\n    <div {{did-update this.logArguments @first @second third=@third}} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      logArguments(element, [first, second], { third }) {\n        console.log('element', element);\n        console.log('positional args', first, second);\n        console.log('names args', third);\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-update this.someFunction @someArg} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      someFunction: action(function(element, [someArg]) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method did-update\n    @public\n  */\n  var _default = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.13', {\n      disableAutoTracking: true\n    }),\n\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n\n    installModifier(state, element) {\n      // save element into state bucket\n      state.element = element;\n    },\n\n    updateModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    },\n\n    destroyModifier() {}\n\n  }), class DidUpdateModifier {});\n\n  _exports.default = _default;\n});","define(\"@ember/render-modifiers/modifiers/will-destroy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    The `{{will-destroy}}` element modifier is activated immediately before the element\n    is removed from the DOM.\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin(element) {\n        // teardown logic here\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin: action(function(element) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method will-destroy\n    @public\n  */\n  var _default = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.13', {\n      disableAutoTracking: true\n    }),\n\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n\n    installModifier(state, element) {\n      state.element = element;\n    },\n\n    updateModifier() {},\n\n    destroyModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    }\n\n  }), class WillDestroyModifier {});\n\n  _exports.default = _default;\n});","define(\"@embroider/macros/runtime\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.config = config;\n  _exports.each = each;\n  _exports.getGlobalConfig = getGlobalConfig;\n  _exports.isTesting = isTesting;\n  _exports.macroCondition = macroCondition;\n\n  /*\n    These are the runtime implementations for the javascript macros that have\n    runtime implementations.\n  \n    Not every macro has a runtime implementation, some only make sense in the\n    build and always run there.\n  \n    Even when we have runtime implementations, we are still careful to emit static\n    errors during the build wherever possible, and runtime errors when necessary,\n    so that you're not surprised when you switch from runtime-mode to compile-time\n    mode.\n  */\n\n  /*\n    CAUTION: in classic builds, this file gets shared by all present copies of\n    @embroider/macros. If you want to change its public API, you need to rename it\n    and update `pathToRuntime` in ../babel/state.ts to point at it, so that your\n    babel plugin and runtime will match.\n  */\n  function each(array) {\n    if (!Array.isArray(array)) {\n      throw new Error(`the argument to the each() macro must be an array`);\n    }\n\n    return array;\n  }\n\n  function macroCondition(predicate) {\n    return predicate;\n  } // This is here as a compile target for `getConfig` and `getOwnConfig` when\n  // we're in runtime mode. This is not public API to call from your own code.\n\n\n  function config(packageRoot) {\n    return runtimeConfig.packages[packageRoot];\n  }\n\n  function getGlobalConfig() {\n    return runtimeConfig.global;\n  }\n\n  function isTesting() {\n    let g = runtimeConfig.global;\n    let e = g && g['@embroider/macros'];\n    return Boolean(e && e.isTesting);\n  }\n\n  const runtimeConfig = initializeRuntimeMacrosConfig(); // this exists to be targeted by our babel plugin\n\n  function initializeRuntimeMacrosConfig() {\n    return {\n      \"packages\": {},\n      \"global\": {\n        \"@embroider/macros\": {\n          \"isTesting\": false\n        }\n      }\n    };\n  }\n\n  function updaterMethods() {\n    return {\n      config,\n      getGlobalConfig,\n\n      setConfig(packageRoot, value) {\n        runtimeConfig.packages[packageRoot] = value;\n      },\n\n      setGlobalConfig(key, value) {\n        runtimeConfig.global[key] = value;\n      }\n\n    };\n  } // this is how runtime config can get injected at boot. I'm not sure yet if this\n  // should be public API, but we certainly need it internally to set things like\n  // the global fastboot.isRunning.\n  //\n  // consumers of this API push a function onto\n  // window._embroider_macros_runtime_config. The function is given four methods\n  // which allow it to read and write the per-package and global configs. The\n  // reason for allowing both read & write is that merging strategies are up to\n  // each consumers -- read first, then merge, then write.\n  //\n  // For an example user of this API, see where we generate\n  // embroider_macros_fastboot_init.js' in @embroider/core.\n\n\n  let updaters = typeof window !== 'undefined' ? window._embroider_macros_runtime_config : undefined;\n\n  if (updaters) {\n    let methods = updaterMethods();\n\n    for (let updater of updaters) {\n      updater(methods);\n    }\n  }\n});","define(\"@embroider/util/ember-private-api\", [\"exports\", \"@embroider/macros/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.lookupCurriedComponentDefinition = lookupCurriedComponentDefinition;\n  _exports.isCurriedComponentDefinition = void 0;\n  let runtime;\n\n  if ((0, _runtime.macroCondition)(false)) {\n    // new enough ember has a real module we can import\n    runtime = require(\"@glimmer/runtime\");\n  } else {\n    // older ember has its own internal loader\n    runtime = window.Ember.__loader.require('@glimmer/runtime');\n  }\n\n  let {\n    isCurriedComponentDefinition,\n    CurriedComponentDefinition,\n    curry,\n    CurriedValue\n  } = runtime; // older embers have isCurriedComponentDefinition, new ones have CurriedValue\n  // and instanceof CurriedValue seems good enough.\n\n  _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n\n  if (!isCurriedComponentDefinition) {\n    _exports.isCurriedComponentDefinition = isCurriedComponentDefinition = function (value) {\n      return value instanceof CurriedValue;\n    };\n  }\n\n  function runtimeResolver(owner) {\n    let resolver = owner.lookup('renderer:-dom')._runtimeResolver;\n\n    if (resolver) {\n      return resolver;\n    }\n\n    let entry = Object.entries(owner.__container__.cache).find(e => e[0].startsWith('template-compiler:main-'));\n\n    if (entry) {\n      return entry[1].resolver.resolver;\n    }\n\n    throw new Error(`@embroider/util couldn't locate the runtime resolver on this ember version`);\n  }\n\n  function lookupCurriedComponentDefinition(name, owner) {\n    let resolver = runtimeResolver(owner);\n\n    if (typeof resolver.lookupComponentHandle === 'function') {\n      let handle = resolver.lookupComponentHandle(name, contextForLookup(owner));\n\n      if (handle != null) {\n        return new CurriedComponentDefinition(resolver.resolve(handle), null);\n      }\n    } // here we're doing the same thing the internal currying does, in order to\n    // generate a sane error message (even though we don't actually use\n    // resolvedDefinition as part of our return value).\n\n\n    let resolvedDefinition = resolver.lookupComponent(name, owner);\n\n    if (!resolvedDefinition) {\n      throw new Error(`Attempted to resolve \\`${name}\\` via ensureSafeComponent, but nothing was found.`);\n    }\n\n    return curry(0, name, owner, {\n      named: {},\n      positional: []\n    });\n  }\n\n  function contextForLookup(owner) {\n    if ((0, _runtime.macroCondition)(false)) {\n      return owner;\n    } else {\n      return {\n        owner\n      };\n    }\n  }\n});","define(\"@embroider/util/index\", [\"exports\", \"@embroider/util/ember-private-api\"], function (_exports, _emberPrivateApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ensureSafeComponent = ensureSafeComponent;\n  _exports.EnsureSafeComponentHelper = void 0;\n\n  function ensureSafeComponent(value, thingWithOwner) {\n    if (typeof value === 'string') {\n      return handleString(value, thingWithOwner);\n    } else if ((0, _emberPrivateApi.isCurriedComponentDefinition)(value)) {\n      return value;\n    } else if (value == null) {\n      return value;\n    } else {\n      return handleClass(value, thingWithOwner);\n    }\n  }\n\n  class EnsureSafeComponentHelper extends Ember.Helper {\n    compute([value]) {\n      return ensureSafeComponent(value, this);\n    }\n\n  }\n\n  _exports.EnsureSafeComponentHelper = EnsureSafeComponentHelper;\n\n  function handleString(name, thingWithOwner) {\n    (true && !(false) && Ember.deprecate(`You're trying to invoke the component \"${name}\" by passing its name as a string. This won't work under Embroider.`, false, {\n      id: 'ensure-safe-component.string',\n      url: 'https://github.com/embroider-build/embroider/blob/master/ADDON-AUTHOR-GUIDE.md#when-youre-passing-a-component-to-someone-else',\n      until: 'embroider',\n      for: '@embroider/util',\n      since: '0.27.0'\n    }));\n    let owner = Ember.getOwner(thingWithOwner);\n    return (0, _emberPrivateApi.lookupCurriedComponentDefinition)(name, owner);\n  }\n\n  function ensureRegistered(klass, owner) {\n    let service = owner.lookup('service:-ensure-registered');\n    (true && !(service) && Ember.assert('Could not lookup private -ensure-registered service', service));\n    return service.register(klass, owner);\n  }\n\n  function handleClass(klass, thingWithOwner) {\n    let owner = Ember.getOwner(thingWithOwner);\n    let nonce = ensureRegistered(klass, owner);\n    return (0, _emberPrivateApi.lookupCurriedComponentDefinition)(nonce, owner);\n  }\n});","define(\"@embroider/util/services/ensure-registered\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class EnsureRegisteredService extends Ember.Service {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"classNonces\", new WeakMap());\n      (0, _defineProperty2.default)(this, \"nonceCounter\", 0);\n    }\n\n    register(klass, owner = Ember.getOwner(this)) {\n      let nonce = this.classNonces.get(klass);\n\n      if (nonce == null) {\n        nonce = `-ensure${this.nonceCounter++}`;\n        this.classNonces.set(klass, nonce);\n        owner.register(`component:${nonce}`, klass);\n      }\n\n      return nonce;\n    }\n\n  }\n\n  _exports.default = EnsureRegisteredService;\n});","define(\"@glimmer/component/-private/base-component-manager\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@glimmer/component/-private/component\"], function (_exports, _defineProperty2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = BaseComponentManager;\n\n  /**\n   * This factory function returns a component manager class with common behavior\n   * that can be extend to add Glimmer.js- or Ember.js-specific functionality. As\n   * these environments converge, the need for two component manager\n   * implementations (and thus this factory) should go away.\n   */\n  function BaseComponentManager(setOwner, getOwner, capabilities) {\n    return class {\n      static create(attrs) {\n        let owner = getOwner(attrs);\n        return new this(owner);\n      }\n\n      constructor(owner) {\n        (0, _defineProperty2.default)(this, \"capabilities\", capabilities);\n        setOwner(this, owner);\n      }\n\n      createComponent(ComponentClass, args) {\n        if (true\n        /* DEBUG */\n        ) {\n          _component.ARGS_SET.set(args.named, true);\n        }\n\n        return new ComponentClass(getOwner(this), args.named);\n      }\n\n      getContext(component) {\n        return component;\n      }\n\n    };\n  }\n});","define(\"@glimmer/component/-private/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@glimmer/component/-private/owner\", \"@glimmer/component/-private/destroyables\"], function (_exports, _defineProperty2, _owner, _destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ARGS_SET = void 0;\n  let ARGS_SET;\n  _exports.ARGS_SET = ARGS_SET;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.ARGS_SET = ARGS_SET = new WeakMap();\n  }\n  /**\n   * The `Component` class defines an encapsulated UI element that is rendered to\n   * the DOM. A component is made up of a template and, optionally, this component\n   * object.\n   *\n   * ## Defining a Component\n   *\n   * To define a component, subclass `Component` and add your own properties,\n   * methods and lifecycle hooks:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   * }\n   * ```\n   *\n   * ## Lifecycle Hooks\n   *\n   * Lifecycle hooks allow you to respond to changes to a component, such as when\n   * it gets created, rendered, updated or destroyed. To add a lifecycle hook to a\n   * component, implement the hook as a method on your component subclass.\n   *\n   * For example, to be notified when Glimmer has rendered your component so you\n   * can attach a legacy jQuery plugin, implement the `didInsertElement()` method:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   didInsertElement() {\n   *     $(this.element).pickadate();\n   *   }\n   * }\n   * ```\n   *\n   * ## Data for Templates\n   *\n   * `Component`s have two different kinds of data, or state, that can be\n   * displayed in templates:\n   *\n   * 1. Arguments\n   * 2. Properties\n   *\n   * Arguments are data that is passed in to a component from its parent\n   * component. For example, if I have a `UserGreeting` component, I can pass it\n   * a name and greeting to use:\n   *\n   * ```hbs\n   * <UserGreeting @name=\"Ricardo\" @greeting=\"Olá\" />\n   * ```\n   *\n   * Inside my `UserGreeting` template, I can access the `@name` and `@greeting`\n   * arguments that I've been given:\n   *\n   * ```hbs\n   * {{@greeting}}, {{@name}}!\n   * ```\n   *\n   * Arguments are also available inside my component:\n   *\n   * ```ts\n   * console.log(this.args.greeting); // prints \"Olá\"\n   * ```\n   *\n   * Properties, on the other hand, are internal to the component and declared in\n   * the class. You can use properties to store data that you want to show in the\n   * template, or pass to another component as an argument.\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   user = {\n   *     name: 'Robbie'\n   *   }\n   * }\n   * ```\n   *\n   * In the above example, we've defined a component with a `user` property that\n   * contains an object with its own `name` property.\n   *\n   * We can render that property in our template:\n   *\n   * ```hbs\n   * Hello, {{user.name}}!\n   * ```\n   *\n   * We can also take that property and pass it as an argument to the\n   * `UserGreeting` component we defined above:\n   *\n   * ```hbs\n   * <UserGreeting @greeting=\"Hello\" @name={{user.name}} />\n   * ```\n   *\n   * ## Arguments vs. Properties\n   *\n   * Remember, arguments are data that was given to your component by its parent\n   * component, and properties are data your component has defined for itself.\n   *\n   * You can tell the difference between arguments and properties in templates\n   * because arguments always start with an `@` sign (think \"A is for arguments\"):\n   *\n   * ```hbs\n   * {{@firstName}}\n   * ```\n   *\n   * We know that `@firstName` came from the parent component, not the current\n   * component, because it starts with `@` and is therefore an argument.\n   *\n   * On the other hand, if we see:\n   *\n   * ```hbs\n   * {{name}}\n   * ```\n   *\n   * We know that `name` is a property on the component. If we want to know where\n   * the data is coming from, we can go look at our component class to find out.\n   *\n   * Inside the component itself, arguments always show up inside the component's\n   * `args` property. For example, if `{{@firstName}}` is `Tom` in the template,\n   * inside the component `this.args.firstName` would also be `Tom`.\n   */\n\n\n  class BaseComponent {\n    /**\n     * Constructs a new component and assigns itself the passed properties. You\n     * should not construct new components yourself. Instead, Glimmer will\n     * instantiate new components automatically as it renders.\n     *\n     * @param owner\n     * @param args\n     */\n    constructor(owner, args) {\n      (0, _defineProperty2.default)(this, \"args\", void 0);\n\n      if (true\n      /* DEBUG */\n      && !(owner !== null && typeof owner === 'object' && ARGS_SET.has(args))) {\n        throw new Error(`You must pass both the owner and args to super() in your component: ${this.constructor.name}. You can pass them directly, or use ...arguments to pass all arguments through.`);\n      }\n\n      this.args = args;\n      (0, _owner.setOwner)(this, owner);\n    }\n    /**\n     * Named arguments passed to the component from its parent component.\n     * They can be accessed in JavaScript via `this.args.argumentName` and in the template via `@argumentName`.\n     *\n     * Say you have the following component, which will have two `args`, `firstName` and `lastName`:\n     *\n     * ```hbs\n     * <my-component @firstName=\"Arthur\" @lastName=\"Dent\" />\n     * ```\n     *\n     * If you needed to calculate `fullName` by combining both of them, you would do:\n     *\n     * ```ts\n     * didInsertElement() {\n     *   console.log(`Hi, my full name is ${this.args.firstName} ${this.args.lastName}`);\n     * }\n     * ```\n     *\n     * While in the template you could do:\n     *\n     * ```hbs\n     * <p>Welcome, {{@firstName}} {{@lastName}}!</p>\n     * ```\n     */\n\n\n    get isDestroying() {\n      return (0, _destroyables.isDestroying)(this);\n    }\n\n    get isDestroyed() {\n      return (0, _destroyables.isDestroyed)(this);\n    }\n    /**\n     * Called before the component has been removed from the DOM.\n     */\n\n\n    willDestroy() {}\n\n  }\n\n  _exports.default = BaseComponent;\n});","define(\"@glimmer/component/-private/destroyables\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setDestroying = setDestroying;\n  _exports.setDestroyed = setDestroyed;\n  _exports.isDestroying = isDestroying;\n  _exports.isDestroyed = isDestroyed;\n  // NOTE: DO NOT MODIFY\n  //\n  // This module is clobbered by ember-addon-main when used in Ember >= 3.20.0-beta.4\n  const DESTROYING = new WeakMap();\n  const DESTROYED = new WeakMap(); // TODO: remove once glimmer.js is updated to glimmer-vm 0.54.0+ and can use the destroyables API directly\n\n  function setDestroying(component) {\n    DESTROYING.set(component, true);\n  }\n\n  function setDestroyed(component) {\n    DESTROYED.set(component, true);\n  }\n\n  function isDestroying(component) {\n    return DESTROYING.has(component);\n  }\n\n  function isDestroyed(component) {\n    return DESTROYED.has(component);\n  }\n});","define(\"@glimmer/component/-private/ember-component-manager\", [\"exports\", \"@glimmer/component/-private/base-component-manager\", \"@glimmer/component/-private/destroyables\"], function (_exports, _baseComponentManager, destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    setDestroyed,\n    setDestroying\n  } = destroyables;\n  const CAPABILITIES = true ? Ember._componentManagerCapabilities('3.13', {\n    destructor: true,\n    asyncLifecycleCallbacks: false,\n    updateHook: false\n  }) : Ember._componentManagerCapabilities('3.4', {\n    destructor: true,\n    asyncLifecycleCallbacks: false\n  });\n  const scheduledDestroyComponent = false // @ts-ignore\n  // @ts-ignore\n  ? undefined : (component, meta) => {\n    if (component.isDestroyed) {\n      return;\n    }\n\n    Ember.destroy(component);\n    meta.setSourceDestroyed();\n    setDestroyed(component);\n  };\n  const destroy = false ? Ember.destroy : component => {\n    if (component.isDestroying) {\n      return;\n    }\n\n    let meta = Ember.meta(component);\n    meta.setSourceDestroying();\n    setDestroying(component);\n    Ember.run.schedule('actions', component, component.willDestroy);\n    Ember.run.schedule('destroy', void 0, scheduledDestroyComponent, component, meta);\n  };\n  const registerDestructor = false ? Ember._registerDestructor : false ? Ember.__loader.require('@glimmer/runtime').registerDestructor : undefined;\n  /**\n   * This component manager runs in Ember.js environments and extends the base component manager to:\n   *\n   * 1. Properly destroy the component's associated `meta` data structure\n   * 2. Schedule destruction using Ember's runloop\n   */\n\n  class EmberGlimmerComponentManager extends (0, _baseComponentManager.default)(Ember.setOwner, Ember.getOwner, CAPABILITIES) {\n    createComponent(ComponentClass, args) {\n      const component = super.createComponent(ComponentClass, args);\n\n      if (false) {\n        registerDestructor(component, () => {\n          component.willDestroy();\n        });\n      }\n\n      return component;\n    }\n\n    destroyComponent(component) {\n      destroy(component);\n    }\n\n  }\n\n  // In Ember 3.12 and earlier, the updateComponent hook was mandatory.\n  // As of Ember 3.13, the `args` object is stable and each property of the\n  // object participates in the autotrack stack on its own. This means we do not\n  // need to set the `args` property on the component instance to invalidate\n  // tracked getters that rely on `args`, and therefore don't require the `updateComponent`\n  // hook at all.\n  if (!true) {\n    EmberGlimmerComponentManager.prototype.updateComponent = function updateComponent(component, args) {\n      let argSnapshot = args.named;\n\n      if (true\n      /* DEBUG */\n      ) {\n        argSnapshot = Object.freeze(argSnapshot);\n      }\n\n      Ember.set(component, 'args', argSnapshot);\n    };\n  }\n\n  var _default = EmberGlimmerComponentManager;\n  _exports.default = _default;\n});","define(\"@glimmer/component/-private/owner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setOwner = void 0;\n  var setOwner = Ember.setOwner;\n  _exports.setOwner = setOwner;\n});","define(\"@glimmer/component/index\", [\"exports\", \"@glimmer/component/-private/ember-component-manager\", \"@glimmer/component/-private/component\"], function (_exports, _emberComponentManager, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let GlimmerComponent = _component.default;\n\n  if (true\n  /* DEBUG */\n  ) {\n    // Add assertions against using Glimmer.js only APIs\n    // TODO: Add GlimmerComponent API docs link to these messages once API docs are live\n    function throwMethodUseError(methodName) {\n      throw new Error(`You attempted to define the '${methodName}' method on a Glimmer Component, but that lifecycle hook does not exist in Ember.js applications, it only exists in Glimmer.js apps. You can rename this method, and you can trigger it using a modifier such as {{did-insert}} from '@ember/render-modifiers': https://github.com/emberjs/ember-render-modifiers.`);\n    }\n\n    function throwPropertyUseError(propertyName) {\n      throw new Error(`You attempted to access the '${propertyName}' property on a Glimmer Component, but that property does not exist in Ember.js applications, it only exists in Glimmer.js apps. You define a class field with the same name on your component class and it will overwrite this error message, but it will not be used by the framework.`);\n    }\n\n    GlimmerComponent = class GlimmerDebugComponent extends GlimmerComponent {\n      constructor(owner, args) {\n        super(owner, args);\n\n        if (typeof this['didInsertElement'] === 'function') {\n          throwMethodUseError('didInsertElement');\n        }\n\n        if (typeof this['didUpdate'] === 'function') {\n          throwMethodUseError('didUpdate');\n        }\n      }\n\n    };\n    let proto = GlimmerComponent.prototype;\n\n    function defineErrorProp(proto, key, getterMethod) {\n      Object.defineProperty(proto, key, {\n        get: () => getterMethod(key),\n\n        set(value) {\n          Object.defineProperty(this, key, {\n            value\n          });\n        }\n\n      });\n    } // Methods should still throw whenever they are accessed\n\n\n    defineErrorProp(proto, 'bounds', throwPropertyUseError);\n    defineErrorProp(proto, 'element', throwPropertyUseError);\n    defineErrorProp(proto, 'debugName', throwPropertyUseError);\n  }\n\n  if (true) {\n    Ember._setComponentManager(owner => {\n      return new _emberComponentManager.default(owner);\n    }, GlimmerComponent);\n  } else {\n    Ember._setComponentManager('glimmer', GlimmerComponent);\n  }\n\n  var _default = GlimmerComponent;\n  _exports.default = _default;\n});","define(\"ember-array-contains-helper/helpers/array-contains\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = Ember.Helper.extend({\n\n    /**\n     * Test if an array contains an object, eventually based on one of this object property / value\n     *\n     * @method compute\n     * @param {Array} params array and value to test. Array can be null, undefined or valid Array.\n     * value could be a literal or an object\n     * @param {Object} hash named arguments accepted by this helper (``property``)\n     * @return {Boolean}\n     * - true if:\n     *   - the array in ``params[0]`` contains the object value in ``params[1]``\n     *   - the array in ``params[0]`` contains an object holding a property named ``hash.property`` with value equals to ``params[1]``\n     * - false otherwise and if the array in ``params[0]`` is null or undefined\n     *\n     * @throws {Ember.Error} if the given array (from ``params[0]``) is not null and not an array.\n     */\n    compute(params, hash = {}) {\n      var _params = _slicedToArray(params, 2);\n\n      let array = _params[0],\n          value = _params[1];\n\n      // if array undefined or null, we test against an empty array. This is particularily usefull\n      // if the test occurs before a promise is resolved, for example\n\n      if (Ember.isNone(array)) {\n        array = Ember.A([]);\n      }\n\n      if (!Ember.isArray(array)) {\n        throw new Ember.Error('First parameter should be a valid array');\n      }\n\n      const property = hash.property;\n      let contained = false;\n      this.setupRecompute(array, property);\n\n      // Wrap into an Ember.Array to use advanced methods while supporting disabling prototype extensions\n      // Note: This operation does not modify the original array\n      let wrappedArray = Ember.A(array);\n\n      if (property) {\n        // Property provided, test the property\n        contained = wrappedArray.isAny(property, value);\n      } else {\n        // No property provided, test the full object\n        contained = wrappedArray.includes(value);\n      }\n\n      return contained;\n    },\n\n    destroy() {\n      if (this.teardown) {\n        this.teardown();\n      }\n      if (this.teardownProperty) {\n        this.teardownProperty();\n      }\n      this._super(...arguments);\n    },\n\n    /**\n     * Install and clean observers to be able to recompute result if array changes :\n     * content added or removed or observed property modified.\n     *\n     * @method setupRecompute\n     * @param {Array} array The given array\n     * @param {String} property Name of the property to test\n     * @private\n     */\n    setupRecompute(array, property) {\n      Ember.set(this, '_array', array);\n\n      // Remove existing observers, if any\n      if (this.teardown) {\n        this.teardown();\n      }\n      if (this.teardownProperty) {\n        this.teardownProperty();\n      }\n\n      // Install observer on the array itself : run when adding / removing items to the array\n      let arrayPath = '_array.[]';\n      Ember.addObserver(this, arrayPath, this, this.recompute);\n      // define method to remove observer\n      this.teardown = () => {\n        Ember.removeObserver(this, arrayPath, this, this.recompute);\n      };\n\n      if (property) {\n        // Install observer on the given property, if any\n        let propertyPath = `_array.@each.${property}`;\n        Ember.addObserver(this, propertyPath, this, this.recompute);\n        // define method to remove observer\n        this.teardownProperty = () => {\n          Ember.removeObserver(this, propertyPath, this, this.recompute);\n        };\n      }\n    }\n  });\n});","define(\"ember-assign-helper/helpers/assign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assign = assign;\n  _exports.default = void 0;\n\n  function assign(params) {\n    return Ember.assign({}, ...params);\n  }\n\n  var _default = Ember.Helper.helper(assign);\n\n  _exports.default = _default;\n});","define('ember-async-await-helper/components/async-await', ['exports', 'ember-async-await-helper/templates/components/async-await'], function (exports, _asyncAwait) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  /**\n    Used for uninitialized values so that we can distinguish them from values that\n    were intentionally set to `null`/`undefined` in the console.\n  \n    @private\n    @method UNINITIALIZED\n    @returns undefined\n  */\n  function UNINITIALIZED() {}\n\n  function DEFAULT_REJECTION_HANDLER(reason) {\n    try {\n      let error = new Error(`Unhandled promise rejection in {{#async-await}}: ${reason}`);\n      error.reason = reason;\n      throw error;\n    } catch (error) {\n      if (typeof Ember.onerror === 'function') {\n        Ember.onerror(error);\n      } else {\n        console.assert(false, error); // eslint-disable-line no-console\n      }\n    }\n  }\n\n  let hashProto;\n\n  if (Ember.VERSION.startsWith('2.')) {\n    // Glimmer in older version of Ember does some weird things in creating an empty \"hash\",\n    // so we have to jump through some hoops to get the correct prototype.\n    hashProto = Object.getPrototypeOf(Ember.__loader.require('@glimmer/util').dict());\n  } else {\n    // The `hash` helper creates an object with `Object.create(null)` which will have no\n    // prototype.\n    hashProto = null;\n  }\n\n  function isHash(value) {\n    return typeof value === 'object' && Object.getPrototypeOf(value) === hashProto;\n  }\n\n  /**\n    This component awaits a promise (passed as a positional param), then yields\n    the resolved value to the given block. Thus, the code within the block can be\n    synchronous.\n  \n    Optionally, pass in an inverse block to show while the promise is resolving.\n  \n    ```\n    {{#async-await this.promise as |value|}}\n      <SynchronousComponent @value={{value}} />\n    {{else}}\n      <LoadingSpinner />\n    {{/async-await}}\n    ```\n  \n    @class component:async-await\n    @extends Ember.Component\n   */\n  exports.default = Ember.Component.extend({\n    tagName: '',\n    layout: _asyncAwait.default,\n\n    /**\n      The promise or hash of promises to await on (passed as a positional argument).\n       @public\n      @property argument\n      @type any\n      @required\n    */\n    argument: UNINITIALIZED(),\n\n    /**\n      A callback to run when the promise rejects. By default, it calls\n      `Ember.onerror` with an error object with its `reason` property set to the\n      promise's rejection reason. You can pass a different function here to\n      handle the rejection more locally. Pass `null` to silence the rejection\n      completely.\n       @public\n      @property onReject\n      @type Function | null\n      @required\n    */\n    onReject: DEFAULT_REJECTION_HANDLER,\n\n    /**\n      The most-recently awaited argument.\n       @private\n      @property awaited\n      @type any\n    */\n    awaited: UNINITIALIZED(),\n\n    /**\n      Whether the promise is pending, i.e. it has neither been resolved or\n      rejected. This is the opposite of `isSettled`. Only one of `isPending`,\n      `isResolved` or `isRejected` can be true at any given moment.\n       @private\n      @property isPending\n      @type Boolean\n      @default true\n    */\n    isPending: true,\n\n    /**\n      Whether the promise is settled, i.e. it has either been resolved or\n      rejected. This is the opposite of `isPending`.\n       @private\n      @property isSettled\n      @type Boolean\n      @default false\n    */\n    isSettled: false,\n\n    /**\n      Whether the promise has been resolved. If `true`, the resolution value can\n      be found in `resolvedValue`. Only one of `isPending`, `isResolved` or\n      `isRejected` can be true at any given moment.\n       @private\n      @property isResolved\n      @type Boolean\n      @default false\n    */\n    isResolved: false,\n\n    /**\n      Whether the promise has been rejected. If `true`, the rejection reason can\n      be found in `rejectReason`. Only one of `isPending`, `isResolved` or\n      `isRejected` can be true at any given moment.\n       @private\n      @property isRejected\n      @type Boolean\n      @default false\n    */\n    isRejected: false,\n\n    /**\n      If the promise has been resolved, this will contain the resolved value.\n       @private\n      @property resolvedValue\n      @type any\n    */\n    resolvedValue: UNINITIALIZED(),\n\n    /**\n      If the promise has been resolved, this will contain the rejection reason.\n       @private\n      @property rejectReason\n      @type any\n    */\n    rejectReason: UNINITIALIZED(),\n\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this.didReceiveArgument(this.argument);\n    },\n\n    didReceiveArgument(argument) {\n      if (argument === this.awaited) {\n        return;\n      }\n\n      this.setProperties({\n        awaited: argument,\n        isPending: true,\n        isSettled: false,\n        isResolved: false,\n        isRejected: false,\n        resolvedValue: UNINITIALIZED(),\n        rejectReason: UNINITIALIZED()\n      });\n\n      let target = isHash(argument) ? Ember.RSVP.hash(argument) : argument;\n\n      Promise.resolve(target).then(Ember.run.bind(this, this.didResolve, argument), Ember.run.bind(this, this.didReject, argument));\n    },\n\n    didResolve(resolvedArgument, value) {\n      if (this.shouldIgnorePromise(resolvedArgument)) {\n        return;\n      }\n\n      this.setProperties({\n        isPending: false,\n        isSettled: true,\n        isResolved: true,\n        isRejected: false,\n        resolvedValue: value,\n        rejectReason: UNINITIALIZED()\n      });\n    },\n\n    didReject(rejectedArgument, reason) {\n      if (this.shouldIgnorePromise(rejectedArgument)) {\n        return;\n      }\n\n      this.setProperties({\n        isPending: false,\n        isSettled: true,\n        isResolved: false,\n        isRejected: true,\n        resolvedValue: UNINITIALIZED(),\n        rejectReason: reason\n      });\n\n      let onReject = this.onReject;\n\n\n      if (onReject) {\n        onReject(reason);\n      }\n    },\n\n    shouldIgnorePromise(argument) {\n      return this.isDestroyed || this.isDestroying || this.argument !== argument;\n    }\n  }).reopenClass({\n    positionalParams: ['argument']\n  });\n});","define(\"ember-async-await-helper/templates/components/async-await\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.HTMLBars.template({ \"id\": \"8dXyGISh\", \"block\": \"{\\\"symbols\\\":[\\\"&inverse\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"isResolved\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[14,2,[[23,0,[\\\"resolvedValue\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[14,1],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-async-await-helper/templates/components/async-await.hbs\" } });\n});","define(\"ember-basic-dropdown/components/basic-dropdown-content\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@glimmer/component\", \"ember-basic-dropdown/utils/calculate-position\", \"ember-basic-dropdown/utils/scroll-helpers\", \"ember-basic-dropdown/utils/has-moved\", \"@embroider/macros/runtime\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _calculatePosition, _scrollHelpers, _hasMoved, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _descriptor;\n\n  let BasicDropdownContent = (_dec = Ember._tracked, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, (_class = class BasicDropdownContent extends _component.default {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"transitioningInClass\", this.args.transitioningInClass || 'ember-basic-dropdown--transitioning-in');\n      (0, _defineProperty2.default)(this, \"transitionedInClass\", this.args.transitionedInClass || 'ember-basic-dropdown--transitioned-in');\n      (0, _defineProperty2.default)(this, \"transitioningOutClass\", this.args.transitioningOutClass || 'ember-basic-dropdown--transitioning-out');\n      (0, _defineProperty2.default)(this, \"isTouchDevice\", this.args.isTouchDevice || Boolean(!!window && 'ontouchstart' in window));\n      (0, _defineProperty2.default)(this, \"dropdownId\", `ember-basic-dropdown-content-${this.args.dropdown.uniqueId}`);\n      (0, _defineProperty2.default)(this, \"touchMoveEvent\", void 0);\n      (0, _defineProperty2.default)(this, \"handleRootMouseDown\", void 0);\n      (0, _defineProperty2.default)(this, \"scrollableAncestors\", []);\n      (0, _defineProperty2.default)(this, \"mutationObserver\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"animationClass\", _descriptor, this);\n    }\n\n    get destinationElement() {\n      return document.getElementById(this.args.destination);\n    }\n\n    get animationEnabled() {\n      return !(0, _runtime.isTesting)();\n    }\n    /**\n     * Allows similair behaviour to `ember-composable-helpers`' `optional` helper.\n     * Avoids adding extra dependencies.\n     * Can be removed when the template `V1` compatability event handlers are removed.\n     *\n     * @see https://github.com/cibernox/ember-basic-dropdown/issues/498\n     * @memberof BasicDropdownContent\n     */\n\n\n    noop() {}\n\n    setup(dropdownElement) {\n      let triggerElement = document.querySelector(`[data-ebd-id=${this.args.dropdown.uniqueId}-trigger]`);\n\n      this.handleRootMouseDown = e => {\n        if (e.target === null) return;\n        let target = e.target;\n\n        if ((0, _hasMoved.default)(e, this.touchMoveEvent) || dropdownElement.contains(target) || triggerElement && triggerElement.contains(target)) {\n          this.touchMoveEvent = undefined;\n          return;\n        }\n\n        if (dropdownIsValidParent(target, this.dropdownId)) {\n          this.touchMoveEvent = undefined;\n          return;\n        }\n\n        this.args.dropdown.actions.close(e, true);\n      };\n\n      document.addEventListener(this.args.rootEventType, this.handleRootMouseDown, true);\n      window.addEventListener('resize', this.runloopAwareReposition);\n      window.addEventListener('orientationchange', this.runloopAwareReposition);\n\n      if (this.isTouchDevice) {\n        document.addEventListener('touchstart', this.touchStartHandler, true);\n        document.addEventListener('touchend', this.handleRootMouseDown, true);\n      }\n\n      if (triggerElement !== null) {\n        this.scrollableAncestors = getScrollableAncestors(triggerElement);\n      }\n\n      this.addScrollHandling(dropdownElement);\n    }\n\n    teardown() {\n      this.removeGlobalEvents();\n      this.removeScrollHandling();\n      this.scrollableAncestors = [];\n      document.removeEventListener(this.args.rootEventType, this.handleRootMouseDown, true);\n\n      if (this.isTouchDevice) {\n        document.removeEventListener('touchstart', this.touchStartHandler, true);\n        document.removeEventListener('touchend', this.handleRootMouseDown, true);\n      }\n    }\n\n    animateIn(dropdownElement) {\n      if (!this.animationEnabled) return;\n      waitForAnimations(dropdownElement, () => {\n        this.animationClass = this.transitionedInClass;\n      });\n    }\n\n    animateOut(dropdownElement) {\n      if (!this.animationEnabled) return;\n      let parentElement = dropdownElement.parentElement;\n      if (parentElement === null) return;\n\n      if (this.args.renderInPlace) {\n        parentElement = parentElement.parentElement;\n      }\n\n      if (parentElement === null) return;\n      let clone = dropdownElement.cloneNode(true);\n      clone.id = `${clone.id}--clone`;\n      clone.classList.remove(...this.transitioningInClass.split(' '));\n      clone.classList.add(...this.transitioningOutClass.split(' '));\n      parentElement.appendChild(clone);\n      this.animationClass = this.transitionedInClass;\n      waitForAnimations(clone, function () {\n        parentElement.removeChild(clone);\n      });\n    }\n\n    setupMutationObserver(dropdownElement) {\n      this.mutationObserver = new MutationObserver(mutations => {\n        let shouldReposition = mutations.some(record => containsRelevantMutation(record.addedNodes) || containsRelevantMutation(record.removedNodes));\n\n        if (shouldReposition && this.args.shouldReposition) {\n          shouldReposition = this.args.shouldReposition(mutations, this.args.dropdown);\n        }\n\n        if (shouldReposition) {\n          this.runloopAwareReposition();\n        }\n      });\n      this.mutationObserver.observe(dropdownElement, {\n        childList: true,\n        subtree: true\n      });\n    }\n\n    teardownMutationObserver() {\n      if (this.mutationObserver !== undefined) {\n        this.mutationObserver.disconnect();\n        this.mutationObserver = undefined;\n      }\n    }\n\n    touchStartHandler() {\n      document.addEventListener('touchmove', this.touchMoveHandler, true);\n    }\n\n    touchMoveHandler(e) {\n      this.touchMoveEvent = e;\n      document.removeEventListener('touchmove', this.touchMoveHandler, true);\n    }\n\n    runloopAwareReposition() {\n      Ember.run.join(this.args.dropdown.actions.reposition);\n    }\n\n    removeGlobalEvents() {\n      window.removeEventListener('resize', this.runloopAwareReposition);\n      window.removeEventListener('orientationchange', this.runloopAwareReposition);\n    } // Methods\n\n\n    addScrollHandling(dropdownElement) {\n      if (this.args.preventScroll === true) {\n        let wheelHandler = event => {\n          if (event.target === null) return;\n          let target = event.target;\n\n          if (dropdownElement.contains(target) || dropdownElement === event.target) {\n            // Discover the amount of scrollable canvas that is within the dropdown.\n            const availableScroll = (0, _scrollHelpers.getAvailableScroll)(target, dropdownElement); // Calculate what the event's desired change to that scrollable canvas is.\n\n            let {\n              deltaX,\n              deltaY\n            } = (0, _scrollHelpers.getScrollDeltas)(event); // If the consequence of the wheel action would result in scrolling beyond\n            // the scrollable canvas of the dropdown, call preventDefault() and clamp\n            // the value of the delta to the available scroll size.\n\n            if (deltaX < availableScroll.deltaXNegative) {\n              deltaX = availableScroll.deltaXNegative;\n              event.preventDefault();\n            } else if (deltaX > availableScroll.deltaXPositive) {\n              deltaX = availableScroll.deltaXPositive;\n              event.preventDefault();\n            } else if (deltaY < availableScroll.deltaYNegative) {\n              deltaY = availableScroll.deltaYNegative;\n              event.preventDefault();\n            } else if (deltaY > availableScroll.deltaYPositive) {\n              deltaY = availableScroll.deltaYPositive;\n              event.preventDefault();\n            } // Add back in the default behavior for the two good states that the above\n            // `preventDefault()` code will break.\n            // - Two-axis scrolling on a one-axis scroll container\n            // - The last relevant wheel event if the scroll is overshooting\n            // Also, don't attempt to do this if both of `deltaX` or `deltaY` are 0.\n\n\n            if (event.defaultPrevented && (deltaX || deltaY)) {\n              (0, _scrollHelpers.distributeScroll)(deltaX, deltaY, target, dropdownElement);\n            }\n          } else {\n            // Scrolling outside of the dropdown is prohibited.\n            event.preventDefault();\n          }\n        };\n\n        document.addEventListener('wheel', wheelHandler, {\n          capture: true,\n          passive: false\n        });\n\n        this.removeScrollHandling = () => {\n          document.removeEventListener('wheel', wheelHandler, {\n            capture: true\n          });\n        };\n      } else {\n        this.addScrollEvents();\n        this.removeScrollHandling = this.removeScrollEvents;\n      }\n    } // Assigned at runtime to ensure that changes to the `preventScroll` property\n    // don't result in not cleaning up after ourselves.\n\n\n    removeScrollHandling() {} // These two functions wire up scroll handling if `preventScroll` is false.\n    // These trigger reposition of the dropdown.\n\n\n    addScrollEvents() {\n      window.addEventListener('scroll', this.runloopAwareReposition);\n      this.scrollableAncestors.forEach(el => {\n        el.addEventListener('scroll', this.runloopAwareReposition);\n      });\n    }\n\n    removeScrollEvents() {\n      window.removeEventListener('scroll', this.runloopAwareReposition);\n      this.scrollableAncestors.forEach(el => {\n        el.removeEventListener('scroll', this.runloopAwareReposition);\n      });\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"animationClass\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.animationEnabled ? this.transitioningInClass : '';\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"setup\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"setup\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"teardown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"teardown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"animateIn\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"animateIn\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"animateOut\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"animateOut\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"setupMutationObserver\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"setupMutationObserver\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"teardownMutationObserver\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"teardownMutationObserver\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"touchStartHandler\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"touchStartHandler\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"touchMoveHandler\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"touchMoveHandler\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"runloopAwareReposition\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"runloopAwareReposition\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"removeGlobalEvents\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"removeGlobalEvents\"), _class.prototype)), _class));\n  _exports.default = BasicDropdownContent;\n\n  function containsRelevantMutation(nodeList) {\n    for (let i = 0; i < nodeList.length; i++) {\n      const node = nodeList[i];\n\n      if (node.nodeName !== '#comment' && !(node.nodeName === '#text' && node.nodeValue === '')) {\n        return true;\n      }\n    }\n\n    return false;\n  } // All ancestors with scroll (except the BODY, which is treated differently)\n\n\n  function getScrollableAncestors(triggerElement) {\n    let scrollableAncestors = [];\n\n    if (triggerElement) {\n      let parent = triggerElement.parentNode;\n\n      if (parent !== null) {\n        let nextScrollable = (0, _calculatePosition.getScrollParent)(parent);\n\n        while (nextScrollable && nextScrollable.tagName.toUpperCase() !== 'BODY' && nextScrollable.tagName.toUpperCase() !== 'HTML') {\n          scrollableAncestors.push(nextScrollable);\n          let nextParent = nextScrollable.parentNode;\n\n          if (nextParent === null) {\n            nextScrollable = undefined;\n          } else {\n            nextScrollable = (0, _calculatePosition.getScrollParent)(nextParent);\n          }\n        }\n      }\n    }\n\n    return scrollableAncestors;\n  }\n\n  function closestContent(el) {\n    while (el && (!el.classList || !el.classList.contains('ember-basic-dropdown-content'))) {\n      if (el.parentElement === null) return null;\n      el = el.parentElement;\n    }\n\n    return el;\n  }\n\n  function waitForAnimations(element, callback) {\n    window.requestAnimationFrame(function () {\n      let computedStyle = window.getComputedStyle(element);\n\n      if (computedStyle.animationName !== 'none' && computedStyle.animationPlayState === 'running') {\n        let eventCallback = function () {\n          element.removeEventListener('animationend', eventCallback);\n          callback();\n        };\n\n        element.addEventListener('animationend', eventCallback);\n      } else {\n        callback();\n      }\n    });\n  }\n  /**\n   * Evaluates if the given element is in a dropdown or any of its parent dropdowns.\n   *\n   * @param {HTMLElement} el\n   * @param {String} dropdownId\n   */\n\n\n  function dropdownIsValidParent(el, dropdownId) {\n    let closestDropdown = closestContent(el);\n\n    if (closestDropdown === null) {\n      return false;\n    } else {\n      let closestAttrs = closestDropdown.attributes;\n      let trigger = document.querySelector(`[aria-owns=${closestAttrs.id.value}]`);\n      if (trigger === null) return false;\n      let parentDropdown = closestContent(trigger);\n      if (parentDropdown === null) return false;\n      let parentAttrs = parentDropdown.attributes;\n      return parentDropdown && parentAttrs.id.value === dropdownId || dropdownIsValidParent(parentDropdown, dropdownId);\n    }\n  }\n});","define(\"ember-basic-dropdown/components/basic-dropdown-optional-tag\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class BasicDropdownOptionalTag extends _component.default {}\n\n  _exports.default = BasicDropdownOptionalTag;\n});","define(\"ember-basic-dropdown/components/basic-dropdown-trigger\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@glimmer/component\", \"ember-basic-dropdown/utils/has-moved\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _component, _hasMoved) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class;\n\n  let BasicDropdownTrigger = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, (_class = class BasicDropdownTrigger extends _component.default {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"toggleIsBeingHandledByTouchEvents\", false);\n      (0, _defineProperty2.default)(this, \"touchMoveEvent\", void 0);\n    }\n\n    // Actions\n\n    /**\n     * Allows similair behaviour to `ember-composable-helpers`' `optional` helper.\n     * Avoids adding extra dependencies.\n     * Can be removed when the template `V1` compatability event handlers are removed.\n     *\n     * @see https://github.com/cibernox/ember-basic-dropdown/issues/498\n     * @memberof BasicDropdownContent\n     */\n    noop() {}\n\n    handleMouseDown(e) {\n      if (this.args.dropdown.disabled) {\n        return;\n      }\n\n      if (this.args.eventType !== 'mousedown' || e.button !== 0) return;\n\n      if (this.args.stopPropagation) {\n        e.stopPropagation();\n      }\n\n      this._stopTextSelectionUntilMouseup();\n\n      if (this.toggleIsBeingHandledByTouchEvents) {\n        // Some devises have both touchscreen & mouse, and they are not mutually exclusive\n        // In those cases the touchdown handler is fired first, and it sets a flag to\n        // short-circuit the mouseup so the component is not opened and immediately closed.\n        this.toggleIsBeingHandledByTouchEvents = false;\n        return;\n      }\n\n      this.args.dropdown.actions.toggle(e);\n    }\n\n    handleClick(e) {\n      if (typeof document === 'undefined') return;\n\n      if (this.isDestroyed || !this.args.dropdown || this.args.dropdown.disabled) {\n        return;\n      }\n\n      if (this.args.eventType !== undefined && this.args.eventType !== 'click' || e.button !== 0) return;\n\n      if (this.args.stopPropagation) {\n        e.stopPropagation();\n      }\n\n      if (this.toggleIsBeingHandledByTouchEvents) {\n        // Some devises have both touchscreen & mouse, and they are not mutually exclusive\n        // In those cases the touchdown handler is fired first, and it sets a flag to\n        // short-circuit the mouseup so the component is not opened and immediately closed.\n        this.toggleIsBeingHandledByTouchEvents = false;\n        return;\n      }\n\n      this.args.dropdown.actions.toggle(e);\n    }\n\n    handleKeyDown(e) {\n      if (this.args.dropdown.disabled) {\n        return;\n      }\n\n      if (e.keyCode === 13) {\n        // Enter\n        this.args.dropdown.actions.toggle(e);\n      } else if (e.keyCode === 32) {\n        // Space\n        e.preventDefault(); // prevents the space to trigger a scroll page-next\n\n        this.args.dropdown.actions.toggle(e);\n      } else if (e.keyCode === 27) {\n        this.args.dropdown.actions.close(e);\n      }\n    }\n\n    handleTouchStart() {\n      document.addEventListener('touchmove', this._touchMoveHandler);\n    }\n\n    handleTouchEnd(e) {\n      this.toggleIsBeingHandledByTouchEvents = true;\n\n      if (e && e.defaultPrevented || this.args.dropdown.disabled) {\n        return;\n      }\n\n      if (!(0, _hasMoved.default)(e, this.touchMoveEvent)) {\n        this.args.dropdown.actions.toggle(e);\n      }\n\n      this.touchMoveEvent = undefined;\n      document.removeEventListener('touchmove', this._touchMoveHandler); // This next three lines are stolen from hammertime. This prevents the default\n      // behaviour of the touchend, but synthetically trigger a focus and a (delayed) click\n      // to simulate natural behaviour.\n\n      let target = e.target;\n\n      if (target !== null) {\n        target.focus();\n      }\n\n      setTimeout(function () {\n        if (!e.target) {\n          return;\n        }\n\n        try {\n          let event = document.createEvent('MouseEvents');\n          event.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\n          e.target.dispatchEvent(event);\n        } catch (e) {\n          event = new Event('click');\n          e.target.dispatchEvent(event);\n        }\n      }, 0);\n      e.preventDefault();\n    }\n\n    removeGlobalHandlers() {\n      if (typeof document === 'undefined') return;\n      document.removeEventListener('touchmove', this._touchMoveHandler);\n      document.removeEventListener('mouseup', this._mouseupHandler, true);\n    }\n\n    _mouseupHandler() {\n      document.removeEventListener('mouseup', this._mouseupHandler, true);\n      document.body.classList.remove('ember-basic-dropdown-text-select-disabled');\n    }\n\n    _touchMoveHandler(e) {\n      this.touchMoveEvent = e;\n      document.removeEventListener('touchmove', this._touchMoveHandler);\n    } // Methods\n\n\n    _stopTextSelectionUntilMouseup() {\n      document.addEventListener('mouseup', this._mouseupHandler, true);\n      document.body.classList.add('ember-basic-dropdown-text-select-disabled');\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleMouseDown\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMouseDown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleClick\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClick\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleKeyDown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeyDown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleTouchStart\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTouchStart\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleTouchEnd\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTouchEnd\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"removeGlobalHandlers\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"removeGlobalHandlers\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_mouseupHandler\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"_mouseupHandler\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_touchMoveHandler\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"_touchMoveHandler\"), _class.prototype)), _class));\n  _exports.default = BasicDropdownTrigger;\n});","define(\"ember-basic-dropdown/components/basic-dropdown\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@glimmer/component\", \"ember-basic-dropdown/utils/calculate-position\", \"@embroider/macros/runtime\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _calculatePosition, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n\n  const UNINITIALIZED = {};\n  const IGNORED_STYLES = ['top', 'left', 'right', 'width', 'height'];\n  let BasicDropdown = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._tracked, _dec7 = Ember._tracked, _dec8 = Ember._tracked, _dec9 = Ember._tracked, _dec10 = Ember._tracked, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, (_class = class BasicDropdown extends _component.default {\n    get horizontalPosition() {\n      return this.args.horizontalPosition || 'auto'; // auto-right | right | center | left\n    }\n\n    get verticalPosition() {\n      return this.args.verticalPosition || 'auto'; // above | below\n    }\n\n    get destination() {\n      return this.args.destination || this._getDestinationId();\n    }\n\n    get disabled() {\n      let newVal = this.args.disabled || false;\n\n      if (this._previousDisabled !== UNINITIALIZED && this._previousDisabled !== newVal) {\n        Ember.run.schedule('actions', () => {\n          if (newVal && this.publicAPI.isOpen) {\n            this.isOpen = false;\n          }\n\n          this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n        });\n      }\n\n      this._previousDisabled = newVal;\n      return newVal;\n    }\n\n    get publicAPI() {\n      return {\n        uniqueId: this._uid,\n        isOpen: this.isOpen,\n        disabled: this.disabled,\n        actions: this._actions\n      };\n    } // Lifecycle hooks\n\n\n    constructor(owner, args) {\n      super(owner, args);\n      (0, _initializerDefineProperty2.default)(this, \"hPosition\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"vPosition\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"top\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"left\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"right\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"width\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"height\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"otherStyles\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"isOpen\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"renderInPlace\", _descriptor10, this);\n      (0, _defineProperty2.default)(this, \"previousVerticalPosition\", void 0);\n      (0, _defineProperty2.default)(this, \"previousHorizontalPosition\", void 0);\n      (0, _defineProperty2.default)(this, \"destinationElement\", void 0);\n      (0, _defineProperty2.default)(this, \"_uid\", Ember.guidFor(this));\n      (0, _defineProperty2.default)(this, \"_dropdownId\", this.args.dropdownId || `ember-basic-dropdown-content-${this._uid}`);\n      (0, _defineProperty2.default)(this, \"_previousDisabled\", UNINITIALIZED);\n      (0, _defineProperty2.default)(this, \"_actions\", {\n        open: this.open,\n        close: this.close,\n        toggle: this.toggle,\n        reposition: this.reposition\n      });\n\n      if (this.args.onInit) {\n        this.args.onInit(this.publicAPI);\n      }\n\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n    }\n\n    willDestroy() {\n      super.willDestroy();\n\n      if (this.args.registerAPI) {\n        this.args.registerAPI(null);\n      }\n    } // Actions\n\n\n    open(e) {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      if (this.publicAPI.disabled || this.publicAPI.isOpen) {\n        return;\n      }\n\n      if (this.args.onOpen && this.args.onOpen(this.publicAPI, e) === false) {\n        return;\n      }\n\n      this.isOpen = true;\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n    }\n\n    close(e, skipFocus) {\n      if (this.isDestroyed) {\n        return;\n      }\n\n      if (this.publicAPI.disabled || !this.publicAPI.isOpen) {\n        return;\n      }\n\n      if (this.args.onClose && this.args.onClose(this.publicAPI, e) === false) {\n        return;\n      }\n\n      if (this.isDestroyed) {\n        return; // To check that the `onClose` didn't destroy the dropdown\n      }\n\n      this.hPosition = this.vPosition = null;\n      this.top = this.left = this.right = this.width = this.height = undefined;\n      this.previousVerticalPosition = this.previousHorizontalPosition = undefined;\n      this.isOpen = false;\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n\n      if (skipFocus) {\n        return;\n      }\n\n      let trigger = document.querySelector(`[data-ebd-id=${this.publicAPI.uniqueId}-trigger]`);\n\n      if (trigger && trigger.tabIndex > -1) {\n        trigger.focus();\n      }\n    }\n\n    toggle(e) {\n      if (this.publicAPI.isOpen) {\n        this.close(e);\n      } else {\n        this.open(e);\n      }\n    }\n\n    reposition() {\n      if (!this.publicAPI.isOpen) {\n        return;\n      }\n\n      let dropdownElement = document.getElementById(this._dropdownId);\n      let triggerElement = document.querySelector(`[data-ebd-id=${this.publicAPI.uniqueId}-trigger]`);\n\n      if (!dropdownElement || !triggerElement) {\n        return;\n      }\n\n      this.destinationElement = this.destinationElement || document.getElementById(this.destination);\n      let {\n        horizontalPosition,\n        verticalPosition,\n        previousHorizontalPosition,\n        previousVerticalPosition\n      } = this;\n      let {\n        renderInPlace = false,\n        matchTriggerWidth = false\n      } = this.args;\n      let calculatePositionFn = this.args.calculatePosition || _calculatePosition.default;\n      let positionData = calculatePositionFn(triggerElement, dropdownElement, this.destinationElement, {\n        horizontalPosition,\n        verticalPosition,\n        previousHorizontalPosition,\n        previousVerticalPosition,\n        renderInPlace,\n        matchTriggerWidth,\n        dropdown: this\n      });\n      return this.applyReposition(triggerElement, dropdownElement, positionData);\n    }\n\n    applyReposition(_trigger, dropdown, positions) {\n      let changes = {\n        hPosition: positions.horizontalPosition,\n        vPosition: positions.verticalPosition,\n        otherStyles: Ember.assign({}, this.otherStyles)\n      };\n\n      if (positions.style) {\n        if (positions.style.top !== undefined) {\n          changes.top = `${positions.style.top}px`;\n        } // The component can be aligned from the right or from the left, but not from both.\n\n\n        if (positions.style.left !== undefined) {\n          changes.left = `${positions.style.left}px`;\n          changes.right = undefined; // Since we set the first run manually we may need to unset the `right` property.\n\n          if (positions.style.right !== undefined) {\n            positions.style.right = undefined;\n          }\n        } else if (positions.style.right !== undefined) {\n          changes.right = `${positions.style.right}px`;\n          changes.left = undefined;\n        }\n\n        if (positions.style.width !== undefined) {\n          changes.width = `${positions.style.width}px`;\n        }\n\n        if (positions.style.height !== undefined) {\n          changes.height = `${positions.style.height}px`;\n        }\n\n        if (this.top === undefined) {\n          // Bypass Ember on the first reposition only to avoid flickering.\n          for (let prop in positions.style) {\n            if (positions.style[prop] !== undefined) {\n              if (typeof positions.style[prop] === 'number') {\n                dropdown.style.setProperty(prop, `${positions.style[prop]}px`);\n              } else {\n                dropdown.style.setProperty(prop, `${positions.style[prop]}`);\n              }\n            }\n          }\n        }\n      }\n\n      for (let prop in positions.style) {\n        // Array.includes is not available for IE11\n        if (IGNORED_STYLES.indexOf(prop) === -1) {\n          changes.otherStyles;\n          changes.otherStyles[prop] = positions.style[prop];\n        }\n      }\n\n      this.hPosition = changes.hPosition;\n      this.vPosition = changes.vPosition;\n      this.top = changes.top;\n      this.left = changes.left;\n      this.right = changes.right;\n      this.width = changes.width;\n      this.height = changes.height;\n      this.otherStyles = changes.otherStyles;\n      this.previousHorizontalPosition = positions.horizontalPosition;\n      this.previousVerticalPosition = positions.verticalPosition;\n      return changes;\n    }\n\n    _getDestinationId() {\n      let config = Ember.getOwner(this).resolveRegistration(\"config:environment\"); // This takes care of stripping this code out if not running tests\n\n      if ((0, _runtime.macroCondition)((0, _runtime.isTesting)())) {\n        if (typeof FastBoot === \"undefined\" && true) {\n          let getRootElement = require(\"@ember/test-helpers/dom/get-root-element\");\n\n          return getRootElement.default().id;\n        }\n\n        let rootView = document.querySelector('#ember-testing > .ember-view');\n\n        if (rootView) {\n          return rootView.id;\n        }\n\n        return '';\n      }\n\n      return config[\"ember-basic-dropdown\"] && config[\"ember-basic-dropdown\"].destination || \"ember-basic-dropdown-wormhole\";\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"hPosition\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"vPosition\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"top\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"left\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"right\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"width\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"height\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"otherStyles\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return {};\n    }\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isOpen\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.initiallyOpened || false;\n    }\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"renderInPlace\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.renderInPlace !== undefined ? this.args.renderInPlace : false;\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"open\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"open\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"close\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"toggle\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"toggle\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"reposition\", [_dec14], Object.getOwnPropertyDescriptor(_class.prototype, \"reposition\"), _class.prototype)), _class));\n  _exports.default = BasicDropdown;\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-content\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"0KVz/6Wx\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@renderInPlace\\\",\\\"@overlay\\\",\\\"@htmlTag\\\",\\\"@defaultClass\\\",\\\"@vPosition\\\",\\\"@hPosition\\\",\\\"@dir\\\",\\\"&attrs\\\",\\\"@height\\\",\\\"@width\\\",\\\"@right\\\",\\\"@left\\\",\\\"@top\\\",\\\"@otherStyles\\\",\\\"@dropdown\\\",\\\"@onFocusIn\\\",\\\"@onFocusOut\\\",\\\"@onMouseEnter\\\",\\\"@onMouseLeave\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,15,[\\\"isOpen\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"ember-basic-dropdown-content-wormhole-origin\\\"],[8],[0,\\\"\\\\n\\\"],[5,\\\"maybe-in-element\\\",[],[[\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],[[23,0,[\\\"destinationElement\\\"]],[23,1,[]]]],{\\\"statements\\\":[[4,\\\"if\\\",[[23,2,[]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"ember-basic-dropdown-overlay\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n      \\\"],[5,\\\"basic-dropdown-optional-tag\\\",[[12,\\\"id\\\",[23,0,[\\\"dropdownId\\\"]]],[12,\\\"class\\\",[29,[\\\"ember-basic-dropdown-content ember-basic-dropdown-content--\\\",[23,6,[]],\\\" ember-basic-dropdown-content--\\\",[23,5,[]],\\\" \\\",[23,0,[\\\"animationClass\\\"]],[28,\\\"if\\\",[[23,1,[]],\\\" ember-basic-dropdown-content--in-place\\\"],null],\\\" \\\",[23,4,[]]]]],[12,\\\"dir\\\",[23,7,[]]],[13,8],[3,\\\"style\\\",[[23,14,[]],[28,\\\"hash\\\",null,[[\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\"],[[23,13,[]],[23,12,[]],[23,11,[]],[23,10,[]],[23,9,[]]]]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"setup\\\"]]]],[3,\\\"did-insert\\\",[[23,15,[\\\"actions\\\",\\\"reposition\\\"]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"setupMutationObserver\\\"]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"animateIn\\\"]]]],[3,\\\"will-destroy\\\",[[23,0,[\\\"teardownMutationObserver\\\"]]]],[3,\\\"will-destroy\\\",[[23,0,[\\\"animateOut\\\"]]]],[3,\\\"will-destroy\\\",[[23,0,[\\\"teardown\\\"]]]],[3,\\\"on\\\",[\\\"focusin\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,16,[]],[23,0,[\\\"noop\\\"]]],null],[23,15,[]]],null]]],[3,\\\"on\\\",[\\\"focusout\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,17,[]],[23,0,[\\\"noop\\\"]]],null],[23,15,[]]],null]]],[3,\\\"on\\\",[\\\"mouseenter\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,18,[]],[23,0,[\\\"noop\\\"]]],null],[23,15,[]]],null]]],[3,\\\"on\\\",[\\\"mouseleave\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,19,[]],[23,0,[\\\"noop\\\"]]],null],[23,15,[]]],null]]]],[[\\\"@htmlTag\\\"],[[23,3,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n        \\\"],[14,20],[0,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[7,\\\"div\\\",false],[12,\\\"id\\\",[23,0,[\\\"dropdownId\\\"]]],[12,\\\"class\\\",\\\"ember-basic-dropdown-content-placeholder\\\"],[3,\\\"style\\\",[[28,\\\"hash\\\",null,[[\\\"display\\\"],[\\\"none\\\"]]]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-content.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-optional-tag\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"oRZ0OOA/\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Element\\\",\\\"&attrs\\\",\\\"&default\\\",\\\"@htmlTag\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,4,[]]],null,{\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"ensure-safe-component\\\",[[28,\\\"-element\\\",[[23,4,[]]],null]],null]],[[\\\"tagName\\\"],[[23,4,[]]]]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[6,[23,1,[]],[[13,2]],[[],[]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[14,3],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",false],[13,2],[8],[0,\\\"\\\\n    \\\"],[14,3],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-optional-tag.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-trigger\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"CmLdW8+V\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@htmlTag\\\",\\\"@defaultClass\\\",\\\"@vPosition\\\",\\\"@hPosition\\\",\\\"@renderInPlace\\\",\\\"@dropdown\\\",\\\"&attrs\\\",\\\"@onKeyDown\\\",\\\"@onMouseDown\\\",\\\"@onTouchEnd\\\",\\\"@onClick\\\",\\\"@onMouseEnter\\\",\\\"@onMouseLeave\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@onFocusIn\\\",\\\"@onFocusOut\\\",\\\"&default\\\"],\\\"statements\\\":[[5,\\\"basic-dropdown-optional-tag\\\",[[12,\\\"class\\\",[29,[\\\"ember-basic-dropdown-trigger\\\\n    \\\",[28,\\\"if\\\",[[23,5,[]],\\\" ember-basic-dropdown-trigger--in-place\\\"],null],\\\"\\\\n    \\\",[28,\\\"if\\\",[[23,4,[]],[28,\\\"concat\\\",[\\\" ember-basic-dropdown-trigger--\\\",[23,4,[]]],null]],null],\\\"\\\\n    \\\",[28,\\\"if\\\",[[23,3,[]],[28,\\\"concat\\\",[\\\" ember-basic-dropdown-trigger--\\\",[23,3,[]]],null]],null],\\\"\\\\n\\\\n    \\\",[23,2,[]]]]],[12,\\\"role\\\",\\\"button\\\"],[12,\\\"tabindex\\\",[28,\\\"unless\\\",[[23,6,[\\\"disabled\\\"]],\\\"0\\\"],null]],[12,\\\"data-ebd-id\\\",[29,[[23,6,[\\\"uniqueId\\\"]],\\\"-trigger\\\"]]],[12,\\\"aria-owns\\\",[29,[\\\"ember-basic-dropdown-content-\\\",[23,6,[\\\"uniqueId\\\"]]]]],[12,\\\"aria-expanded\\\",[29,[[23,6,[\\\"isOpen\\\"]]]]],[12,\\\"aria-disabled\\\",[28,\\\"if\\\",[[23,6,[\\\"disabled\\\"]],\\\"true\\\"],null]],[13,7],[3,\\\"will-destroy\\\",[[23,0,[\\\"removeGlobalHandlers\\\"]]]],[3,\\\"on\\\",[\\\"mousedown\\\",[23,0,[\\\"handleMouseDown\\\"]]]],[3,\\\"on\\\",[\\\"click\\\",[23,0,[\\\"handleClick\\\"]]]],[3,\\\"on\\\",[\\\"keydown\\\",[23,0,[\\\"handleKeyDown\\\"]]]],[3,\\\"on\\\",[\\\"touchstart\\\",[23,0,[\\\"handleTouchStart\\\"]]]],[3,\\\"on\\\",[\\\"touchend\\\",[23,0,[\\\"handleTouchEnd\\\"]]]],[3,\\\"on\\\",[\\\"keydown\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,8,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"mousedown\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,9,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"touchend\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,10,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"click\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,11,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"mouseenter\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,12,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"mouseleave\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,13,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"focus\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,14,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"blur\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,15,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"focusin\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,16,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]],[3,\\\"on\\\",[\\\"focusout\\\",[28,\\\"fn\\\",[[28,\\\"or\\\",[[23,17,[]],[23,0,[\\\"noop\\\"]]],null],[23,6,[]]],null]]]],[[\\\"@htmlTag\\\"],[[23,1,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n  \\\"],[14,18],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-trigger.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"OpTWWTlP\",\n    \"block\": \"{\\\"symbols\\\":[\\\"api\\\",\\\"&default\\\",\\\"&attrs\\\",\\\"@rootEventType\\\",\\\"@preventScroll\\\",\\\"@contentComponent\\\",\\\"@triggerComponent\\\"],\\\"statements\\\":[[4,\\\"with\\\",[[28,\\\"hash\\\",null,[[\\\"uniqueId\\\",\\\"isOpen\\\",\\\"disabled\\\",\\\"actions\\\",\\\"Trigger\\\",\\\"Content\\\"],[[23,0,[\\\"publicAPI\\\",\\\"uniqueId\\\"]],[23,0,[\\\"publicAPI\\\",\\\"isOpen\\\"]],[23,0,[\\\"publicAPI\\\",\\\"disabled\\\"]],[23,0,[\\\"publicAPI\\\",\\\"actions\\\"]],[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,7,[]],[27]],null],[28,\\\"component\\\",[\\\"basic-dropdown-trigger\\\"],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"vPosition\\\"],[[28,\\\"readonly\\\",[[23,0,[\\\"publicAPI\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"hPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"renderInPlace\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"vPosition\\\"]]],null]]]],[28,\\\"component\\\",[[28,\\\"ensure-safe-component\\\",[[23,7,[]]],null]],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"vPosition\\\"],[[28,\\\"readonly\\\",[[23,0,[\\\"publicAPI\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"hPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"renderInPlace\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"vPosition\\\"]]],null]]]]],null],[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,6,[]],[27]],null],[28,\\\"component\\\",[\\\"basic-dropdown-content\\\"],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"preventScroll\\\",\\\"rootEventType\\\",\\\"vPosition\\\",\\\"destination\\\",\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\",\\\"otherStyles\\\"],[[28,\\\"readonly\\\",[[23,0,[\\\"publicAPI\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"hPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"renderInPlace\\\"]]],null],[28,\\\"readonly\\\",[[23,5,[]]],null],[28,\\\"or\\\",[[23,4,[]],\\\"click\\\"],null],[28,\\\"readonly\\\",[[23,0,[\\\"vPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"destination\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"top\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"left\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"right\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"width\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"height\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"otherStyles\\\"]]],null]]]],[28,\\\"component\\\",[[28,\\\"ensure-safe-component\\\",[[23,6,[]]],null]],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"preventScroll\\\",\\\"rootEventType\\\",\\\"vPosition\\\",\\\"destination\\\",\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\",\\\"otherStyles\\\"],[[28,\\\"readonly\\\",[[23,0,[\\\"publicAPI\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"hPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"renderInPlace\\\"]]],null],[28,\\\"readonly\\\",[[23,5,[]]],null],[28,\\\"or\\\",[[23,4,[]],\\\"click\\\"],null],[28,\\\"readonly\\\",[[23,0,[\\\"vPosition\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"destination\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"top\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"left\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"right\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"width\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"height\\\"]]],null],[28,\\\"readonly\\\",[[23,0,[\\\"otherStyles\\\"]]],null]]]]],null]]]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"renderInPlace\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"ember-basic-dropdown\\\"],[13,3],[8],[14,2,[[23,1,[]]]],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[14,2,[[23,1,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-basic-dropdown/utils/calculate-position\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getScrollParent = getScrollParent;\n  _exports.default = _exports.calculateInPlacePosition = _exports.calculateWormholedPosition = void 0;\n\n  let calculateWormholedPosition = (trigger, content, destination, {\n    horizontalPosition,\n    verticalPosition,\n    matchTriggerWidth,\n    previousHorizontalPosition,\n    previousVerticalPosition\n  }) => {\n    // Collect information about all the involved DOM elements\n    let scroll = {\n      left: window.pageXOffset,\n      top: window.pageYOffset\n    };\n    let {\n      left: triggerLeft,\n      top: triggerTop,\n      width: triggerWidth,\n      height: triggerHeight\n    } = trigger.getBoundingClientRect();\n    let {\n      height: dropdownHeight,\n      width: dropdownWidth\n    } = content.getBoundingClientRect();\n    let viewportWidth = document.body.clientWidth || window.innerWidth;\n    let style = {}; // Apply containers' offset\n\n    let anchorElement = destination.parentNode;\n    let anchorPosition = window.getComputedStyle(anchorElement).position;\n\n    while (anchorPosition !== 'relative' && anchorPosition !== 'absolute' && anchorElement.tagName.toUpperCase() !== 'BODY') {\n      anchorElement = anchorElement.parentNode;\n      anchorPosition = window.getComputedStyle(anchorElement).position;\n    }\n\n    if (anchorPosition === 'relative' || anchorPosition === 'absolute') {\n      let rect = anchorElement.getBoundingClientRect();\n      triggerLeft = triggerLeft - rect.left;\n      triggerTop = triggerTop - rect.top;\n      let {\n        offsetParent\n      } = anchorElement;\n\n      if (offsetParent) {\n        triggerLeft -= offsetParent.scrollLeft;\n        triggerTop -= offsetParent.scrollTop;\n      }\n    } // Calculate drop down width\n\n\n    dropdownWidth = matchTriggerWidth ? triggerWidth : dropdownWidth;\n\n    if (matchTriggerWidth) {\n      style.width = dropdownWidth;\n    } // Calculate horizontal position\n\n\n    let triggerLeftWithScroll = triggerLeft + scroll.left;\n\n    if (horizontalPosition === 'auto' || horizontalPosition === 'auto-left') {\n      // Calculate the number of visible horizontal pixels if we were to place the\n      // dropdown on the left and right\n      let leftVisible = Math.min(viewportWidth, triggerLeft + dropdownWidth) - Math.max(0, triggerLeft);\n      let rightVisible = Math.min(viewportWidth, triggerLeft + triggerWidth) - Math.max(0, triggerLeft + triggerWidth - dropdownWidth);\n\n      if (dropdownWidth > leftVisible && rightVisible > leftVisible) {\n        // If the drop down won't fit left-aligned, and there is more space on the\n        // right than on the left, then force right-aligned\n        horizontalPosition = 'right';\n      } else if (dropdownWidth > rightVisible && leftVisible > rightVisible) {\n        // If the drop down won't fit right-aligned, and there is more space on\n        // the left than on the right, then force left-aligned\n        horizontalPosition = 'left';\n      } else {\n        // Keep same position as previous\n        horizontalPosition = previousHorizontalPosition || 'left';\n      }\n    } else if (horizontalPosition === 'auto-right') {\n      // Calculate the number of visible horizontal pixels if we were to place the\n      // dropdown on the left and right\n      let leftVisible = Math.min(viewportWidth, triggerLeft + dropdownWidth) - Math.max(0, triggerLeft);\n      let rightVisible = Math.min(viewportWidth, triggerLeft + triggerWidth) - Math.max(0, triggerLeft + triggerWidth - dropdownWidth);\n\n      if (dropdownWidth > rightVisible && leftVisible > rightVisible) {\n        // If the drop down won't fit right-aligned, and there is more space on the\n        // left than on the right, then force left-aligned\n        horizontalPosition = 'left';\n      } else if (dropdownWidth > leftVisible && rightVisible > leftVisible) {\n        // If the drop down won't fit left-aligned, and there is more space on\n        // the right than on the left, then force right-aligned\n        horizontalPosition = 'right';\n      } else {\n        // Keep same position as previous\n        horizontalPosition = previousHorizontalPosition || 'right';\n      }\n    }\n\n    if (horizontalPosition === 'right') {\n      style.right = viewportWidth - (triggerLeftWithScroll + triggerWidth);\n    } else if (horizontalPosition === 'center') {\n      style.left = triggerLeftWithScroll + (triggerWidth - dropdownWidth) / 2;\n    } else {\n      style.left = triggerLeftWithScroll;\n    } // Calculate vertical position\n\n\n    let triggerTopWithScroll = triggerTop;\n    /**\n     * Fixes bug where the dropdown always stays on the same position on the screen when\n     * the <body> is relatively positioned\n     */\n\n    let isBodyPositionRelative = window.getComputedStyle(document.body).getPropertyValue('position') === 'relative';\n\n    if (!isBodyPositionRelative) {\n      triggerTopWithScroll += scroll.top;\n    }\n\n    if (verticalPosition === 'above') {\n      style.top = triggerTopWithScroll - dropdownHeight;\n    } else if (verticalPosition === 'below') {\n      style.top = triggerTopWithScroll + triggerHeight;\n    } else {\n      let viewportBottom = scroll.top + window.innerHeight;\n      let enoughRoomBelow = triggerTopWithScroll + triggerHeight + dropdownHeight < viewportBottom;\n      let enoughRoomAbove = triggerTop > dropdownHeight;\n\n      if (!enoughRoomBelow && !enoughRoomAbove) {\n        verticalPosition = 'below';\n      } else if (previousVerticalPosition === 'below' && !enoughRoomBelow && enoughRoomAbove) {\n        verticalPosition = 'above';\n      } else if (previousVerticalPosition === 'above' && !enoughRoomAbove && enoughRoomBelow) {\n        verticalPosition = 'below';\n      } else if (!previousVerticalPosition) {\n        verticalPosition = enoughRoomBelow ? 'below' : 'above';\n      } else {\n        verticalPosition = previousVerticalPosition;\n      }\n\n      style.top = triggerTopWithScroll + (verticalPosition === 'below' ? triggerHeight : -dropdownHeight);\n    }\n\n    return {\n      horizontalPosition,\n      verticalPosition,\n      style\n    };\n  };\n\n  _exports.calculateWormholedPosition = calculateWormholedPosition;\n\n  let calculateInPlacePosition = (trigger, content, _destination, {\n    horizontalPosition,\n    verticalPosition\n  }) => {\n    let dropdownRect;\n    let positionData = {\n      horizontalPosition: 'left',\n      verticalPosition: 'below',\n      style: {}\n    };\n\n    if (horizontalPosition === 'auto') {\n      let triggerRect = trigger.getBoundingClientRect();\n      dropdownRect = content.getBoundingClientRect();\n      let viewportRight = window.pageXOffset + window.innerWidth;\n      positionData.horizontalPosition = triggerRect.left + dropdownRect.width > viewportRight ? 'right' : 'left';\n    } else if (horizontalPosition === 'center') {\n      let {\n        width: triggerWidth\n      } = trigger.getBoundingClientRect();\n      let {\n        width: dropdownWidth\n      } = content.getBoundingClientRect();\n      positionData.style = {\n        left: (triggerWidth - dropdownWidth) / 2\n      };\n    } else if (horizontalPosition === 'auto-right') {\n      let triggerRect = trigger.getBoundingClientRect();\n      let dropdownRect = content.getBoundingClientRect();\n      positionData.horizontalPosition = triggerRect.right > dropdownRect.width ? 'right' : 'left';\n    } else if (horizontalPosition === 'right') {\n      positionData.horizontalPosition = 'right';\n    }\n\n    if (verticalPosition === 'above') {\n      positionData.verticalPosition = verticalPosition;\n      dropdownRect = dropdownRect || content.getBoundingClientRect();\n      positionData.style.top = -dropdownRect.height;\n    } else {\n      positionData.verticalPosition = 'below';\n    }\n\n    return positionData;\n  };\n\n  _exports.calculateInPlacePosition = calculateInPlacePosition;\n\n  function getScrollParent(element) {\n    let style = window.getComputedStyle(element);\n    let excludeStaticParent = style.position === \"absolute\";\n    let overflowRegex = /(auto|scroll)/;\n    if (style.position === \"fixed\") return document.body;\n\n    for (let parent = element; parent = parent.parentElement;) {\n      style = window.getComputedStyle(parent);\n\n      if (excludeStaticParent && style.position === \"static\") {\n        continue;\n      }\n\n      if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) {\n        return parent;\n      }\n    }\n\n    return document.body;\n  }\n\n  let calculatePosition = (trigger, content, destination, options) => {\n    if (options.renderInPlace) {\n      return calculateInPlacePosition(trigger, content, destination, options);\n    } else {\n      return calculateWormholedPosition(trigger, content, destination, options);\n    }\n  };\n\n  var _default = calculatePosition;\n  _exports.default = _default;\n});","define(\"ember-basic-dropdown/utils/has-moved\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hasMoved;\n\n  function hasMoved(endEvent, moveEvent) {\n    var _endEvent$changedTouc;\n\n    if (!moveEvent) {\n      return false;\n    }\n\n    if (!((_endEvent$changedTouc = endEvent.changedTouches) !== null && _endEvent$changedTouc !== void 0 && _endEvent$changedTouc[0]) || moveEvent.changedTouches[0].touchType !== 'stylus') {\n      return true;\n    } // Distinguish stylus scroll and tap: if touch \"distance\" < 5px, we consider it a tap\n\n\n    let horizontalDistance = Math.abs(moveEvent.changedTouches[0].pageX - endEvent.changedTouches[0].pageX);\n    let verticalDistance = Math.abs(moveEvent.changedTouches[0].pageY - endEvent.changedTouches[0].pageY);\n    return horizontalDistance >= 5 || verticalDistance >= 5;\n  }\n});","define(\"ember-basic-dropdown/utils/scroll-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getScrollDeltas = getScrollDeltas;\n  _exports.getScrollLineHeight = getScrollLineHeight;\n  _exports.getAvailableScroll = getAvailableScroll;\n  _exports.distributeScroll = distributeScroll;\n  _exports.LINES_PER_PAGE = _exports.DOM_DELTA_PAGE = _exports.DOM_DELTA_LINE = _exports.DOM_DELTA_PIXEL = void 0;\n\n  /**\n   * Mode that expresses the deltas in pixels.\n   */\n  const DOM_DELTA_PIXEL = 0;\n  /**\n   * Mode that expresses the deltas in lines.\n   *\n   * This only happens in Firefox for Windows.\n   *\n   * Reference: https://stackoverflow.com/a/37474225\n   */\n\n  _exports.DOM_DELTA_PIXEL = DOM_DELTA_PIXEL;\n  const DOM_DELTA_LINE = 1;\n  /**\n   * Mode that expresses the deltas in pages.\n   *\n   * This only happens in Firefox for Windows with\n   * a custom OS setting activated.\n   *\n   * Reference: https://stackoverflow.com/a/37474225\n   */\n\n  _exports.DOM_DELTA_LINE = DOM_DELTA_LINE;\n  const DOM_DELTA_PAGE = 2;\n  /**\n   * Number of lines per page considered for\n   * DOM_DELTA_PAGE.\n   *\n   */\n\n  _exports.DOM_DELTA_PAGE = DOM_DELTA_PAGE;\n  const LINES_PER_PAGE = 3;\n  _exports.LINES_PER_PAGE = LINES_PER_PAGE;\n  let scrollLineHeight = undefined;\n\n  function getScrollDeltas({\n    deltaX = 0,\n    deltaY = 0,\n    deltaMode = DOM_DELTA_PIXEL\n  }) {\n    if (deltaMode !== DOM_DELTA_PIXEL) {\n      if (deltaMode === DOM_DELTA_PAGE) {\n        deltaX *= LINES_PER_PAGE;\n        deltaY *= LINES_PER_PAGE;\n      }\n\n      const scrollLineHeight = getScrollLineHeight();\n\n      if (scrollLineHeight !== undefined) {\n        deltaX *= scrollLineHeight;\n        deltaY *= scrollLineHeight;\n      }\n    }\n\n    return {\n      deltaX,\n      deltaY\n    };\n  }\n\n  function getScrollLineHeight() {\n    if (scrollLineHeight === undefined) {\n      const iframe = document.createElement('iframe');\n      iframe.src = '#';\n      iframe.style.position = 'absolute';\n      iframe.style.visibility = 'hidden';\n      iframe.style.width = '0px';\n      iframe.style.height = '0px';\n      iframe.style.border = 'none';\n      document.body.appendChild(iframe);\n      const iframeDocument = iframe.contentWindow.document;\n      iframeDocument.open();\n      iframeDocument.write('<!doctype html><html><head></head><body><span>X</span></body></html>');\n      iframeDocument.close();\n      let body = iframeDocument.body;\n      scrollLineHeight = body.firstElementChild.offsetHeight;\n      document.body.removeChild(iframe);\n    }\n\n    return scrollLineHeight;\n  }\n\n  function getAvailableScroll(element, container) {\n    const availableScroll = {\n      deltaXNegative: 0,\n      deltaXPositive: 0,\n      deltaYNegative: 0,\n      deltaYPositive: 0\n    };\n    let scrollLeftMax, scrollTopMax;\n\n    while (container.contains(element) || container === element) {\n      scrollLeftMax = element.scrollWidth - element.clientWidth;\n      scrollTopMax = element.scrollHeight - element.clientHeight;\n      availableScroll.deltaXNegative += -element.scrollLeft;\n      availableScroll.deltaXPositive += scrollLeftMax - element.scrollLeft;\n      availableScroll.deltaYNegative += -element.scrollTop;\n      availableScroll.deltaYPositive += scrollTopMax - element.scrollTop;\n      let parent = element.parentNode;\n      if (parent === null) break;\n      element = parent;\n    }\n\n    return availableScroll;\n  }\n  /**\n   * Calculates the scroll distribution for `element` inside` container.\n   */\n\n\n  function calculateScrollDistribution(deltaX, deltaY, element, container, accumulator = []) {\n    const scrollInformation = {\n      element,\n      scrollLeft: 0,\n      scrollTop: 0\n    };\n    const scrollLeftMax = element.scrollWidth - element.clientWidth;\n    const scrollTopMax = element.scrollHeight - element.clientHeight;\n    const availableScroll = {\n      deltaXNegative: -element.scrollLeft,\n      deltaXPositive: scrollLeftMax - element.scrollLeft,\n      deltaYNegative: -element.scrollTop,\n      deltaYPositive: scrollTopMax - element.scrollTop\n    };\n    const elementStyle = window.getComputedStyle(element);\n\n    if (elementStyle.overflowX !== 'hidden') {\n      // The `deltaX` can be larger than the available scroll for the element, thus overshooting.\n      // The result of that is that it scrolls the element as far as possible. We don't need to\n      // calculate exactly because we reduce the amount of desired scroll for the\n      // parent elements by the correct amount below.\n      scrollInformation.scrollLeft = element.scrollLeft + deltaX;\n\n      if (deltaX > availableScroll.deltaXPositive) {\n        deltaX = deltaX - availableScroll.deltaXPositive;\n      } else if (deltaX < availableScroll.deltaXNegative) {\n        deltaX = deltaX - availableScroll.deltaXNegative;\n      } else {\n        deltaX = 0;\n      }\n    }\n\n    if (elementStyle.overflowY !== 'hidden') {\n      scrollInformation.scrollTop = element.scrollTop + deltaY;\n\n      if (deltaY > availableScroll.deltaYPositive) {\n        deltaY = deltaY - availableScroll.deltaYPositive;\n      } else if (deltaY < availableScroll.deltaYNegative) {\n        deltaY = deltaY - availableScroll.deltaYNegative;\n      } else {\n        deltaY = 0;\n      }\n    }\n\n    if (element !== container && (deltaX || deltaY)) {\n      return calculateScrollDistribution(deltaX, deltaY, element.parentNode, container, accumulator.concat([scrollInformation]));\n    }\n\n    return accumulator.concat([scrollInformation]);\n  } // Recursively walks up scroll containers until the delta is distributed or we\n  // run out of elements in the allowed-to-scroll container.\n\n\n  function distributeScroll(deltaX, deltaY, element, container) {\n    const scrollInfos = calculateScrollDistribution(deltaX, deltaY, element, container);\n    let info;\n\n    for (let i = 0; i < scrollInfos.length; i++) {\n      info = scrollInfos[i];\n      info.element.scrollLeft = info.scrollLeft;\n      info.element.scrollTop = info.scrollTop;\n    }\n  }\n});","define(\"ember-changeset-validations/helpers/changeset\", [\"exports\", \"ember-changeset/helpers/changeset\"], function (_exports, _changeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n\n  function changeset(_ref, options) {\n    let [obj, validations] = _ref;\n    return (0, _changeset.changeset)([obj, validations], options);\n  }\n\n  var _default = Ember.Helper.helper(changeset);\n\n  _exports.default = _default;\n});","define(\"ember-changeset-validations/index\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _validatedChangeset.lookupValidator;\n  _exports.default = _default;\n});","define(\"ember-changeset-validations/utils/get-messages\", [\"exports\", \"ember-get-config\", \"ember-changeset-validations/utils/messages\", \"ember-changeset-validations/utils/with-defaults\"], function (_exports, _emberGetConfig, _messages, _withDefaults) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getMessages;\n  const {\n    keys\n  } = Object;\n  const moduleName = `${_emberGetConfig.default.modulePrefix}/validations/messages`;\n  let cachedRef = null;\n  /**\n   * Find and load messages module on consuming app. Defaults to addon messages.\n   * To define a custom message map, create `my-app/app/validations/messages.js`\n   * and export an object.\n   *\n   * @param  {Object} moduleMap\n   * @param  {Boolean} useCache Pass `false` to ignore cached key\n   * @return {Object}\n   */\n\n  function getMessages() {\n    let moduleMap = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : requirejs.entries;\n    let useCache = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n    let messagesModule = _messages.default;\n\n    if (useCache && Ember.isPresent(cachedRef)) {\n      return cachedRef;\n    }\n\n    let moduleKey = Ember.A(keys(moduleMap)).find(key => key === moduleName);\n\n    if (Ember.isPresent(moduleKey)) {\n      // Merge the user specified messages with the defaults\n      messagesModule = (0, _withDefaults.default)(requireModule(moduleKey).default, messagesModule);\n    }\n\n    cachedRef = messagesModule;\n    return messagesModule;\n  }\n});","define(\"ember-changeset-validations/utils/handle-multiple-validations\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = handleMultipleValidations;\n\n  /**\n   * Rejects `true` values from an array of validations. Returns `true` when there\n   * are no errors, or the error object if there are errors.\n   *\n   * @private\n   * @param  {Array} validations\n   * @return {Boolean|Any}\n   */\n  function handleValidations() {\n    let validations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    let rejectedValidations = Ember.A(validations).reject(validation => Ember.typeOf(validation) === 'boolean' && validation);\n    return rejectedValidations.length === 0 || rejectedValidations;\n  }\n  /**\n   * Handles an array of validators and returns Promise.all if any value is a\n   * Promise.\n   *\n   * @public\n   * @param  {Array} validators Array of validator functions\n   * @param  {String} options.key\n   * @param  {Any} options.newValue\n   * @param  {Any} options.oldValue\n   * @param  {Object} options.changes\n   * @param  {Object} options.content\n   * @return {Promise|Boolean|Any}\n   */\n\n\n  function handleMultipleValidations(validators, _ref) {\n    let {\n      key,\n      newValue,\n      oldValue,\n      changes,\n      content\n    } = _ref;\n    let validations = Ember.A(validators.map(validator => validator(key, newValue, oldValue, changes, content)));\n\n    if (Ember.A(validations).any(_validatedChangeset.isPromise)) {\n      return Ember.RSVP.all(validations).then(handleValidations);\n    }\n\n    return handleValidations(validations);\n  }\n});","define(\"ember-changeset-validations/utils/messages\", [\"exports\", \"ember-validators/messages\"], function (_exports, _messages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Messages = Ember.assign({}, _messages.default);\n\n  var _default = Ember.assign(Messages, {\n    // Blank and present are flipped in ember-validators. Need to flip them back here\n    blank: _messages.default.present,\n    present: _messages.default.blank,\n\n    getDescriptionFor() {\n      let key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n      return Ember.String.capitalize(Ember.String.dasherize(key).split(/[._-]/g).join(' '));\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-changeset-validations/utils/to-date\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = toDate;\n\n  /**\n   * @name toDate\n   * @param {Date|Number} argument - the value to convert\n   * @returns {Date} the parsed date in the local time zone\n   * @throws {TypeError} 1 argument required\n   */\n  function toDate(argument) {\n    const argStr = Object.prototype.toString.call(argument);\n\n    if (typeof argument === 'function') {\n      argument = argument();\n    }\n\n    if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {\n      return argument;\n    } else if (typeof argument === 'number' || argStr === '[object Number]') {\n      return new Date(argument);\n    } else {\n      if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n        // eslint-disable-next-line no-console\n        console.warn('Please use `Date.parse` to parse strings.'); // eslint-disable-next-line no-console\n\n        console.warn(new Error().stack);\n      }\n\n      return new Date(NaN);\n    }\n  }\n});","define(\"ember-changeset-validations/utils/validation-errors\", [\"exports\", \"ember-get-config\", \"ember-changeset-validations/utils/get-messages\"], function (_exports, _emberGetConfig, _getMessages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildMessage;\n\n  function buildMessage(key, result) {\n    let returnsRaw = Ember.get(_emberGetConfig.default, 'changeset-validations.rawOutput') || false;\n    let messages = (0, _getMessages.default)();\n    let description = messages.getDescriptionFor(key);\n\n    if (result.message) {\n      return result.message;\n    }\n\n    let {\n      type,\n      value,\n      context = {}\n    } = result;\n    let message = Ember.get(messages, type);\n\n    if (returnsRaw) {\n      context = Ember.assign({}, context, {\n        description\n      });\n      return {\n        value,\n        type,\n        message,\n        context\n      };\n    }\n\n    if (context.message) {\n      let message = context.message;\n\n      if (typeof message === 'function') {\n        let builtMessage = message(key, type, value, context);\n        (true && !(typeof builtMessage === 'string') && Ember.assert('Custom message function must return a string', typeof builtMessage === 'string'));\n        return builtMessage;\n      }\n\n      return messages.formatMessage(message, Ember.assign({\n        description\n      }, context));\n    }\n\n    return messages.formatMessage(message, Ember.assign({\n      description\n    }, context));\n  }\n});","define(\"ember-changeset-validations/utils/with-defaults\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = withDefaults;\n\n  /**\n   * Create a new object with defaults\n   *\n   * @public\n   * @param  {Object} obj\n   * @param  {Object} defaults\n   * @return {Object}\n   */\n  function withDefaults() {\n    let obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    let defaults = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    return Ember.assign(Ember.assign({}, defaults), obj);\n  }\n});","define(\"ember-changeset-validations/utils/wrap\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = wrapInArray;\n\n  /**\n   * Wraps a value in an Ember.Array.\n   *\n   * @public\n   * @param  {Any} value\n   * @return {Ember.Array}\n   */\n  function wrapInArray(value) {\n    if (Ember.isArray(value)) {\n      return Ember.A(value);\n    }\n\n    return Ember.A([value]);\n  }\n});","define(\"ember-changeset-validations/validators/confirmation\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators/confirmation\"], function (_exports, _validationErrors, _confirmation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateConfirmation;\n\n  function validateConfirmation() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    return function (key, newValue, _oldValue, changes) {\n      let content = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};\n      // Combine the changes on top of the content so that we evaluate against both default values\n      // and valid changes. `changes` only has valid changes that have been made and won't include\n      // default values\n      let model = Ember.assign({}, content, changes);\n      let result = (0, _confirmation.default)(newValue, options, model, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/date\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-changeset-validations/utils/to-date\"], function (_exports, _validationErrors, _withDefaults, _toDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDate;\n  _exports.errorFormat = void 0;\n  const errorFormat = 'MMM Do, YYYY';\n  _exports.errorFormat = errorFormat;\n\n  function isValidDate(d) {\n    return d instanceof Date && !isNaN(d);\n  }\n\n  function validateDate() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    options = (0, _withDefaults.default)(options, {\n      allowBlank: false,\n      errorFormat: errorFormat\n    });\n    return (key, value) => {\n      let {\n        allowBlank\n      } = options;\n      let {\n        before,\n        onOrBefore,\n        after,\n        onOrAfter,\n        message\n      } = options;\n      let type = 'date';\n\n      if (allowBlank && (typeof value === 'undefined' || value === null)) {\n        return true;\n      }\n\n      let date = (0, _toDate.default)(value);\n\n      if (!isValidDate(date)) {\n        return (0, _validationErrors.default)(key, {\n          type,\n          value: 'not a date',\n          context: {\n            value,\n            message\n          }\n        });\n      }\n\n      if (before) {\n        before = (0, _toDate.default)(before);\n        message = message || `[BEFORE] date is NOT before ${value}`;\n        type = 'before';\n\n        if (date >= before) {\n          return (0, _validationErrors.default)(key, {\n            type,\n            value,\n            context: {\n              before,\n              message\n            }\n          });\n        }\n      }\n\n      if (onOrBefore) {\n        onOrBefore = (0, _toDate.default)(onOrBefore);\n        message = message || `[ON OR BEFORE] date is NOT on or before ${value}`;\n        type = 'onOrBefore';\n\n        if (date > onOrBefore) {\n          return (0, _validationErrors.default)(key, {\n            type,\n            value,\n            context: {\n              onOrBefore,\n              message\n            }\n          });\n        }\n      }\n\n      if (after) {\n        after = (0, _toDate.default)(after);\n        message = message || `[AFTER] date is NOT after ${value}`;\n        type = 'after';\n\n        if (date <= after) {\n          return (0, _validationErrors.default)(key, {\n            type,\n            value,\n            context: {\n              after,\n              message\n            }\n          });\n        }\n      }\n\n      if (onOrAfter) {\n        onOrAfter = (0, _toDate.default)(onOrAfter);\n        message = message || `[ON OR AFTER] date is NOT on or after ${value}`;\n        type = 'onOrAfter';\n\n        if (date < onOrAfter) {\n          return (0, _validationErrors.default)(key, {\n            type,\n            value,\n            context: {\n              onOrAfter,\n              message\n            }\n          });\n        }\n      }\n\n      return true;\n    };\n  }\n});","define(\"ember-changeset-validations/validators/exclusion\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators/exclusion\"], function (_exports, _validationErrors, _exclusion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateExclusion;\n\n  function validateExclusion() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n    if (options.list) {\n      options.in = options.list;\n    }\n\n    return (key, value) => {\n      let result = (0, _exclusion.default)(value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/format\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators/format\"], function (_exports, _validationErrors, _format) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateFormat;\n\n  function validateFormat() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    let hasOptions = !Ember.isEmpty(Object.keys(options));\n    return (key, value) => {\n      if (!hasOptions) {\n        return true;\n      }\n\n      let result = (0, _format.default)(value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/inclusion\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators/inclusion\"], function (_exports, _validationErrors, _inclusion) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n\n  function validateInclusion() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n    if (options.list) {\n      options.in = options.list;\n    }\n\n    return (key, value) => {\n      let result = (0, _inclusion.default)(value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/index\", [\"exports\", \"ember-changeset-validations/validators/date\", \"ember-changeset-validations/validators/presence\", \"ember-changeset-validations/validators/length\", \"ember-changeset-validations/validators/number\", \"ember-changeset-validations/validators/format\", \"ember-changeset-validations/validators/inclusion\", \"ember-changeset-validations/validators/exclusion\", \"ember-changeset-validations/validators/confirmation\"], function (_exports, _date, _presence, _length, _number, _format, _inclusion, _exclusion, _confirmation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"validateConfirmation\", {\n    enumerable: true,\n    get: function () {\n      return _confirmation.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateDate\", {\n    enumerable: true,\n    get: function () {\n      return _date.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateExclusion\", {\n    enumerable: true,\n    get: function () {\n      return _exclusion.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateFormat\", {\n    enumerable: true,\n    get: function () {\n      return _format.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateInclusion\", {\n    enumerable: true,\n    get: function () {\n      return _inclusion.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateLength\", {\n    enumerable: true,\n    get: function () {\n      return _length.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateNumber\", {\n    enumerable: true,\n    get: function () {\n      return _number.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validatePresence\", {\n    enumerable: true,\n    get: function () {\n      return _presence.default;\n    }\n  });\n});","define(\"ember-changeset-validations/validators/length\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-validators/length\"], function (_exports, _validationErrors, _withDefaults, _length) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateLength;\n\n  function validateLength() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    options = (0, _withDefaults.default)(options, {\n      useBetweenMessage: true\n    });\n    return (key, value) => {\n      let result = (0, _length.default)(value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/number\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-validators/number\"], function (_exports, _validationErrors, _withDefaults, _number) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateNumber;\n\n  function validateNumber() {\n    let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    options = (0, _withDefaults.default)(options, {\n      allowString: true,\n      allowNone: false\n    });\n\n    if (options.allowBlank) {\n      options.allowNone = true;\n    }\n\n    return (key, value) => {\n      let result = (0, _number.default)(value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/presence\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators/presence\"], function (_exports, _validationErrors, _presence) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validatePresence;\n\n  function validatePresence(options) {\n    let targets;\n\n    if (typeof options === 'boolean') {\n      options = {\n        presence: options\n      };\n    } else if (options && options.on !== undefined) {\n      if (typeof options.on === 'string') {\n        targets = [options.on];\n      } else if (Array.isArray(options.on)) {\n        targets = options.on;\n      }\n\n      delete options.on;\n    }\n\n    return (key, value, _oldValue, changes, content) => {\n      if (targets && !targets.some(target => {\n        const change = Ember.get(changes, target);\n        return change || change === undefined && Ember.get(content, target);\n      })) {\n        return true;\n      }\n\n      let result = (0, _presence.default)(value, options, null, key);\n\n      if (typeof result === 'boolean' || typeof result === 'string') {\n        return result;\n      } else {\n        // We flipped the meaning behind `present` and `blank` so switch the two\n        if (result.type === 'present') {\n          result.type = 'blank';\n        } else if (result.type === 'blank') {\n          result.type = 'present';\n        }\n\n        return (0, _validationErrors.default)(key, result);\n      }\n    };\n  }\n});","define(\"ember-changeset/helpers/changeset-get\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changesetGet = changesetGet;\n  _exports.default = void 0;\n\n  function changesetGet(_ref) {\n    let [changeset, fieldPath] = _ref;\n    return changeset.get(fieldPath);\n  }\n\n  var _default = Ember.Helper.helper(changesetGet);\n\n  _exports.default = _default;\n});","define(\"ember-changeset/helpers/changeset-set\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changesetSet = changesetSet;\n  _exports.default = void 0;\n\n  /**\n   * This is a drop in replacement for the `mut` helper\n   *\n   * @method changesetSet\n   * @param params\n   */\n  function changesetSet(_ref) {\n    let [obj, path] = _ref;\n\n    if ((0, _validatedChangeset.isChangeset)(obj)) {\n      return value => {\n        return obj.set(path, value);\n      };\n    }\n  }\n\n  var _default = Ember.Helper.helper(changesetSet);\n\n  _exports.default = _default;\n});","define(\"ember-changeset/helpers/changeset\", [\"exports\", \"ember-changeset\", \"validated-changeset\"], function (_exports, _emberChangeset, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n\n  function changeset(_ref) {\n    let [obj, validations] = _ref;\n    let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n    if (!obj) {\n      // route transitions may trigger this\n      return;\n    }\n\n    if ((0, _validatedChangeset.isChangeset)(obj)) {\n      return obj;\n    }\n\n    if ((0, _validatedChangeset.isObject)(validations)) {\n      if ((0, _validatedChangeset.isPromise)(obj)) {\n        return obj.then(resolved => (0, _emberChangeset.Changeset)(resolved, (0, _validatedChangeset.lookupValidator)(validations), validations, options));\n      }\n\n      return (0, _emberChangeset.Changeset)(obj, (0, _validatedChangeset.lookupValidator)(validations), validations, options);\n    }\n\n    if ((0, _validatedChangeset.isPromise)(obj)) {\n      return Promise.resolve(obj).then(resolved => (0, _emberChangeset.Changeset)(resolved, validations, {}, options));\n    }\n\n    return (0, _emberChangeset.Changeset)(obj, validations, {}, options);\n  }\n\n  var _default = Ember.Helper.helper(changeset);\n\n  _exports.default = _default;\n});","define(\"ember-changeset/index\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"validated-changeset\", \"ember-changeset/utils/merge-deep\", \"ember-changeset/utils/is-object\", \"@embroider/macros/runtime\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _validatedChangeset, _mergeDeep, _isObject, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Changeset = Changeset;\n  _exports.EmberChangeset = void 0;\n  _exports.buildOldValues = buildOldValues;\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3;\n\n  const CHANGES = '_changes';\n  const PREVIOUS_CONTENT = '_previousContent';\n  const CONTENT = '_content';\n\n  const defaultValidatorFn = () => true;\n\n  function buildOldValues(content, changes, getDeep) {\n    const obj = Object.create(null);\n\n    for (let change of changes) {\n      obj[change.key] = getDeep(content, change.key);\n    }\n\n    return obj;\n  }\n\n  function isProxy(o) {\n    return !!(o && (o instanceof Ember.ObjectProxy || o instanceof Ember.ArrayProxy));\n  }\n\n  function maybeUnwrapProxy(o) {\n    return isProxy(o) ? maybeUnwrapProxy(Ember.get(o, 'content')) : o;\n  }\n\n  let Model;\n\n  if ((0, _runtime.macroCondition)(false)) {\n    Model = require(\"@ember-data/model\").default;\n  }\n\n  let EmberChangeset = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._dependentKeyCompat, _dec5 = Ember._dependentKeyCompat, _dec6 = Ember._dependentKeyCompat, _dec7 = Ember._dependentKeyCompat, (_class = class EmberChangeset extends _validatedChangeset.BufferedChangeset {\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"_changes\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"_errors\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"_content\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"isObject\", _isObject.default);\n      (0, _defineProperty2.default)(this, \"maybeUnwrapProxy\", maybeUnwrapProxy);\n      (0, _defineProperty2.default)(this, \"getDeep\", Ember.get);\n      (0, _defineProperty2.default)(this, \"mergeDeep\", _mergeDeep.default);\n    }\n\n    safeGet(obj, key) {\n      if (Model && obj.relationshipFor?.(key)?.meta?.kind == 'belongsTo') {\n        return obj.belongsTo(key).value();\n      }\n\n      return Ember.get(obj, key);\n    }\n\n    safeSet(obj, key, value) {\n      return Ember.set(obj, key, value);\n    }\n    /**\n     * @property isValid\n     * @type {Array}\n     */\n\n\n    get isValid() {\n      return super.isValid;\n    }\n    /**\n     * @property isInvalid\n     * @type {Boolean}\n     */\n\n\n    get isInvalid() {\n      return super.isInvalid;\n    }\n    /**\n     * @property isPristine\n     * @type {Boolean}\n     */\n\n\n    get isPristine() {\n      return super.isPristine;\n    }\n    /**\n     * @property isDirty\n     * @type {Boolean}\n     */\n\n\n    get isDirty() {\n      return super.isDirty;\n    }\n\n    get pendingData() {\n      let content = this[CONTENT];\n      let changes = this[CHANGES];\n      let pendingChanges = this.mergeDeep(Object.create(Object.getPrototypeOf(content)), content, {\n        safeGet: Ember.get,\n        safeSet: Ember.set\n      });\n      return this.mergeDeep(pendingChanges, changes, {\n        safeGet: Ember.get,\n        safeSet: Ember.set\n      });\n    }\n    /**\n     * Manually add an error to the changeset. If there is an existing\n     * error or change for `key`, it will be overwritten.\n     *\n     * @method addError\n     */\n\n\n    addError(key, error) {\n      super.addError(key, error);\n      Ember.notifyPropertyChange(this, key); // Return passed-in `error`.\n\n      return error;\n    }\n    /**\n     * Manually push multiple errors to the changeset as an array.\n     *\n     * @method pushErrors\n     */\n\n\n    pushErrors(key) {\n      for (var _len = arguments.length, newErrors = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        newErrors[_key - 1] = arguments[_key];\n      }\n\n      const {\n        value,\n        validation\n      } = super.pushErrors(key, ...newErrors);\n      Ember.notifyPropertyChange(this, key);\n      return {\n        value,\n        validation\n      };\n    }\n    /**\n     * Sets property or error on the changeset.\n     * Returns value or error\n     */\n\n\n    _setProperty(_ref) {\n      let {\n        key,\n        value,\n        oldValue\n      } = _ref;\n\n      super._setProperty({\n        key,\n        value,\n        oldValue\n      });\n\n      Ember.notifyPropertyChange(this, key);\n    }\n    /**\n     * Notifies virtual properties set on the changeset of a change.\n     * You can specify which keys are notified by passing in an array.\n     *\n     * @private\n     * @param {Array} keys\n     * @return {Void}\n     */\n\n\n    _notifyVirtualProperties(keys) {\n      keys = super._notifyVirtualProperties(keys);\n      (keys || []).forEach(key => Ember.notifyPropertyChange(this, key));\n      return;\n    }\n    /**\n     * Deletes a key off an object and notifies observers.\n     */\n\n\n    _deleteKey(objName) {\n      let key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n      const result = super._deleteKey(objName, key);\n\n      Ember.notifyPropertyChange(this, key);\n      return result;\n    }\n    /**\n     * Executes the changeset if in a valid state.\n     *\n     * @method execute\n     */\n\n\n    execute() {\n      let oldContent;\n\n      if (this.isValid && this.isDirty) {\n        let content = this[CONTENT];\n        let changes = this[CHANGES]; // keep old values in case of error and we want to rollback\n\n        oldContent = buildOldValues(content, this.changes, this.getDeep); // we want mutation on original object\n        // @tracked\n\n        this[CONTENT] = this.mergeDeep(content, changes, {\n          safeGet: Ember.get,\n          safeSet: Ember.set\n        });\n      }\n\n      this[PREVIOUS_CONTENT] = oldContent;\n      return this;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_changes\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_errors\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_content\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isValid\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"isValid\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isInvalid\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"isInvalid\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isPristine\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"isPristine\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isDirty\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"isDirty\"), _class.prototype)), _class));\n  /**\n   * Creates new changesets.\n   */\n\n  _exports.EmberChangeset = EmberChangeset;\n\n  function changeset(obj) {\n    let validateFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultValidatorFn;\n    let validationMap = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    (true && !(Boolean(obj)) && Ember.assert('Underlying object for changeset is missing', Boolean(obj)));\n    (true && !(!Array.isArray(obj)) && Ember.assert('Array is not a valid type to pass as the first argument to `changeset`', !Array.isArray(obj)));\n\n    if (options.changeset) {\n      return new options.changeset(obj, validateFn, validationMap, options);\n    }\n\n    const c = new EmberChangeset(obj, validateFn, validationMap, options);\n    return c;\n  }\n  /**\n   * Creates new changesets.\n   * @function Changeset\n   */\n\n\n  function Changeset(obj) {\n    let validateFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultValidatorFn;\n    let validationMap = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    const c = changeset(obj, validateFn, validationMap, options);\n    return new Proxy(c, {\n      get(targetBuffer, key\n      /*, receiver*/\n      ) {\n        const res = targetBuffer.get(key.toString());\n        return res;\n      },\n\n      set(targetBuffer, key, value\n      /*, receiver*/\n      ) {\n        targetBuffer.set(key.toString(), value);\n        return true;\n      }\n\n    });\n  }\n\n  class ChangesetKlass {\n    /**\n     * Changeset factory\n     * TODO: deprecate in favor of factory function\n     *\n     * @class ChangesetKlass\n     * @constructor\n     */\n    constructor(obj) {\n      let validateFn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultValidatorFn;\n      let validationMap = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n      const c = changeset(obj, validateFn, validationMap, options);\n      return new Proxy(c, {\n        get(targetBuffer, key\n        /*, receiver*/\n        ) {\n          const res = targetBuffer.get(key.toString());\n          return res;\n        },\n\n        set(targetBuffer, key, value\n        /*, receiver*/\n        ) {\n          targetBuffer.set(key.toString(), value);\n          return true;\n        }\n\n      });\n    }\n\n  }\n\n  _exports.default = ChangesetKlass;\n});","define(\"ember-changeset/utils/is-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isObject;\n\n  /**\n   * Employ Ember strategies for isObject detection\n   * @method isObject\n   */\n  function isObject(val) {\n    return val !== null && typeof val === 'object' && !(val instanceof Date || val instanceof RegExp) && !Ember.isArray(val);\n  }\n});","define(\"ember-changeset/utils/merge-deep\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mergeDeep;\n\n  function isMergeableObject(value) {\n    return isNonNullObject(value) && !isSpecial(value);\n  }\n\n  function isNonNullObject(value) {\n    return !!value && typeof value === 'object';\n  }\n\n  function isSpecial(value) {\n    let stringValue = Object.prototype.toString.call(value);\n    return stringValue === '[object RegExp]' || stringValue === '[object Date]';\n  } // Reconsider when enumerable symbols are removed - https://github.com/emberjs/ember.js/commit/ef0e277533b3eab01e58d68b79d7e37d8b11ee34\n  // function getEnumerableOwnPropertySymbols(target) {\n  //   return Object.getOwnPropertySymbols\n  //     ? Object.getOwnPropertySymbols(target).filter(symbol => {\n  //       return Object.prototype.propertyIsEnumerable.call(target, symbol)\n  //     })\n  //     : [];\n  // }\n\n\n  function getKeys(target) {\n    return Object.keys(target); // .concat(getEnumerableOwnPropertySymbols(target))\n  }\n\n  function propertyIsOnObject(object, property) {\n    try {\n      return property in object;\n    } catch (_) {\n      return false;\n    }\n  } // Ember Data models don't respond as expected to foo.hasOwnProperty, so we do a special check\n\n\n  function hasEmberDataProperty(target, key, options) {\n    let fields = options.safeGet(target, 'constructor.fields');\n    return fields instanceof Map && fields.has(key);\n  } // Protects from prototype poisoning and unexpected merging up the prototype chain.\n\n\n  function propertyIsUnsafe(target, key, options) {\n    if (hasEmberDataProperty(target, key, options)) {\n      return false;\n    }\n\n    return propertyIsOnObject(target, key) && // Properties are safe to merge if they don't exist in the target yet,\n    !(Object.prototype.hasOwnProperty.call(target, key) && Object.prototype.propertyIsEnumerable.call(target, key) // unsafe if they exist up the prototype chain,\n    ); // and also unsafe if they're nonenumerable.\n  }\n  /**\n   * DFS - traverse depth first until find object with `value`.  Then go back up tree and try on next key\n   * Need to exhaust all possible avenues.\n   *\n   * @method buildPathToValue\n   */\n\n\n  function buildPathToValue(source, options, kv, possibleKeys) {\n    Object.keys(source).forEach(key => {\n      let possible = source[key];\n\n      if (possible && (0, _validatedChangeset.isChange)(possible)) {\n        kv[[...possibleKeys, key].join('.')] = (0, _validatedChangeset.getChangeValue)(possible);\n        return;\n      }\n\n      if (possible && typeof possible === 'object') {\n        buildPathToValue(possible, options, kv, [...possibleKeys, key]);\n      }\n    });\n    return kv;\n  }\n  /**\n   * `source` will always have a leaf key `value` with the property we want to set\n   *\n   * @method mergeTargetAndSource\n   */\n\n\n  function mergeTargetAndSource(target, source, options) {\n    getKeys(source).forEach(key => {\n      // proto poisoning.  So can set by nested key path 'person.name'\n      if (propertyIsUnsafe(target, key, options)) {\n        // if safeSet, we will find keys leading up to value and set\n        if (options.safeSet) {\n          const kv = buildPathToValue(source, options, {}, []); // each key will be a path nested to the value `person.name.other`\n\n          if (Object.keys(kv).length > 0) {\n            // we found some keys!\n            for (key in kv) {\n              const val = kv[key];\n              options.safeSet(target, key, val);\n            }\n          }\n        }\n\n        return;\n      } // else safe key on object\n\n\n      if (propertyIsOnObject(target, key) && isMergeableObject(source[key]) && !(0, _validatedChangeset.isChange)(source[key])) {\n        options.safeSet(target, key, mergeDeep(options.safeGet(target, key), options.safeGet(source, key), options));\n      } else {\n        let next = source[key];\n\n        if ((0, _validatedChangeset.isChange)(next)) {\n          return options.safeSet(target, key, (0, _validatedChangeset.getChangeValue)(next));\n        } // if just some normal leaf value, then set\n\n\n        return options.safeSet(target, key, (0, _validatedChangeset.normalizeObject)(next));\n      }\n    });\n    return target;\n  }\n  /**\n   * goal is to mutate target with source's properties, ensuring we dont encounter\n   * pitfalls of { ..., ... } spread syntax overwriting keys on objects that we merged\n   *\n   * This is also adjusted for Ember peculiarities.  Specifically `options.safeSet` will allows us\n   * to handle properties on Proxy objects (that aren't the target's own property)\n   *\n   * @method mergeDeep\n   */\n\n\n  function mergeDeep(target, source) {\n    let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n    options.safeGet = options.safeGet || function (obj, key) {\n      return obj[key];\n    };\n\n    options.safeSet = options.safeSet || function (obj, key, value) {\n      return obj[key] = value;\n    };\n\n    let sourceIsArray = Array.isArray(source);\n    let targetIsArray = Array.isArray(target);\n    let sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n    if (!sourceAndTargetTypesMatch) {\n      return source;\n    } else if (sourceIsArray) {\n      return source;\n    }\n\n    try {\n      return mergeTargetAndSource(target, source, options);\n    } catch (e) {\n      // this is very unlikely to be hit but lets throw an error otherwise\n      throw new Error('Unable to `mergeDeep` with your data. Are you trying to merge two ember-data objects? Please file an issue with ember-changeset.');\n    }\n  }\n});","define(\"ember-class-based-modifier/-private/modifier-classic\", [\"exports\", \"ember-class-based-modifier/-private/modifier-manager\"], function (_exports, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ClassBasedModifier = Ember.Object.extend({\n    args: null,\n\n    init() {\n      this._super(...arguments);\n\n      this.element = null;\n    },\n\n    didReceiveArguments() {},\n\n    didUpdateArguments() {},\n\n    didInstall() {},\n\n    willRemove() {}\n\n  });\n\n  Ember._setModifierManager(() => _modifierManager.default, ClassBasedModifier);\n\n  var _default = ClassBasedModifier;\n  _exports.default = _default;\n});","define(\"ember-class-based-modifier/-private/modifier-manager\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-class-based-modifier/-private/modifier-native\"], function (_exports, _defineProperty2, _modifierNative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class ClassBasedModifierManager {\n    constructor() {\n      (0, _defineProperty2.default)(this, \"capabilities\", Ember._modifierManagerCapabilities('3.13'));\n    }\n\n    createModifier(factory, args) {\n      return factory.create({\n        args\n      });\n    }\n\n    installModifier(instance, element) {\n      instance.element = element;\n      instance.didReceiveArguments();\n      instance.didInstall();\n    }\n\n    updateModifier(instance, args) {\n      // TODO: this should be an args proxy\n      Ember.set(instance, 'args', args);\n      instance.didUpdateArguments();\n      instance.didReceiveArguments();\n    }\n\n    destroyModifier(instance) {\n      instance.willRemove();\n      instance.element = null;\n\n      if ((0, _modifierNative.isNative)(instance)) {\n        (0, _modifierNative.destroy)(instance);\n      } else {\n        instance.destroy();\n      }\n    }\n\n  }\n\n  var _default = new ClassBasedModifierManager();\n\n  _exports.default = _default;\n});","define(\"ember-class-based-modifier/-private/modifier-native\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-class-based-modifier/-private/modifier-manager\"], function (_exports, _defineProperty2, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isNative = isNative;\n  _exports.destroy = destroy;\n  _exports.default = void 0;\n  const IS_NATIVE = Symbol('native');\n  const DESTROYING = Symbol('destroying');\n  const DESTROYED = Symbol('destroyed');\n\n  class ClassBasedModifier {\n    static create(options) {\n      let owner = Ember.getOwner(options);\n      let {\n        args\n      } = options;\n      return new this(owner, args);\n    }\n\n    constructor(owner, args) {\n      (0, _defineProperty2.default)(this, IS_NATIVE, true);\n      (0, _defineProperty2.default)(this, DESTROYING, false);\n      (0, _defineProperty2.default)(this, DESTROYED, false);\n      Ember.setOwner(this, owner);\n      this.element = null;\n      this.args = args;\n    }\n\n    didReceiveArguments() {}\n\n    didUpdateArguments() {}\n\n    didInstall() {}\n\n    willRemove() {}\n\n    willDestroy() {}\n\n    get isDestroying() {\n      return this[DESTROYING];\n    }\n\n    get isDestroyed() {\n      return this[DESTROYED];\n    }\n\n  }\n\n  _exports.default = ClassBasedModifier;\n\n  Ember._setModifierManager(() => _modifierManager.default, ClassBasedModifier);\n\n  function isNative(modifier) {\n    return modifier[IS_NATIVE] === true;\n  }\n\n  function destroy(modifier) {\n    if (modifier[DESTROYING]) {\n      return;\n    }\n\n    let meta = Ember.meta(modifier);\n    meta.setSourceDestroying();\n    modifier[DESTROYING] = true;\n    Ember.run.schedule('actions', modifier, modifier.willDestroy);\n    Ember.run.schedule('destroy', undefined, scheduleDestroy, modifier, meta);\n  }\n\n  function scheduleDestroy(modifier, meta) {\n    if (modifier[DESTROYED]) {\n      return;\n    }\n\n    Ember.destroy(modifier);\n    meta.setSourceDestroyed();\n    modifier[DESTROYED] = true;\n  }\n});","define(\"ember-class-based-modifier/classic\", [\"exports\", \"ember-class-based-modifier/-private/modifier-classic\"], function (_exports, _modifierClassic) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _modifierClassic.default;\n    }\n  });\n});","define(\"ember-class-based-modifier/index\", [\"exports\", \"ember-class-based-modifier/-private/modifier-native\"], function (_exports, _modifierNative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _modifierNative.default;\n    }\n  });\n});","define('ember-cli-app-version/initializer-factory', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = initializerFactory;\n  const libraries = Ember.libraries;\n  function initializerFactory(name, version) {\n    let registered = false;\n\n    return function () {\n      if (!registered && name && version) {\n        let appName = Ember.String.classify(name);\n        libraries.register(appName, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  const versionRegExp = exports.versionRegExp = /\\d+[.]\\d+[.]\\d+/; // Match any number of 3 sections of digits separated by .\n  const versionExtendedRegExp = exports.versionExtendedRegExp = /\\d+[.]\\d+[.]\\d+-[a-z]*([.]\\d+)?/; // Match the above but also hyphen followed by any number of lowercase letters, then optionally period and digits\n  const shaRegExp = exports.shaRegExp = /[a-z\\d]{8}$/; // Match 8 lowercase letters and digits, at the end of the string only (to avoid matching with version extended part)\n});","define(\"@babel/runtime/helpers/esm/AsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AwaitValue\"], function (_exports, _AwaitValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = AsyncGenerator;\n\n  function AsyncGenerator(gen) {\n    var front, back;\n\n    function send(key, arg) {\n      return new Promise(function (resolve, reject) {\n        var request = {\n          key: key,\n          arg: arg,\n          resolve: resolve,\n          reject: reject,\n          next: null\n        };\n\n        if (back) {\n          back = back.next = request;\n        } else {\n          front = back = request;\n          resume(key, arg);\n        }\n      });\n    }\n\n    function resume(key, arg) {\n      try {\n        var result = gen[key](arg);\n        var value = result.value;\n        var wrappedAwait = value instanceof _AwaitValue.default;\n        Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {\n          if (wrappedAwait) {\n            resume(key === \"return\" ? \"return\" : \"next\", arg);\n            return;\n          }\n\n          settle(result.done ? \"return\" : \"normal\", arg);\n        }, function (err) {\n          resume(\"throw\", err);\n        });\n      } catch (err) {\n        settle(\"throw\", err);\n      }\n    }\n\n    function settle(type, value) {\n      switch (type) {\n        case \"return\":\n          front.resolve({\n            value: value,\n            done: true\n          });\n          break;\n\n        case \"throw\":\n          front.reject(value);\n          break;\n\n        default:\n          front.resolve({\n            value: value,\n            done: false\n          });\n          break;\n      }\n\n      front = front.next;\n\n      if (front) {\n        resume(front.key, front.arg);\n      } else {\n        back = null;\n      }\n    }\n\n    this._invoke = send;\n\n    if (typeof gen[\"return\"] !== \"function\") {\n      this[\"return\"] = undefined;\n    }\n  }\n\n  if (typeof Symbol === \"function\" && Symbol.asyncIterator) {\n    AsyncGenerator.prototype[Symbol.asyncIterator] = function () {\n      return this;\n    };\n  }\n\n  AsyncGenerator.prototype.next = function (arg) {\n    return this._invoke(\"next\", arg);\n  };\n\n  AsyncGenerator.prototype[\"throw\"] = function (arg) {\n    return this._invoke(\"throw\", arg);\n  };\n\n  AsyncGenerator.prototype[\"return\"] = function (arg) {\n    return this._invoke(\"return\", arg);\n  };\n});","define(\"@babel/runtime/helpers/esm/AwaitValue\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _AwaitValue;\n\n  function _AwaitValue(value) {\n    this.wrapped = value;\n  }\n});","define(\"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _applyDecoratedDescriptor;\n\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n\n    return desc;\n  }\n});","define(\"@babel/runtime/helpers/esm/arrayLikeToArray\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _arrayLikeToArray;\n\n  function _arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n\n    for (var i = 0, arr2 = new Array(len); i < len; i++) {\n      arr2[i] = arr[i];\n    }\n\n    return arr2;\n  }\n});","define(\"@babel/runtime/helpers/esm/arrayWithHoles\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _arrayWithHoles;\n\n  function _arrayWithHoles(arr) {\n    if (Array.isArray(arr)) return arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/arrayWithoutHoles\", [\"exports\", \"@babel/runtime/helpers/esm/arrayLikeToArray\"], function (_exports, _arrayLikeToArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _arrayWithoutHoles;\n\n  function _arrayWithoutHoles(arr) {\n    if (Array.isArray(arr)) return (0, _arrayLikeToArray.default)(arr);\n  }\n});","define(\"@babel/runtime/helpers/esm/assertThisInitialized\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _assertThisInitialized;\n\n  function _assertThisInitialized(self) {\n    if (self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncGeneratorDelegate\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncGeneratorDelegate;\n\n  function _asyncGeneratorDelegate(inner, awaitWrap) {\n    var iter = {},\n        waiting = false;\n\n    function pump(key, value) {\n      waiting = true;\n      value = new Promise(function (resolve) {\n        resolve(inner[key](value));\n      });\n      return {\n        done: false,\n        value: awaitWrap(value)\n      };\n    }\n\n    ;\n\n    if (typeof Symbol === \"function\" && Symbol.iterator) {\n      iter[Symbol.iterator] = function () {\n        return this;\n      };\n    }\n\n    iter.next = function (value) {\n      if (waiting) {\n        waiting = false;\n        return value;\n      }\n\n      return pump(\"next\", value);\n    };\n\n    if (typeof inner[\"throw\"] === \"function\") {\n      iter[\"throw\"] = function (value) {\n        if (waiting) {\n          waiting = false;\n          throw value;\n        }\n\n        return pump(\"throw\", value);\n      };\n    }\n\n    if (typeof inner[\"return\"] === \"function\") {\n      iter[\"return\"] = function (value) {\n        if (waiting) {\n          waiting = false;\n          return value;\n        }\n\n        return pump(\"return\", value);\n      };\n    }\n\n    return iter;\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncIterator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncIterator;\n\n  function _asyncIterator(iterable) {\n    var method;\n\n    if (typeof Symbol !== \"undefined\") {\n      if (Symbol.asyncIterator) {\n        method = iterable[Symbol.asyncIterator];\n        if (method != null) return method.call(iterable);\n      }\n\n      if (Symbol.iterator) {\n        method = iterable[Symbol.iterator];\n        if (method != null) return method.call(iterable);\n      }\n    }\n\n    throw new TypeError(\"Object is not async iterable\");\n  }\n});","define(\"@babel/runtime/helpers/esm/asyncToGenerator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _asyncToGenerator;\n\n  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n    try {\n      var info = gen[key](arg);\n      var value = info.value;\n    } catch (error) {\n      reject(error);\n      return;\n    }\n\n    if (info.done) {\n      resolve(value);\n    } else {\n      Promise.resolve(value).then(_next, _throw);\n    }\n  }\n\n  function _asyncToGenerator(fn) {\n    return function () {\n      var self = this,\n          args = arguments;\n      return new Promise(function (resolve, reject) {\n        var gen = fn.apply(self, args);\n\n        function _next(value) {\n          asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n        }\n\n        function _throw(err) {\n          asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n        }\n\n        _next(undefined);\n      });\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/awaitAsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AwaitValue\"], function (_exports, _AwaitValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _awaitAsyncGenerator;\n\n  function _awaitAsyncGenerator(value) {\n    return new _AwaitValue.default(value);\n  }\n});","define(\"@babel/runtime/helpers/esm/classCallCheck\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classCallCheck;\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/classNameTDZError\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classNameTDZError;\n\n  function _classNameTDZError(name) {\n    throw new Error(\"Class \\\"\" + name + \"\\\" cannot be referenced in computed property keys.\");\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldDestructureSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldDestructureSet;\n\n  function _classPrivateFieldDestructureSet(receiver, privateMap) {\n    if (!privateMap.has(receiver)) {\n      throw new TypeError(\"attempted to set private field on non-instance\");\n    }\n\n    var descriptor = privateMap.get(receiver);\n\n    if (descriptor.set) {\n      if (!(\"__destrObj\" in descriptor)) {\n        descriptor.__destrObj = {\n          set value(v) {\n            descriptor.set.call(receiver, v);\n          }\n\n        };\n      }\n\n      return descriptor.__destrObj;\n    } else {\n      if (!descriptor.writable) {\n        throw new TypeError(\"attempted to set read only private field\");\n      }\n\n      return descriptor;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldGet;\n\n  function _classPrivateFieldGet(receiver, privateMap) {\n    var descriptor = privateMap.get(receiver);\n\n    if (!descriptor) {\n      throw new TypeError(\"attempted to get private field on non-instance\");\n    }\n\n    if (descriptor.get) {\n      return descriptor.get.call(receiver);\n    }\n\n    return descriptor.value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldLooseBase\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldBase;\n\n  function _classPrivateFieldBase(receiver, privateKey) {\n    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n      throw new TypeError(\"attempted to use private field on non-instance\");\n    }\n\n    return receiver;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldLooseKey\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldKey;\n  var id = 0;\n\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateFieldSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateFieldSet;\n\n  function _classPrivateFieldSet(receiver, privateMap, value) {\n    var descriptor = privateMap.get(receiver);\n\n    if (!descriptor) {\n      throw new TypeError(\"attempted to set private field on non-instance\");\n    }\n\n    if (descriptor.set) {\n      descriptor.set.call(receiver, value);\n    } else {\n      if (!descriptor.writable) {\n        throw new TypeError(\"attempted to set read only private field\");\n      }\n\n      descriptor.value = value;\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateMethodGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateMethodGet;\n\n  function _classPrivateMethodGet(receiver, privateSet, fn) {\n    if (!privateSet.has(receiver)) {\n      throw new TypeError(\"attempted to get private field on non-instance\");\n    }\n\n    return fn;\n  }\n});","define(\"@babel/runtime/helpers/esm/classPrivateMethodSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classPrivateMethodSet;\n\n  function _classPrivateMethodSet() {\n    throw new TypeError(\"attempted to reassign private method\");\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateFieldSpecGet;\n\n  function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    if (descriptor.get) {\n      return descriptor.get.call(receiver);\n    }\n\n    return descriptor.value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateFieldSpecSet;\n\n  function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    if (descriptor.set) {\n      descriptor.set.call(receiver, value);\n    } else {\n      if (!descriptor.writable) {\n        throw new TypeError(\"attempted to set read only private field\");\n      }\n\n      descriptor.value = value;\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateMethodGet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateMethodGet;\n\n  function _classStaticPrivateMethodGet(receiver, classConstructor, method) {\n    if (receiver !== classConstructor) {\n      throw new TypeError(\"Private static access of wrong provenance\");\n    }\n\n    return method;\n  }\n});","define(\"@babel/runtime/helpers/esm/classStaticPrivateMethodSet\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _classStaticPrivateMethodSet;\n\n  function _classStaticPrivateMethodSet() {\n    throw new TypeError(\"attempted to set read only static private field\");\n  }\n});","define(\"@babel/runtime/helpers/esm/construct\", [\"exports\", \"@babel/runtime/helpers/esm/setPrototypeOf\", \"@babel/runtime/helpers/esm/isNativeReflectConstruct\"], function (_exports, _setPrototypeOf, _isNativeReflectConstruct) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _construct;\n\n  function _construct(Parent, args, Class) {\n    if ((0, _isNativeReflectConstruct.default)()) {\n      _exports.default = _construct = Reflect.construct;\n    } else {\n      _exports.default = _construct = function _construct(Parent, args, Class) {\n        var a = [null];\n        a.push.apply(a, args);\n        var Constructor = Function.bind.apply(Parent, a);\n        var instance = new Constructor();\n        if (Class) (0, _setPrototypeOf.default)(instance, Class.prototype);\n        return instance;\n      };\n    }\n\n    return _construct.apply(null, arguments);\n  }\n});","define(\"@babel/runtime/helpers/esm/createClass\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createClass;\n\n  function _defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if (\"value\" in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  function _createClass(Constructor, protoProps, staticProps) {\n    if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) _defineProperties(Constructor, staticProps);\n    return Constructor;\n  }\n});","define(\"@babel/runtime/helpers/esm/createForOfIteratorHelper\", [\"exports\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\"], function (_exports, _unsupportedIterableToArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createForOfIteratorHelper;\n\n  function _createForOfIteratorHelper(o, allowArrayLike) {\n    var it;\n\n    if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n      if (Array.isArray(o) || (it = (0, _unsupportedIterableToArray.default)(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n        if (it) o = it;\n        var i = 0;\n\n        var F = function F() {};\n\n        return {\n          s: F,\n          n: function n() {\n            if (i >= o.length) return {\n              done: true\n            };\n            return {\n              done: false,\n              value: o[i++]\n            };\n          },\n          e: function e(_e) {\n            throw _e;\n          },\n          f: F\n        };\n      }\n\n      throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n    }\n\n    var normalCompletion = true,\n        didErr = false,\n        err;\n    return {\n      s: function s() {\n        it = o[Symbol.iterator]();\n      },\n      n: function n() {\n        var step = it.next();\n        normalCompletion = step.done;\n        return step;\n      },\n      e: function e(_e2) {\n        didErr = true;\n        err = _e2;\n      },\n      f: function f() {\n        try {\n          if (!normalCompletion && it[\"return\"] != null) it[\"return\"]();\n        } finally {\n          if (didErr) throw err;\n        }\n      }\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/createForOfIteratorHelperLoose\", [\"exports\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\"], function (_exports, _unsupportedIterableToArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createForOfIteratorHelperLoose;\n\n  function _createForOfIteratorHelperLoose(o, allowArrayLike) {\n    var it;\n\n    if (typeof Symbol === \"undefined\" || o[Symbol.iterator] == null) {\n      if (Array.isArray(o) || (it = (0, _unsupportedIterableToArray.default)(o)) || allowArrayLike && o && typeof o.length === \"number\") {\n        if (it) o = it;\n        var i = 0;\n        return function () {\n          if (i >= o.length) return {\n            done: true\n          };\n          return {\n            done: false,\n            value: o[i++]\n          };\n        };\n      }\n\n      throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n    }\n\n    it = o[Symbol.iterator]();\n    return it.next.bind(it);\n  }\n});","define(\"@babel/runtime/helpers/esm/createSuper\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/isNativeReflectConstruct\", \"@babel/runtime/helpers/esm/possibleConstructorReturn\"], function (_exports, _getPrototypeOf, _isNativeReflectConstruct, _possibleConstructorReturn) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createSuper;\n\n  function _createSuper(Derived) {\n    var hasNativeReflectConstruct = (0, _isNativeReflectConstruct.default)();\n    return function _createSuperInternal() {\n      var Super = (0, _getPrototypeOf.default)(Derived),\n          result;\n\n      if (hasNativeReflectConstruct) {\n        var NewTarget = (0, _getPrototypeOf.default)(this).constructor;\n        result = Reflect.construct(Super, arguments, NewTarget);\n      } else {\n        result = Super.apply(this, arguments);\n      }\n\n      return (0, _possibleConstructorReturn.default)(this, result);\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/decorate\", [\"exports\", \"@babel/runtime/helpers/esm/toArray\", \"@babel/runtime/helpers/esm/toPropertyKey\"], function (_exports, _toArray, _toPropertyKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _decorate;\n\n  function _decorate(decorators, factory, superClass, mixins) {\n    var api = _getDecoratorsApi();\n\n    if (mixins) {\n      for (var i = 0; i < mixins.length; i++) {\n        api = mixins[i](api);\n      }\n    }\n\n    var r = factory(function initialize(O) {\n      api.initializeInstanceElements(O, decorated.elements);\n    }, superClass);\n    var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators);\n    api.initializeClassElements(r.F, decorated.elements);\n    return api.runClassFinishers(r.F, decorated.finishers);\n  }\n\n  function _getDecoratorsApi() {\n    _getDecoratorsApi = function _getDecoratorsApi() {\n      return api;\n    };\n\n    var api = {\n      elementsDefinitionOrder: [[\"method\"], [\"field\"]],\n      initializeInstanceElements: function initializeInstanceElements(O, elements) {\n        [\"method\", \"field\"].forEach(function (kind) {\n          elements.forEach(function (element) {\n            if (element.kind === kind && element.placement === \"own\") {\n              this.defineClassElement(O, element);\n            }\n          }, this);\n        }, this);\n      },\n      initializeClassElements: function initializeClassElements(F, elements) {\n        var proto = F.prototype;\n        [\"method\", \"field\"].forEach(function (kind) {\n          elements.forEach(function (element) {\n            var placement = element.placement;\n\n            if (element.kind === kind && (placement === \"static\" || placement === \"prototype\")) {\n              var receiver = placement === \"static\" ? F : proto;\n              this.defineClassElement(receiver, element);\n            }\n          }, this);\n        }, this);\n      },\n      defineClassElement: function defineClassElement(receiver, element) {\n        var descriptor = element.descriptor;\n\n        if (element.kind === \"field\") {\n          var initializer = element.initializer;\n          descriptor = {\n            enumerable: descriptor.enumerable,\n            writable: descriptor.writable,\n            configurable: descriptor.configurable,\n            value: initializer === void 0 ? void 0 : initializer.call(receiver)\n          };\n        }\n\n        Object.defineProperty(receiver, element.key, descriptor);\n      },\n      decorateClass: function decorateClass(elements, decorators) {\n        var newElements = [];\n        var finishers = [];\n        var placements = {\n          \"static\": [],\n          prototype: [],\n          own: []\n        };\n        elements.forEach(function (element) {\n          this.addElementPlacement(element, placements);\n        }, this);\n        elements.forEach(function (element) {\n          if (!_hasDecorators(element)) return newElements.push(element);\n          var elementFinishersExtras = this.decorateElement(element, placements);\n          newElements.push(elementFinishersExtras.element);\n          newElements.push.apply(newElements, elementFinishersExtras.extras);\n          finishers.push.apply(finishers, elementFinishersExtras.finishers);\n        }, this);\n\n        if (!decorators) {\n          return {\n            elements: newElements,\n            finishers: finishers\n          };\n        }\n\n        var result = this.decorateConstructor(newElements, decorators);\n        finishers.push.apply(finishers, result.finishers);\n        result.finishers = finishers;\n        return result;\n      },\n      addElementPlacement: function addElementPlacement(element, placements, silent) {\n        var keys = placements[element.placement];\n\n        if (!silent && keys.indexOf(element.key) !== -1) {\n          throw new TypeError(\"Duplicated element (\" + element.key + \")\");\n        }\n\n        keys.push(element.key);\n      },\n      decorateElement: function decorateElement(element, placements) {\n        var extras = [];\n        var finishers = [];\n\n        for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) {\n          var keys = placements[element.placement];\n          keys.splice(keys.indexOf(element.key), 1);\n          var elementObject = this.fromElementDescriptor(element);\n          var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject);\n          element = elementFinisherExtras.element;\n          this.addElementPlacement(element, placements);\n\n          if (elementFinisherExtras.finisher) {\n            finishers.push(elementFinisherExtras.finisher);\n          }\n\n          var newExtras = elementFinisherExtras.extras;\n\n          if (newExtras) {\n            for (var j = 0; j < newExtras.length; j++) {\n              this.addElementPlacement(newExtras[j], placements);\n            }\n\n            extras.push.apply(extras, newExtras);\n          }\n        }\n\n        return {\n          element: element,\n          finishers: finishers,\n          extras: extras\n        };\n      },\n      decorateConstructor: function decorateConstructor(elements, decorators) {\n        var finishers = [];\n\n        for (var i = decorators.length - 1; i >= 0; i--) {\n          var obj = this.fromClassDescriptor(elements);\n          var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj);\n\n          if (elementsAndFinisher.finisher !== undefined) {\n            finishers.push(elementsAndFinisher.finisher);\n          }\n\n          if (elementsAndFinisher.elements !== undefined) {\n            elements = elementsAndFinisher.elements;\n\n            for (var j = 0; j < elements.length - 1; j++) {\n              for (var k = j + 1; k < elements.length; k++) {\n                if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) {\n                  throw new TypeError(\"Duplicated element (\" + elements[j].key + \")\");\n                }\n              }\n            }\n          }\n        }\n\n        return {\n          elements: elements,\n          finishers: finishers\n        };\n      },\n      fromElementDescriptor: function fromElementDescriptor(element) {\n        var obj = {\n          kind: element.kind,\n          key: element.key,\n          placement: element.placement,\n          descriptor: element.descriptor\n        };\n        var desc = {\n          value: \"Descriptor\",\n          configurable: true\n        };\n        Object.defineProperty(obj, Symbol.toStringTag, desc);\n        if (element.kind === \"field\") obj.initializer = element.initializer;\n        return obj;\n      },\n      toElementDescriptors: function toElementDescriptors(elementObjects) {\n        if (elementObjects === undefined) return;\n        return (0, _toArray.default)(elementObjects).map(function (elementObject) {\n          var element = this.toElementDescriptor(elementObject);\n          this.disallowProperty(elementObject, \"finisher\", \"An element descriptor\");\n          this.disallowProperty(elementObject, \"extras\", \"An element descriptor\");\n          return element;\n        }, this);\n      },\n      toElementDescriptor: function toElementDescriptor(elementObject) {\n        var kind = String(elementObject.kind);\n\n        if (kind !== \"method\" && kind !== \"field\") {\n          throw new TypeError('An element descriptor\\'s .kind property must be either \"method\" or' + ' \"field\", but a decorator created an element descriptor with' + ' .kind \"' + kind + '\"');\n        }\n\n        var key = (0, _toPropertyKey.default)(elementObject.key);\n        var placement = String(elementObject.placement);\n\n        if (placement !== \"static\" && placement !== \"prototype\" && placement !== \"own\") {\n          throw new TypeError('An element descriptor\\'s .placement property must be one of \"static\",' + ' \"prototype\" or \"own\", but a decorator created an element descriptor' + ' with .placement \"' + placement + '\"');\n        }\n\n        var descriptor = elementObject.descriptor;\n        this.disallowProperty(elementObject, \"elements\", \"An element descriptor\");\n        var element = {\n          kind: kind,\n          key: key,\n          placement: placement,\n          descriptor: Object.assign({}, descriptor)\n        };\n\n        if (kind !== \"field\") {\n          this.disallowProperty(elementObject, \"initializer\", \"A method descriptor\");\n        } else {\n          this.disallowProperty(descriptor, \"get\", \"The property descriptor of a field descriptor\");\n          this.disallowProperty(descriptor, \"set\", \"The property descriptor of a field descriptor\");\n          this.disallowProperty(descriptor, \"value\", \"The property descriptor of a field descriptor\");\n          element.initializer = elementObject.initializer;\n        }\n\n        return element;\n      },\n      toElementFinisherExtras: function toElementFinisherExtras(elementObject) {\n        var element = this.toElementDescriptor(elementObject);\n\n        var finisher = _optionalCallableProperty(elementObject, \"finisher\");\n\n        var extras = this.toElementDescriptors(elementObject.extras);\n        return {\n          element: element,\n          finisher: finisher,\n          extras: extras\n        };\n      },\n      fromClassDescriptor: function fromClassDescriptor(elements) {\n        var obj = {\n          kind: \"class\",\n          elements: elements.map(this.fromElementDescriptor, this)\n        };\n        var desc = {\n          value: \"Descriptor\",\n          configurable: true\n        };\n        Object.defineProperty(obj, Symbol.toStringTag, desc);\n        return obj;\n      },\n      toClassDescriptor: function toClassDescriptor(obj) {\n        var kind = String(obj.kind);\n\n        if (kind !== \"class\") {\n          throw new TypeError('A class descriptor\\'s .kind property must be \"class\", but a decorator' + ' created a class descriptor with .kind \"' + kind + '\"');\n        }\n\n        this.disallowProperty(obj, \"key\", \"A class descriptor\");\n        this.disallowProperty(obj, \"placement\", \"A class descriptor\");\n        this.disallowProperty(obj, \"descriptor\", \"A class descriptor\");\n        this.disallowProperty(obj, \"initializer\", \"A class descriptor\");\n        this.disallowProperty(obj, \"extras\", \"A class descriptor\");\n\n        var finisher = _optionalCallableProperty(obj, \"finisher\");\n\n        var elements = this.toElementDescriptors(obj.elements);\n        return {\n          elements: elements,\n          finisher: finisher\n        };\n      },\n      runClassFinishers: function runClassFinishers(constructor, finishers) {\n        for (var i = 0; i < finishers.length; i++) {\n          var newConstructor = (0, finishers[i])(constructor);\n\n          if (newConstructor !== undefined) {\n            if (typeof newConstructor !== \"function\") {\n              throw new TypeError(\"Finishers must return a constructor.\");\n            }\n\n            constructor = newConstructor;\n          }\n        }\n\n        return constructor;\n      },\n      disallowProperty: function disallowProperty(obj, name, objectType) {\n        if (obj[name] !== undefined) {\n          throw new TypeError(objectType + \" can't have a .\" + name + \" property.\");\n        }\n      }\n    };\n    return api;\n  }\n\n  function _createElementDescriptor(def) {\n    var key = (0, _toPropertyKey.default)(def.key);\n    var descriptor;\n\n    if (def.kind === \"method\") {\n      descriptor = {\n        value: def.value,\n        writable: true,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"get\") {\n      descriptor = {\n        get: def.value,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"set\") {\n      descriptor = {\n        set: def.value,\n        configurable: true,\n        enumerable: false\n      };\n    } else if (def.kind === \"field\") {\n      descriptor = {\n        configurable: true,\n        writable: true,\n        enumerable: true\n      };\n    }\n\n    var element = {\n      kind: def.kind === \"field\" ? \"field\" : \"method\",\n      key: key,\n      placement: def[\"static\"] ? \"static\" : def.kind === \"field\" ? \"own\" : \"prototype\",\n      descriptor: descriptor\n    };\n    if (def.decorators) element.decorators = def.decorators;\n    if (def.kind === \"field\") element.initializer = def.value;\n    return element;\n  }\n\n  function _coalesceGetterSetter(element, other) {\n    if (element.descriptor.get !== undefined) {\n      other.descriptor.get = element.descriptor.get;\n    } else {\n      other.descriptor.set = element.descriptor.set;\n    }\n  }\n\n  function _coalesceClassElements(elements) {\n    var newElements = [];\n\n    var isSameElement = function isSameElement(other) {\n      return other.kind === \"method\" && other.key === element.key && other.placement === element.placement;\n    };\n\n    for (var i = 0; i < elements.length; i++) {\n      var element = elements[i];\n      var other;\n\n      if (element.kind === \"method\" && (other = newElements.find(isSameElement))) {\n        if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) {\n          if (_hasDecorators(element) || _hasDecorators(other)) {\n            throw new ReferenceError(\"Duplicated methods (\" + element.key + \") can't be decorated.\");\n          }\n\n          other.descriptor = element.descriptor;\n        } else {\n          if (_hasDecorators(element)) {\n            if (_hasDecorators(other)) {\n              throw new ReferenceError(\"Decorators can't be placed on different accessors with for \" + \"the same property (\" + element.key + \").\");\n            }\n\n            other.decorators = element.decorators;\n          }\n\n          _coalesceGetterSetter(element, other);\n        }\n      } else {\n        newElements.push(element);\n      }\n    }\n\n    return newElements;\n  }\n\n  function _hasDecorators(element) {\n    return element.decorators && element.decorators.length;\n  }\n\n  function _isDataDescriptor(desc) {\n    return desc !== undefined && !(desc.value === undefined && desc.writable === undefined);\n  }\n\n  function _optionalCallableProperty(obj, name) {\n    var value = obj[name];\n\n    if (value !== undefined && typeof value !== \"function\") {\n      throw new TypeError(\"Expected '\" + name + \"' to be a function\");\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/defaults\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defaults;\n\n  function _defaults(obj, defaults) {\n    var keys = Object.getOwnPropertyNames(defaults);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = Object.getOwnPropertyDescriptor(defaults, key);\n\n      if (value && value.configurable && obj[key] === undefined) {\n        Object.defineProperty(obj, key, value);\n      }\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/defineEnumerableProperties\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defineEnumerableProperties;\n\n  function _defineEnumerableProperties(obj, descs) {\n    for (var key in descs) {\n      var desc = descs[key];\n      desc.configurable = desc.enumerable = true;\n      if (\"value\" in desc) desc.writable = true;\n      Object.defineProperty(obj, key, desc);\n    }\n\n    if (Object.getOwnPropertySymbols) {\n      var objectSymbols = Object.getOwnPropertySymbols(descs);\n\n      for (var i = 0; i < objectSymbols.length; i++) {\n        var sym = objectSymbols[i];\n        var desc = descs[sym];\n        desc.configurable = desc.enumerable = true;\n        if (\"value\" in desc) desc.writable = true;\n        Object.defineProperty(obj, sym, desc);\n      }\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/defineProperty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _defineProperty;\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n});","define(\"@babel/runtime/helpers/esm/extends\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _extends;\n\n  function _extends() {\n    _exports.default = _extends = Object.assign || function (target) {\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments[i];\n\n        for (var key in source) {\n          if (Object.prototype.hasOwnProperty.call(source, key)) {\n            target[key] = source[key];\n          }\n        }\n      }\n\n      return target;\n    };\n\n    return _extends.apply(this, arguments);\n  }\n});","define(\"@babel/runtime/helpers/esm/get\", [\"exports\", \"@babel/runtime/helpers/esm/superPropBase\"], function (_exports, _superPropBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _get;\n\n  function _get(target, property, receiver) {\n    if (typeof Reflect !== \"undefined\" && Reflect.get) {\n      _exports.default = _get = Reflect.get;\n    } else {\n      _exports.default = _get = function _get(target, property, receiver) {\n        var base = (0, _superPropBase.default)(target, property);\n        if (!base) return;\n        var desc = Object.getOwnPropertyDescriptor(base, property);\n\n        if (desc.get) {\n          return desc.get.call(receiver);\n        }\n\n        return desc.value;\n      };\n    }\n\n    return _get(target, property, receiver || target);\n  }\n});","define(\"@babel/runtime/helpers/esm/getPrototypeOf\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _getPrototypeOf;\n\n  function _getPrototypeOf(o) {\n    _exports.default = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n      return o.__proto__ || Object.getPrototypeOf(o);\n    };\n    return _getPrototypeOf(o);\n  }\n});","define(\"@babel/runtime/helpers/esm/inherits\", [\"exports\", \"@babel/runtime/helpers/esm/setPrototypeOf\"], function (_exports, _setPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _inherits;\n\n  function _inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function\");\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) (0, _setPrototypeOf.default)(subClass, superClass);\n  }\n});","define(\"@babel/runtime/helpers/esm/inheritsLoose\", [\"exports\", \"@babel/runtime/helpers/esm/setPrototypeOf\"], function (_exports, _setPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _inheritsLoose;\n\n  function _inheritsLoose(subClass, superClass) {\n    subClass.prototype = Object.create(superClass.prototype);\n    subClass.prototype.constructor = subClass;\n    (0, _setPrototypeOf.default)(subClass, superClass);\n  }\n});","define(\"@babel/runtime/helpers/esm/initializerDefineProperty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _initializerDefineProperty;\n\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n});","define(\"@babel/runtime/helpers/esm/initializerWarningHelper\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _initializerWarningHelper;\n\n  function _initializerWarningHelper(descriptor, context) {\n    throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');\n  }\n});","define(\"@babel/runtime/helpers/esm/instanceof\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _instanceof;\n\n  function _instanceof(left, right) {\n    if (right != null && typeof Symbol !== \"undefined\" && right[Symbol.hasInstance]) {\n      return !!right[Symbol.hasInstance](left);\n    } else {\n      return left instanceof right;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/interopRequireDefault\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _interopRequireDefault;\n\n  function _interopRequireDefault(obj) {\n    return obj && obj.__esModule ? obj : {\n      \"default\": obj\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/interopRequireWildcard\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\"], function (_exports, _typeof2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _interopRequireWildcard;\n\n  function _getRequireWildcardCache() {\n    if (typeof WeakMap !== \"function\") return null;\n    var cache = new WeakMap();\n\n    _getRequireWildcardCache = function _getRequireWildcardCache() {\n      return cache;\n    };\n\n    return cache;\n  }\n\n  function _interopRequireWildcard(obj) {\n    if (obj && obj.__esModule) {\n      return obj;\n    }\n\n    if (obj === null || (0, _typeof2.default)(obj) !== \"object\" && typeof obj !== \"function\") {\n      return {\n        \"default\": obj\n      };\n    }\n\n    var cache = _getRequireWildcardCache();\n\n    if (cache && cache.has(obj)) {\n      return cache.get(obj);\n    }\n\n    var newObj = {};\n    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;\n\n    for (var key in obj) {\n      if (Object.prototype.hasOwnProperty.call(obj, key)) {\n        var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;\n\n        if (desc && (desc.get || desc.set)) {\n          Object.defineProperty(newObj, key, desc);\n        } else {\n          newObj[key] = obj[key];\n        }\n      }\n    }\n\n    newObj[\"default\"] = obj;\n\n    if (cache) {\n      cache.set(obj, newObj);\n    }\n\n    return newObj;\n  }\n});","define(\"@babel/runtime/helpers/esm/isNativeFunction\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _isNativeFunction;\n\n  function _isNativeFunction(fn) {\n    return Function.toString.call(fn).indexOf(\"[native code]\") !== -1;\n  }\n});","define(\"@babel/runtime/helpers/esm/isNativeReflectConstruct\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _isNativeReflectConstruct;\n\n  function _isNativeReflectConstruct() {\n    if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n    if (Reflect.construct.sham) return false;\n    if (typeof Proxy === \"function\") return true;\n\n    try {\n      Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArray\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArray;\n\n  function _iterableToArray(iter) {\n    if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArrayLimit\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArrayLimit;\n\n  function _iterableToArrayLimit(arr, i) {\n    if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n    var _arr = [];\n    var _n = true;\n    var _d = false;\n    var _e = undefined;\n\n    try {\n      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n        _arr.push(_s.value);\n\n        if (i && _arr.length === i) break;\n      }\n    } catch (err) {\n      _d = true;\n      _e = err;\n    } finally {\n      try {\n        if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n      } finally {\n        if (_d) throw _e;\n      }\n    }\n\n    return _arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/iterableToArrayLimitLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _iterableToArrayLimitLoose;\n\n  function _iterableToArrayLimitLoose(arr, i) {\n    if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n    var _arr = [];\n\n    for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done;) {\n      _arr.push(_step.value);\n\n      if (i && _arr.length === i) break;\n    }\n\n    return _arr;\n  }\n});","define(\"@babel/runtime/helpers/esm/jsx\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _createRawReactElement;\n  var REACT_ELEMENT_TYPE;\n\n  function _createRawReactElement(type, props, key, children) {\n    if (!REACT_ELEMENT_TYPE) {\n      REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol[\"for\"] && Symbol[\"for\"](\"react.element\") || 0xeac7;\n    }\n\n    var defaultProps = type && type.defaultProps;\n    var childrenLength = arguments.length - 3;\n\n    if (!props && childrenLength !== 0) {\n      props = {\n        children: void 0\n      };\n    }\n\n    if (childrenLength === 1) {\n      props.children = children;\n    } else if (childrenLength > 1) {\n      var childArray = new Array(childrenLength);\n\n      for (var i = 0; i < childrenLength; i++) {\n        childArray[i] = arguments[i + 3];\n      }\n\n      props.children = childArray;\n    }\n\n    if (props && defaultProps) {\n      for (var propName in defaultProps) {\n        if (props[propName] === void 0) {\n          props[propName] = defaultProps[propName];\n        }\n      }\n    } else if (!props) {\n      props = defaultProps || {};\n    }\n\n    return {\n      $$typeof: REACT_ELEMENT_TYPE,\n      type: type,\n      key: key === undefined ? null : '' + key,\n      ref: null,\n      props: props,\n      _owner: null\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/maybeArrayLike\", [\"exports\", \"@babel/runtime/helpers/esm/arrayLikeToArray\"], function (_exports, _arrayLikeToArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _maybeArrayLike;\n\n  function _maybeArrayLike(next, arr, i) {\n    if (arr && !Array.isArray(arr) && typeof arr.length === \"number\") {\n      var len = arr.length;\n      return (0, _arrayLikeToArray.default)(arr, i !== void 0 && i < len ? i : len);\n    }\n\n    return next(arr, i);\n  }\n});","define(\"@babel/runtime/helpers/esm/newArrowCheck\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _newArrowCheck;\n\n  function _newArrowCheck(innerThis, boundThis) {\n    if (innerThis !== boundThis) {\n      throw new TypeError(\"Cannot instantiate an arrow function\");\n    }\n  }\n});","define(\"@babel/runtime/helpers/esm/nonIterableRest\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _nonIterableRest;\n\n  function _nonIterableRest() {\n    throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n  }\n});","define(\"@babel/runtime/helpers/esm/nonIterableSpread\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _nonIterableSpread;\n\n  function _nonIterableSpread() {\n    throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n  }\n});","define(\"@babel/runtime/helpers/esm/objectDestructuringEmpty\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectDestructuringEmpty;\n\n  function _objectDestructuringEmpty(obj) {\n    if (obj == null) throw new TypeError(\"Cannot destructure undefined\");\n  }\n});","define(\"@babel/runtime/helpers/esm/objectSpread\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectSpread;\n\n  function _objectSpread(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i] != null ? Object(arguments[i]) : {};\n      var ownKeys = Object.keys(source);\n\n      if (typeof Object.getOwnPropertySymbols === 'function') {\n        ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n          return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n        }));\n      }\n\n      ownKeys.forEach(function (key) {\n        (0, _defineProperty.default)(target, key, source[key]);\n      });\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/objectSpread2\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectSpread2;\n\n  function ownKeys(object, enumerableOnly) {\n    var keys = Object.keys(object);\n\n    if (Object.getOwnPropertySymbols) {\n      var symbols = Object.getOwnPropertySymbols(object);\n      if (enumerableOnly) symbols = symbols.filter(function (sym) {\n        return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n      });\n      keys.push.apply(keys, symbols);\n    }\n\n    return keys;\n  }\n\n  function _objectSpread2(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i] != null ? arguments[i] : {};\n\n      if (i % 2) {\n        ownKeys(Object(source), true).forEach(function (key) {\n          (0, _defineProperty.default)(target, key, source[key]);\n        });\n      } else if (Object.getOwnPropertyDescriptors) {\n        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n      } else {\n        ownKeys(Object(source)).forEach(function (key) {\n          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n        });\n      }\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/objectWithoutProperties\", [\"exports\", \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\"], function (_exports, _objectWithoutPropertiesLoose) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectWithoutProperties;\n\n  function _objectWithoutProperties(source, excluded) {\n    if (source == null) return {};\n    var target = (0, _objectWithoutPropertiesLoose.default)(source, excluded);\n    var key, i;\n\n    if (Object.getOwnPropertySymbols) {\n      var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n      for (i = 0; i < sourceSymbolKeys.length; i++) {\n        key = sourceSymbolKeys[i];\n        if (excluded.indexOf(key) >= 0) continue;\n        if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n        target[key] = source[key];\n      }\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _objectWithoutPropertiesLoose;\n\n  function _objectWithoutPropertiesLoose(source, excluded) {\n    if (source == null) return {};\n    var target = {};\n    var sourceKeys = Object.keys(source);\n    var key, i;\n\n    for (i = 0; i < sourceKeys.length; i++) {\n      key = sourceKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      target[key] = source[key];\n    }\n\n    return target;\n  }\n});","define(\"@babel/runtime/helpers/esm/possibleConstructorReturn\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/assertThisInitialized\"], function (_exports, _typeof2, _assertThisInitialized) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _possibleConstructorReturn;\n\n  function _possibleConstructorReturn(self, call) {\n    if (call && ((0, _typeof2.default)(call) === \"object\" || typeof call === \"function\")) {\n      return call;\n    }\n\n    return (0, _assertThisInitialized.default)(self);\n  }\n});","define(\"@babel/runtime/helpers/esm/readOnlyError\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _readOnlyError;\n\n  function _readOnlyError(name) {\n    throw new TypeError(\"\\\"\" + name + \"\\\" is read-only\");\n  }\n});","define(\"@babel/runtime/helpers/esm/set\", [\"exports\", \"@babel/runtime/helpers/esm/superPropBase\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _superPropBase, _defineProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _set;\n\n  function set(target, property, value, receiver) {\n    if (typeof Reflect !== \"undefined\" && Reflect.set) {\n      set = Reflect.set;\n    } else {\n      set = function set(target, property, value, receiver) {\n        var base = (0, _superPropBase.default)(target, property);\n        var desc;\n\n        if (base) {\n          desc = Object.getOwnPropertyDescriptor(base, property);\n\n          if (desc.set) {\n            desc.set.call(receiver, value);\n            return true;\n          } else if (!desc.writable) {\n            return false;\n          }\n        }\n\n        desc = Object.getOwnPropertyDescriptor(receiver, property);\n\n        if (desc) {\n          if (!desc.writable) {\n            return false;\n          }\n\n          desc.value = value;\n          Object.defineProperty(receiver, property, desc);\n        } else {\n          (0, _defineProperty.default)(receiver, property, value);\n        }\n\n        return true;\n      };\n    }\n\n    return set(target, property, value, receiver);\n  }\n\n  function _set(target, property, value, receiver, isStrict) {\n    var s = set(target, property, value, receiver || target);\n\n    if (!s && isStrict) {\n      throw new Error('failed to set property');\n    }\n\n    return value;\n  }\n});","define(\"@babel/runtime/helpers/esm/setPrototypeOf\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _setPrototypeOf;\n\n  function _setPrototypeOf(o, p) {\n    _exports.default = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n      o.__proto__ = p;\n      return o;\n    };\n\n    return _setPrototypeOf(o, p);\n  }\n});","define(\"@babel/runtime/helpers/esm/skipFirstGeneratorNext\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _skipFirstGeneratorNext;\n\n  function _skipFirstGeneratorNext(fn) {\n    return function () {\n      var it = fn.apply(this, arguments);\n      it.next();\n      return it;\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/slicedToArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArrayLimit\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArrayLimit, _unsupportedIterableToArray, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _slicedToArray;\n\n  function _slicedToArray(arr, i) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArrayLimit.default)(arr, i) || (0, _unsupportedIterableToArray.default)(arr, i) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/slicedToArrayLoose\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArrayLimitLoose\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArrayLimitLoose, _unsupportedIterableToArray, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _slicedToArrayLoose;\n\n  function _slicedToArrayLoose(arr, i) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArrayLimitLoose.default)(arr, i) || (0, _unsupportedIterableToArray.default)(arr, i) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/superPropBase\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\"], function (_exports, _getPrototypeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _superPropBase;\n\n  function _superPropBase(object, property) {\n    while (!Object.prototype.hasOwnProperty.call(object, property)) {\n      object = (0, _getPrototypeOf.default)(object);\n      if (object === null) break;\n    }\n\n    return object;\n  }\n});","define(\"@babel/runtime/helpers/esm/taggedTemplateLiteral\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _taggedTemplateLiteral;\n\n  function _taggedTemplateLiteral(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    return Object.freeze(Object.defineProperties(strings, {\n      raw: {\n        value: Object.freeze(raw)\n      }\n    }));\n  }\n});","define(\"@babel/runtime/helpers/esm/taggedTemplateLiteralLoose\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _taggedTemplateLiteralLoose;\n\n  function _taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    strings.raw = raw;\n    return strings;\n  }\n});","define(\"@babel/runtime/helpers/esm/tdz\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _tdzError;\n\n  function _tdzError(name) {\n    throw new ReferenceError(name + \" is not defined - temporal dead zone\");\n  }\n});","define(\"@babel/runtime/helpers/esm/temporalRef\", [\"exports\", \"@babel/runtime/helpers/esm/temporalUndefined\", \"@babel/runtime/helpers/esm/tdz\"], function (_exports, _temporalUndefined, _tdz) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _temporalRef;\n\n  function _temporalRef(val, name) {\n    return val === _temporalUndefined.default ? (0, _tdz.default)(name) : val;\n  }\n});","define(\"@babel/runtime/helpers/esm/temporalUndefined\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _temporalUndefined;\n\n  function _temporalUndefined() {}\n});","define(\"@babel/runtime/helpers/esm/toArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithHoles\", \"@babel/runtime/helpers/esm/iterableToArray\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\", \"@babel/runtime/helpers/esm/nonIterableRest\"], function (_exports, _arrayWithHoles, _iterableToArray, _unsupportedIterableToArray, _nonIterableRest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toArray;\n\n  function _toArray(arr) {\n    return (0, _arrayWithHoles.default)(arr) || (0, _iterableToArray.default)(arr) || (0, _unsupportedIterableToArray.default)(arr) || (0, _nonIterableRest.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/toConsumableArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayWithoutHoles\", \"@babel/runtime/helpers/esm/iterableToArray\", \"@babel/runtime/helpers/esm/unsupportedIterableToArray\", \"@babel/runtime/helpers/esm/nonIterableSpread\"], function (_exports, _arrayWithoutHoles, _iterableToArray, _unsupportedIterableToArray, _nonIterableSpread) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toConsumableArray;\n\n  function _toConsumableArray(arr) {\n    return (0, _arrayWithoutHoles.default)(arr) || (0, _iterableToArray.default)(arr) || (0, _unsupportedIterableToArray.default)(arr) || (0, _nonIterableSpread.default)();\n  }\n});","define(\"@babel/runtime/helpers/esm/toPrimitive\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\"], function (_exports, _typeof2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toPrimitive;\n\n  function _toPrimitive(input, hint) {\n    if ((0, _typeof2.default)(input) !== \"object\" || input === null) return input;\n    var prim = input[Symbol.toPrimitive];\n\n    if (prim !== undefined) {\n      var res = prim.call(input, hint || \"default\");\n      if ((0, _typeof2.default)(res) !== \"object\") return res;\n      throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n    }\n\n    return (hint === \"string\" ? String : Number)(input);\n  }\n});","define(\"@babel/runtime/helpers/esm/toPropertyKey\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/toPrimitive\"], function (_exports, _typeof2, _toPrimitive) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _toPropertyKey;\n\n  function _toPropertyKey(arg) {\n    var key = (0, _toPrimitive.default)(arg, \"string\");\n    return (0, _typeof2.default)(key) === \"symbol\" ? key : String(key);\n  }\n});","define(\"@babel/runtime/helpers/esm/typeof\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _typeof;\n\n  function _typeof(obj) {\n    \"@babel/helpers - typeof\";\n\n    if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n      _exports.default = _typeof = function _typeof(obj) {\n        return typeof obj;\n      };\n    } else {\n      _exports.default = _typeof = function _typeof(obj) {\n        return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n      };\n    }\n\n    return _typeof(obj);\n  }\n});","define(\"@babel/runtime/helpers/esm/unsupportedIterableToArray\", [\"exports\", \"@babel/runtime/helpers/esm/arrayLikeToArray\"], function (_exports, _arrayLikeToArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _unsupportedIterableToArray;\n\n  function _unsupportedIterableToArray(o, minLen) {\n    if (!o) return;\n    if (typeof o === \"string\") return (0, _arrayLikeToArray.default)(o, minLen);\n    var n = Object.prototype.toString.call(o).slice(8, -1);\n    if (n === \"Object\" && o.constructor) n = o.constructor.name;\n    if (n === \"Map\" || n === \"Set\") return Array.from(o);\n    if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0, _arrayLikeToArray.default)(o, minLen);\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapAsyncGenerator\", [\"exports\", \"@babel/runtime/helpers/esm/AsyncGenerator\"], function (_exports, _AsyncGenerator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapAsyncGenerator;\n\n  function _wrapAsyncGenerator(fn) {\n    return function () {\n      return new _AsyncGenerator.default(fn.apply(this, arguments));\n    };\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapNativeSuper\", [\"exports\", \"@babel/runtime/helpers/esm/getPrototypeOf\", \"@babel/runtime/helpers/esm/setPrototypeOf\", \"@babel/runtime/helpers/esm/isNativeFunction\", \"@babel/runtime/helpers/esm/construct\"], function (_exports, _getPrototypeOf, _setPrototypeOf, _isNativeFunction, _construct) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapNativeSuper;\n\n  function _wrapNativeSuper(Class) {\n    var _cache = typeof Map === \"function\" ? new Map() : undefined;\n\n    _exports.default = _wrapNativeSuper = function _wrapNativeSuper(Class) {\n      if (Class === null || !(0, _isNativeFunction.default)(Class)) return Class;\n\n      if (typeof Class !== \"function\") {\n        throw new TypeError(\"Super expression must either be null or a function\");\n      }\n\n      if (typeof _cache !== \"undefined\") {\n        if (_cache.has(Class)) return _cache.get(Class);\n\n        _cache.set(Class, Wrapper);\n      }\n\n      function Wrapper() {\n        return (0, _construct.default)(Class, arguments, (0, _getPrototypeOf.default)(this).constructor);\n      }\n\n      Wrapper.prototype = Object.create(Class.prototype, {\n        constructor: {\n          value: Wrapper,\n          enumerable: false,\n          writable: true,\n          configurable: true\n        }\n      });\n      return (0, _setPrototypeOf.default)(Wrapper, Class);\n    };\n\n    return _wrapNativeSuper(Class);\n  }\n});","define(\"@babel/runtime/helpers/esm/wrapRegExp\", [\"exports\", \"@babel/runtime/helpers/esm/typeof\", \"@babel/runtime/helpers/esm/wrapNativeSuper\", \"@babel/runtime/helpers/esm/inherits\"], function (_exports, _typeof2, _wrapNativeSuper, _inherits) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _wrapRegExp;\n\n  function _wrapRegExp(re, groups) {\n    _exports.default = _wrapRegExp = function _wrapRegExp(re, groups) {\n      return new BabelRegExp(re, undefined, groups);\n    };\n\n    var _RegExp = (0, _wrapNativeSuper.default)(RegExp);\n\n    var _super = RegExp.prototype;\n\n    var _groups = new WeakMap();\n\n    function BabelRegExp(re, flags, groups) {\n      var _this = _RegExp.call(this, re, flags);\n\n      _groups.set(_this, groups || _groups.get(re));\n\n      return _this;\n    }\n\n    (0, _inherits.default)(BabelRegExp, _RegExp);\n\n    BabelRegExp.prototype.exec = function (str) {\n      var result = _super.exec.call(this, str);\n\n      if (result) result.groups = buildGroups(result, this);\n      return result;\n    };\n\n    BabelRegExp.prototype[Symbol.replace] = function (str, substitution) {\n      if (typeof substitution === \"string\") {\n        var groups = _groups.get(this);\n\n        return _super[Symbol.replace].call(this, str, substitution.replace(/\\$<([^>]+)>/g, function (_, name) {\n          return \"$\" + groups[name];\n        }));\n      } else if (typeof substitution === \"function\") {\n        var _this = this;\n\n        return _super[Symbol.replace].call(this, str, function () {\n          var args = [];\n          args.push.apply(args, arguments);\n\n          if ((0, _typeof2.default)(args[args.length - 1]) !== \"object\") {\n            args.push(buildGroups(args, _this));\n          }\n\n          return substitution.apply(this, args);\n        });\n      } else {\n        return _super[Symbol.replace].call(this, str, substitution);\n      }\n    };\n\n    function buildGroups(result, re) {\n      var g = _groups.get(re);\n\n      return Object.keys(g).reduce(function (groups, name) {\n        groups[name] = result[g[name]];\n        return groups;\n      }, Object.create(null));\n    }\n\n    return _wrapRegExp.apply(this, arguments);\n  }\n});","define(\"@babel/runtime/helpers/esm/writeOnlyError\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _writeOnlyError;\n\n  function _writeOnlyError(name) {\n    throw new TypeError(\"\\\"\" + name + \"\\\" is write-only\");\n  }\n});","define(\"ember-cli-chart/components/ember-chart\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    tagName: \"canvas\",\n    attributeBindings: [\"width\", \"height\"],\n\n    init() {\n      this._super(...arguments);\n\n      this.plugins = this.plugins || [];\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n\n      let context = this.element;\n      let data = this.data;\n      let type = this.type;\n      let options = this.options;\n      let plugins = this.plugins;\n      let chart = new Chart(context, {\n        type: type,\n        data: data,\n        options: options,\n        plugins: plugins\n      });\n      this.set(\"chart\", chart);\n    },\n\n    willDestroyElement() {\n      this._super(...arguments);\n\n      this.chart.destroy();\n    },\n\n    didUpdateAttrs() {\n      this._super(...arguments);\n\n      this.updateChart();\n    },\n\n    updateChart() {\n      let chart = this.chart;\n      let data = this.data;\n      let options = this.options;\n      let animate = this.animate;\n\n      if (chart) {\n        chart.data = data;\n        chart.options = options;\n\n        if (animate) {\n          chart.update();\n        } else {\n          chart.update(0);\n        }\n\n        if (this.customLegendElement) {\n          this.customLegendElement.innerHTML = chart.generateLegend();\n        }\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define('ember-cli-image-cropper/components/image-cropper', ['exports', 'cropperjs'], function (exports, _cropperjs) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Component.extend({\n    //cropper configs\n    previewClass: '.cropper-preview',\n    cropperContainer: '.cropper-container > img',\n    aspectRatio: 16 / 9,\n    crop: null,\n    viewMode: 0,\n    dragMode: 'crop',\n    responsive: true,\n    center: true,\n    checkCrossOrigin: true,\n    background: true,\n    modal: true,\n    guides: true,\n    highlight: true,\n    autoCrop: true,\n    autoCropArea: 0.8,\n    dragDrop: true,\n    movable: true,\n    resizable: true,\n    zoomable: true,\n    zoomOnWheel: true,\n    zoomOnTouch: true,\n    cropBoxMovable: true,\n    cropBoxResizable: true,\n    toggleDragModeOnDblclick: true,\n    rotateable: true,\n    minContainerWidth: 200,\n    minContainerHeight: 100,\n    minCropBoxWidth: 0,\n    minCropBoxHeight: 0,\n    build: null,\n    built: null,\n    dragStart: null,\n    dragMove: null,\n    dragEnd: null,\n    zoomin: null,\n    zoomout: null,\n    ready: null,\n    data: null,\n    //initialize cropper on did insert element\n    didInsertElement() {\n      this._super(...arguments);\n      let properties = this.getProperties('cropperContainer', 'aspectRatio', 'crop', 'previewClass', 'viewMode', 'dragMode', 'responsive', 'center', 'checkCrossOrigin', 'toggleDragModeOnDblclick', 'background', 'modal', 'guides', 'highlight', 'autoCrop', 'autoCropArea', 'dragDrop', 'movable', 'resizable', 'zoomable', 'zoomOnWheel', 'zoomOnTouch', 'cropBoxMovable', 'cropBoxResizable', 'rotateable', 'minContainerWidth', 'minContainerHeight', 'minCropBoxWidth', 'minCropBoxHeight', 'build', 'built', 'dragStart', 'dragMove', 'dragEnd', 'zoomin', 'zoomout', 'ready', 'data');\n      properties['preview'] = properties['previewClass'];\n      delete properties['previewClass'];\n      let image = document.querySelector(properties['cropperContainer']);\n      this.set('cropper', new _cropperjs.default(image, properties));\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      let cropper = this.get('cropper');\n      if (cropper['data']) {\n        cropper.destroy();\n      }\n    }\n  });\n});","define(\"ember-cli-image-cropper/templates/components/image-cropper\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.HTMLBars.template({ \"id\": \"XzcIJTNW\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-cli-image-cropper/templates/components/image-cropper.hbs\" } });\n});","define(\"ember-cli-notifications/components/notification-container\", [\"exports\", \"ember-cli-notifications/templates/components/notification-container\"], function (_exports, _notificationContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _notificationContainer.default,\n    position: 'top',\n    notifications: Ember.inject.service(),\n    classNameBindings: ['computedPosition', ':ember-cli-notifications-notification__container'],\n    attributeBindings: ['computedStyle:style', 'position:data-test-notification-container'],\n    zindex: '1060',\n    computedPosition: Ember.computed('position', function () {\n      return `ember-cli-notifications-notification__container--${this.get('position')}`;\n    }),\n    computedStyle: Ember.computed('zindex', function () {\n      return Ember.String.htmlSafe(`z-index: ${this.get('zindex')};`);\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-notifications/components/notification-message\", [\"exports\", \"ember-cli-notifications/templates/components/notification-message\"], function (_exports, _notificationMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _notificationMessage.default,\n    tagName: '',\n    notifications: Ember.inject.service(),\n    paused: false,\n    dismissClass: Ember.computed('notification.dismiss', function () {\n      if (!this.get('notification.dismiss')) return 'c-notification--in';\n      return false;\n    }),\n    clickableClass: Ember.computed('notification.onClick', function () {\n      if (this.get('notification.onClick')) return 'c-notification--clickable';\n      return false;\n    }),\n    notificationSVGPath: Ember.computed('notification.type', function () {\n      switch (this.get('notification.type')) {\n        case \"error\":\n        case \"info\":\n          return 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z';\n\n        case \"success\":\n          return 'M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z';\n\n        case \"warning\":\n          return 'M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z';\n      }\n\n      return '';\n    }),\n    processedType: Ember.computed('notification.type', function () {\n      if (this.get('notification.type') && ['info', 'success', 'warning', 'error'].indexOf(this.get('notification.type')) !== -1) {\n        return `c-notification--${this.get('notification.type')}`;\n      }\n\n      return '';\n    }),\n    // Apply the clear animation duration rule inline\n    notificationClearDuration: Ember.computed('paused', 'notification.clearDuration', function () {\n      const duration = Ember.Handlebars.Utils.escapeExpression(this.get('notification.clearDuration'));\n      const playState = this.get('paused') ? 'paused' : 'running';\n      return Ember.String.htmlSafe(`animation-duration: ${duration}ms; -webkit-animation-duration: ${duration}ms; animation-play-state: ${playState}; -webkit-animation-play-state: ${playState}`);\n    }),\n    actions: {\n      handleOnClick() {\n        if (this.get('notification.onClick')) {\n          this.get('notification.onClick')(this.get('notification'));\n        }\n      },\n\n      removeNotification() {\n        this.get('notifications').removeNotification(this.get('notification'));\n      },\n\n      handleMouseEnter() {\n        if (this.get('notification.autoClear')) {\n          this.set('paused', true);\n          this.notifications.pauseAutoClear(this.get('notification'));\n        }\n      },\n\n      handleMouseLeave() {\n        if (this.get('notification.autoClear')) {\n          this.set('paused', false);\n          this.notifications.setupAutoClear(this.get('notification'));\n        }\n      }\n\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-notifications/helpers/equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.equal = equal;\n  _exports.default = void 0;\n\n  function equal(params) {\n    return params[0] === params[1];\n  }\n\n  var _default = Ember.Helper.helper(equal);\n\n  _exports.default = _default;\n});","define(\"ember-cli-notifications/services/notifications\", [\"exports\", \"ember-get-config\"], function (_exports, _emberGetConfig) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const notificationAssign = Ember.assign || Ember.merge;\n  const globals = _emberGetConfig.default['ember-cli-notifications'] || {}; // Import app config object\n\n  var _default = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n\n      this.set('content', Ember.A());\n    },\n\n    // Method for adding a notification\n    addNotification(options) {\n      // If no message is set, throw an error\n      if (!options.message) {\n        throw new Error(\"No notification message set\");\n      }\n\n      const notification = Ember.Object.create({\n        message: options.message,\n        type: options.type || 'info',\n        autoClear: options.autoClear ?? globals.autoClear ?? false,\n        clearDuration: options.clearDuration ?? globals.clearDuration ?? 3200,\n        onClick: options.onClick,\n        htmlContent: options.htmlContent || false,\n        cssClasses: options.cssClasses\n      });\n      this.content.pushObject(notification);\n\n      if (notification.autoClear) {\n        notification.set('remaining', notification.get('clearDuration'));\n        this.setupAutoClear(notification);\n      }\n\n      return notification;\n    },\n\n    // Helper methods for each type of notification\n    error(message, options) {\n      return this.addNotification(notificationAssign({\n        message: message,\n        type: 'error'\n      }, options));\n    },\n\n    success(message, options) {\n      return this.addNotification(notificationAssign({\n        message: message,\n        type: 'success'\n      }, options));\n    },\n\n    info(message, options) {\n      return this.addNotification(notificationAssign({\n        message: message,\n        type: 'info'\n      }, options));\n    },\n\n    warning(message, options) {\n      return this.addNotification(notificationAssign({\n        message: message,\n        type: 'warning'\n      }, options));\n    },\n\n    removeNotification(notification) {\n      if (!notification) {\n        return;\n      }\n\n      notification.set('dismiss', true); // Delay removal from DOM for dismissal animation\n\n      Ember.run.later(this, () => {\n        this.content.removeObject(notification);\n      }, 500);\n    },\n\n    setupAutoClear(notification) {\n      notification.set('startTime', Date.now());\n      const timer = Ember.run.later(this, () => {\n        // Hasn't been closed manually\n        if (this.content.indexOf(notification) >= 0) {\n          this.removeNotification(notification);\n        }\n      }, notification.get('remaining'));\n      notification.set('timer', timer);\n    },\n\n    pauseAutoClear(notification) {\n      Ember.run.cancel(notification.get('timer'));\n      const elapsed = Date.now() - notification.get('startTime');\n      const remaining = notification.get('clearDuration') - elapsed;\n      notification.set('remaining', remaining);\n    },\n\n    clearAll() {\n      this.get('content').forEach(notification => {\n        this.removeNotification(notification);\n      });\n      return this;\n    },\n\n    setDefaultAutoClear(autoClear) {\n      Ember.set(globals, 'autoClear', autoClear);\n    },\n\n    setDefaultClearDuration(clearDuration) {\n      Ember.set(globals, 'clearDuration', clearDuration);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-notifications/templates/components/notification-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Y2jEQeUb\",\n    \"block\": \"{\\\"symbols\\\":[\\\"notification\\\"],\\\"statements\\\":[[4,\\\"each\\\",[[23,0,[\\\"notifications\\\",\\\"content\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[1,[28,\\\"notification-message\\\",null,[[\\\"notification\\\"],[[23,1,[]]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-cli-notifications/templates/components/notification-container.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cli-notifications/templates/components/notification-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"YHCz+xgt\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"c-notification \\\",[23,0,[\\\"dismissClass\\\"]],\\\" \\\",[23,0,[\\\"clickableClass\\\"]],\\\" \\\",[23,0,[\\\"processedType\\\"]],\\\" \\\",[23,0,[\\\"notification\\\",\\\"cssClasses\\\"]]]]],[12,\\\"data-test-notification-message\\\",[24,[\\\"notification\\\",\\\"type\\\"]]],[3,\\\"on\\\",[\\\"mouseenter\\\",[28,\\\"action\\\",[[23,0,[]],\\\"handleMouseEnter\\\"],null]]],[3,\\\"on\\\",[\\\"mouseleave\\\",[28,\\\"action\\\",[[23,0,[]],\\\"handleMouseLeave\\\"],null]]],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-notification__icon\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"notificationSVGPath\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"svg\\\",true],[10,\\\"class\\\",\\\"c-notification__svg\\\"],[10,\\\"fill\\\",\\\"#FFFFFF\\\"],[10,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[10,\\\"height\\\",\\\"48\\\"],[10,\\\"width\\\",\\\"48\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"path\\\",true],[11,\\\"d\\\",[23,0,[\\\"notificationSVGPath\\\"]]],[8],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"c-notification__content\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"handleOnClick\\\"]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"notification\\\",\\\"htmlContent\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[1,[24,[\\\"notification\\\",\\\"message\\\"]],true],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"      \\\"],[1,[24,[\\\"notification\\\",\\\"message\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"c-notification__close\\\"],[12,\\\"title\\\",\\\"Dismiss this notification\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"removeNotification\\\"],[[\\\"bubbles\\\"],[false]]],[8],[0,\\\"\\\\n      \\\"],[7,\\\"svg\\\",true],[10,\\\"class\\\",\\\"c-notification__svg\\\"],[10,\\\"name\\\",\\\"close\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[10,\\\"viewBox\\\",\\\"0 0 26 26\\\"],[10,\\\"width\\\",\\\"1024\\\"],[10,\\\"height\\\",\\\"1024\\\"],[10,\\\"fill\\\",\\\"#FFF\\\"],[8],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M21.734 19.64l-2.097 2.094a.983.983 0 0 1-1.395 0L13 16.496l-5.238 5.238a.988.988 0 0 1-1.399 0l-2.097-2.093a.988.988 0 0 1 0-1.399L9.504 13 4.266 7.762a.995.995 0 0 1 0-1.399l2.097-2.097a.988.988 0 0 1 1.399 0L13 9.508l5.242-5.242a.983.983 0 0 1 1.395 0l2.097 2.093a.996.996 0 0 1 .004 1.403L16.496 13l5.238 5.242a.988.988 0 0 1 0 1.399z\\\"],[8],[9],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"notification\\\",\\\"autoClear\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-notification__countdown\\\"],[11,\\\"style\\\",[23,0,[\\\"notificationClearDuration\\\"]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-cli-notifications/templates/components/notification-message.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-component-css/initializers/component-styles\", [\"exports\", \"ember-component-css/pod-names\"], function (_exports, _podNames) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  const {\n    ComponentLookup\n  } = Ember;\n  ComponentLookup.reopen({\n    componentFor(name, owner) {\n      owner = owner.hasRegistration ? owner : Ember.getOwner(this);\n\n      if (_podNames.default[name] && !owner.hasRegistration(`component:${name}`)) {\n        owner.register(`component:${name}`, Ember.Component);\n      }\n\n      return this._super(...arguments);\n    }\n\n  });\n  Ember.Component.reopen({\n    _componentIdentifier: Ember.computed({\n      get() {\n        return (this._debugContainerKey || '').replace('component:', '');\n      }\n\n    }),\n    _shouldAddNamespacedClassName: Ember.computed({\n      get() {\n        return this.get('tagName') !== '' && this.get('styleNamespace');\n      }\n\n    }),\n    styleNamespace: Ember.computed({\n      get() {\n        return _podNames.default[this.get('_componentIdentifier')] || '';\n      }\n\n    }),\n    // componentCssClassName: deprecatingAlias('styleNamespace', {\n    //   id: 'ember-component-css.deprecate-componentCssClassName',\n    //   until: '0.7.0',\n    // }),\n    componentCssClassName: Ember.computed.alias('styleNamespace'),\n\n    init() {\n      this._super(...arguments);\n\n      if (this.get('_shouldAddNamespacedClassName')) {\n        this.classNames = this.classNames.concat(this.get('styleNamespace'));\n      }\n    }\n\n  });\n\n  function initialize() {}\n\n  var _default = {\n    initialize\n  };\n  _exports.default = _default;\n});","define(\"ember-component-css/instance-initializers/route-styles\", [\"exports\", \"ember-component-css/utils/init-route-styles\"], function (_exports, _initRouteStyles) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n\n  // This file is removed from the build in Ember < 3.6\n  function initialize(appInstance) {\n    let router = appInstance.lookup('service:router');\n    router.on('routeDidChange', function (_ref) {\n      let {\n        to\n      } = _ref;\n\n      if (likeRouteInfo(to)) {\n        (0, _initRouteStyles.default)(appInstance, nestedRouteNames(to));\n      }\n    });\n    router.on('routeWillChange', function (_ref2) {\n      let {\n        to,\n        isActive\n      } = _ref2;\n\n      if (likeRouteInfo(to)) {\n        if (/_loading$/.test(to.name) && isActive) {\n          const routeNames = nestedRouteNames(to) // loading route names are set with an _loading even though\n          // their path is -loading\n          .map(name => name.replace(/_loading$/, '-loading'));\n          (0, _initRouteStyles.default)(appInstance, routeNames);\n        }\n      }\n    });\n  }\n\n  function nestedRouteNames(_ref3) {\n    let {\n      name,\n      parent\n    } = _ref3;\n    let routeNames = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n    routeNames.push(name);\n\n    if (parent) {\n      return nestedRouteNames(parent, routeNames);\n    }\n\n    return routeNames;\n  }\n\n  function likeRouteInfo(info) {\n    return info && typeof info === 'object' && info.hasOwnProperty('name');\n  }\n\n  var _default = {\n    initialize\n  };\n  _exports.default = _default;\n});","define(\"ember-component-css/mixins/style-namespacing-extras\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Mixin.create({});\n\n  _exports.default = _default;\n});","define(\"ember-component-css/pod-names\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    \"active-users\": \"__active-users__50f05\",\n    \"app-agenda-appointment-owner\": \"__app-agenda-appointment-owner__18af5\",\n    \"app-agenda-appointment\": \"__app-agenda-appointment__70f2b\",\n    \"app-agenda-item\": \"__app-agenda-item__03563\",\n    \"app-agenda\": \"__app-agenda__b4f97\",\n    \"app-appointments\": \"__app-appointments__6c60e\",\n    \"app-avatar-module\": \"__app-avatar-module__72034\",\n    \"app-avatar-photo\": \"__app-avatar-photo__7959c\",\n    \"app-chat-pm-messages\": \"__app-chat-pm-messages__c9570\",\n    \"app-chat-pm\": \"__app-chat-pm__7d800\",\n    \"app-chat-private\": \"__app-chat-private__5c3dc\",\n    \"app-chat-profiles\": \"__app-chat-profiles__707bf\",\n    \"app-chat\": \"__app-chat__e6e2e\",\n    \"app-dashboard-item\": \"__app-dashboard-item__dab84\",\n    \"app-dashboard\": \"__app-dashboard__41399\",\n    \"app-desktop-dashboard-item\": \"__app-desktop-dashboard-item__f162b\",\n    \"app-frage\": \"__app-frage__04fa0\",\n    \"app-fragebogen\": \"__app-fragebogen__f59dd\",\n    \"app-gallery-post\": \"__app-gallery-post__3944c\",\n    \"app-gallery\": \"__app-gallery__64ec1\",\n    \"app-map-beacondetail\": \"__app-map-beacondetail__7610c\",\n    \"app-map\": \"__app-map__0802f\",\n    \"app-navbar\": \"__app-navbar__895d9\",\n    \"app-programm-item\": \"__app-programm-item__a83da\",\n    \"app-programm-module\": \"__app-programm-module__a55fc\",\n    \"app-register\": \"__app-register__e200d\",\n    \"app-tabs\": \"__app-tabs__a363c\",\n    \"app-umfrage-vote\": \"__app-umfrage-vote__a7821\",\n    \"app-umfrage\": \"__app-umfrage__9e6d1\",\n    \"hls-stream\": \"__hls-stream__3b82b\",\n    \"image-modal\": \"__image-modal__150a0\",\n    \"infinity-loader\": \"__infinity-loader__6005c\",\n    \"module-layouts\": \"__module-layouts__60508\",\n    \"module-nav\": \"__module-nav__57663\",\n    \"module-wrapper\": \"__module-wrapper__e9ace\",\n    \"pwa-message\": \"__pwa-message__084c1\",\n    \"splashscreen\": \"__splashscreen__1a132\",\n    \"stream\": \"__stream__a2e7b\",\n    \"twitter-filter\": \"__twitter-filter__ccde9\",\n    \"twitter-post-create\": \"__twitter-post-create__470c8\",\n    \"twitter-post\": \"__twitter-post__68abe\",\n    \"twitter-wall\": \"__twitter-wall__0d6e7\",\n    \"unity-nav\": \"__unity-nav__771e0\",\n    \"user-card\": \"__user-card__0d595\",\n    \"vote-list-module\": \"__vote-list-module__ad062\",\n    \"x-button\": \"__x-button__cabf0\"\n  };\n  _exports.default = _default;\n});","define(\"ember-component-css/utils/init-route-styles\", [\"exports\", \"ember-component-css/pod-names\"], function (_exports, _podNames) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initRouteStyles;\n\n  function initRouteStyles(owner, routeNames) {\n    const classes = [];\n\n    for (let i = 0; i < routeNames.length; i++) {\n      const routeName = routeNames[i];\n\n      const styleNamespace = _podNames.default[routeName.replace(/\\./g, '/')];\n\n      if (styleNamespace) {\n        classes.push(styleNamespace);\n        const controller = owner.lookup(`controller:${routeName}`);\n\n        if (controller) {\n          controller.set('styleNamespace', styleNamespace);\n        }\n      }\n    }\n\n    let controller = owner.lookup('controller:application');\n\n    if (controller) {\n      controller.set('routeStyleNamespaceClassSet', classes.join(' '));\n    }\n  }\n});","define(\"ember-composable-helpers/-private/closure-action\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    __loader\n  } = Ember;\n  let ClosureActionModule = {\n    ACTION: null\n  };\n\n  if ('ember-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-routing-htmlbars/keywords/closure-action');\n  }\n\n  var _default = ClosureActionModule.ACTION;\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getValueArrayAndUseDeepEqualFromParams;\n\n  function getValueArrayAndUseDeepEqualFromParams(params) {\n    let currentValue = params[0];\n    let array;\n    let useDeepEqual = false;\n\n    if (params.length === 2) {\n      array = params[1];\n    } else {\n      useDeepEqual = params[1];\n      array = params[2];\n    }\n\n    return {\n      currentValue,\n      array,\n      useDeepEqual\n    };\n  }\n});","define(\"ember-composable-helpers/helpers/append\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.append = append;\n  _exports.default = void 0;\n\n  function append([...arrays]) {\n    return [].concat(...arrays);\n  }\n\n  var _default = Ember.Helper.helper(append);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/call\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.call = call;\n  _exports.default = void 0;\n\n  /**\n   * Calls a function passed within a template and returns its value.\n   * In order to pass arguments to the function being called, you must\n   * curry the function using the `fn` helper.\n   *\n   ```example\n      <div data-metrics={{call (fn this.myMetrics (hash item=@item))}}\n    ```\n   *\n   * @function apply\n   * @param {Array<Function>} fn - The function to be called\n   * @param {*=} thisArg - An optional `this` context\n   */\n  function call([fn, thisArg]) {\n    if (fn) {\n      if (thisArg) {\n        return fn.apply(thisArg);\n      } else {\n        return fn();\n      }\n    }\n  }\n\n  var _default = Ember.Helper.helper(call);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/chunk\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.chunk = chunk;\n  _exports.default = void 0;\n  const {\n    max,\n    ceil\n  } = Math;\n\n  function chunk(num, array) {\n    let integer = parseInt(num, 10);\n    let size = max(integer, 0);\n    let length = 0;\n\n    if (Ember.isArray(array)) {\n      length = array.length;\n    }\n\n    array = (0, _asArray.default)(array);\n\n    if (!length || size < 1) {\n      return [];\n    } else {\n      let index = 0;\n      let resultIndex = -1;\n      let result = new Array(ceil(length / size));\n\n      while (index < length) {\n        result[++resultIndex] = array.slice(index, index += size);\n      }\n\n      return result;\n    }\n  }\n\n  var _default = Ember.Helper.helper(function ([num, array]) {\n    return chunk(num, array);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/compact\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compact = compact;\n  _exports.default = void 0;\n\n  function compact([value]) {\n    let array;\n\n    if (Array.isArray(value) || Ember.isArray(value)) {\n      array = value;\n    } else {\n      array = [value];\n    }\n\n    return array.filter(item => Ember.isPresent(item));\n  }\n\n  var _default = Ember.Helper.helper(compact);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/compute\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compute = compute;\n  _exports.default = void 0;\n\n  function compute([action, ...params]) {\n    return action(...params);\n  }\n\n  var _default = Ember.Helper.helper(compute);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/contains\", [\"exports\", \"ember-composable-helpers/helpers/includes\"], function (_exports, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contains = contains;\n  _exports.default = void 0;\n\n  function contains(needleOrNeedles, haystack) {\n    (true && !(false) && Ember.deprecate('{{contains}} helper provided by ember-composable-helpers has been renamed to {{includes}}.', false, {\n      id: 'ember-composable-helpers.contains-helper',\n      until: '5.0.0'\n    }));\n    return (0, _includes.includes)(needleOrNeedles, haystack);\n  }\n\n  var _default = Ember.Helper.helper(function ([needle, haystack]) {\n    return contains(needle, haystack);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/dec\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dec = dec;\n  _exports.default = void 0;\n\n  function dec([step, val]) {\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n\n    val = Number(val);\n\n    if (isNaN(val)) {\n      return;\n    }\n\n    if (step === undefined) {\n      step = 1;\n    }\n\n    return val - step;\n  }\n\n  var _default = Ember.Helper.helper(dec);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/drop\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.drop = drop;\n  _exports.default = void 0;\n\n  function drop([dropAmount, array]) {\n    return (0, _asArray.default)(array).slice(dropAmount);\n  }\n\n  var _default = Ember.Helper.helper(drop);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/entries\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.entries = entries;\n  _exports.default = void 0;\n\n  function entries([object]) {\n    if (!object) {\n      return object;\n    }\n\n    return Object.entries(object);\n  }\n\n  var _default = Ember.Helper.helper(entries);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/filter-by\", [\"exports\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _isEqual, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.filterBy = filterBy;\n  _exports.default = void 0;\n\n  function filterBy([byPath, value, array]) {\n    if (!Ember.isArray(array) && Ember.isArray(value)) {\n      array = value;\n      value = undefined;\n    }\n\n    array = (0, _asArray.default)(array);\n\n    if (Ember.isEmpty(byPath) || Ember.isEmpty(array)) {\n      return [];\n    }\n\n    let filterFn;\n\n    if (Ember.isPresent(value)) {\n      if (typeof value === 'function') {\n        filterFn = item => value(Ember.get(item, byPath));\n      } else {\n        filterFn = item => (0, _isEqual.default)(Ember.get(item, byPath), value);\n      }\n    } else {\n      filterFn = item => !!Ember.get(item, byPath);\n    }\n\n    return array.filter(filterFn);\n  }\n\n  var _default = Ember.Helper.helper(filterBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/filter\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.filter = filter;\n  _exports.default = void 0;\n\n  function filter([callback, array]) {\n    if (Ember.isEmpty(callback) || !array) {\n      return [];\n    }\n\n    return (0, _asArray.default)(array).filter(callback);\n  }\n\n  var _default = Ember.Helper.helper(filter);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/find-by\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.findBy = findBy;\n  _exports.default = void 0;\n\n  function findBy([byPath, value, array]) {\n    if (Ember.isEmpty(byPath)) {\n      return [];\n    }\n\n    return Ember.A((0, _asArray.default)(array)).findBy(byPath, value);\n  }\n\n  var _default = Ember.Helper.helper(findBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/flatten\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.flatten = flatten;\n  _exports.default = void 0;\n\n  function flatten(array) {\n    if (!Ember.isArray(array)) {\n      return array;\n    }\n\n    return (0, _asArray.default)(array).reduce((flattened, el) => {\n      return flattened.concat(flatten(el));\n    }, []);\n  }\n\n  var _default = Ember.Helper.helper(function ([array]) {\n    return flatten(array);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/from-entries\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.fromEntries = fromEntries;\n  _exports.default = void 0;\n\n  function fromEntries([entries]) {\n    if (!entries) {\n      return entries;\n    }\n\n    return Object.fromEntries(entries);\n  }\n\n  var _default = Ember.Helper.helper(fromEntries);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/group-by\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.groupBy = groupBy;\n  _exports.default = void 0;\n\n  function groupBy([byPath, array]) {\n    let groups = {};\n    (0, _asArray.default)(array).forEach(item => {\n      let groupName = Ember.get(item, byPath);\n      let group = groups[groupName];\n\n      if (!Array.isArray(group)) {\n        group = [];\n        groups[groupName] = group;\n      }\n\n      group.push(item);\n    });\n    return groups;\n  }\n\n  var _default = Ember.Helper.helper(groupBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/next\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _next, _isEqual, _getValueArrayAndUseDeepEqualFromParams, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasNext = hasNext;\n  _exports.default = void 0;\n\n  function hasNext(currentValue, maybeArray, useDeepEqual = false) {\n    let array = (0, _asArray.default)(maybeArray);\n    let nextValue = (0, _next.next)(currentValue, array, useDeepEqual);\n    let isNotSameValue = !(0, _isEqual.default)(nextValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(nextValue);\n  }\n\n  var _default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return hasNext(currentValue, array, useDeepEqual);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _previous, _isEqual, _getValueArrayAndUseDeepEqualFromParams, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hasPrevious = hasPrevious;\n  _exports.default = void 0;\n\n  function hasPrevious(currentValue, maybeArray, useDeepEqual = false) {\n    let array = (0, _asArray.default)(maybeArray);\n    let previousValue = (0, _previous.previous)(currentValue, array, useDeepEqual);\n    let isNotSameValue = !(0, _isEqual.default)(previousValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(previousValue);\n  }\n\n  var _default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return hasPrevious(currentValue, array, useDeepEqual);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/inc\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.inc = inc;\n  _exports.default = void 0;\n\n  function inc([step, val]) {\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n\n    val = Number(val);\n\n    if (isNaN(val)) {\n      return;\n    }\n\n    if (step === undefined) {\n      step = 1;\n    }\n\n    return val + step;\n  }\n\n  var _default = Ember.Helper.helper(inc);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/includes\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.includes = includes;\n  _exports.default = void 0;\n\n  function includes(needleOrNeedles, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n\n    let needles = Ember.isArray(needleOrNeedles) ? needleOrNeedles : [needleOrNeedles];\n    let haystackAsEmberArray = Ember.A((0, _asArray.default)(haystack));\n    return (0, _asArray.default)(needles).every(needle => {\n      return haystackAsEmberArray.includes(needle);\n    });\n  }\n\n  var _default = Ember.Helper.helper(function ([needle, haystack]) {\n    return includes(needle, haystack);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/intersect\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.intersect = intersect;\n  _exports.default = void 0;\n\n  function intersect([...arrays]) {\n    let confirmedArrays = (0, _asArray.default)(arrays).map(array => {\n      return Ember.isArray(array) ? array : [];\n    }); // copied from https://github.com/emberjs/ember.js/blob/315ec6472ff542ac714432036cc96fe4bd62bd1f/packages/%40ember/object/lib/computed/reduce_computed_macros.js#L1063-L1100\n\n    let results = confirmedArrays.pop().filter(candidate => {\n      for (let i = 0; i < confirmedArrays.length; i++) {\n        let found = false;\n        let array = confirmedArrays[i];\n\n        for (let j = 0; j < array.length; j++) {\n          if (array[j] === candidate) {\n            found = true;\n            break;\n          }\n        }\n\n        if (found === false) {\n          return false;\n        }\n      }\n\n      return true;\n    });\n    return results;\n  }\n\n  var _default = Ember.Helper.helper(intersect);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/invoke\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invoke = invoke;\n  _exports.default = void 0;\n  const {\n    all\n  } = Ember.RSVP;\n\n  function invoke([methodName, ...args]) {\n    let obj = args.pop();\n\n    if (Ember.isArray(obj)) {\n      return function () {\n        let promises = obj.map(item => Ember.tryInvoke(item, methodName, args));\n        return all(promises);\n      };\n    }\n\n    return function () {\n      return Ember.tryInvoke(obj, methodName, args);\n    };\n  }\n\n  var _default = Ember.Helper.helper(invoke);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/join\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.join = join;\n  _exports.default = void 0;\n\n  function join([separator, rawArray]) {\n    let array = (0, _asArray.default)(rawArray);\n\n    if (Ember.isArray(separator)) {\n      array = separator;\n      separator = ',';\n    }\n\n    return array.join(separator);\n  }\n\n  var _default = Ember.Helper.helper(join);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/keys\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.keys = keys;\n  _exports.default = void 0;\n\n  function keys([object]) {\n    if (!object) {\n      return object;\n    }\n\n    return Object.keys(object);\n  }\n\n  var _default = Ember.Helper.helper(keys);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/map-by\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.mapBy = mapBy;\n  _exports.default = void 0;\n\n  function mapBy([byPath, array]) {\n    if (Ember.isEmpty(byPath)) {\n      return [];\n    }\n\n    return (0, _asArray.default)(array).map(item => Ember.get(item, byPath));\n  }\n\n  var _default = Ember.Helper.helper(mapBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/map\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.map = map;\n  _exports.default = void 0;\n\n  function map([callback, array]) {\n    if (Ember.isEmpty(callback)) {\n      return [];\n    }\n\n    return (0, _asArray.default)(array).map(callback);\n  }\n\n  var _default = Ember.Helper.helper(map);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/next\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _getIndex, _getValueArrayAndUseDeepEqualFromParams, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.next = next;\n  _exports.default = void 0;\n\n  function next(currentValue, maybeArray, useDeepEqual = false) {\n    let array = (0, _asArray.default)(maybeArray);\n    let currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n    let lastIndex = array.length - 1;\n\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n\n    return currentIndex === lastIndex ? currentValue : Ember.A(array).objectAt(currentIndex + 1);\n  }\n\n  var _default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return next(currentValue, array, useDeepEqual);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/noop\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.noop = noop;\n  _exports.default = void 0;\n\n  function noop() {\n    return () => {};\n  }\n\n  var _default = Ember.Helper.helper(noop);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/object-at\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.objectAt = objectAt;\n  _exports.default = void 0;\n\n  function objectAt(index, array) {\n    if (!Ember.isArray(array)) {\n      return undefined;\n    }\n\n    index = parseInt(index, 10);\n    return Ember.A(array).objectAt(index);\n  }\n\n  var _default = Ember.Helper.helper(function ([index, array]) {\n    return objectAt(index, array);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/optional\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.optional = optional;\n  _exports.default = void 0;\n\n  function optional([action]) {\n    if (typeof action === 'function') {\n      return action;\n    }\n\n    return i => i;\n  }\n\n  var _default = Ember.Helper.helper(optional);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/pick\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pick = pick;\n  _exports.default = void 0;\n\n  function pick([path, action]\n  /*, hash*/\n  ) {\n    return function (event) {\n      let value = Ember.get(event, path);\n\n      if (!action) {\n        return value;\n      }\n\n      action(value);\n    };\n  }\n\n  var _default = Ember.Helper.helper(pick);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _pipe, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const closurePipe = _pipe.pipe;\n\n  if (_closureAction.default) {\n    closurePipe[_closureAction.default] = true;\n  }\n\n  var _default = Ember.Helper.helper(closurePipe);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/pipe\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invokeFunction = invokeFunction;\n  _exports.pipe = pipe;\n  _exports.default = void 0;\n\n  function invokeFunction(acc, curr) {\n    if ((0, _isPromise.default)(acc)) {\n      return acc.then(curr);\n    }\n\n    return curr(acc);\n  }\n\n  function pipe(actions = []) {\n    return function (...args) {\n      return actions.reduce((acc, curr, idx) => {\n        if (idx === 0) {\n          return curr(...args);\n        }\n\n        return invokeFunction(acc, curr);\n      }, undefined);\n    };\n  }\n\n  var _default = Ember.Helper.helper(pipe);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/previous\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\"], function (_exports, _getIndex, _getValueArrayAndUseDeepEqualFromParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.previous = previous;\n  _exports.default = void 0;\n\n  function previous(currentValue, array, useDeepEqual = false) {\n    let currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n\n    return currentIndex === 0 ? currentValue : Ember.A(array).objectAt(currentIndex - 1);\n  }\n\n  var _default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return previous(currentValue, array, useDeepEqual);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/queue\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.queue = queue;\n  _exports.default = void 0;\n\n  function queue(actions = []) {\n    return function (...args) {\n      let invokeWithArgs = function (acc, curr) {\n        if ((0, _isPromise.default)(acc)) {\n          return acc.then(() => curr(...args));\n        }\n\n        return curr(...args);\n      };\n\n      return actions.reduce((acc, curr, idx) => {\n        if (idx === 0) {\n          return curr(...args);\n        }\n\n        return invokeWithArgs(acc, curr);\n      }, undefined);\n    };\n  }\n\n  var _default = Ember.Helper.helper(queue);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/range\", [\"exports\", \"ember-composable-helpers/utils/comparison\"], function (_exports, _comparison) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.range = range;\n  _exports.default = void 0;\n\n  function range([min, max, isInclusive]) {\n    isInclusive = Ember.typeOf(isInclusive) === 'boolean' ? isInclusive : false;\n    let numbers = [];\n\n    if (min < max) {\n      let testFn = isInclusive ? _comparison.lte : _comparison.lt;\n\n      for (let i = min; testFn(i, max); i++) {\n        numbers.push(i);\n      }\n    }\n\n    if (min > max) {\n      let testFn = isInclusive ? _comparison.gte : _comparison.gt;\n\n      for (let i = min; testFn(i, max); i--) {\n        numbers.push(i);\n      }\n    }\n\n    if (min === max && isInclusive) {\n      numbers.push(max);\n    }\n\n    return numbers;\n  }\n\n  var _default = Ember.Helper.helper(range);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reduce\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.reduce = reduce;\n  _exports.default = void 0;\n\n  function reduce([callback, initialValue, array]) {\n    if (Ember.isEmpty(callback)) {\n      return [];\n    }\n\n    return (0, _asArray.default)(array).reduce(callback, initialValue);\n  }\n\n  var _default = Ember.Helper.helper(reduce);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reject-by\", [\"exports\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _isEqual, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.rejectBy = rejectBy;\n  _exports.default = void 0;\n\n  function rejectBy([byPath, value, array]) {\n    if (!Ember.isArray(array) && Ember.isArray(value)) {\n      array = value;\n      value = undefined;\n    }\n\n    array = (0, _asArray.default)(array);\n    let filterFn;\n\n    if (Ember.isPresent(value)) {\n      if (typeof value === 'function') {\n        filterFn = item => !value(Ember.get(item, byPath));\n      } else {\n        filterFn = item => !(0, _isEqual.default)(Ember.get(item, byPath), value);\n      }\n    } else {\n      filterFn = item => !Ember.get(item, byPath);\n    }\n\n    return array.filter(filterFn);\n  }\n\n  var _default = Ember.Helper.helper(rejectBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/repeat\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.repeat = repeat;\n  _exports.default = void 0;\n\n  function repeat([length, value]) {\n    if (Ember.typeOf(length) !== 'number') {\n      return [value];\n    }\n\n    return Array.apply(null, {\n      length\n    }).map(() => value); // eslint-disable-line\n  }\n\n  var _default = Ember.Helper.helper(repeat);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/reverse\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.reverse = reverse;\n  _exports.default = void 0;\n\n  function reverse([array]) {\n    if (!Ember.isArray(array)) {\n      return [array];\n    }\n\n    return Ember.A(array).slice(0).reverse();\n  }\n\n  var _default = Ember.Helper.helper(reverse);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/shuffle\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.shuffle = shuffle;\n  _exports.default = void 0;\n\n  function shuffle(array, randomizer) {\n    array = array.slice(0);\n    let count = array.length;\n    let rand, temp;\n    randomizer = Ember.typeOf(randomizer) === 'function' && randomizer || Math.random;\n\n    while (count > 1) {\n      rand = Math.floor(randomizer() * count--);\n      temp = array[count];\n      array[count] = array[rand];\n      array[rand] = temp;\n    }\n\n    return array;\n  }\n\n  var _default = Ember.Helper.helper(function ([randomizer, array]) {\n    if (array === undefined) {\n      array = randomizer;\n      randomizer = undefined;\n    }\n\n    if (!Ember.isArray(array)) {\n      return [array];\n    }\n\n    return shuffle(array, randomizer);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/slice\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.slice = slice;\n  _exports.default = void 0;\n\n  function slice([...args]) {\n    let array = args.pop();\n    array = (0, _asArray.default)(array);\n    return array.slice(...args);\n  }\n\n  var _default = Ember.Helper.helper(slice);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/sort-by\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sortBy = sortBy;\n  _exports.default = void 0;\n\n  function normalizeToBoolean(val) {\n    if (typeof val === 'boolean') {\n      return val;\n    }\n\n    if (typeof val === 'number') {\n      if (val > 0) {\n        return false;\n      } else if (val < 0) {\n        return true;\n      }\n    }\n\n    return val;\n  }\n\n  function safeValueForKey(ctx, key) {\n    if (ctx === null || ctx === undefined) {\n      return ctx;\n    }\n\n    return Ember.get(ctx, key);\n  }\n\n  function sortDesc(key, a, b) {\n    if (Ember.isEmpty(key)) {\n      return 0;\n    }\n\n    const aValue = safeValueForKey(a, key);\n    const bValue = safeValueForKey(b, key);\n    const isANullable = typeof aValue == 'undefined' || aValue === null;\n    const isBNullable = typeof bValue == 'undefined' || bValue === null;\n\n    if (isANullable && isBNullable) {\n      //both values are nullable\n      return 0;\n    }\n\n    if (isBNullable) {\n      // keep bValue last\n      return -1;\n    }\n\n    if (isANullable) {\n      // put aValue last\n      return 1;\n    }\n\n    if (aValue.toLowerCase && bValue.toLowerCase) {\n      return bValue.localeCompare(aValue, undefined, {\n        sensitivity: 'base'\n      });\n    }\n\n    if (aValue < bValue) {\n      return 1;\n    } else if (aValue > bValue) {\n      return -1;\n    }\n\n    return 0;\n  }\n\n  function sortAsc(key, a, b) {\n    if (Ember.isEmpty(key)) {\n      return 0;\n    }\n\n    const aValue = safeValueForKey(a, key);\n    const bValue = safeValueForKey(b, key);\n    const isANullable = typeof aValue == 'undefined' || aValue === null;\n    const isBNullable = typeof bValue == 'undefined' || bValue === null;\n\n    if (isANullable && isBNullable) {\n      //both values are nullable\n      return 0;\n    }\n\n    if (isBNullable) {\n      // keep bValue last\n      return -1;\n    }\n\n    if (isANullable) {\n      // put aValue last\n      return 1;\n    }\n\n    if (aValue.toLowerCase && bValue.toLowerCase) {\n      return aValue.localeCompare(bValue, undefined, {\n        sensitivity: 'base'\n      });\n    }\n\n    if (aValue < bValue) {\n      return -1;\n    } else if (aValue > bValue) {\n      return 1;\n    }\n\n    return 0;\n  }\n\n  class SortBy {\n    constructor(...args) {\n      let [array] = args;\n\n      if (typeof array.toArray === \"function\") {\n        array = array.toArray();\n      }\n\n      this.array = [...array];\n    }\n\n    comparator(key) {\n      return typeof key === 'function' ? key : this.defaultSort(key);\n    }\n\n    defaultSort(sortKey) {\n      let func = sortAsc;\n\n      if (sortKey.match(':desc')) {\n        func = sortDesc;\n      }\n\n      return (a, b) => func(sortKey.replace(/:desc|:asc/, ''), a, b);\n    }\n\n  }\n  /**\n   * best O(n); worst O(n^2)\n   * If we feel like swapping with something more performant like QuickSort or MergeSort\n   * then it should be easy\n   *\n   * @class BubbleSort\n   * @extends SortBy\n   */\n\n\n  class BubbleSort extends SortBy {\n    perform(keys = []) {\n      let swapped = false;\n      let compFuncs = keys.map(key => this.comparator(key));\n\n      let compFunc = (a, b) => {\n        for (let i = 0; i < compFuncs.length; i += 1) {\n          let result = compFuncs[i](a, b);\n\n          if (result === 0) {\n            continue;\n          }\n\n          return result;\n        }\n\n        return 0;\n      };\n\n      for (let i = 1; i < this.array.length; i += 1) {\n        for (let j = 0; j < this.array.length - i; j += 1) {\n          let shouldSwap = normalizeToBoolean(compFunc(this.array[j + 1], this.array[j]));\n\n          if (shouldSwap) {\n            [this.array[j], this.array[j + 1]] = [this.array[j + 1], this.array[j]];\n            swapped = true;\n          }\n        } // no need to continue sort if not swapped in any inner iteration\n\n\n        if (!swapped) {\n          return this.array;\n        }\n      }\n    }\n\n  }\n\n  function sortBy(params) {\n    // slice params to avoid mutating the provided params\n    let sortParams = params.slice();\n    let array = (0, _asArray.default)(sortParams.pop());\n    let sortKeys = sortParams;\n\n    if (!array || !sortKeys || sortKeys.length === 0) {\n      return [];\n    }\n\n    if (sortKeys.length === 1 && Array.isArray(sortKeys[0])) {\n      sortKeys = sortKeys[0];\n    }\n\n    const sortKlass = new BubbleSort(array);\n    sortKlass.perform(sortKeys);\n    return sortKlass.array;\n  }\n\n  var _default = Ember.Helper.helper(sortBy);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/take\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.take = take;\n  _exports.default = void 0;\n\n  function take([takeAmount, array]) {\n    return (0, _asArray.default)(array).slice(0, takeAmount);\n  }\n\n  var _default = Ember.Helper.helper(take);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _toggle, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const closureToggle = _toggle.toggle;\n\n  if (_closureAction.default) {\n    closureToggle[_closureAction.default] = true;\n  }\n\n  var _default = Ember.Helper.helper(closureToggle);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/toggle\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.toggle = toggle;\n  _exports.default = void 0;\n\n  function nextIndex(length, currentIdx) {\n    if (currentIdx === -1 || currentIdx + 1 === length) {\n      return 0;\n    }\n\n    return currentIdx + 1;\n  }\n\n  function toggle([prop, obj, ...values]) {\n    return function () {\n      let currentValue = Ember.get(obj, prop);\n\n      if (Ember.isPresent(values)) {\n        let currentIdx = values.indexOf(currentValue);\n        let nextIdx = nextIndex(values.length, currentIdx);\n        return Ember.set(obj, prop, values[nextIdx]);\n      }\n\n      return Ember.set(obj, prop, !currentValue);\n    };\n  }\n\n  var _default = Ember.Helper.helper(toggle);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/union\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.union = union;\n  _exports.default = void 0;\n\n  function union([...arrays]) {\n    let items = [].concat(...arrays);\n    return items.filter((value, index, array) => (0, _asArray.default)(array).indexOf(value) === index);\n  }\n\n  var _default = Ember.Helper.helper(union);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/values\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.values = values;\n  _exports.default = void 0;\n\n  function values([object]) {\n    if (!object) {\n      return object;\n    }\n\n    return Object.values(object);\n  }\n\n  var _default = Ember.Helper.helper(values);\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/helpers/without\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.without = without;\n  _exports.default = void 0;\n\n  function contains(needle, haystack) {\n    return Ember.A(haystack).includes(needle);\n  }\n\n  function without(needle, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n\n    if (Ember.isArray(needle) && needle.length) {\n      return haystack.reduce((acc, val) => {\n        return contains(val, needle) ? acc : acc.concat(val);\n      }, []);\n    }\n\n    return Ember.A(haystack).without(needle);\n  }\n\n  var _default = Ember.Helper.helper(function ([needle, haystack]) {\n    return without(needle, haystack);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-composable-helpers/index\", [\"exports\", \"ember-composable-helpers/helpers/append\", \"ember-composable-helpers/helpers/chunk\", \"ember-composable-helpers/helpers/compact\", \"ember-composable-helpers/helpers/compute\", \"ember-composable-helpers/helpers/contains\", \"ember-composable-helpers/helpers/dec\", \"ember-composable-helpers/helpers/drop\", \"ember-composable-helpers/helpers/filter-by\", \"ember-composable-helpers/helpers/filter\", \"ember-composable-helpers/helpers/find-by\", \"ember-composable-helpers/helpers/flatten\", \"ember-composable-helpers/helpers/group-by\", \"ember-composable-helpers/helpers/has-next\", \"ember-composable-helpers/helpers/has-previous\", \"ember-composable-helpers/helpers/inc\", \"ember-composable-helpers/helpers/intersect\", \"ember-composable-helpers/helpers/invoke\", \"ember-composable-helpers/helpers/join\", \"ember-composable-helpers/helpers/map-by\", \"ember-composable-helpers/helpers/map\", \"ember-composable-helpers/helpers/next\", \"ember-composable-helpers/helpers/object-at\", \"ember-composable-helpers/helpers/optional\", \"ember-composable-helpers/helpers/pipe-action\", \"ember-composable-helpers/helpers/pipe\", \"ember-composable-helpers/helpers/previous\", \"ember-composable-helpers/helpers/queue\", \"ember-composable-helpers/helpers/range\", \"ember-composable-helpers/helpers/reduce\", \"ember-composable-helpers/helpers/reject-by\", \"ember-composable-helpers/helpers/repeat\", \"ember-composable-helpers/helpers/reverse\", \"ember-composable-helpers/helpers/shuffle\", \"ember-composable-helpers/helpers/slice\", \"ember-composable-helpers/helpers/sort-by\", \"ember-composable-helpers/helpers/take\", \"ember-composable-helpers/helpers/toggle-action\", \"ember-composable-helpers/helpers/toggle\", \"ember-composable-helpers/helpers/union\", \"ember-composable-helpers/helpers/without\"], function (_exports, _append, _chunk, _compact, _compute, _contains, _dec, _drop, _filterBy, _filter, _findBy, _flatten, _groupBy, _hasNext, _hasPrevious, _inc, _intersect, _invoke, _join, _mapBy, _map, _next, _objectAt, _optional, _pipeAction, _pipe, _previous, _queue, _range, _reduce, _rejectBy, _repeat, _reverse, _shuffle, _slice, _sortBy, _take, _toggleAction, _toggle, _union, _without) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AppendHelper\", {\n    enumerable: true,\n    get: function () {\n      return _append.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ChunkHelper\", {\n    enumerable: true,\n    get: function () {\n      return _chunk.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CompactHelper\", {\n    enumerable: true,\n    get: function () {\n      return _compact.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ComputeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _compute.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainsHelper\", {\n    enumerable: true,\n    get: function () {\n      return _contains.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DecHelper\", {\n    enumerable: true,\n    get: function () {\n      return _dec.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DropHelper\", {\n    enumerable: true,\n    get: function () {\n      return _drop.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FilterByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _filterBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FilterHelper\", {\n    enumerable: true,\n    get: function () {\n      return _filter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FindByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _findBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FlattenHelper\", {\n    enumerable: true,\n    get: function () {\n      return _flatten.default;\n    }\n  });\n  Object.defineProperty(_exports, \"GroupByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _groupBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HasNextHelper\", {\n    enumerable: true,\n    get: function () {\n      return _hasNext.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HasPreviousHelper\", {\n    enumerable: true,\n    get: function () {\n      return _hasPrevious.default;\n    }\n  });\n  Object.defineProperty(_exports, \"IncHelper\", {\n    enumerable: true,\n    get: function () {\n      return _inc.default;\n    }\n  });\n  Object.defineProperty(_exports, \"IntersectHelper\", {\n    enumerable: true,\n    get: function () {\n      return _intersect.default;\n    }\n  });\n  Object.defineProperty(_exports, \"InvokeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _invoke.default;\n    }\n  });\n  Object.defineProperty(_exports, \"JoinHelper\", {\n    enumerable: true,\n    get: function () {\n      return _join.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MapByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _mapBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MapHelper\", {\n    enumerable: true,\n    get: function () {\n      return _map.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NextHelper\", {\n    enumerable: true,\n    get: function () {\n      return _next.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ObjectAtHelper\", {\n    enumerable: true,\n    get: function () {\n      return _objectAt.default;\n    }\n  });\n  Object.defineProperty(_exports, \"OptionalHelper\", {\n    enumerable: true,\n    get: function () {\n      return _optional.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PipeActionHelper\", {\n    enumerable: true,\n    get: function () {\n      return _pipeAction.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PipeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _pipe.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PreviousHelper\", {\n    enumerable: true,\n    get: function () {\n      return _previous.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QueueHelper\", {\n    enumerable: true,\n    get: function () {\n      return _queue.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RangeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _range.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ReduceHelper\", {\n    enumerable: true,\n    get: function () {\n      return _reduce.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RejectByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _rejectBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RepeatHelper\", {\n    enumerable: true,\n    get: function () {\n      return _repeat.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ReverseHelper\", {\n    enumerable: true,\n    get: function () {\n      return _reverse.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ShuffleHelper\", {\n    enumerable: true,\n    get: function () {\n      return _shuffle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"SliceHelper\", {\n    enumerable: true,\n    get: function () {\n      return _slice.default;\n    }\n  });\n  Object.defineProperty(_exports, \"SortByHelper\", {\n    enumerable: true,\n    get: function () {\n      return _sortBy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TakeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _take.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ToggleActionHelper\", {\n    enumerable: true,\n    get: function () {\n      return _toggleAction.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ToggleHelper\", {\n    enumerable: true,\n    get: function () {\n      return _toggle.default;\n    }\n  });\n  Object.defineProperty(_exports, \"UnionHelper\", {\n    enumerable: true,\n    get: function () {\n      return _union.default;\n    }\n  });\n  Object.defineProperty(_exports, \"WithoutHelper\", {\n    enumerable: true,\n    get: function () {\n      return _without.default;\n    }\n  });\n});","define(\"ember-composable-helpers/utils/as-array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = asArray;\n\n  function isIterable(value) {\n    return Symbol.iterator in Object(value);\n  } // from https://github.com/flexyford/ember-power-select/blob/78a5430c1ac89daf315d0801fd5201e444e82434/addon/components/power-select.ts\n\n\n  function isArrayable(thing) {\n    return typeof thing.toArray === 'function';\n  }\n\n  function isPromiseLike(thing) {\n    return typeof thing.then === 'function';\n  }\n\n  function isPromiseProxyLike(thing) {\n    return isPromiseLike(thing) && Object.hasOwnProperty.call(thing, 'content');\n  }\n\n  function toExtendable(array) {\n    if (!Object.isExtensible(array)) {\n      return Array.from(array);\n    } else {\n      return array;\n    }\n  }\n\n  function asArray(maybeArray) {\n    return toExtendable(_asArray(maybeArray));\n  }\n\n  function _asArray(maybeArray) {\n    if (typeof maybeArray === 'number') {\n      throw new Error('Numbers not supported as arrays [ember-composable-helpers]');\n    }\n\n    if (typeof maybeArray === 'string') {\n      return maybeArray.split('');\n    } // for perf-reasons falling back to e-array, instead of using it first\n\n\n    if (Array.isArray(maybeArray)) {\n      return maybeArray;\n    } else if (Ember.isArray(maybeArray)) {\n      return maybeArray;\n    } else if (typeof maybeArray === 'object' && maybeArray === null) {\n      return [];\n    } else if (typeof maybeArray === 'undefined') {\n      return [];\n    } else if (maybeArray instanceof Set) {\n      return Array.from(maybeArray.values());\n    } else if (maybeArray instanceof Map) {\n      return Array.from(maybeArray.values());\n    } else if (maybeArray instanceof WeakMap) {\n      throw new Error('WeakMaps is not supported as arrays [ember-composable-helpers]');\n    } else if (maybeArray instanceof WeakSet) {\n      throw new Error('WeakSets is not supported as arrays [ember-composable-helpers]');\n    }\n\n    if (typeof maybeArray === 'object') {\n      if (isPromiseProxyLike(maybeArray)) {\n        const content = Ember.get(maybeArray, 'content');\n\n        if (typeof content !== 'object' || content === null) {\n          throw new Error('Unknown content type in array-like object [ember-composable-helpers]');\n        }\n\n        if (isArrayable(content)) {\n          return content.toArray();\n        } else {\n          return _asArray(content);\n        }\n      }\n\n      if (isPromiseLike(maybeArray)) {\n        throw new Error('Promise-like objects is not supported as arrays [ember-composable-helpers]');\n      }\n\n      if (isArrayable(maybeArray)) {\n        return maybeArray.toArray();\n      }\n\n      if (maybeArray instanceof Ember.Object) {\n        throw new Error('EmberObjects is not supported as arrays [ember-composable-helpers]');\n      }\n\n      return Array.from(Object.values(maybeArray));\n    }\n\n    if (!maybeArray) {\n      return [];\n    }\n\n    if (!isIterable(maybeArray)) {\n      throw new Error('Argument, passed as array is not iterable [ember-composable-helpers]');\n    }\n\n    return maybeArray;\n  }\n});","define(\"ember-composable-helpers/utils/comparison\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.lte = lte;\n  _exports.lt = lt;\n  _exports.gte = gte;\n  _exports.gt = gt;\n\n  function lte(a, b) {\n    return a <= b;\n  }\n\n  function lt(a, b) {\n    return a < b;\n  }\n\n  function gte(a, b) {\n    return a >= b;\n  }\n\n  function gt(a, b) {\n    return a > b;\n  }\n});","define(\"ember-composable-helpers/utils/get-index\", [\"exports\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getIndex;\n\n  function getIndex(array, currentValue, useDeepEqual) {\n    let needle = currentValue;\n\n    if (useDeepEqual) {\n      needle = Ember.A(array).find(object => {\n        return (0, _isEqual.default)(object, currentValue, useDeepEqual);\n      });\n    }\n\n    let index = Ember.A(array).indexOf(needle);\n    return index >= 0 ? index : null;\n  }\n});","define(\"ember-composable-helpers/utils/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEqual;\n\n  function isEqual(firstValue, secondValue, useDeepEqual = false) {\n    if (useDeepEqual) {\n      return JSON.stringify(firstValue) === JSON.stringify(secondValue);\n    } else {\n      return Ember.isEqual(firstValue, secondValue) || Ember.isEqual(secondValue, firstValue);\n    }\n  }\n});","define(\"ember-composable-helpers/utils/is-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isObject;\n\n  function isObject(val) {\n    return Ember.typeOf(val) === 'object' || Ember.typeOf(val) === 'instance';\n  }\n});","define(\"ember-composable-helpers/utils/is-promise\", [\"exports\", \"ember-composable-helpers/utils/is-object\"], function (_exports, _isObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPromise;\n\n  function isPromiseLike(obj = {}) {\n    return Ember.typeOf(obj.then) === 'function' && Ember.typeOf(obj.catch) === 'function';\n  }\n\n  function isPromise(obj) {\n    return (0, _isObject.default)(obj) && isPromiseLike(obj);\n  }\n});","define(\"ember-concurrency-decorators/index\", [\"exports\", \"@ember-decorators/utils/decorator\", \"ember-concurrency\", \"ember-concurrency-decorators/last-value\"], function (_exports, _decorator, _emberConcurrency, _lastValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"lastValue\", {\n    enumerable: true,\n    get: function () {\n      return _lastValue.default;\n    }\n  });\n  _exports.enqueueTaskGroup = _exports.keepLatestTaskGroup = _exports.dropTaskGroup = _exports.restartableTaskGroup = _exports.taskGroup = _exports.enqueueTask = _exports.keepLatestTask = _exports.dropTask = _exports.restartableTask = _exports.task = void 0;\n\n  /**\n   * This utility function assures compatibility with the Ember object model style\n   * and initializer syntax required by Babel 6.\n   *\n   * For native classes using the method shorthand style (TypeScript & Babel 7),\n   * this function will access the `value`. For legacy code it will get the value\n   * from the initializer.\n   *\n   * // Ember object model\n   * export default EmberObject.extend({\n   *   @task\n   *   someTask: function*() {}\n   * });\n   *\n   * // Class syntax with initializers\n   * export default class extends EmberObject {\n   *   @task\n   *   someTask = function*() {}\n   * }\n   *\n   * @param desc\n   * @returns {object|null}\n   * @private\n   */\n  function extractValue(desc) {\n    if (typeof desc.initializer === 'function') {\n      return desc.initializer.call(undefined);\n    }\n\n    if (typeof desc.get === 'function') {\n      return desc.get.call(undefined);\n    }\n\n    if (desc.value) {\n      return desc.value;\n    }\n\n    return undefined;\n  }\n\n  function isTaskFunction(value) {\n    return typeof value === 'function';\n  }\n\n  function isEncapsulatedTask(value) {\n    return typeof value === 'object' && value !== null && isTaskFunction(value.perform);\n  }\n  /**\n   * Takes a `PropertyDescriptor` and turns it into an ember-concurrency\n   * `TaskProperty`.\n   *\n   * @param desc\n   * @returns {TaskProperty}\n   * @private\n   */\n\n\n  function createTaskFromDescriptor(desc) {\n    const value = extractValue(desc);\n\n    if (isTaskFunction(value)) {\n      return (0, _emberConcurrency.task)(value);\n    }\n\n    if (isEncapsulatedTask(value)) {\n      return (0, _emberConcurrency.task)(value);\n    }\n\n    (true && !(false) && Ember.assert('ember-concurrency-decorators: Can only decorate a generator function as a task or an object with a generator method `perform` as an encapsulated task.'));\n  }\n  /**\n   * Takes a `PropertyDescriptor` and turns it into an ember-concurrency\n   * `TaskGroupProperty`.\n   *\n   * @param desc\n   * @returns {TaskGroupProperty}\n   * @private\n   */\n\n\n  function createTaskGroupFromDescriptor(_desc) {\n    return (0, _emberConcurrency.taskGroup)();\n  }\n  /**\n   * Applies the `options` provided using the chaining API on the given `task`.\n   *\n   * @param options\n   * @param {TaskProperty|TaskGroupProperty} task\n   * @private\n   */\n\n\n  function applyOptions(options, task) {\n    const keys = Object.keys(options);\n\n    for (const key of keys) {\n      const value = options[key];\n      (true && !(value !== undefined) && Ember.assert(`ember-concurrency-decorators: Option '${key}' is not a valid value`, value !== undefined));\n      (true && !(typeof task[key] === 'function') && Ember.assert(`ember-concurrency-decorators: Option '${key}' is not a valid function`, typeof task[key] === 'function'));\n\n      if (value === true) {\n        task[key]();\n      } else {\n        task[key](value);\n      }\n    } // The CP decorator gets executed in `createDecorator`\n\n\n    return task;\n  }\n\n  function createDecorator(propertyCreator, baseOptions = {}) {\n    return (0, _decorator.decoratorWithParams)((target, key, desc, [userOptions] = []) => {\n      const {\n        initializer,\n        value\n      } = desc;\n      delete desc.initializer;\n      delete desc.value;\n      return applyOptions({ ...baseOptions,\n        ...userOptions\n      }, propertyCreator({ ...desc,\n        initializer,\n        value\n      }))(target, key, desc);\n    });\n  }\n  /**\n   * Turns the decorated generator function into a task.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, `group` or `keepLatest`.\n   *\n   * ```js\n   * import EmberObject from '@ember/object';\n   * import { task } from 'ember-concurrency-decorators';\n   *\n   * class extends EmberObject {\n   *   @task\n   *   *plainTask() {}\n   *\n   *   @task({ maxConcurrency: 5, keepLatest: true, cancelOn: 'click' })\n   *   *taskWithModifiers() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n\n\n  const task = createDecorator(createTaskFromDescriptor);\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n\n  _exports.task = task;\n  const restartableTask = createDecorator(createTaskFromDescriptor, {\n    restartable: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n\n  _exports.restartableTask = restartableTask;\n  const dropTask = createDecorator(createTaskFromDescriptor, {\n    drop: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n\n  _exports.dropTask = dropTask;\n  const keepLatestTask = createDecorator(createTaskFromDescriptor, {\n    keepLatest: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n\n  _exports.keepLatestTask = keepLatestTask;\n  const enqueueTask = createDecorator(createTaskFromDescriptor, {\n    enqueue: true\n  });\n  /**\n   * Turns the decorated property into a task group.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task group. For instance `maxConcurrency` or `keepLatest`.\n   *\n   * ```js\n   * import EmberObject from '@ember/object';\n   * import { task taskGroup } from 'ember-concurrency-decorators';\n   *\n   * class extends EmberObject {\n   *   @taskGroup({ maxConcurrency: 5 }) someTaskGroup;\n   *\n   *   @task({ group: 'someTaskGroup' })\n   *   *someTask() {}\n   *\n   *   @task({ group: 'someTaskGroup' })\n   *   *anotherTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n\n  _exports.enqueueTask = enqueueTask;\n  const taskGroup = createDecorator(createTaskGroupFromDescriptor);\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n\n  _exports.taskGroup = taskGroup;\n  const restartableTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    restartable: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n\n  _exports.restartableTaskGroup = restartableTaskGroup;\n  const dropTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    drop: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n\n  _exports.dropTaskGroup = dropTaskGroup;\n  const keepLatestTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    keepLatest: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n\n  _exports.keepLatestTaskGroup = keepLatestTaskGroup;\n  const enqueueTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    enqueue: true\n  });\n  _exports.enqueueTaskGroup = enqueueTaskGroup;\n});","define(\"ember-concurrency-decorators/last-value\", [\"exports\", \"@ember-decorators/utils/decorator\"], function (_exports, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * This decorator allows you to alias a property to the result of a task. You can also provide a default value to use before the task has completed.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task } from 'ember-concurrency-decorators';\n   * import { lastValue } from 'ember-concurrency-decorators';\n   *\n   * export default class ExampleComponent extends Component {\n   *   @task\n   *   someTask = function*() {\n   *     // ...\n   *   };\n   *\n   *   @lastValue('someTask')\n   *   someTaskValue;\n   *\n   *   @lastValue('someTask')\n   *   someTaskValueWithDefault = 'A default value';\n   * }\n   * ```\n   *\n   * @function\n   * @param {string} taskName the name of the task to read a value from\n   */\n  // eslint-disable-next-line func-names\n  var _default = (0, _decorator.decoratorWithRequiredParams)(function lastValue(target, key, desc, [taskName]) {\n    (true && !(typeof taskName === 'string') && Ember.assert(`ember-concurrency-decorators: @lastValue expects a task name as the first parameter.`, typeof taskName === 'string'));\n    const {\n      initializer\n    } = desc;\n    delete desc.initializer;\n    const cp = Ember.computed(`${taskName}.lastSuccessful`, function () {\n      const lastInstance = Ember.get(this, `${taskName}.lastSuccessful`);\n\n      if (lastInstance) {\n        return Ember.get(lastInstance, 'value');\n      }\n\n      if (initializer) {\n        return initializer.call(this);\n      }\n\n      return undefined;\n    }); // @ts-ignore\n\n    return cp(target, key, desc);\n  });\n\n  _exports.default = _default;\n});","define(\"ember-concurrency-ts/async\", [], function () {\n  \"use strict\";\n});","define(\"ember-concurrency-ts/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.perform = perform;\n  _exports.taskFor = taskFor;\n\n  function taskFor(task) {\n    (true && !(task && (typeof task === 'function' || typeof task.perform === 'function')) && Ember.assert(`${task} does not appear to be a task!`, task && (typeof task === 'function' || typeof task.perform === 'function')));\n    return task;\n  }\n\n  function perform(task) {\n    (true && !(task && typeof task.perform === 'function') && Ember.assert(`${task} does not appear to be a task!`, task && typeof task.perform === 'function'));\n\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return task.perform(...args);\n  }\n});","define(\"ember-concurrency/-buffer-policy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dropButKeepLatestPolicy = _exports.cancelOngoingTasksPolicy = _exports.dropQueuedTasksPolicy = _exports.enqueueTasksPolicy = void 0;\n\n  const saturateActiveQueue = scheduler => {\n    while (scheduler.activeTaskInstances.length < scheduler.maxConcurrency) {\n      let taskInstance = scheduler.queuedTaskInstances.shift();\n\n      if (!taskInstance) {\n        break;\n      }\n\n      scheduler.activeTaskInstances.push(taskInstance);\n    }\n  };\n\n  function numPerformSlots(scheduler) {\n    return scheduler.maxConcurrency - scheduler.queuedTaskInstances.length - scheduler.activeTaskInstances.length;\n  }\n\n  const enqueueTasksPolicy = {\n    requiresUnboundedConcurrency: true,\n\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] [d,e,f]\n      saturateActiveQueue(scheduler);\n    },\n\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'enqueue';\n    }\n\n  };\n  _exports.enqueueTasksPolicy = enqueueTasksPolicy;\n  const dropQueuedTasksPolicy = {\n    cancelReason: `it belongs to a 'drop' Task that was already running`,\n\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length);\n    },\n\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'drop';\n    }\n\n  };\n  _exports.dropQueuedTasksPolicy = dropQueuedTasksPolicy;\n  const cancelOngoingTasksPolicy = {\n    cancelReason: `it belongs to a 'restartable' Task that was .perform()ed again`,\n\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      let activeTaskInstances = scheduler.activeTaskInstances;\n      let queuedTaskInstances = scheduler.queuedTaskInstances;\n      activeTaskInstances.push(...queuedTaskInstances);\n      queuedTaskInstances.length = 0;\n      let numToShift = Math.max(0, activeTaskInstances.length - scheduler.maxConcurrency);\n      scheduler.spliceTaskInstances(this.cancelReason, activeTaskInstances, 0, numToShift);\n    },\n\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'cancel_previous';\n    }\n\n  };\n  _exports.cancelOngoingTasksPolicy = cancelOngoingTasksPolicy;\n  const dropButKeepLatestPolicy = {\n    cancelReason: `it belongs to a 'keepLatest' Task that was already running`,\n\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length - 1);\n    }\n\n  };\n  _exports.dropButKeepLatestPolicy = dropButKeepLatestPolicy;\n});","define(\"ember-concurrency/-cancelable-promise-helpers\", [\"exports\", \"ember-concurrency/-task-instance\", \"ember-concurrency/utils\"], function (_exports, _taskInstance, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hashSettled = _exports.hash = _exports.race = _exports.allSettled = _exports.all = void 0;\n  const asyncAll = taskAwareVariantOf(Ember.RSVP.Promise, 'all', identity);\n\n  function* resolver(value) {\n    return value;\n  }\n  /**\n   * A cancelation-aware variant of [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).\n   * The normal version of a `Promise.all` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `all()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `all()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `all` will be canceled\n   * - if any of the {@linkcode TaskInstance}s (or regular promises) passed in reject (or\n   *   are canceled), all of the other unfinished `TaskInstance`s will\n   *   be automatically canceled.\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n\n\n  const all = things => {\n    // Extra assertion here to circumvent the `things.length` short circuit.\n    (true && !(Array.isArray(things)) && Ember.assert(`'all' expects an array.`, Array.isArray(things)));\n\n    if (things.length === 0) {\n      return Ember.RSVP.Promise.resolve(things);\n    }\n\n    for (let i = 0; i < things.length; ++i) {\n      let t = things[i];\n\n      if (!(t && t[_utils.yieldableSymbol])) {\n        return asyncAll(things);\n      }\n    }\n\n    let isAsync = false;\n    let taskInstances = things.map(thing => {\n      let ti = _taskInstance.default.create({\n        // TODO: consider simpler iterator than full on generator fn?\n        fn: resolver,\n        args: [thing]\n      })._start();\n\n      if (ti._completionState !== 1) {\n        isAsync = true;\n      }\n\n      return ti;\n    });\n\n    if (isAsync) {\n      return asyncAll(taskInstances);\n    } else {\n      return Ember.RSVP.Promise.resolve(taskInstances.map(ti => ti.value));\n    }\n  };\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](https://api.emberjs.com/ember/release/functions/rsvp/allSettled).\n   * The normal version of a `RSVP.allSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `allSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `allSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   */\n\n\n  _exports.all = all;\n  const allSettled = taskAwareVariantOf(Ember.RSVP, 'allSettled', identity);\n  /**\n   * A cancelation-aware variant of [Promise.race](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race).\n   * The normal version of a `Promise.race` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `race()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `race()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `race` will be canceled\n   * - once any of the tasks/promises passed in complete (either success, failure,\n   *   or cancelation), any of the {@linkcode TaskInstance}s passed in will be canceled\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n\n  _exports.allSettled = allSettled;\n  const race = taskAwareVariantOf(Ember.RSVP.Promise, 'race', identity);\n  /**\n   * A cancelation-aware variant of [RSVP.hash](https://api.emberjs.com/ember/release/functions/rsvp/hash).\n   * The normal version of a `RSVP.hash` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hash()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hash()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hash` will be canceled\n   * - if any of the items rejects/cancels, all other cancelable items\n   *   (e.g. {@linkcode TaskInstance}s) will be canceled\n   */\n\n  _exports.race = race;\n  const hash = taskAwareVariantOf(Ember.RSVP, 'hash', getValues);\n  /**\n   * A cancelation-aware variant of [RSVP.hashSettled](https://api.emberjs.com/ember/release/functions/rsvp/hashSettled).\n   * The normal version of a `RSVP.hashSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hashSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hashSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hashSettled` will be canceled\n   */\n\n  _exports.hash = hash;\n  const hashSettled = taskAwareVariantOf(Ember.RSVP, 'hashSettled', getValues);\n  _exports.hashSettled = hashSettled;\n\n  function identity(obj) {\n    return obj;\n  }\n\n  function getValues(obj) {\n    return Object.keys(obj).map(k => obj[k]);\n  }\n\n  function taskAwareVariantOf(obj, method, getItems) {\n    return function (thing) {\n      let items = getItems(thing);\n      (true && !(Array.isArray(items)) && Ember.assert(`'${method}' expects an array.`, Array.isArray(items)));\n      let defer = Ember.RSVP.defer();\n      obj[method](thing).then(defer.resolve, defer.reject);\n      let hasCancelled = false;\n\n      let cancelAll = () => {\n        if (hasCancelled) {\n          return;\n        }\n\n        hasCancelled = true;\n        items.forEach(it => {\n          if (it) {\n            if (it instanceof _taskInstance.default) {\n              it.cancel();\n            } else if (typeof it[_utils.cancelableSymbol] === 'function') {\n              it[_utils.cancelableSymbol]();\n            }\n          }\n        });\n      };\n\n      let promise = defer.promise.finally(cancelAll);\n      promise[_utils.cancelableSymbol] = cancelAll;\n      return promise;\n    };\n  }\n});","define(\"ember-concurrency/-encapsulated-task\", [\"exports\", \"ember-concurrency/-task-instance\"], function (_exports, _taskInstance) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _taskInstance.default.extend({\n    _makeIterator() {\n      let perform = this.perform;\n      (true && !(typeof perform === 'function') && Ember.assert(\"The object passed to `task()` must define a `perform` generator function, e.g. `perform: function * (a,b,c) {...}`, or better yet `*perform(a,b,c) {...}`\", typeof perform === 'function'));\n      return perform.apply(this, this.args);\n    },\n\n    perform: null\n  });\n\n  _exports.default = _default;\n});","define(\"ember-concurrency/-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.taskHelperClosure = taskHelperClosure;\n\n  function taskHelperClosure(helperName, taskMethod, _args, hash) {\n    let task = _args[0];\n\n    let outerArgs = _args.slice(1);\n\n    return Ember.run.bind(null, function (...innerArgs) {\n      if (!task || typeof task[taskMethod] !== 'function') {\n        (true && !(false) && Ember.assert(`The first argument passed to the \\`${helperName}\\` helper should be a Task object (without quotes); you passed ${task}`, false));\n        return;\n      }\n\n      if (hash && hash.value) {\n        let event = innerArgs.pop();\n        innerArgs.push(Ember.get(event, hash.value));\n      }\n\n      return task[taskMethod](...outerArgs, ...innerArgs);\n    });\n  }\n});","define(\"ember-concurrency/-private/cancelable-promise-helpers\", [\"exports\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/external/yieldables\"], function (_exports, _taskInstance, _yieldables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hashSettled = _exports.hash = _exports.race = _exports.allSettled = _exports.all = void 0;\n\n  /**\n   * A cancelation-aware variant of [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).\n   * The normal version of a `Promise.all` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `all()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `all()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `all` will be canceled\n   * - if any of the {@linkcode TaskInstance}s (or regular promises) passed in reject (or\n   *   are canceled), all of the other unfinished `TaskInstance`s will\n   *   be automatically canceled.\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n  const all = taskAwareVariantOf(Ember.RSVP.Promise, 'all', identity);\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](https://api.emberjs.com/ember/release/functions/rsvp/allSettled).\n   * The normal version of a `RSVP.allSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `allSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `allSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   */\n\n  _exports.all = all;\n  const allSettled = taskAwareVariantOf(Ember.RSVP, 'allSettled', identity);\n  /**\n   * A cancelation-aware variant of [Promise.race](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race).\n   * The normal version of a `Promise.race` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `race()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `race()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `race` will be canceled\n   * - once any of the tasks/promises passed in complete (either success, failure,\n   *   or cancelation), any of the {@linkcode TaskInstance}s passed in will be canceled\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n\n  _exports.allSettled = allSettled;\n  const race = taskAwareVariantOf(Ember.RSVP.Promise, 'race', identity);\n  /**\n   * A cancelation-aware variant of [RSVP.hash](https://api.emberjs.com/ember/release/functions/rsvp/hash).\n   * The normal version of a `RSVP.hash` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hash()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hash()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hash` will be canceled\n   * - if any of the items rejects/cancels, all other cancelable items\n   *   (e.g. {@linkcode TaskInstance}s) will be canceled\n   */\n\n  _exports.race = race;\n  const hash = taskAwareVariantOf(Ember.RSVP, 'hash', getValues);\n  /**\n   * A cancelation-aware variant of [RSVP.hashSettled](https://api.emberjs.com/ember/release/functions/rsvp/hashSettled).\n   * The normal version of a `RSVP.hashSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hashSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hashSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hashSettled` will be canceled\n   */\n\n  _exports.hash = hash;\n  const hashSettled = taskAwareVariantOf(Ember.RSVP, 'hashSettled', getValues);\n  _exports.hashSettled = hashSettled;\n\n  function identity(obj) {\n    return obj;\n  }\n\n  function getValues(obj) {\n    return Object.keys(obj).map(k => obj[k]);\n  }\n\n  function castForPromiseHelper(castable) {\n    if (castable) {\n      if (castable instanceof _taskInstance.TaskInstance) {\n        // Mark TaskInstances, including those that performed synchronously and\n        // have finished already, as having their errors handled, as if they had\n        // been then'd, which this is emulating.\n        castable.executor.asyncErrorsHandled = true;\n      } else if (castable instanceof _yieldables.Yieldable) {\n        // Cast to promise\n        return castable._toPromise();\n      }\n    }\n\n    return castable;\n  }\n\n  function castAwaitables(arrOrHash, callback) {\n    if (Array.isArray(arrOrHash)) {\n      return arrOrHash.map(callback);\n    } else if (typeof arrOrHash === 'object' && arrOrHash !== null) {\n      let obj = {};\n      Object.keys(arrOrHash).forEach(key => {\n        obj[key] = callback(arrOrHash[key]);\n      });\n      return obj;\n    } else {\n      // :shruggie:\n      return arrOrHash;\n    }\n  }\n\n  function taskAwareVariantOf(obj, method, getItems) {\n    return function (awaitable) {\n      let awaitables = castAwaitables(awaitable, castForPromiseHelper);\n      let items = getItems(awaitables);\n      (true && !(Array.isArray(items)) && Ember.assert(`'${method}' expects an array.`, Array.isArray(items)));\n      let defer = Ember.RSVP.defer();\n      obj[method](awaitables).then(defer.resolve, defer.reject);\n      let hasCancelled = false;\n\n      let cancelAll = () => {\n        if (hasCancelled) {\n          return;\n        }\n\n        hasCancelled = true;\n        items.forEach(it => {\n          if (it) {\n            if (it instanceof _taskInstance.TaskInstance) {\n              it.cancel();\n            } else if (typeof it[_yieldables.cancelableSymbol] === 'function') {\n              it[_yieldables.cancelableSymbol]();\n            }\n          }\n        });\n      };\n\n      let promise = defer.promise.finally(cancelAll);\n      promise[_yieldables.cancelableSymbol] = cancelAll;\n      return promise;\n    };\n  }\n});","define(\"ember-concurrency/-private/ember-environment\", [\"exports\", \"ember-concurrency/-private/external/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.EMBER_ENVIRONMENT = _exports.EmberEnvironment = void 0;\n\n  class EmberEnvironment extends _environment.Environment {\n    assert(...args) {\n      (true && !(false) && Ember.assert(...args));\n    }\n\n    async(callback) {\n      Ember.run.join(() => Ember.run.once(null, callback));\n    }\n\n    reportUncaughtRejection(error) {\n      Ember.run.next(null, function () {\n        if (Ember.onerror) {\n          Ember.onerror(error);\n        } else {\n          throw error;\n        }\n      });\n    }\n\n    defer() {\n      return Ember.RSVP.defer();\n    }\n\n    globalDebuggingEnabled() {\n      return Ember.ENV.DEBUG_TASKS;\n    }\n\n  }\n\n  _exports.EmberEnvironment = EmberEnvironment;\n  const EMBER_ENVIRONMENT = new EmberEnvironment();\n  _exports.EMBER_ENVIRONMENT = EMBER_ENVIRONMENT;\n});","define(\"ember-concurrency/-private/external/environment\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Environment = void 0;\n\n  class Environment {\n    assert() {}\n\n    async() {}\n\n    reportUncaughtRejection() {}\n\n    defer() {}\n\n    globalDebuggingEnabled() {}\n\n  }\n\n  _exports.Environment = Environment;\n});","define(\"ember-concurrency/-private/external/generator-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.GeneratorState = _exports.GeneratorStepResult = void 0;\n\n  class GeneratorStepResult {\n    constructor(value, done, errored) {\n      this.value = value;\n      this.done = done;\n      this.errored = errored;\n    }\n\n  }\n\n  _exports.GeneratorStepResult = GeneratorStepResult;\n\n  class GeneratorState {\n    constructor(generatorFactory) {\n      this.done = false;\n      this.generatorFactory = generatorFactory;\n      this.iterator = null;\n    }\n\n    step(resolvedValue, iteratorMethod) {\n      try {\n        let iterator = this.getIterator();\n        let {\n          value,\n          done\n        } = iterator[iteratorMethod](resolvedValue);\n\n        if (done) {\n          return this.finalize(value, false);\n        } else {\n          return new GeneratorStepResult(value, false, false);\n        }\n      } catch (e) {\n        return this.finalize(e, true);\n      }\n    }\n\n    getIterator() {\n      if (!this.iterator && !this.done) {\n        this.iterator = this.generatorFactory();\n      }\n\n      return this.iterator;\n    }\n\n    finalize(value, errored) {\n      this.done = true;\n      this.iterator = null;\n      return new GeneratorStepResult(value, true, errored);\n    }\n\n  }\n\n  _exports.GeneratorState = GeneratorState;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class BoundedPolicy {\n    constructor(maxConcurrency) {\n      this.maxConcurrency = maxConcurrency || 1;\n    }\n\n  }\n\n  var _default = BoundedPolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/drop-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'drop' Task that was already running`);\n\n  class DropReducer {\n    constructor(remainingSlots) {\n      this.remainingSlots = remainingSlots;\n    }\n\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      }\n\n      return CANCELLED;\n    }\n\n  }\n\n  class DropPolicy extends _boundedPolicy.default {\n    makeReducer() {\n      return new DropReducer(this.maxConcurrency);\n    }\n\n  }\n\n  var _default = DropPolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class EnqueuedReducer {\n    constructor(remainingSlots) {\n      this.remainingSlots = remainingSlots;\n    }\n\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      } else {\n        return _executionStates.QUEUED;\n      }\n    }\n\n  }\n\n  class EnqueuedPolicy extends _boundedPolicy.default {\n    makeReducer() {\n      return new EnqueuedReducer(this.maxConcurrency);\n    }\n\n  }\n\n  var _default = EnqueuedPolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/execution-states\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.makeCancelState = _exports.QUEUED = _exports.STARTED = _exports.TYPE_QUEUED = _exports.TYPE_STARTED = _exports.TYPE_CANCELLED = void 0;\n  const TYPE_CANCELLED = 'CANCELLED';\n  _exports.TYPE_CANCELLED = TYPE_CANCELLED;\n  const TYPE_STARTED = 'STARTED';\n  _exports.TYPE_STARTED = TYPE_STARTED;\n  const TYPE_QUEUED = 'QUEUED';\n  _exports.TYPE_QUEUED = TYPE_QUEUED;\n  const STARTED = {\n    type: TYPE_STARTED\n  };\n  _exports.STARTED = STARTED;\n  const QUEUED = {\n    type: TYPE_QUEUED\n  };\n  _exports.QUEUED = QUEUED;\n\n  const makeCancelState = reason => ({\n    type: TYPE_CANCELLED,\n    reason\n  });\n\n  _exports.makeCancelState = makeCancelState;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'keepLatest' Task that was already running`); // Given:\n  // - started tasks: [a,b,_]\n  // - queued tasks:  [c,d,e,f]\n  // KeepLatest will cancel all but the last queued task instance, producing:\n  // - started tasks: [a,b,c]\n  // - queued tasks: [f]\n  // TODO: perhaps we should expose another config for the number to keep enqueued.\n  //       this would also make sense for enqueued, e.g. perform a max of maxConcurrency\n  //       concurrent task instances, but after a number of queued instances has been\n  //       reached, they should be cancelled.\n\n  class KeepLatestReducer {\n    constructor(remainingSlots, numToCancel) {\n      this.remainingSlots = remainingSlots;\n      this.numToCancel = numToCancel;\n    }\n\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      } else {\n        if (this.numToCancel > 0) {\n          this.numToCancel--;\n          return CANCELLED;\n        } else {\n          return _executionStates.QUEUED;\n        }\n      }\n    }\n\n  }\n\n  class KeepLatestPolicy extends _boundedPolicy.default {\n    makeReducer(numRunning, numQueued) {\n      let maxEnqueued = 1;\n      let totalRunning = numRunning + numQueued;\n      return new KeepLatestReducer(this.maxConcurrency, totalRunning - this.maxConcurrency - maxEnqueued);\n    }\n\n  }\n\n  var _default = KeepLatestPolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/restartable-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'restartable' Task that was .perform()ed again`);\n\n  class RestartableReducer {\n    constructor(numToCancel) {\n      this.numToCancel = numToCancel;\n    }\n\n    step() {\n      if (this.numToCancel > 0) {\n        this.numToCancel--;\n        return CANCELLED;\n      } else {\n        return _executionStates.STARTED;\n      }\n    }\n\n  }\n\n  class RestartablePolicy extends _boundedPolicy.default {\n    makeReducer(numRunning, numQueued) {\n      return new RestartableReducer(numRunning + numQueued - this.maxConcurrency);\n    }\n\n  }\n\n  var _default = RestartablePolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/unbounded-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class UnboundedReducer {\n    step() {\n      return _executionStates.STARTED;\n    }\n\n  }\n\n  const SINGLETON_REDUCER = new UnboundedReducer();\n\n  class UnboundedPolicy {\n    makeReducer() {\n      return SINGLETON_REDUCER;\n    }\n\n  }\n\n  var _default = UnboundedPolicy;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/refresh\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const LAST_APPLIED_TAGS = new Map();\n\n  class Refresh {\n    constructor(schedulerPolicy, stateTracker, taskInstances) {\n      this.stateTracker = stateTracker;\n      this.schedulerPolicy = schedulerPolicy;\n      this.initialTaskInstances = taskInstances;\n      this.startingInstances = [];\n    }\n\n    process() {\n      let [taskInstances, numRunning, numQueued] = this.filterFinishedTaskInstances();\n      let reducer = this.schedulerPolicy.makeReducer(numRunning, numQueued);\n      let finalTaskInstances = taskInstances.filter(taskInstance => {\n        return this.setTaskInstanceExecutionState(taskInstance, reducer.step());\n      });\n      this.stateTracker.computeFinalStates(state => this.applyState(state));\n      this.startingInstances.forEach(taskInstance => taskInstance.start());\n      return finalTaskInstances;\n    }\n\n    filterFinishedTaskInstances() {\n      let numRunning = 0,\n          numQueued = 0;\n      let taskInstances = this.initialTaskInstances.filter(taskInstance => {\n        let taskState = this.stateTracker.stateFor(taskInstance.task);\n        let executorState = taskInstance.executor.state;\n\n        if (executorState.isFinished) {\n          taskState.onCompletion(taskInstance);\n          return false;\n        }\n\n        if (executorState.hasStarted) {\n          numRunning += 1;\n        } else {\n          numQueued += 1;\n        }\n\n        return true;\n      });\n      return [taskInstances, numRunning, numQueued];\n    }\n\n    setTaskInstanceExecutionState(taskInstance, desiredState) {\n      let taskState = this.stateTracker.stateFor(taskInstance.task);\n\n      if (!taskInstance.executor.counted) {\n        taskInstance.executor.counted = true;\n        taskState.onPerformed(taskInstance);\n      }\n\n      switch (desiredState.type) {\n        case _executionStates.TYPE_CANCELLED:\n          // this will cause a follow up flush which will detect and recompute cancellation state\n          taskInstance.cancel(desiredState.reason);\n          return false;\n\n        case _executionStates.TYPE_STARTED:\n          if (!taskInstance.executor.state.hasStarted) {\n            this.startingInstances.push(taskInstance);\n            taskState.onStart(taskInstance);\n          }\n\n          taskState.onRunning(taskInstance);\n          return true;\n\n        case _executionStates.TYPE_QUEUED:\n          taskState.onQueued(taskInstance); // TODO: assert taskInstance hasn't started?\n          // Or perhaps this can be a way to pause a task?\n\n          return true;\n      }\n    }\n\n    applyState(state) {\n      let {\n        taskable\n      } = state;\n\n      if (!taskable.onState) {\n        return;\n      }\n\n      const {\n        guid\n      } = taskable;\n\n      if (LAST_APPLIED_TAGS.has(guid) && state.tag < LAST_APPLIED_TAGS.get(guid)) {\n        return;\n      }\n\n      let props = Object.assign({\n        numRunning: state.numRunning,\n        numQueued: state.numQueued,\n        numPerformedInc: state.numPerformedInc\n      }, state.attrs);\n      taskable.onState(props, taskable);\n      LAST_APPLIED_TAGS.set(guid, state.tag);\n    }\n\n  }\n\n  var _default = Refresh;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/scheduler\", [\"exports\", \"ember-concurrency/-private/external/scheduler/refresh\", \"ember-concurrency/-private/external/scheduler/state-tracker/state-tracker\", \"ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker\"], function (_exports, _refresh, _stateTracker, _nullStateTracker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // Scheduler base class\n  // When a Task is performed, it creates an unstarted TaskInstance and\n  // passes it to the Scheduler to determine when it should run. The\n  // scheduler consults the schedulerPolicy (e.g. DropPolicy, RestartablePolicy, etc)\n  // to determine whether the task instance should start executing, be enqueued\n  // for later execution, or be immediately cancelled. As TaskInstances start\n  // and run to completion, the Scheduler's `refresh()` method is called to\n  // give it an opportunity to start (or cancel) previously enqueued task instances,\n  // as well as update the derived state on Tasks and TaskGroups.\n  // Every Task has its own Scheduler instance, unless it is part of a group,\n  // in which case all the Tasks in a group share a single Scheduler.\n  class Scheduler {\n    constructor(schedulerPolicy, stateTrackingEnabled) {\n      this.schedulerPolicy = schedulerPolicy;\n      this.stateTrackingEnabled = stateTrackingEnabled;\n      this.taskInstances = [];\n    }\n\n    cancelAll(guid, cancelRequest) {\n      let cancelations = this.taskInstances.map(taskInstance => {\n        if (taskInstance.task.guids[guid]) {\n          taskInstance.executor.cancel(cancelRequest);\n        }\n      }).filter(cancelation => !!cancelation);\n      return Promise.all(cancelations);\n    }\n\n    perform(taskInstance) {\n      taskInstance.onFinalize(() => this.scheduleRefresh());\n      this.taskInstances.push(taskInstance);\n      this.refresh();\n    } // override\n\n\n    scheduleRefresh() {}\n\n    refresh() {\n      let stateTracker = this.stateTrackingEnabled ? new _stateTracker.default() : new _nullStateTracker.default();\n      let refresh = new _refresh.default(this.schedulerPolicy, stateTracker, this.taskInstances);\n      this.taskInstances = refresh.process();\n    }\n\n  }\n\n  var _default = Scheduler;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker\", [\"exports\", \"ember-concurrency/-private/external/scheduler/state-tracker/null-state\"], function (_exports, _nullState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const NULL_STATE = new _nullState.default();\n\n  class NullStateTracker {\n    stateFor() {\n      return NULL_STATE;\n    }\n\n    computeFinalStates() {}\n\n  }\n\n  var _default = NullStateTracker;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/null-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class NullState {\n    onCompletion() {}\n\n    onPerformed() {}\n\n    onStart() {}\n\n    onRunning() {}\n\n    onQueued() {}\n\n  }\n\n  var _default = NullState;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/state-tracker\", [\"exports\", \"ember-concurrency/-private/external/scheduler/state-tracker/state\"], function (_exports, _state) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CURRENT_REFRESH_TAGS = new Map();\n\n  class StateTracker {\n    constructor() {\n      this.states = new Map();\n    }\n\n    stateFor(taskable) {\n      let guid = taskable.guid;\n      let taskState = this.states.get(guid);\n\n      if (!taskState) {\n        let currentTag = CURRENT_REFRESH_TAGS.has(guid) ? CURRENT_REFRESH_TAGS.get(guid) : 0;\n        taskState = new _state.default(taskable, ++currentTag);\n        this.states.set(guid, taskState);\n        CURRENT_REFRESH_TAGS.set(guid, currentTag);\n      }\n\n      return taskState;\n    } // After cancelling/queueing task instances, we have to recompute the derived state\n    // of all the tasks that had/have task instances in this scheduler. We do this by\n    // looping through all the Tasks that we've accumulated state for, and then recursively\n    // applying/adding to the state of any TaskGroups they belong to.\n\n\n    computeFinalStates(callback) {\n      this.computeRecursiveState();\n      this.forEachState(state => callback(state));\n    }\n\n    computeRecursiveState() {\n      this.forEachState(taskState => {\n        let lastState = taskState;\n        taskState.recurseTaskGroups(taskGroup => {\n          let state = this.stateFor(taskGroup);\n          state.applyStateFrom(lastState);\n          lastState = state;\n        });\n      });\n    }\n\n    forEachState(callback) {\n      this.states.forEach(state => callback(state));\n    }\n\n  }\n\n  var _default = StateTracker;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/state\", [\"exports\", \"ember-concurrency/-private/external/task-instance/completion-states\"], function (_exports, _completionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class RefreshState {\n    constructor(taskable, tag) {\n      this.taskable = taskable;\n      this.group = taskable.group;\n      this.numRunning = 0;\n      this.numQueued = 0;\n      this.numPerformedInc = 0;\n      this.attrs = {};\n      this.tag = tag;\n    }\n\n    onCompletion(taskInstance) {\n      let state = taskInstance.completionState;\n      this.attrs.lastRunning = null;\n      this.attrs.lastComplete = taskInstance;\n\n      if (state === _completionStates.COMPLETION_SUCCESS) {\n        this.attrs.lastSuccessful = taskInstance;\n      } else {\n        if (state === _completionStates.COMPLETION_ERROR) {\n          this.attrs.lastErrored = taskInstance;\n        } else if (state === _completionStates.COMPLETION_CANCEL) {\n          this.attrs.lastCanceled = taskInstance;\n        }\n\n        this.attrs.lastIncomplete = taskInstance;\n      }\n    }\n\n    onPerformed(taskInstance) {\n      this.numPerformedInc += 1;\n      this.attrs.lastPerformed = taskInstance;\n    }\n\n    onStart(taskInstance) {\n      // a.k.a. lastStarted\n      this.attrs.last = taskInstance;\n    }\n\n    onRunning(taskInstance) {\n      this.attrs.lastRunning = taskInstance;\n      this.numRunning += 1;\n    }\n\n    onQueued() {\n      this.numQueued += 1;\n    }\n\n    recurseTaskGroups(callback) {\n      let group = this.group;\n\n      while (group) {\n        callback(group);\n        group = group.group;\n      }\n    }\n\n    applyStateFrom(other) {\n      Object.assign(this.attrs, other.attrs);\n      this.numRunning += other.numRunning;\n      this.numQueued += other.numQueued;\n      this.numPerformedInc += other.numPerformedInc;\n    }\n\n  }\n\n  var _default = RefreshState;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/external/task-instance/base\", [\"exports\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _initialState, _yieldables, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.BaseTaskInstance = void 0;\n  const EXPLICIT_CANCEL_REASON = '.cancel() was explicitly called';\n\n  class BaseTaskInstance {\n    constructor({\n      task,\n      args,\n      executor,\n      performType,\n      hasEnabledEvents\n    }) {\n      this.task = task;\n      this.args = args;\n      this.performType = performType;\n      this.executor = executor;\n      this.executor.taskInstance = this;\n      this.hasEnabledEvents = hasEnabledEvents;\n    }\n\n    setState() {}\n\n    onStarted() {}\n\n    onSuccess() {}\n\n    onError() {}\n\n    onCancel() {}\n\n    formatCancelReason() {}\n\n    selfCancelLoopWarning() {}\n\n    onFinalize(callback) {\n      this.executor.onFinalize(callback);\n    }\n\n    proceed(index, yieldResumeType, value) {\n      this.executor.proceedChecked(index, yieldResumeType, value);\n    }\n\n    [_yieldables.yieldableSymbol](parentTaskInstance, resumeIndex) {\n      return this.executor.onYielded(parentTaskInstance, resumeIndex);\n    }\n\n    cancel(cancelReason = EXPLICIT_CANCEL_REASON) {\n      this.executor.cancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_EXPLICIT, cancelReason));\n    }\n\n    then(...args) {\n      return this.executor.promise().then(...args);\n    }\n\n    catch(...args) {\n      return this.executor.promise().catch(...args);\n    }\n\n    finally(...args) {\n      return this.executor.promise().finally(...args);\n    }\n\n    toString() {\n      return `${this.task} TaskInstance`;\n    }\n\n    start() {\n      this.executor.start();\n      return this;\n    }\n\n  }\n\n  _exports.BaseTaskInstance = BaseTaskInstance;\n  Object.assign(BaseTaskInstance.prototype, _initialState.INITIAL_STATE);\n  Object.assign(BaseTaskInstance.prototype, {\n    state: 'waiting',\n    isDropped: false,\n    isRunning: true\n  });\n});","define(\"ember-concurrency/-private/external/task-instance/cancelation\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.didCancel = didCancel;\n  _exports.CancelRequest = _exports.CANCEL_KIND_PARENT_CANCEL = _exports.CANCEL_KIND_LIFESPAN_END = _exports.CANCEL_KIND_YIELDABLE_CANCEL = _exports.CANCEL_KIND_EXPLICIT = _exports.TASK_CANCELATION_NAME = void 0;\n  const TASK_CANCELATION_NAME = 'TaskCancelation';\n  /**\n   * Returns true if the object passed to it is a TaskCancelation error.\n   * If you call `someTask.perform().catch(...)` or otherwise treat\n   * a {@linkcode TaskInstance} like a promise, you may need to\n   * handle the cancelation of a TaskInstance differently from\n   * other kinds of errors it might throw, and you can use this\n   * convenience function to distinguish cancelation from errors.\n   *\n   * ```js\n   * click() {\n   *   this.myTask.perform().catch(e => {\n   *     if (!didCancel(e)) { throw e; }\n   *   });\n   * }\n   * ```\n   *\n   * @param {Object} error the caught error, which might be a TaskCancelation\n   * @returns {Boolean}\n   */\n\n  _exports.TASK_CANCELATION_NAME = TASK_CANCELATION_NAME;\n\n  function didCancel(e) {\n    return e && e.name === TASK_CANCELATION_NAME;\n  }\n\n  const CANCEL_KIND_EXPLICIT = 'explicit';\n  _exports.CANCEL_KIND_EXPLICIT = CANCEL_KIND_EXPLICIT;\n  const CANCEL_KIND_YIELDABLE_CANCEL = 'yielded';\n  _exports.CANCEL_KIND_YIELDABLE_CANCEL = CANCEL_KIND_YIELDABLE_CANCEL;\n  const CANCEL_KIND_LIFESPAN_END = 'lifespan_end';\n  _exports.CANCEL_KIND_LIFESPAN_END = CANCEL_KIND_LIFESPAN_END;\n  const CANCEL_KIND_PARENT_CANCEL = 'parent_cancel';\n  _exports.CANCEL_KIND_PARENT_CANCEL = CANCEL_KIND_PARENT_CANCEL;\n\n  class CancelRequest {\n    constructor(kind, reason) {\n      this.kind = kind;\n      this.reason = reason;\n      this.promise = new Promise(resolve => {\n        this.finalize = resolve;\n      });\n    }\n\n  }\n\n  _exports.CancelRequest = CancelRequest;\n});","define(\"ember-concurrency/-private/external/task-instance/completion-states\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.COMPLETION_CANCEL = _exports.COMPLETION_ERROR = _exports.COMPLETION_SUCCESS = _exports.COMPLETION_PENDING = void 0;\n  const COMPLETION_PENDING = 0;\n  _exports.COMPLETION_PENDING = COMPLETION_PENDING;\n  const COMPLETION_SUCCESS = 1;\n  _exports.COMPLETION_SUCCESS = COMPLETION_SUCCESS;\n  const COMPLETION_ERROR = 2;\n  _exports.COMPLETION_ERROR = COMPLETION_ERROR;\n  const COMPLETION_CANCEL = 3;\n  _exports.COMPLETION_CANCEL = COMPLETION_CANCEL;\n});","define(\"ember-concurrency/-private/external/task-instance/executor\", [\"exports\", \"ember-concurrency/-private/external/generator-state\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/external/task-instance/completion-states\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _generatorState, _initialState, _yieldables, _completionStates, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getRunningInstance = getRunningInstance;\n  _exports.TaskInstanceExecutor = _exports.PERFORM_TYPE_LINKED = _exports.PERFORM_TYPE_UNLINKED = _exports.PERFORM_TYPE_DEFAULT = void 0;\n  const PERFORM_TYPE_DEFAULT = 'PERFORM_TYPE_DEFAULT';\n  _exports.PERFORM_TYPE_DEFAULT = PERFORM_TYPE_DEFAULT;\n  const PERFORM_TYPE_UNLINKED = 'PERFORM_TYPE_UNLINKED';\n  _exports.PERFORM_TYPE_UNLINKED = PERFORM_TYPE_UNLINKED;\n  const PERFORM_TYPE_LINKED = 'PERFORM_TYPE_LINKED';\n  _exports.PERFORM_TYPE_LINKED = PERFORM_TYPE_LINKED;\n  const CANCEL_RETURN_VALUE_SENTINEL = {};\n  let TASK_INSTANCE_STACK = [];\n\n  function getRunningInstance() {\n    return TASK_INSTANCE_STACK[TASK_INSTANCE_STACK.length - 1];\n  }\n\n  class TaskInstanceExecutor {\n    constructor({\n      generatorFactory,\n      env,\n      debug\n    }) {\n      this.generatorState = new _generatorState.GeneratorState(generatorFactory);\n      this.state = Object.assign({}, _initialState.INITIAL_STATE);\n      this.index = 1;\n      this.disposers = [];\n      this.finalizeCallbacks = [];\n      this.env = env;\n      this.debug = debug;\n      this.cancelRequest = null;\n    }\n\n    start() {\n      if (this.state.hasStarted || this.cancelRequest) {\n        return;\n      }\n\n      this.setState({\n        hasStarted: true\n      });\n      this.proceedSync(_yieldables.YIELDABLE_CONTINUE, undefined);\n      this.taskInstance.onStarted();\n    }\n\n    cancel(cancelRequest) {\n      if (!this.requestCancel(cancelRequest)) {\n        cancelRequest.finalize();\n        return cancelRequest.promise;\n      }\n\n      if (this.state.hasStarted) {\n        this.proceedWithCancelAsync();\n      } else {\n        this.finalizeWithCancel();\n      }\n\n      return this.cancelRequest.promise;\n    }\n\n    setState(state) {\n      Object.assign(this.state, state);\n      this.taskInstance.setState(this.state);\n    }\n\n    proceedChecked(index, yieldResumeType, value) {\n      if (this.state.isFinished) {\n        return;\n      }\n\n      if (!this.advanceIndex(index)) {\n        return;\n      }\n\n      if (yieldResumeType === _yieldables.YIELDABLE_CANCEL) {\n        this.requestCancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_YIELDABLE_CANCEL), value);\n        this.proceedWithCancelAsync();\n      } else {\n        this.proceedAsync(yieldResumeType, value);\n      }\n    }\n\n    proceedWithCancelAsync() {\n      this.proceedAsync(_yieldables.YIELDABLE_RETURN, CANCEL_RETURN_VALUE_SENTINEL);\n    }\n\n    proceedAsync(yieldResumeType, value) {\n      this.advanceIndex(this.index);\n      this.env.async(() => this.proceedSync(yieldResumeType, value));\n    }\n\n    proceedSync(yieldResumeType, value) {\n      if (this.state.isFinished) {\n        return;\n      }\n\n      this.dispose();\n\n      if (this.generatorState.done) {\n        this.handleResolvedReturnedValue(yieldResumeType, value);\n      } else {\n        this.handleResolvedContinueValue(yieldResumeType, value);\n      }\n    }\n    /**\n     * This method is called when a previously yielded value from\n     * the generator has been resolved, and now it's time to pass\n     * it back into the generator. There are 3 ways to \"resume\" a\n     * generator:\n     *\n     * - call `.next(value)` on it, which is used to pass in a resolved\n     *   value (the fulfilled value of a promise), e.g. if a task generator fn\n     *   does `yield Promise.resolve(5)`, then we take that promise yielded\n     *   by the generator, detect that it's a promise, resolve it, and then\n     *   pass its fulfilled value `5` back into the generator function so\n     *   that it can continue executing.\n     * - call `.throw(error)` on it, which throw an exception from where the\n     *   the generator previously yielded. We do this when the previously\n     *   yielded value resolves to an error value (e.g. a rejected promise\n     *   or a TaskInstance that finished with an error). Note that when you\n     *   resume a generator with a `.throw()`, it can still recover from that\n     *   thrown error and continue executing normally so long as the `yield`\n     *   was inside a `try/catch` statement.\n     * - call `.return(value)` on it, causes the generator function to return\n     *   from where it previously `yield`ed. We use `.return()` when cancelling\n     *   a TaskInstance; by `.return`ing, rather than `.throw`ing, it allows\n     *   the generator function to skip `catch(e) {}` blocks, which is usually\n     *   reserved for actual errors/exceptions; if we `.throw`'d cancellations,\n     *   it would require all tasks that used try/catch to conditionally ignore\n     *   cancellations, which is annoying. So we `.return()` from generator functions\n     *   in the case of errors as a matter of convenience.\n     *\n     * @private\n     */\n\n\n    handleResolvedContinueValue(iteratorMethod, resumeValue) {\n      let beforeIndex = this.index;\n      let stepResult = this.generatorStep(resumeValue, iteratorMethod); // TODO: what is this doing? write breaking test.\n\n      if (!this.advanceIndex(beforeIndex)) {\n        return;\n      }\n\n      if (stepResult.errored) {\n        this.finalize(stepResult.value, _completionStates.COMPLETION_ERROR);\n        return;\n      }\n\n      this.handleYieldedValue(stepResult);\n    }\n    /**\n     * This method is called when the generator function is all\n     * out of values, and the last value returned from the function\n     * (possible a thenable/yieldable/promise/etc) has been resolved.\n     *\n     * Possible cases:\n     * - `return \"simple value\";` // resolved value is \"simple value\"\n     * - `return undefined;` // (or omitted return) resolved value is undefined\n     * - `return someTask.perform()` // resolved value is the value returned/resolved from someTask\n     *\n     * @private\n     */\n\n\n    handleResolvedReturnedValue(yieldResumeType, value) {\n      switch (yieldResumeType) {\n        case _yieldables.YIELDABLE_CONTINUE:\n        case _yieldables.YIELDABLE_RETURN:\n          this.finalize(value, _completionStates.COMPLETION_SUCCESS);\n          break;\n\n        case _yieldables.YIELDABLE_THROW:\n          this.finalize(value, _completionStates.COMPLETION_ERROR);\n          break;\n      }\n    }\n\n    handleYieldedUnknownThenable(thenable) {\n      let resumeIndex = this.index;\n      thenable.then(value => {\n        this.proceedChecked(resumeIndex, _yieldables.YIELDABLE_CONTINUE, value);\n      }, error => {\n        this.proceedChecked(resumeIndex, _yieldables.YIELDABLE_THROW, error);\n      });\n    }\n    /**\n     * The TaskInstance internally tracks an index/sequence number\n     * (the `index` property) which gets incremented every time the\n     * task generator function iterator takes a step. When a task\n     * function is paused at a `yield`, there are two events that\n     * cause the TaskInstance to take a step: 1) the yielded value\n     * \"resolves\", thus resuming the TaskInstance's execution, or\n     * 2) the TaskInstance is canceled. We need some mechanism to prevent\n     * stale yielded value resolutions from resuming the TaskFunction\n     * after the TaskInstance has already moved on (either because\n     * the TaskInstance has since been canceled or because an\n     * implementation of the Yieldable API tried to resume the\n     * TaskInstance more than once). The `index` serves as\n     * that simple mechanism: anyone resuming a TaskInstance\n     * needs to pass in the `index` they were provided that acts\n     * as a ticket to resume the TaskInstance that expires once\n     * the TaskInstance has moved on.\n     *\n     * @private\n     */\n\n\n    advanceIndex(index) {\n      if (this.index === index) {\n        return ++this.index;\n      }\n    }\n\n    handleYieldedValue(stepResult) {\n      let yieldedValue = stepResult.value;\n\n      if (!yieldedValue) {\n        this.proceedWithSimpleValue(yieldedValue);\n        return;\n      }\n\n      this.addDisposer(yieldedValue[_yieldables.cancelableSymbol]);\n\n      if (yieldedValue[_yieldables.yieldableSymbol]) {\n        this.invokeYieldable(yieldedValue);\n      } else if (typeof yieldedValue.then === 'function') {\n        this.handleYieldedUnknownThenable(yieldedValue);\n      } else {\n        this.proceedWithSimpleValue(yieldedValue);\n      }\n    }\n\n    proceedWithSimpleValue(yieldedValue) {\n      this.proceedAsync(_yieldables.YIELDABLE_CONTINUE, yieldedValue);\n    }\n\n    addDisposer(maybeDisposer) {\n      if (typeof maybeDisposer !== 'function') {\n        return;\n      }\n\n      this.disposers.push(maybeDisposer);\n    }\n    /**\n     * Runs any disposers attached to the task's most recent `yield`.\n     * For instance, when a task yields a TaskInstance, it registers that\n     * child TaskInstance's disposer, so that if the parent task is canceled,\n     * dispose() will run that disposer and cancel the child TaskInstance.\n     *\n     * @private\n     */\n\n\n    dispose() {\n      let disposers = this.disposers;\n\n      if (disposers.length === 0) {\n        return;\n      }\n\n      this.disposers = [];\n      disposers.forEach(disposer => disposer());\n    }\n    /**\n     * Calls .next()/.throw()/.return() on the task's generator function iterator,\n     * essentially taking a single step of execution on the task function.\n     *\n     * @private\n     */\n\n\n    generatorStep(nextValue, iteratorMethod) {\n      TASK_INSTANCE_STACK.push(this);\n      let stepResult = this.generatorState.step(nextValue, iteratorMethod);\n      TASK_INSTANCE_STACK.pop(); // TODO: fix this!\n\n      if (this._expectsLinkedYield) {\n        let value = stepResult.value;\n\n        if (!value || value.performType !== PERFORM_TYPE_LINKED) {\n          // eslint-disable-next-line no-console\n          console.warn('You performed a .linked() task without immediately yielding/returning it. This is currently unsupported (but might be supported in future version of ember-concurrency).');\n        }\n\n        this._expectsLinkedYield = false;\n      }\n\n      return stepResult;\n    }\n\n    maybeResolveDefer() {\n      if (!this.defer || !this.state.isFinished) {\n        return;\n      }\n\n      if (this.state.completionState === _completionStates.COMPLETION_SUCCESS) {\n        this.defer.resolve(this.state.value);\n      } else {\n        this.defer.reject(this.state.error);\n      }\n    }\n\n    onFinalize(callback) {\n      this.finalizeCallbacks.push(callback);\n\n      if (this.state.isFinished) {\n        this.runFinalizeCallbacks();\n      }\n    }\n\n    runFinalizeCallbacks() {\n      this.finalizeCallbacks.forEach(cb => cb());\n      this.finalizeCallbacks = [];\n      this.maybeResolveDefer();\n      this.maybeThrowUnhandledTaskErrorLater();\n    }\n\n    promise() {\n      if (!this.defer) {\n        this.defer = this.env.defer();\n        this.asyncErrorsHandled = true;\n        this.maybeResolveDefer();\n      }\n\n      return this.defer.promise;\n    }\n\n    maybeThrowUnhandledTaskErrorLater() {\n      if (!this.asyncErrorsHandled && this.state.completionState === _completionStates.COMPLETION_ERROR && !(0, _cancelation.didCancel)(this.state.error)) {\n        this.env.async(() => {\n          if (!this.asyncErrorsHandled) {\n            this.env.reportUncaughtRejection(this.state.error);\n          }\n        });\n      }\n    }\n\n    requestCancel(request) {\n      if (this.cancelRequest || this.state.isFinished) {\n        return false;\n      }\n\n      this.cancelRequest = request;\n      return true;\n    }\n\n    finalize(value, completionState) {\n      if (this.cancelRequest) {\n        return this.finalizeWithCancel();\n      }\n\n      let state = {\n        completionState\n      };\n\n      if (completionState === _completionStates.COMPLETION_SUCCESS) {\n        state.isSuccessful = true;\n        state.value = value;\n      } else if (completionState === _completionStates.COMPLETION_ERROR) {\n        state.isError = true;\n        state.error = value;\n      } else if (completionState === _completionStates.COMPLETION_CANCEL) {\n        state.error = value;\n      }\n\n      this.finalizeShared(state);\n    }\n\n    finalizeWithCancel() {\n      let cancelReason = this.taskInstance.formatCancelReason(this.cancelRequest.reason);\n      let error = new Error(cancelReason);\n\n      if (this.debugEnabled()) {\n        // eslint-disable-next-line no-console\n        console.log(cancelReason);\n      }\n\n      error.name = _cancelation.TASK_CANCELATION_NAME;\n      this.finalizeShared({\n        isCanceled: true,\n        completionState: _completionStates.COMPLETION_CANCEL,\n        error,\n        cancelReason\n      });\n      this.cancelRequest.finalize();\n    }\n\n    debugEnabled() {\n      return this.debug || this.env.globalDebuggingEnabled();\n    }\n\n    finalizeShared(state) {\n      this.index++;\n      state.isFinished = true;\n      this.setState(state);\n      this.runFinalizeCallbacks();\n      this.dispatchFinalizeEvents(state.completionState);\n    }\n\n    dispatchFinalizeEvents(completionState) {\n      switch (completionState) {\n        case _completionStates.COMPLETION_SUCCESS:\n          this.taskInstance.onSuccess();\n          break;\n\n        case _completionStates.COMPLETION_ERROR:\n          this.taskInstance.onError(this.state.error);\n          break;\n\n        case _completionStates.COMPLETION_CANCEL:\n          this.taskInstance.onCancel(this.state.cancelReason);\n          break;\n      }\n    }\n\n    invokeYieldable(yieldedValue) {\n      try {\n        let maybeDisposer = yieldedValue[_yieldables.yieldableSymbol](this.taskInstance, this.index);\n\n        this.addDisposer(maybeDisposer);\n      } catch (e) {\n        this.env.reportUncaughtRejection(e);\n      }\n    }\n    /**\n     * `onYielded` is called when this task instance has been\n     * yielded in another task instance's execution. We take\n     * this opportunity to conditionally link up the tasks\n     * so that when the parent or child cancels, the other\n     * is cancelled.\n     *\n     * Given the following case:\n     *\n     * ```js\n     * parentTask: task(function * () {\n     *   yield otherTask.perform();\n     * })\n     * ```\n     *\n     * Then the `parent` param is the task instance that is executing, `this`\n     * is the `otherTask` task instance that was yielded.\n     *\n     * @private\n     */\n\n\n    onYielded(parent, resumeIndex) {\n      this.asyncErrorsHandled = true;\n      this.onFinalize(() => {\n        let completionState = this.state.completionState;\n\n        if (completionState === _completionStates.COMPLETION_SUCCESS) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_CONTINUE, this.state.value);\n        } else if (completionState === _completionStates.COMPLETION_ERROR) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_THROW, this.state.error);\n        } else if (completionState === _completionStates.COMPLETION_CANCEL) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_CANCEL, null);\n        }\n      });\n      let performType = this.getPerformType();\n\n      if (performType === PERFORM_TYPE_UNLINKED) {\n        return;\n      }\n\n      return () => {\n        this.detectSelfCancelLoop(performType, parent);\n        this.cancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_PARENT_CANCEL));\n      };\n    }\n\n    getPerformType() {\n      return this.taskInstance.performType || PERFORM_TYPE_DEFAULT;\n    }\n\n    detectSelfCancelLoop(performType, parent) {\n      if (performType !== PERFORM_TYPE_DEFAULT) {\n        return;\n      }\n\n      let parentCancelRequest = parent.executor && parent.executor.cancelRequest; // Detect that the parent was cancelled by a lifespan ending and\n      // that the child is still running and not cancelled.\n\n      if (parentCancelRequest && parentCancelRequest.kind === _cancelation.CANCEL_KIND_LIFESPAN_END && !this.cancelRequest && !this.state.isFinished) {\n        this.taskInstance.selfCancelLoopWarning(parent);\n      }\n    }\n\n  }\n\n  _exports.TaskInstanceExecutor = TaskInstanceExecutor;\n});","define(\"ember-concurrency/-private/external/task-instance/initial-state\", [\"exports\", \"ember-concurrency/-private/external/task-instance/completion-states\"], function (_exports, _completionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.INITIAL_STATE = void 0;\n  const INITIAL_STATE = {\n    completionState: _completionStates.COMPLETION_PENDING,\n\n    /**\n     * If this TaskInstance runs to completion by returning a property\n     * other than a rejecting promise, this property will be set\n     * with that value.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    value: null,\n\n    /**\n     * If this TaskInstance is canceled or throws an error (or yields\n     * a promise that rejects), this property will be set with that error.\n     * Otherwise, it is null.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    error: null,\n\n    /**\n     * True if the task instance is fulfilled.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isSuccessful: false,\n\n    /**\n     * True if the task instance resolves to a rejection.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isError: false,\n\n    /**\n     * True if the task instance is canceled\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isCanceled: false,\n\n    /**\n     * True if the task instance has started, else false.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    hasStarted: false,\n\n    /**\n     * True if the task has run to completion.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isFinished: false\n  };\n  _exports.INITIAL_STATE = INITIAL_STATE;\n});","define(\"ember-concurrency/-private/external/task/default-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEFAULT_STATE = void 0;\n  const DEFAULT_STATE = {\n    last: null,\n    lastRunning: null,\n    lastStarted: null,\n    lastPerformed: null,\n    lastSuccessful: null,\n    lastComplete: null,\n    lastErrored: null,\n    lastCanceled: null,\n    lastIncomplete: null,\n    performCount: 0\n  };\n  _exports.DEFAULT_STATE = DEFAULT_STATE;\n  Object.freeze(DEFAULT_STATE);\n});","define(\"ember-concurrency/-private/external/task/task-group\", [\"exports\", \"ember-concurrency/-private/external/task/taskable\"], function (_exports, _taskable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroup = void 0;\n\n  class TaskGroup extends _taskable.Taskable {}\n\n  _exports.TaskGroup = TaskGroup;\n});","define(\"ember-concurrency/-private/external/task/task\", [\"exports\", \"ember-concurrency/-private/external/task/taskable\", \"ember-concurrency/-private/external/task-instance/executor\"], function (_exports, _taskable, _executor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Task = void 0;\n\n  class TaskLinkProxy {\n    constructor(task, performType, linkedObject) {\n      this.task = task;\n      this.performType = performType;\n      this.linkedObject = linkedObject;\n    }\n\n    perform(...args) {\n      return this.task._performShared(args, this.performType, this.linkedObject);\n    }\n\n  }\n\n  class Task extends _taskable.Taskable {\n    constructor(options) {\n      super(options);\n      this.perform = this._perform.bind(this);\n    }\n\n    linked() {\n      let linkedObject = (0, _executor.getRunningInstance)();\n\n      if (!linkedObject) {\n        throw new Error(`You can only call .linked() from within a task.`);\n      }\n\n      return new TaskLinkProxy(this, _executor.PERFORM_TYPE_LINKED, linkedObject);\n    }\n\n    unlinked() {\n      return new TaskLinkProxy(this, _executor.PERFORM_TYPE_UNLINKED, null);\n    }\n\n    _perform() {}\n\n  }\n\n  _exports.Task = Task;\n});","define(\"ember-concurrency/-private/external/task/taskable\", [\"exports\", \"ember-concurrency/-private/external/task/default-state\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _defaultState, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Taskable = void 0;\n  let guidId = 0;\n\n  function makeGuid() {\n    return `ec_${guidId++}`;\n  }\n\n  class Taskable {\n    constructor(options) {\n      this.options = options;\n      Object.assign(this, options);\n      this.guid = makeGuid();\n      this.guids = {};\n      this.guids[this.guid] = true;\n\n      if (this.group) {\n        Object.assign(this.guids, this.group.guids);\n      }\n    }\n\n    cancelAll(options) {\n      let {\n        reason,\n        cancelRequestKind,\n        resetState\n      } = options || {};\n      reason = reason || '.cancelAll() was explicitly called on the Task';\n      let cancelRequest = new _cancelation.CancelRequest(cancelRequestKind || _cancelation.CANCEL_KIND_EXPLICIT, reason);\n      return this.scheduler.cancelAll(this.guid, cancelRequest).then(() => {\n        if (resetState) {\n          this._resetState();\n        }\n      });\n    }\n\n    _resetState() {\n      this.setState(_defaultState.DEFAULT_STATE);\n    } // override\n\n\n    setState() {}\n\n  }\n\n  _exports.Taskable = Taskable;\n  Object.assign(Taskable.prototype, _defaultState.DEFAULT_STATE);\n  Object.assign(Taskable.prototype, {\n    numRunning: 0,\n    numQueued: 0,\n    isRunning: false,\n    isQueued: false,\n    isIdle: true,\n    state: 'idle'\n  });\n});","define(\"ember-concurrency/-private/external/yieldables\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.animationFrame = animationFrame;\n  _exports.rawTimeout = rawTimeout;\n  _exports.forever = _exports.Yieldable = _exports.YIELDABLE_CANCEL = _exports.YIELDABLE_RETURN = _exports.YIELDABLE_THROW = _exports.YIELDABLE_CONTINUE = _exports.yieldableSymbol = _exports.cancelableSymbol = void 0;\n  const cancelableSymbol = '__ec_cancel__';\n  _exports.cancelableSymbol = cancelableSymbol;\n  const yieldableSymbol = '__ec_yieldable__';\n  _exports.yieldableSymbol = yieldableSymbol;\n  const YIELDABLE_CONTINUE = 'next';\n  _exports.YIELDABLE_CONTINUE = YIELDABLE_CONTINUE;\n  const YIELDABLE_THROW = 'throw';\n  _exports.YIELDABLE_THROW = YIELDABLE_THROW;\n  const YIELDABLE_RETURN = 'return';\n  _exports.YIELDABLE_RETURN = YIELDABLE_RETURN;\n  const YIELDABLE_CANCEL = 'cancel';\n  /**\n   * @class YieldableState\n   * @hideconstructor\n   */\n\n  _exports.YIELDABLE_CANCEL = YIELDABLE_CANCEL;\n\n  class YieldableState {\n    constructor(taskInstance, resumeIndex) {\n      this._taskInstance = taskInstance;\n      this._resumeIndex = resumeIndex;\n    }\n    /**\n     * Return yielded TaskInstance. Useful for introspection on instance state.\n     * @method getTaskInstance\n     * @memberof YieldableState\n     * @public\n     * @instance\n     */\n\n\n    getTaskInstance() {\n      return this._taskInstance;\n    }\n    /**\n     * Cancel the yielded TaskInstance.\n     * @method cancel\n     * @memberof YieldableState\n     * @public\n     * @instance\n     */\n\n\n    cancel() {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_CANCEL);\n    }\n    /**\n     * Cause the TaskInstance to return from its yield with an optional value,\n     * and continue executing.\n     * @method next\n     * @memberof YieldableState\n     * @param value\n     * @public\n     * @instance\n     */\n\n\n    next(value) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_CONTINUE, value);\n    }\n    /**\n     * Short-circuit TaskInstance execution and have it return with an optional\n     * value.\n     * @method return\n     * @memberof YieldableState\n     * @param value\n     * @public\n     * @instance\n     */\n\n\n    return(value) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_RETURN, value);\n    }\n    /**\n     * Raise a given error within the given task instance and halt execution\n     * @method throw\n     * @memberof YieldableState\n     * @param error\n     * @public\n     * @instance\n     */\n\n\n    throw(error) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_THROW, error);\n    }\n\n  }\n  /**\n   * Yieldables are a primitive for building safe, cancelation-aware ways to\n   * instrument and introspect the runtime of a task. Many Yieldables are built-in\n   * to ember-concurrency today, such as `timeout`, `animationFrame`, and\n   * `rawTimeout`.\n   *\n   * For example, if I wanted to implement a yieldable for `requestIdleCallback`,\n   * I could do the following:\n   *\n   * ```javascript\n   * import Component from '@glimmer/component';\n   * import { task, Yieldable } from 'ember-concurrency';\n   *\n   * class IdleCallbackYieldable extends Yieldable {\n   *   onYield(state) {\n   *     let callbackId = requestIdleCallback(() => state.next());\n   *\n   *     return () => cancelIdleCallback(callbackId);\n   *   }\n   * }\n   *\n   * const idleCallback = () => new IdleCallbackYieldable();\n   *\n   * class MyComponent extends Component {\n   *   &#64;task *backgroundTask() {\n   *     while (1) {\n   *       yield idleCallback();\n   *\n   *       const data = this.complicatedNumberCrunching();\n   *       yield this.sendData(data);\n   *     }\n   *   }\n   * }\n   * ```\n   *\n   * In general, `Yieldable` instances **should** be reusable across calls, and thus\n   * care should be taken to ensure that teardown is provided and state not\n   * intended to be shared across calls stay inside `onYield`.\n   *\n   * `Yieldable` also provides automatic Promise-casting.\n   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #Yieldable { display: none }\n   * </style>\n   *\n   * @class Yieldable\n   */\n\n\n  class Yieldable {\n    constructor() {\n      this[yieldableSymbol] = this[yieldableSymbol].bind(this);\n    }\n    /**\n     * Defines what happens when the task encounters `yield myYieldable` and returns\n     * a disposer function that handles any cleanup.\n     *\n     * The state parameter is provided by the runtime, and provides operations for\n     * interacting with the yielding task instance and advancing, returning,\n     * throwing, or canceling its execution.\n     *\n     * @method onYield\n     * @memberof Yieldable\n     * @param {YieldableState} state\n     * @instance\n     * @public\n     */\n\n\n    onYield() {}\n\n    _deferable() {\n      let def = {\n        resolve: undefined,\n        reject: undefined\n      };\n      def.promise = new Promise((resolve, reject) => {\n        def.resolve = resolve;\n        def.reject = reject;\n      });\n      return def;\n    }\n\n    _toPromise() {\n      let def = this._deferable();\n\n      let thinInstance = {\n        proceed(_index, resumeType, value) {\n          if (resumeType == YIELDABLE_CONTINUE || resumeType == YIELDABLE_RETURN) {\n            def.resolve(value);\n          } else {\n            def.reject(value);\n          }\n        }\n\n      };\n      let maybeDisposer = this[yieldableSymbol](thinInstance, 0);\n      def.promise[cancelableSymbol] = maybeDisposer;\n      return def.promise;\n    }\n    /**\n     * Returns a promise that resolves with the value yielded back to or returned\n     * to the yielded task, or rejects with either the exception thrown from the\n     * Yieldable, or an error with a `.name` property with value `\"TaskCancelation\"`.\n     *\n     * @method then\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n\n\n    then(...args) {\n      return this._toPromise().then(...args);\n    }\n    /**\n     * @method catch\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n\n\n    catch(...args) {\n      return this._toPromise().catch(...args);\n    }\n    /**\n     * @method finally\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n\n\n    finally(...args) {\n      return this._toPromise().finally(...args);\n    }\n\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      let state = new YieldableState(taskInstance, resumeIndex);\n      return this.onYield(state);\n    }\n\n  }\n\n  _exports.Yieldable = Yieldable;\n\n  class AnimationFrameYieldable extends Yieldable {\n    onYield(state) {\n      let timerId = requestAnimationFrame(() => state.next());\n      return () => cancelAnimationFrame(timerId);\n    }\n\n  }\n\n  class ForeverYieldable extends Yieldable {\n    onYield() {}\n\n  }\n\n  class RawTimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n    }\n\n    onYield(state) {\n      let timerId = setTimeout(() => state.next(), this.ms);\n      return () => clearTimeout(timerId);\n    }\n\n  }\n  /**\n   * Yielding `animationFrame()` will pause a task until after the next animation\n   * frame using the native `requestAnimationFrame()` browser API.\n   *\n   * The task below, when performed, will print the time since the last loop run\n   * for every animation frame.\n   *\n   * ```js\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     let lastNow = performance.now();\n   *     while (true) {\n   *       yield animationFrame();\n   *\n   *       let now = performance.now();\n   *       let dt = now - lastNow;\n   *       lastNow = now;\n   *\n   *       console.log(dt);\n   *     }\n   *   }\n   * }\n   * ```\n   */\n\n\n  function animationFrame() {\n    return new AnimationFrameYieldable();\n  }\n  /**\n   *\n   * Yielding `forever` will pause a task indefinitely until\n   * it is cancelled (i.e. via host object destruction, the restartable modifier,\n   * or manual cancellation).\n   *\n   * This is often useful in cases involving animation: if you're\n   * using Liquid Fire, or some other animation scheme, sometimes you'll\n   * notice buttons visibly reverting to their inactive states during\n   * a route transition. By yielding `forever` in a Component task that drives a\n   * button's active state, you can keep a task indefinitely running\n   * until the animation runs to completion.\n   *\n   * NOTE: Liquid Fire also includes a useful `waitUntilIdle()` method\n   * on the `liquid-fire-transitions` service that you can use in a lot\n   * of these cases, but it won't cover cases of asynchrony that are\n   * unrelated to animation, in which case `forever` might be better suited\n   * to your needs.\n   *\n   * ```js\n   * import { task, forever } from 'ember-concurrency';\n   * export default class MyComponent extends Component {\n   *   &#64;service myService;\n   *   &#64;task *myTask() {\n   *     yield this.myService.doSomethingThatCausesATransition();\n   *     yield forever;\n   *   }\n   * }\n   * ```\n   */\n\n\n  const forever = new ForeverYieldable();\n  /**\n   *\n   * Yielding `rawTimeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * The timeout will use the native `setTimeout()` browser API,\n   * instead of the Ember runloop, which means that test helpers\n   * will *not* wait for it to complete.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield rawTimeout(1000);\n   *     }\n   *   }\n   * }\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n\n  _exports.forever = forever;\n\n  function rawTimeout(ms) {\n    return new RawTimeoutYieldable(ms);\n  }\n});","define(\"ember-concurrency/-private/helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.taskHelperClosure = taskHelperClosure;\n\n  function taskHelperClosure(helperName, taskMethod, _args, hash) {\n    let task = _args[0];\n\n    let outerArgs = _args.slice(1);\n\n    return function (...innerArgs) {\n      if (!task || typeof task[taskMethod] !== 'function') {\n        (true && !(false) && Ember.assert(`The first argument passed to the \\`${helperName}\\` helper should be a Task object (without quotes); you passed ${task}`, false));\n        return;\n      }\n\n      if (hash && hash.value) {\n        let event = innerArgs.pop();\n        innerArgs.push(Ember.get(event, hash.value));\n      }\n\n      return task[taskMethod](...outerArgs, ...innerArgs);\n    };\n  }\n});","define(\"ember-concurrency/-private/scheduler/ember-scheduler\", [\"exports\", \"ember-concurrency/-private/external/scheduler/scheduler\"], function (_exports, _scheduler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class EmberScheduler extends _scheduler.default {\n    scheduleRefresh() {\n      Ember.run.once(this, this.refresh);\n    }\n\n  }\n\n  var _default = EmberScheduler;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-private/task-decorators\", [\"exports\", \"ember-concurrency/-private/task-factory\", \"ember-concurrency/-private/utils\"], function (_exports, _taskFactory, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.restartableTaskGroup = _exports.keepLatestTaskGroup = _exports.enqueueTaskGroup = _exports.dropTaskGroup = _exports.taskGroup = _exports.restartableTask = _exports.keepLatestTask = _exports.enqueueTask = _exports.dropTask = _exports.task = _exports.lastValue = void 0;\n\n  function taskFromPropertyDescriptor(target, key, descriptor, params = []) {\n    let {\n      initializer,\n      get,\n      value\n    } = descriptor;\n    let taskFn;\n\n    if (initializer) {\n      taskFn = initializer.call(undefined);\n    } else if (get) {\n      taskFn = get.call(undefined);\n    } else if (value) {\n      taskFn = value;\n    }\n\n    taskFn.displayName = `${key} (task)`;\n    let tasks = new WeakMap();\n    let options = params[0] || {};\n    let factory = new _taskFactory.TaskFactory(key, taskFn, options);\n\n    factory._setupEmberKVO(target);\n\n    return {\n      get() {\n        let task = tasks.get(this);\n\n        if (!task) {\n          task = factory.createTask(this);\n          tasks.set(this, task);\n        }\n\n        return task;\n      }\n\n    };\n  }\n\n  function taskGroupPropertyDescriptor(target, key, _descriptor, params = []) {\n    let taskGroups = new WeakMap();\n    let options = params[0] || {};\n    let factory = new _taskFactory.TaskGroupFactory(key, null, options);\n    return {\n      get() {\n        let task = taskGroups.get(this);\n\n        if (!task) {\n          task = factory.createTaskGroup(this);\n          taskGroups.set(this, task);\n        }\n\n        return task;\n      }\n\n    };\n  } // Cribbed from @ember-decorators/utils\n\n\n  function isFieldDescriptor(possibleDesc) {\n    let [target, key, desc] = possibleDesc;\n    return possibleDesc.length === 3 && typeof target === 'object' && target !== null && typeof key === 'string' && (typeof desc === 'object' && desc !== null && 'enumerable' in desc && 'configurable' in desc || desc === undefined) // TS compatibility ???\n    ;\n  }\n\n  function decoratorWithParams(descriptorFn) {\n    return function (...params) {\n      if (isFieldDescriptor(params)) {\n        return descriptorFn(...params);\n      } else {\n        return (...desc) => descriptorFn(...desc, params);\n      }\n    };\n  }\n\n  function createDecorator(fn, baseOptions = {}) {\n    return decoratorWithParams((target, key, descriptor, [userOptions] = []) => {\n      let mergedOptions = Object.assign({}, { ...baseOptions,\n        ...userOptions\n      });\n      return fn(target, key, descriptor, [mergedOptions]);\n    });\n  }\n\n  const lastValue = decoratorWithParams((target, key, descriptor, [taskName] = []) => {\n    const {\n      initializer\n    } = descriptor;\n    delete descriptor.initializer;\n\n    if (_utils.USE_TRACKED) {\n      return {\n        get() {\n          let lastInstance = this[taskName].lastSuccessful;\n\n          if (lastInstance) {\n            return lastInstance.value;\n          }\n\n          if (initializer) {\n            return initializer.call(this);\n          }\n\n          return undefined;\n        }\n\n      };\n    } else {\n      let cp = Ember.computed(`${taskName}.lastSuccessful`, function () {\n        let lastInstance = Ember.get(this, `${taskName}.lastSuccessful`);\n\n        if (lastInstance) {\n          return Ember.get(lastInstance, 'value');\n        }\n\n        if (initializer) {\n          return initializer.call(this);\n        }\n\n        return undefined;\n      });\n      return cp(target, key, descriptor);\n    }\n  });\n  /**\n   * A Task is a cancelable, restartable, asynchronous operation that\n   * is driven by a generator function. Tasks are automatically canceled\n   * when the object they live on is destroyed (e.g. a Component\n   * is unrendered).\n   *\n   * Turns the decorated generator function into a task.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, `group` or `keepLatest`.\n   *\n   * By default, tasks have no concurrency constraints\n   * (multiple instances of a task can be running at the same time)\n   * but much of a power of tasks lies in proper usage of Task Modifiers\n   * that you can apply to a task.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;task({ maxConcurrency: 5, keepLatest: true, cancelOn: 'click' })\n   *   *taskWithModifiers() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options\n   * @param {string|string[]} [options.cancelOn] Events to cancel task on. Applies only to `&#64;ember/component`\n   * @param {boolean} [options.enqueue] Sets `enqueue` modifier on task if `true`\n   * @param {boolean} [options.evented] Enables [task lifecycle events](/docs/task-lifecycle-events) for this Task, if `true`\n   * @param {boolean} [options.debug] Enables task debugging if `true`\n   * @param {boolean} [options.drop] Sets `drop` modifier on task if `true`\n   * @param {string} [options.group] Associates task with the group specified\n   * @param {boolean} [options.keepLatest] Sets `keepLatest` modifier on task if `true`\n   * @param {number} [options.maxConcurrency] Sets the maximum number of running task instances for the task\n   * @param {string|string[]} [options.observes] Properties to watch and cause task to be performed when they change\n   * @param {string|string[]} [options.on] Events to perform task on. Applies only to `&#64;ember/component`\n   * @param {function?} [options.onState] Callback to use for state tracking. May be set to `null` to disable state tracking.\n   * @param {boolean} [options.restartable] Sets `restartable` modifier on task if `true`\n   * @return {Task}\n   */\n\n  _exports.lastValue = lastValue;\n  const task = createDecorator(taskFromPropertyDescriptor);\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, dropTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;dropTask({ cancelOn: 'click' })\n   *   *myDropTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n\n  _exports.task = task;\n  const dropTask = createDecorator(taskFromPropertyDescriptor, {\n    drop: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, enqueueTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;enqueueTask({ cancelOn: 'click' })\n   *   *myEnqueueTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n\n  _exports.dropTask = dropTask;\n  const enqueueTask = createDecorator(taskFromPropertyDescriptor, {\n    enqueue: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, keepLatestTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;keepLatestTask({ cancelOn: 'click' })\n   *   *myKeepLatestTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n\n  _exports.enqueueTask = enqueueTask;\n  const keepLatestTask = createDecorator(taskFromPropertyDescriptor, {\n    keepLatest: true\n  });\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, restartableTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;restartableTask({ cancelOn: 'click' })\n   *   *myRestartableTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n\n  _exports.keepLatestTask = keepLatestTask;\n  const restartableTask = createDecorator(taskFromPropertyDescriptor, {\n    restartable: true\n  });\n  /**\n   * \"Task Groups\" provide a means for applying\n   * task modifiers to groups of tasks. Once a {@linkcode Task} is declared\n   * as part of a group task, modifiers like `drop` or `restartable`\n   * will no longer affect the individual `Task`. Instead those\n   * modifiers can be applied to the entire group.\n   *\n   * Turns the decorated property into a task group.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task group. For instance `maxConcurrency` or `keepLatest`.\n   *\n   * ```js\n   * import Component from '@glimmer/component';\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;taskGroup({ maxConcurrency: 5 }) chores;\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *mowLawn() {}\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *doDishes() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n\n  _exports.restartableTask = restartableTask;\n  const taskGroup = createDecorator(taskGroupPropertyDescriptor);\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n\n  _exports.taskGroup = taskGroup;\n  const dropTaskGroup = createDecorator(taskGroupPropertyDescriptor, {\n    drop: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n\n  _exports.dropTaskGroup = dropTaskGroup;\n  const enqueueTaskGroup = createDecorator(taskGroupPropertyDescriptor, {\n    enqueue: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n\n  _exports.enqueueTaskGroup = enqueueTaskGroup;\n  const keepLatestTaskGroup = createDecorator(taskGroupPropertyDescriptor, {\n    keepLatest: true\n  });\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n\n  _exports.keepLatestTaskGroup = keepLatestTaskGroup;\n  const restartableTaskGroup = createDecorator(taskGroupPropertyDescriptor, {\n    restartable: true\n  });\n  _exports.restartableTaskGroup = restartableTaskGroup;\n});","define(\"ember-concurrency/-private/task-factory\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-concurrency/-private/external/scheduler/policies/unbounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", \"ember-concurrency/-private/external/scheduler/policies/drop-policy\", \"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", \"ember-concurrency/-private/external/scheduler/policies/restartable-policy\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/task-group\", \"ember-concurrency/-private/scheduler/ember-scheduler\"], function (_exports, _defineProperty2, _unboundedPolicy, _enqueuedPolicy, _dropPolicy, _keepLatestPolicy, _restartablePolicy, _task, _taskProperties, _taskGroup, _emberScheduler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroupFactory = _exports.TaskFactory = void 0;\n  let handlerCounter = 0;\n\n  function assertModifiersNotMixedWithGroup(obj) {\n    (true && !(!obj._hasUsedModifier || !obj._taskGroupPath) && Ember.assert(`ember-concurrency does not currently support using both 'group' with other task modifiers (e.g. 'drop', 'enqueue', 'restartable')`, !obj._hasUsedModifier || !obj._taskGroupPath));\n  }\n\n  function assertUnsetBufferPolicy(obj) {\n    (true && !(!obj._hasSetBufferPolicy) && Ember.assert(`Cannot set multiple buffer policies on a task or task group. ${obj._schedulerPolicyClass} has already been set for task or task group '${obj.name}'`, !obj._hasSetBufferPolicy));\n  }\n\n  function registerOnPrototype(addListenerOrObserver, proto, names, taskName, taskMethod, once) {\n    if (names) {\n      for (let i = 0; i < names.length; ++i) {\n        let name = names[i];\n        let handlerName = `__ember_concurrency_handler_${handlerCounter++}`;\n        proto[handlerName] = makeTaskCallback(taskName, taskMethod, once);\n        addListenerOrObserver(proto, name, null, handlerName);\n      }\n    }\n  }\n\n  function makeTaskCallback(taskName, method, once) {\n    return function () {\n      let task = Ember.get(this, taskName);\n\n      if (once) {\n        Ember.run.scheduleOnce('actions', task, method, ...arguments);\n      } else {\n        task[method].apply(task, arguments);\n      }\n    };\n  }\n\n  const ensureArray = possibleArr => Array.isArray(possibleArr) ? possibleArr : [possibleArr];\n\n  const optionRegistry = {\n    cancelOn: (factory, eventNames) => factory.addCancelEvents(...ensureArray(eventNames)),\n    enqueue: factory => factory.setBufferPolicy(_enqueuedPolicy.default),\n    evented: factory => factory.setEvented(true),\n    debug: factory => factory.setDebug(true),\n    drop: factory => factory.setBufferPolicy(_dropPolicy.default),\n    group: (factory, groupName) => factory.setGroup(groupName),\n    keepLatest: factory => factory.setBufferPolicy(_keepLatestPolicy.default),\n    maxConcurrency: (factory, maxConcurrency) => factory.setMaxConcurrency(maxConcurrency),\n    observes: (factory, propertyPaths) => factory.addObserverKeys(...ensureArray(propertyPaths)),\n    on: (factory, eventNames) => factory.addPerformEvents(...ensureArray(eventNames)),\n    onState: (factory, onStateCallback) => factory.setOnState(onStateCallback),\n    restartable: factory => factory.setBufferPolicy(_restartablePolicy.default)\n  };\n\n  class TaskFactory {\n    constructor(name = '<unknown>', taskDefinition = null, options = {}) {\n      (0, _defineProperty2.default)(this, \"_cancelEventNames\", []);\n      (0, _defineProperty2.default)(this, \"_debug\", null);\n      (0, _defineProperty2.default)(this, \"_eventNames\", []);\n      (0, _defineProperty2.default)(this, \"_hasUsedModifier\", false);\n      (0, _defineProperty2.default)(this, \"_hasSetBufferPolicy\", false);\n      (0, _defineProperty2.default)(this, \"_hasEnabledEvents\", false);\n      (0, _defineProperty2.default)(this, \"_maxConcurrency\", null);\n      (0, _defineProperty2.default)(this, \"_observes\", []);\n      (0, _defineProperty2.default)(this, \"_onStateCallback\", (state, taskable) => taskable.setState(state));\n      (0, _defineProperty2.default)(this, \"_schedulerPolicyClass\", _unboundedPolicy.default);\n      (0, _defineProperty2.default)(this, \"_taskGroupPath\", null);\n      this.name = name;\n      this.taskDefinition = taskDefinition;\n\n      this._processOptions(options);\n    }\n\n    createTask(context) {\n      (true && !(this.taskDefinition) && Ember.assert(`Cannot create task if a task definition is not provided as generator function or encapsulated task.`, this.taskDefinition));\n\n      let options = this._sharedTaskProperties(context);\n\n      if (typeof this.taskDefinition === 'object') {\n        return new _task.EncapsulatedTask(Object.assign({\n          taskObj: this.taskDefinition\n        }, options));\n      } else {\n        return new _task.Task(Object.assign({\n          generatorFactory: args => this.taskDefinition.apply(context, args)\n        }, options));\n      }\n    }\n\n    addCancelEvents(...cancelEventNames) {\n      this._cancelEventNames.push(...cancelEventNames);\n\n      return this;\n    }\n\n    addObserverKeys(...keys) {\n      this._observes.push(...keys);\n\n      return this;\n    }\n\n    addPerformEvents(...eventNames) {\n      this._eventNames.push(...eventNames);\n\n      return this;\n    }\n\n    setBufferPolicy(policy) {\n      assertUnsetBufferPolicy(this);\n      this._hasSetBufferPolicy = true;\n      this._hasUsedModifier = true;\n      this._schedulerPolicyClass = policy;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    }\n\n    setDebug(debug) {\n      this._debug = debug;\n      return this;\n    }\n\n    setEvented(evented) {\n      this._hasEnabledEvents = evented;\n      return this;\n    }\n\n    setMaxConcurrency(maxConcurrency) {\n      (true && !(Number.isInteger(maxConcurrency)) && Ember.assert(`maxConcurrency must be an integer (Task '${this.name}')`, Number.isInteger(maxConcurrency)));\n      this._hasUsedModifier = true;\n      this._maxConcurrency = maxConcurrency;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    }\n\n    setGroup(group) {\n      this._taskGroupPath = group;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    }\n\n    setName(name) {\n      this.name = name;\n      return this;\n    }\n\n    setOnState(onStateCallback) {\n      this._onStateCallback = onStateCallback;\n      return this;\n    }\n\n    setTaskDefinition(taskDefinition) {\n      (true && !(typeof taskDefinition === 'function' || typeof taskDefinition === 'object' && typeof taskDefinition.perform === 'function') && Ember.assert(`Task definition must be a generator function or encapsulated task.`, typeof taskDefinition === 'function' || typeof taskDefinition === 'object' && typeof taskDefinition.perform === 'function'));\n      this.taskDefinition = taskDefinition;\n      return this;\n    }\n\n    _processOptions(options) {\n      for (let key of Object.keys(options)) {\n        let value = options[key];\n\n        if (optionRegistry[key]) {\n          optionRegistry[key].call(null, this, value);\n        } else if (typeof _taskProperties.TaskProperty.prototype[key] === 'function') {\n          // Shim for compatibility with user-defined TaskProperty prototype\n          // extensions. To be removed when replaced with proper public API.\n          _taskProperties.TaskProperty.prototype[key].call(this, value);\n        } else {\n          (true && !(false) && Ember.assert(`Task option '${key}' is not recognized as a supported option.`, false));\n        }\n      }\n    }\n\n    _setupEmberKVO(proto) {\n      // TODO: Does this make sense in a post-Ember object world?\n      registerOnPrototype(Ember.addListener, proto, this._eventNames, this.name, 'perform', false);\n      registerOnPrototype(Ember.addListener, proto, this._cancelEventNames, this.name, 'cancelAll', false);\n      registerOnPrototype(Ember.addObserver, proto, this._observes, this.name, 'perform', true);\n    }\n\n    _sharedTaskProperties(context) {\n      let group, scheduler;\n      let onStateCallback = this._onStateCallback;\n\n      if (this._taskGroupPath) {\n        group = context[this._taskGroupPath];\n        (true && !(group instanceof _taskGroup.TaskGroup) && Ember.assert(`ember-concurrency: Expected group '${this._taskGroupPath}' to be defined but was not found.`, group instanceof _taskGroup.TaskGroup));\n        scheduler = group.scheduler;\n      } else {\n        let schedulerPolicy = new this._schedulerPolicyClass(this._maxConcurrency);\n        scheduler = new _emberScheduler.default(schedulerPolicy, onStateCallback);\n      }\n\n      return {\n        context,\n        debug: this._debug,\n        name: this.name,\n        group,\n        scheduler,\n        hasEnabledEvents: this._hasEnabledEvents,\n        onStateCallback\n      };\n    } // Provided for compatibility with ember-concurrency TaskProperty extension\n    // methods\n\n\n    get taskFn() {\n      return this.taskDefinition;\n    }\n\n    set taskFn(fn) {\n      this.setTaskDefinition(fn);\n    }\n\n  }\n\n  _exports.TaskFactory = TaskFactory;\n\n  class TaskGroupFactory extends TaskFactory {\n    createTaskGroup(context) {\n      (true && !(!this.taskDefinition) && Ember.assert(`A task definition is not expected for a task group.`, !this.taskDefinition));\n\n      let options = this._sharedTaskProperties(context);\n\n      return new _taskGroup.TaskGroup(options);\n    }\n\n  }\n\n  _exports.TaskGroupFactory = TaskGroupFactory;\n});","define(\"ember-concurrency/-private/task-group\", [\"exports\", \"ember-concurrency/-private/external/task/task-group\", \"ember-concurrency/-private/taskable-mixin\", \"ember-concurrency/-private/tracked-state\"], function (_exports, _taskGroup, _taskableMixin, _trackedState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroup = void 0;\n\n  class TaskGroup extends _taskGroup.TaskGroup {\n    /**\n     * Cancels all running or queued `TaskInstance`s for this task group.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task group) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof TaskGroup\n     * @param options.reason A descriptive reason the task group was\n     *   cancelled. Defaults to `\".cancelAll() was explicitly called\n     *   on the Task\"`.\n     * @param options.resetState If true, will clear the task group state\n     *   (`last*` and `performCount` properties will be set to initial\n     *   values). Defaults to false.\n     * @instance\n     * @async\n     *\n     */\n\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task is not in the running or queued state.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof TaskGroup\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task has been performed.\n     *\n     * @memberof TaskGroup\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n  }\n\n  _exports.TaskGroup = TaskGroup;\n\n  if (_trackedState.TRACKED_INITIAL_TASK_STATE) {\n    Object.defineProperties(TaskGroup.prototype, _trackedState.TRACKED_INITIAL_TASK_STATE);\n  }\n\n  Object.assign(TaskGroup.prototype, _taskableMixin.TASKABLE_MIXIN);\n});","define(\"ember-concurrency/-private/task-instance\", [\"exports\", \"ember-concurrency/-private/external/task-instance/base\", \"ember-concurrency/-private/tracked-state\", \"ember-concurrency/-private/utils\"], function (_exports, _base, _trackedState, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskInstance = void 0;\n\n  /**\n    A `TaskInstance` represent a single execution of a\n    {@linkcode Task}. Every call to {@linkcode Task#perform} returns\n    a `TaskInstance`.\n  \n    `TaskInstance`s are cancelable, either explicitly\n    via {@linkcode TaskInstance#cancel} or {@linkcode Task#cancelAll},\n    or automatically due to the host object being destroyed, or\n    because concurrency policy enforced by a\n    {@linkcode TaskProperty Task Modifier} canceled the task instance.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #TaskInstance { display: none }\n    </style>\n  \n    @class TaskInstance\n  */\n  class TaskInstance extends _base.BaseTaskInstance {\n    setState(props) {\n      let state = this._recomputeState(props);\n\n      (0, _utils.assignProperties)(this, { ...props,\n        isRunning: !props.isFinished,\n        isDropped: state === 'dropped',\n        state\n      });\n    }\n\n    _recomputeState(props) {\n      if (props.isDropped) {\n        return 'dropped';\n      } else if (props.isCanceled) {\n        if (props.hasStarted) {\n          return 'canceled';\n        } else {\n          return 'dropped';\n        }\n      } else if (props.isFinished) {\n        return 'finished';\n      } else if (props.hasStarted) {\n        return 'running';\n      } else {\n        return 'waiting';\n      }\n    }\n\n    onStarted() {\n      this.triggerEvent('started', this);\n    }\n\n    onSuccess() {\n      this.triggerEvent('succeeded', this);\n    }\n\n    onError(error) {\n      this.triggerEvent('errored', this, error);\n    }\n\n    onCancel(cancelReason) {\n      this.triggerEvent('canceled', this, cancelReason);\n    }\n\n    formatCancelReason(reason) {\n      return `TaskInstance '${this.getName()}' was canceled because ${reason}. For more information, see: http://ember-concurrency.com/docs/task-cancelation-help`;\n    }\n\n    getName() {\n      if (!this.name) {\n        this.name = this.task && this.task.name || '<unknown>';\n      }\n\n      return this.name;\n    }\n\n    selfCancelLoopWarning(parent) {\n      let parentName = `\\`${parent.getName()}\\``;\n      let childName = `\\`${this.getName()}\\``; // eslint-disable-next-line no-console\n\n      console.warn(`ember-concurrency detected a potentially hazardous \"self-cancel loop\" between parent task ${parentName} and child task ${childName}. If you want child task ${childName} to be canceled when parent task ${parentName} is canceled, please change \\`.perform()\\` to \\`.linked().perform()\\`. If you want child task ${childName} to keep running after parent task ${parentName} is canceled, change it to \\`.unlinked().perform()\\``);\n    }\n\n    triggerEvent(...allArgs) {\n      if (!this.hasEnabledEvents) {\n        return;\n      }\n\n      let taskInstance = this;\n      let task = taskInstance.task;\n      let host = task.context;\n      let eventNamespace = task && task.name;\n\n      if (host && host.trigger && eventNamespace) {\n        let [eventType, ...args] = allArgs;\n        host.trigger(`${eventNamespace}:${eventType}`, ...args);\n      }\n    }\n    /**\n     * Describes the state that the task instance is in. Can be used for debugging,\n     * or potentially driving some UI state. Possible values are:\n     *\n     * - `\"dropped\"`: task instance was canceled before it started\n     * - `\"canceled\"`: task instance was canceled before it could finish\n     * - `\"finished\"`: task instance ran to completion (even if an exception was thrown)\n     * - `\"running\"`: task instance is currently running (returns true even if\n     *     is paused on a yielded promise)\n     * - `\"waiting\"`: task instance hasn't begun running yet (usually\n     *     because the task is using the {@linkcode TaskProperty#enqueue enqueue}\n     *     task modifier)\n     *\n     * The animated timeline examples on the [Task Concurrency](/docs/task-concurrency)\n     * docs page make use of this property.\n     *\n     * @name state\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * True if the TaskInstance was canceled before it could\n     * ever start running. For example, calling\n     * {@linkcode Task#perform .perform()} twice on a\n     * task with the {@linkcode TaskProperty#drop drop} modifier applied\n     * will result in the second task instance being dropped.\n     *\n     * @name isDropped\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * True if the task is still running.\n     *\n     * @name isRunning\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * Event emitted when a new {@linkcode TaskInstance} starts executing.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingStarted: on('doSomething:started', function (taskInstance) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:started\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} succeeds.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingSucceeded: on('doSomething:succeeded', function (taskInstance) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:succeeded\n     * @param {TaskInstance} taskInstance - Task instance that was succeeded\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} throws an an error that is\n     * not handled within the task itself.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingErrored: on('doSomething:errored', function (taskInstance, error) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:errored\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     * @param {Error} error - Error that was thrown by the task instance\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} is canceled.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingCanceled: on('doSomething:canceled', function (taskInstance, cancelationReason) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:canceled\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     * @param {string} cancelationReason - Cancelation reason that was was provided to {@linkcode TaskInstance#cancel}\n     */\n\n    /**\n     * Cancels the task instance. Has no effect if the task instance has\n     * already been canceled or has already finished running.\n     *\n     * @method cancel\n     * @memberof TaskInstance\n     * @instance\n     * @async\n     */\n\n    /**\n     * Returns a promise that resolves with the value returned\n     * from the task's (generator) function, or rejects with\n     * either the exception thrown from the task function, or\n     * an error with a `.name` property with value `\"TaskCancelation\"`.\n     *\n     * @method then\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n\n    /**\n     * @method catch\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n\n    /**\n     * @method finally\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n\n\n  }\n\n  _exports.TaskInstance = TaskInstance;\n\n  if (_trackedState.TRACKED_INITIAL_INSTANCE_STATE) {\n    Object.defineProperties(TaskInstance.prototype, _trackedState.TRACKED_INITIAL_INSTANCE_STATE);\n  }\n});","define(\"ember-concurrency/-private/task-properties\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", \"ember-concurrency/-private/external/scheduler/policies/drop-policy\", \"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", \"ember-concurrency/-private/external/scheduler/policies/restartable-policy\", \"ember-concurrency/-private/task-decorators\", \"ember-concurrency/-private/task-factory\"], function (_exports, _enqueuedPolicy, _dropPolicy, _keepLatestPolicy, _restartablePolicy, _taskDecorators, _taskFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.taskComputed = taskComputed;\n  _exports.task = task;\n  _exports.taskGroup = taskGroup;\n  _exports.TaskGroupProperty = _exports.TaskProperty = _exports.propertyModifiers = void 0;\n  let taskFactorySymbol = '__ec_task_factory';\n  const propertyModifiers = {\n    /**\n     * Configures the task to cancel old currently task instances\n     * to make room for a new one to perform. Sets default\n     * maxConcurrency to 1.\n     *\n     * [See the Live Example](/docs/examples/route-tasks/1)\n     *\n     * @method restartable\n     * @memberof TaskProperty\n     * @instance\n     */\n    restartable() {\n      this[taskFactorySymbol].setBufferPolicy(_restartablePolicy.default);\n      return this;\n    },\n\n    /**\n     * Configures the task to run task instances one-at-a-time in\n     * the order they were `.perform()`ed. Sets default\n     * maxConcurrency to 1.\n     *\n     * @method enqueue\n     * @memberof TaskProperty\n     * @instance\n     */\n    enqueue() {\n      this[taskFactorySymbol].setBufferPolicy(_enqueuedPolicy.default);\n      return this;\n    },\n\n    /**\n     * Configures the task to immediately cancel (i.e. drop) any\n     * task instances performed when the task is already running\n     * at maxConcurrency. Sets default maxConcurrency to 1.\n     *\n     * @method drop\n     * @memberof TaskProperty\n     * @instance\n     */\n    drop() {\n      this[taskFactorySymbol].setBufferPolicy(_dropPolicy.default);\n      return this;\n    },\n\n    /**\n     * Configures the task to drop all but the most recently\n     * performed {@linkcode TaskInstance }.\n     *\n     * @method keepLatest\n     * @memberof TaskProperty\n     * @instance\n     */\n    keepLatest() {\n      this[taskFactorySymbol].setBufferPolicy(_keepLatestPolicy.default);\n      return this;\n    },\n\n    /**\n     * Sets the maximum number of task instances that are allowed\n     * to run at the same time. By default, with no task modifiers\n     * applied, this number is Infinity (there is no limit\n     * to the number of tasks that can run at the same time).\n     * {@linkcode TaskProperty#restartable .restartable},\n     * {@linkcode TaskProperty#enqueue .enqueue}, and\n     * {@linkcode TaskProperty#drop .drop} set the default\n     * maxConcurrency to 1, but you can override this value\n     * to set the maximum number of concurrently running tasks\n     * to a number greater than 1.\n     *\n     * [See the AJAX Throttling example](/docs/examples/ajax-throttling)\n     *\n     * The example below uses a task with `maxConcurrency(3)` to limit\n     * the number of concurrent AJAX requests (for anyone using this task)\n     * to 3.\n     *\n     * ```js\n     * doSomeAjax: task(function * (url) {\n     *   return fetch(url);\n     * }).maxConcurrency(3),\n     *\n     * elsewhere() {\n     *   this.doSomeAjax.perform(\"http://www.example.com/json\");\n     * },\n     * ```\n     *\n     * @method maxConcurrency\n     * @memberof TaskProperty\n     * @param {Number} n The maximum number of concurrently running tasks\n     * @instance\n     */\n    maxConcurrency(n) {\n      this[taskFactorySymbol].setMaxConcurrency(n);\n      return this;\n    },\n\n    /**\n     * Adds this task to a TaskGroup so that concurrency constraints\n     * can be shared between multiple tasks.\n     *\n     * [See the Task Group docs for more information](/docs/task-groups)\n     *\n     * @method group\n     * @memberof TaskProperty\n     * @param {String} groupPath A path to the TaskGroup property\n     * @instance\n     */\n    group(taskGroupPath) {\n      this[taskFactorySymbol].setGroup(taskGroupPath);\n      return this;\n    },\n\n    /**\n     * Activates lifecycle events, allowing Evented host objects to react to task state\n     * changes.\n     *\n     * ```js\n     *\n     * export default Component.extend({\n     *   uploadTask: task(function* (file) {\n     *     // ... file upload stuff\n     *   }).evented(),\n     *\n     *   uploadedStarted: on('uploadTask:started', function(taskInstance) {\n     *     this.analytics.track(\"User Photo: upload started\");\n     *   }),\n     * });\n     * ```\n     *\n     * @method evented\n     * @memberof TaskProperty\n     * @instance\n     */\n    evented() {\n      this[taskFactorySymbol].setEvented(true);\n      return this;\n    },\n\n    /**\n     * Logs lifecycle events to aid in debugging unexpected Task behavior.\n     * Presently only logs cancelation events and the reason for the cancelation,\n     * e.g. \"TaskInstance 'doStuff' was canceled because the object it lives on was destroyed or unrendered\"\n     *\n     * @method debug\n     * @memberof TaskProperty\n     * @instance\n     */\n    debug() {\n      this[taskFactorySymbol].setDebug(true);\n      return this;\n    },\n\n    /**\n     * Configures the task to call the passed in callback for derived state updates,\n     * overriding the default derived state tracking. You may call with `null` to\n     * completely opt-out of derived state tracking.\n     *\n     * @method onState\n     * @memberof TaskProperty\n     * @param {function?} callback Callback to be called. Receives an object argument with the new state.\n     * @instance\n     */\n    onState(callback) {\n      this[taskFactorySymbol].setOnState(callback);\n      return this;\n    }\n\n  };\n  _exports.propertyModifiers = propertyModifiers;\n\n  function isDecoratorOptions(possibleOptions) {\n    if (!possibleOptions) {\n      return false;\n    }\n\n    if (typeof possibleOptions === 'function') {\n      return false;\n    }\n\n    if (typeof possibleOptions === 'object' && 'perform' in possibleOptions && typeof possibleOptions.perform === 'function') {\n      return false;\n    }\n\n    return Object.getPrototypeOf(possibleOptions) === Object.prototype;\n  }\n  /**\n    A {@link TaskProperty} is the Computed Property-like object returned\n    from the {@linkcode task} function. You can call Task Modifier methods\n    on this object to configure the behavior of the {@link Task}.\n  \n    See [Managing Task Concurrency](/docs/task-concurrency) for an\n    overview of all the different task modifiers you can use and how\n    they impact automatic cancelation / enqueueing of task instances.\n  \n    {@link TaskProperty} is only used for supporting \"classic\" Ember objects.\n    When using Native JavaScript or TypeScript classes, you will use [task decorators](/docs/task-decorators)\n    on methods instead.\n  \n    @class TaskProperty\n    @hideconstructor\n  */\n\n\n  let TaskProperty;\n  _exports.TaskProperty = TaskProperty;\n  let TaskGroupProperty;\n  _exports.TaskGroupProperty = TaskGroupProperty;\n\n  if (true) {\n    _exports.TaskProperty = TaskProperty = class {};\n    _exports.TaskGroupProperty = TaskGroupProperty = class {};\n  } else {\n    // Prior to the 3.10.0 refactors, we had to extend the _ComputedProperty class\n    // for a classic decorator/descriptor to run correctly.\n    _exports.TaskProperty = TaskProperty = class extends Ember.ComputedProperty {\n      callSuperSetup() {\n        if (super.setup) {\n          super.setup(...arguments);\n        }\n      }\n\n    };\n    _exports.TaskGroupProperty = TaskGroupProperty = class extends Ember.ComputedProperty {};\n  }\n\n  Object.assign(TaskGroupProperty.prototype, propertyModifiers);\n  Object.assign(TaskProperty.prototype, propertyModifiers, {\n    setup(proto, key) {\n      if (this.callSuperSetup) {\n        this.callSuperSetup(...arguments);\n      }\n\n      this[taskFactorySymbol].setName(key);\n\n      this[taskFactorySymbol]._setupEmberKVO(proto);\n    },\n\n    /**\n     * Calling `task(...).on(eventName)` configures the task to be\n     * automatically performed when the specified events fire. In\n     * this way, it behaves like\n     * [Ember.on](http://emberjs.com/api/classes/Ember.html#method_on).\n     *\n     * You can use `task(...).on('init')` to perform the task\n     * when the host object is initialized.\n     *\n     * ```js\n     * export default Component.extend({\n     *   pollForUpdates: task(function * () {\n     *     // ... this runs when the Component is first created\n     *     // because we specified .on('init')\n     *   }).on('init'),\n     *\n     *   handleFoo: task(function * (a, b, c) {\n     *     // this gets performed automatically if the 'foo'\n     *     // event fires on this Component,\n     *     // e.g., if someone called component.trigger('foo')\n     *   }).on('foo'),\n     * });\n     * ```\n     *\n     * [See the Writing Tasks Docs for more info](/docs/writing-tasks)\n     *\n     * @method on\n     * @memberof TaskProperty\n     * @param {String} eventNames*\n     * @instance\n     */\n    on() {\n      this[taskFactorySymbol].addPerformEvents(...arguments);\n      return this;\n    },\n\n    /**\n     * This behaves like the {@linkcode TaskProperty#on task(...).on() modifier},\n     * but instead will cause the task to be canceled if any of the\n     * specified events fire on the parent object.\n     *\n     * [See the Live Example](/docs/examples/route-tasks/1)\n     *\n     * @method cancelOn\n     * @memberof TaskProperty\n     * @param {String} eventNames*\n     * @instance\n     */\n    cancelOn() {\n      this[taskFactorySymbol].addCancelEvents(...arguments);\n      return this;\n    },\n\n    /**\n     * This behaves like the {@linkcode TaskProperty#on task(...).on() modifier},\n     * but instead will cause the task to be performed if any of the\n     * specified properties on the parent object change.\n     *\n     * @method observes\n     * @memberof TaskProperty\n     * @param {String} keys*\n     * @instance\n     */\n    observes() {\n      this[taskFactorySymbol].addObserverKeys(...arguments);\n      return this;\n    }\n\n  });\n  const setDecorator = Ember._setClassicDecorator || Ember._setComputedDecorator;\n\n  function taskComputed(fn) {\n    if (true) {\n      let cp = function (proto, key) {\n        if (cp.setup !== undefined) {\n          cp.setup(proto, key);\n        }\n\n        return Ember.computed(fn)(...arguments);\n      };\n\n      setDecorator(cp);\n      return cp;\n    } else {\n      return Ember.computed(fn);\n    }\n  }\n  /**\n   * A Task is a cancelable, restartable, asynchronous operation that\n   * is driven by a generator function. Tasks are automatically canceled\n   * when the object they live on is destroyed (e.g. a Component\n   * is unrendered).\n   *\n   * To define a task, use the `task(...)` function, and pass in\n   * a generator function, which will be invoked when the task\n   * is performed. The reason generator functions are used is\n   * that they (like the proposed ES7 async-await syntax) can\n   * be used to elegantly express asynchronous, cancelable\n   * operations.\n   *\n   * You can also define an\n   * <a href=\"/docs/encapsulated-task\">Encapsulated Task</a>\n   * by passing in an object that defined a `perform` generator\n   * function property.\n   *\n   * The following Component defines a task called `myTask` that,\n   * when performed, prints a message to the console, sleeps for 1 second,\n   * prints a final message to the console, and then completes.\n   *\n   * ```js\n   * import { task, timeout } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Pausing for a second...\");\n   *     yield timeout(1000);\n   *     console.log(\"Done!\");\n   *   })\n   * });\n   * ```\n   *\n   * ```hbs\n   * <button {{action myTask.perform}}>Perform Task</button>\n   * ```\n   *\n   * By default, tasks have no concurrency constraints\n   * (multiple instances of a task can be running at the same time)\n   * but much of a power of tasks lies in proper usage of Task Modifiers\n   * that you can apply to a task.\n   *\n   * @param {function} generatorFunction the generator function backing the task.\n   * @returns {TaskProperty}\n   */\n\n\n  function task(taskFnOrProtoOrDecoratorOptions, key, descriptor) {\n    if (isDecoratorOptions(taskFnOrProtoOrDecoratorOptions) || key && descriptor) {\n      return (0, _taskDecorators.task)(...arguments);\n    } else {\n      let tp = taskComputed(function () {\n        tp[taskFactorySymbol].setTaskDefinition(tp.taskFn);\n        return tp[taskFactorySymbol].createTask(this);\n      });\n      tp.taskFn = taskFnOrProtoOrDecoratorOptions;\n      tp[taskFactorySymbol] = new _taskFactory.TaskFactory();\n      Object.setPrototypeOf(tp, TaskProperty.prototype);\n      return tp;\n    }\n  }\n  /**\n   * \"Task Groups\" provide a means for applying\n   * task modifiers to groups of tasks. Once a {@linkcode Task} is declared\n   * as part of a group task, modifiers like `drop` or `restartable`\n   * will no longer affect the individual `Task`. Instead those\n   * modifiers can be applied to the entire group.\n   *\n   * ```js\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * export default class MyController extends Controller {\n   *   &#64;taskGroup({ drop: true }) chores;\n   *\n   *   &#64;task({ group: 'chores' }) mowLawn = taskFn;\n   *   &#64;task({ group: 'chores' }) doDishes = taskFn;\n   *   &#64;task({ group: 'chores' }) changeDiapers = taskFn;\n   * }\n   * ```\n   *\n   * @returns {TaskGroup}\n   */\n\n\n  function taskGroup(possibleDecoratorOptions, key, descriptor) {\n    if (isDecoratorOptions(possibleDecoratorOptions) || key && descriptor) {\n      return (0, _taskDecorators.taskGroup)(...arguments);\n    } else {\n      let tp = taskComputed(function (key) {\n        tp[taskFactorySymbol].setName(key);\n        return tp[taskFactorySymbol].createTaskGroup(this);\n      });\n      tp[taskFactorySymbol] = new _taskFactory.TaskGroupFactory();\n      Object.setPrototypeOf(tp, TaskGroupProperty.prototype);\n      return tp;\n    }\n  }\n});","define(\"ember-concurrency/-private/task\", [\"exports\", \"ember-concurrency/-private/external/task/task\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/external/task-instance/executor\", \"ember-concurrency/-private/ember-environment\", \"ember-concurrency/-private/taskable-mixin\", \"ember-concurrency/-private/tracked-state\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _task, _taskInstance, _executor, _emberEnvironment, _taskableMixin, _trackedState, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.EncapsulatedTask = _exports.Task = void 0;\n\n  /**\n    The `Task` object lives on a host Ember object (e.g.\n    a Component, Route, or Controller). You call the\n    {@linkcode Task#perform .perform()} method on this object\n    to create run individual {@linkcode TaskInstance}s,\n    and at any point, you can call the {@linkcode Task#cancelAll .cancelAll()}\n    method on this object to cancel all running or enqueued\n    {@linkcode TaskInstance}s.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #Task { display: none }\n    </style>\n  \n    @class Task\n  */\n  class Task extends _task.Task {\n    constructor(options) {\n      super(options);\n\n      if (!Ember._isDestroying(this.context)) {\n        Ember._registerDestructor(this.context, () => {\n          this.cancelAll({\n            reason: 'the object it lives on was destroyed or unrendered',\n            cancelRequestKind: _cancelation.CANCEL_KIND_LIFESPAN_END\n          });\n        });\n      }\n    }\n    /**\n     * Flags the task as linked to the parent task's lifetime. Must be called\n     * within another task's perform function. The task will be cancelled if the\n     * parent task is canceled as well.\n     *\n     * ember-concurrency will indicate when this may be needed.\n     *\n     * @method linked\n     * @memberof Task\n     * @instance\n     *\n     */\n\n    /**\n     * Flags the task as not linked to the parent task's lifetime. Must be called\n     * within another task's perform function. The task will NOT be cancelled if the\n     * parent task is canceled.\n     *\n     * This is useful for avoiding the so-called \"self-cancel loop\" for tasks.\n     * ember-concurrency will indicate when this may be needed.\n     *\n     * @method unlinked\n     * @memberof Task\n     * @instance\n     *\n     */\n\n    /**\n     * Creates a new {@linkcode TaskInstance} and attempts to run it right away.\n     * If running this task instance would increase the task's concurrency\n     * to a number greater than the task's maxConcurrency, this task\n     * instance might be immediately canceled (dropped), or enqueued\n     * to run at later time, after the currently running task(s) have finished.\n     *\n     * @method perform\n     * @memberof Task\n     * @param {*} arg* - args to pass to the task function\n     * @instance\n     *\n     * @fires TaskInstance#TASK_NAME:started\n     * @fires TaskInstance#TASK_NAME:succeeded\n     * @fires TaskInstance#TASK_NAME:errored\n     * @fires TaskInstance#TASK_NAME:canceled\n     *\n     */\n\n    /**\n     * Cancels all running or queued `TaskInstance`s for this Task.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof Task\n     * @param options.reason A descriptive reason the task was\n     *   cancelled. Defaults to `\".cancelAll() was explicitly called\n     *   on the Task\"`.\n     * @param options.resetState If true, will clear the task state\n     *   (`last*` and `performCount` properties will be set to initial\n     *   values). Defaults to false.\n     * @instance\n     * @async\n     *\n     */\n\n\n    _perform(...args) {\n      return this._performShared(args, _executor.PERFORM_TYPE_DEFAULT, null);\n    }\n\n    _performShared(args, performType, linkedObject) {\n      let fullArgs = this._curryArgs ? [...this._curryArgs, ...args] : args;\n\n      let taskInstance = this._taskInstanceFactory(fullArgs, performType, linkedObject);\n\n      if (performType === _executor.PERFORM_TYPE_LINKED) {\n        linkedObject._expectsLinkedYield = true;\n      }\n\n      if (Ember._isDestroying(this.context)) {\n        // TODO: express this in terms of lifetimes; a task linked to\n        // a dead lifetime should immediately cancel.\n        taskInstance.cancel();\n      }\n\n      this.scheduler.perform(taskInstance);\n      return taskInstance;\n    }\n\n    _taskInstanceFactory(args, performType) {\n      let generatorFactory = () => this.generatorFactory(args);\n\n      let taskInstance = new _taskInstance.TaskInstance({\n        task: this,\n        args,\n        executor: new _executor.TaskInstanceExecutor({\n          generatorFactory,\n          env: _emberEnvironment.EMBER_ENVIRONMENT,\n          debug: this.debug\n        }),\n        performType,\n        hasEnabledEvents: this.hasEnabledEvents\n      });\n      return taskInstance;\n    }\n\n    _curry(...args) {\n      let task = this._clone();\n\n      task._curryArgs = [...(this._curryArgs || []), ...args];\n      return task;\n    }\n\n    _clone() {\n      return new Task(this.options);\n    }\n\n    toString() {\n      return `<Task:${this.name}>`;\n    }\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof Task\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof Task\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task is not in the running or queued state.\n     *\n     * @memberof Task\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof Task\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task has been performed.\n     *\n     * @memberof Task\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n\n  }\n\n  _exports.Task = Task;\n\n  if (_trackedState.TRACKED_INITIAL_TASK_STATE) {\n    Object.defineProperties(Task.prototype, _trackedState.TRACKED_INITIAL_TASK_STATE);\n  }\n\n  Object.assign(Task.prototype, _taskableMixin.TASKABLE_MIXIN);\n  const currentTaskInstanceSymbol = '__ec__encap_current_ti';\n\n  class EncapsulatedTask extends Task {\n    constructor(options) {\n      super(options);\n      this.taskObj = options.taskObj;\n      this._encapsulatedTaskStates = new WeakMap();\n      this._encapsulatedTaskInstanceProxies = new WeakMap();\n    }\n\n    _getEncapsulatedTaskClass() {\n      let encapsulatedTaskImplClass = this._encapsulatedTaskImplClass;\n\n      if (!encapsulatedTaskImplClass) {\n        encapsulatedTaskImplClass = Ember.Object.extend(this.taskObj, {\n          unknownProperty(key) {\n            let currentInstance = this[currentTaskInstanceSymbol];\n            return currentInstance ? currentInstance[key] : undefined;\n          }\n\n        });\n      }\n\n      return encapsulatedTaskImplClass;\n    }\n\n    _taskInstanceFactory(args, performType) {\n      let owner = Ember.getOwner(this.context);\n      let taskInstanceProxy;\n\n      let encapsulatedTaskImpl = this._getEncapsulatedTaskClass().create({\n        context: this.context\n      });\n\n      Ember.setOwner(encapsulatedTaskImpl, owner);\n\n      let generatorFactory = () => encapsulatedTaskImpl.perform.apply(taskInstanceProxy, args);\n\n      let taskInstance = new _taskInstance.TaskInstance({\n        task: this,\n        args,\n        executor: new _executor.TaskInstanceExecutor({\n          generatorFactory,\n          env: _emberEnvironment.EMBER_ENVIRONMENT,\n          debug: this.debug\n        }),\n        performType,\n        hasEnabledEvents: this.hasEnabledEvents\n      });\n      encapsulatedTaskImpl[currentTaskInstanceSymbol] = taskInstance;\n\n      this._encapsulatedTaskStates.set(taskInstance, encapsulatedTaskImpl);\n\n      taskInstanceProxy = this._wrappedEncapsulatedTaskInstance(taskInstance);\n      return taskInstanceProxy;\n    }\n\n    _wrappedEncapsulatedTaskInstance(taskInstance) {\n      if (!taskInstance) {\n        return null;\n      }\n\n      let _encapsulatedTaskInstanceProxies = this._encapsulatedTaskInstanceProxies;\n\n      let proxy = _encapsulatedTaskInstanceProxies.get(taskInstance);\n\n      if (!proxy) {\n        let encapsulatedTaskImpl = this._encapsulatedTaskStates.get(taskInstance);\n\n        proxy = new Proxy(taskInstance, {\n          get(obj, prop) {\n            return prop in obj ? obj[prop] : Ember.get(encapsulatedTaskImpl, prop.toString());\n          },\n\n          has(obj, prop) {\n            return prop in obj || prop in encapsulatedTaskImpl;\n          },\n\n          ownKeys(obj) {\n            return Reflect.ownKeys(obj).concat(Reflect.ownKeys(encapsulatedTaskImpl));\n          },\n\n          defineProperty(obj, prop, descriptor) {\n            // Ember < 3.16 uses a WeakMap for value storage, keyed to the proxy.\n            // We need to ensure that when we use setProperties to update it, and\n            // it creates Meta, that it uses the proxy to key, otherwise we'll\n            // have two different values stores in Meta, one which won't render.\n            let proxy = _encapsulatedTaskInstanceProxies.get(taskInstance);\n\n            if (proxy) {\n              if (descriptor.get) {\n                descriptor.get = descriptor.get.bind(proxy);\n              } else if (proxy && descriptor.set) {\n                descriptor.set = descriptor.set.bind(proxy);\n              }\n            }\n\n            return prop in obj ? Reflect.defineProperty(obj, prop, descriptor) : Reflect.defineProperty(encapsulatedTaskImpl, prop, descriptor);\n          },\n\n          getOwnPropertyDescriptor(obj, prop) {\n            return prop in obj ? Reflect.getOwnPropertyDescriptor(obj, prop) : Reflect.getOwnPropertyDescriptor(encapsulatedTaskImpl, prop);\n          }\n\n        });\n\n        _encapsulatedTaskInstanceProxies.set(taskInstance, proxy);\n      }\n\n      return proxy;\n    }\n\n  }\n\n  _exports.EncapsulatedTask = EncapsulatedTask;\n});","define(\"ember-concurrency/-private/taskable-mixin\", [\"exports\", \"ember-concurrency/-private/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TASKABLE_MIXIN = void 0;\n  const TASKABLE_MIXIN = {\n    _performCount: 0,\n\n    setState(state) {\n      this._performCount = this._performCount + (state.numPerformedInc || 0);\n      let isRunning = state.numRunning > 0;\n      let isQueued = state.numQueued > 0;\n      let derivedState = Object.assign({}, state, {\n        performCount: this._performCount,\n        isRunning,\n        isQueued,\n        isIdle: !isRunning && !isQueued,\n        state: isRunning ? 'running' : 'idle'\n      });\n      (0, _utils.assignProperties)(this, derivedState);\n    },\n\n    onState(state, task) {\n      if (task.onStateCallback) {\n        task.onStateCallback(state, task);\n      }\n    }\n\n  };\n  _exports.TASKABLE_MIXIN = TASKABLE_MIXIN;\n});","define(\"ember-concurrency/-private/tracked-state\", [\"exports\", \"ember-concurrency/-private/external/task/default-state\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/utils\"], function (_exports, _defaultState, _initialState, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TRACKED_INITIAL_INSTANCE_STATE = _exports.TRACKED_INITIAL_TASK_STATE = void 0;\n\n  function trackMixin(proto, obj, key) {\n    const propDesc = Object.getOwnPropertyDescriptor(proto, key);\n\n    propDesc.initializer = propDesc.initializer || (() => proto[key]);\n\n    delete propDesc.value;\n\n    const desc = Ember._tracked(obj, key, propDesc);\n\n    obj[key] = desc;\n    return obj;\n  }\n\n  function applyTracked(proto, initial) {\n    return Object.keys(proto).reduce((acc, key) => {\n      return trackMixin(proto, acc, key);\n    }, initial);\n  }\n\n  let TRACKED_INITIAL_TASK_STATE;\n  _exports.TRACKED_INITIAL_TASK_STATE = TRACKED_INITIAL_TASK_STATE;\n  let TRACKED_INITIAL_INSTANCE_STATE;\n  _exports.TRACKED_INITIAL_INSTANCE_STATE = TRACKED_INITIAL_INSTANCE_STATE;\n\n  if (_utils.USE_TRACKED) {\n    _exports.TRACKED_INITIAL_TASK_STATE = TRACKED_INITIAL_TASK_STATE = applyTracked(_defaultState.DEFAULT_STATE, {});\n    _exports.TRACKED_INITIAL_TASK_STATE = TRACKED_INITIAL_TASK_STATE = applyTracked({\n      numRunning: 0,\n      numQueued: 0,\n      isRunning: false,\n      isQueued: false,\n      isIdle: true,\n      state: 'idle'\n    }, TRACKED_INITIAL_TASK_STATE);\n    _exports.TRACKED_INITIAL_INSTANCE_STATE = TRACKED_INITIAL_INSTANCE_STATE = applyTracked(_initialState.INITIAL_STATE, {});\n    _exports.TRACKED_INITIAL_INSTANCE_STATE = TRACKED_INITIAL_INSTANCE_STATE = applyTracked({\n      state: 'waiting',\n      isDropped: false,\n      isRunning: false\n    }, TRACKED_INITIAL_INSTANCE_STATE);\n    Object.freeze(TRACKED_INITIAL_TASK_STATE);\n    Object.freeze(TRACKED_INITIAL_INSTANCE_STATE);\n  }\n});","define(\"ember-concurrency/-private/utils\", [\"exports\", \"ember-concurrency/-private/ember-environment\", \"ember-concurrency/-private/external/yieldables\"], function (_exports, _emberEnvironment, _yieldables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isEventedObject = isEventedObject;\n  _exports.timeout = timeout;\n  _exports.deprecatePrivateModule = deprecatePrivateModule;\n  _exports.EmberYieldable = _exports.assignProperties = _exports.USE_TRACKED = void 0;\n  const USE_TRACKED = true;\n  _exports.USE_TRACKED = USE_TRACKED;\n  const assignProperties = USE_TRACKED ? Object.assign : Ember.setProperties;\n  _exports.assignProperties = assignProperties;\n\n  function isEventedObject(c) {\n    return c && (typeof c.one === 'function' && typeof c.off === 'function' || typeof c.on === 'function' && typeof c.off === 'function' || typeof c.addEventListener === 'function' && typeof c.removeEventListener === 'function');\n  }\n\n  class EmberYieldable extends _yieldables.Yieldable {\n    _deferable() {\n      return _emberEnvironment.EMBER_ENVIRONMENT.defer();\n    }\n\n  }\n\n  _exports.EmberYieldable = EmberYieldable;\n\n  class TimeoutYieldable extends EmberYieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n    }\n\n    onYield(state) {\n      let timerId = Ember.run.later(() => state.next(), this.ms);\n      return () => Ember.run.cancel(timerId);\n    }\n\n  }\n  /**\n   *\n   * Yielding `timeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * This timeout will be scheduled on the Ember runloop, which\n   * means that test helpers will wait for it to complete before\n   * continuing with the test. See `rawTimeout()` if you need\n   * different behavior.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield timeout(1000);\n   *     }\n   *   }\n   * }\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n\n\n  function timeout(ms) {\n    return new TimeoutYieldable(ms);\n  }\n\n  function deprecatePrivateModule(moduleName) {\n    // eslint-disable-next-line no-console\n    console.warn(`an Ember addon is importing a private ember-concurrency module '${moduleName}' that has moved`);\n  }\n});","define(\"ember-concurrency/-private/wait-for\", [\"exports\", \"ember-concurrency/-private/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.waitForQueue = waitForQueue;\n  _exports.waitForEvent = waitForEvent;\n  _exports.waitForProperty = waitForProperty;\n\n  class WaitForQueueYieldable extends _utils.EmberYieldable {\n    constructor(queueName) {\n      super();\n      this.queueName = queueName;\n    }\n\n    onYield(state) {\n      let timerId;\n\n      try {\n        timerId = Ember.run.schedule(this.queueName, () => state.next());\n      } catch (error) {\n        state.throw(error);\n      }\n\n      return () => Ember.run.cancel(timerId);\n    }\n\n  }\n\n  class WaitForEventYieldable extends _utils.EmberYieldable {\n    constructor(object, eventName) {\n      super();\n      this.object = object;\n      this.eventName = eventName;\n      this.usesDOMEvents = false;\n    }\n\n    on(callback) {\n      if (typeof this.object.addEventListener === 'function') {\n        // assume that we're dealing with a DOM `EventTarget`.\n        this.usesDOMEvents = true;\n        this.object.addEventListener(this.eventName, callback);\n      } else {\n        this.object.on(this.eventName, callback);\n      }\n    }\n\n    off(callback) {\n      if (this.usesDOMEvents) {\n        this.object.removeEventListener(this.eventName, callback);\n      } else {\n        this.object.off(this.eventName, callback);\n      }\n    }\n\n    onYield(state) {\n      let fn = null;\n\n      let disposer = () => {\n        fn && this.off(fn);\n        fn = null;\n      };\n\n      fn = event => {\n        disposer();\n        state.next(event);\n      };\n\n      this.on(fn);\n      return disposer;\n    }\n\n  }\n\n  class WaitForPropertyYieldable extends _utils.EmberYieldable {\n    constructor(object, key, predicateCallback = Boolean) {\n      super();\n      this.object = object;\n      this.key = key;\n\n      if (typeof predicateCallback === 'function') {\n        this.predicateCallback = predicateCallback;\n      } else {\n        this.predicateCallback = v => v === predicateCallback;\n      }\n    }\n\n    onYield(state) {\n      let observerBound = false;\n\n      let observerFn = () => {\n        let value = Ember.get(this.object, this.key);\n        let predicateValue = this.predicateCallback(value);\n\n        if (predicateValue) {\n          state.next(value);\n          return true;\n        }\n      };\n\n      if (!observerFn()) {\n        Ember.addObserver(this.object, this.key, null, observerFn);\n        observerBound = true;\n      }\n\n      return () => {\n        if (observerBound && observerFn) {\n          Ember.removeObserver(this.object, this.key, null, observerFn);\n        }\n      };\n    }\n\n  }\n  /**\n   * Use `waitForQueue` to pause the task until a certain run loop queue is reached.\n   *\n   * ```js\n   * import { task, waitForQueue } from 'ember-concurrency';\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     yield waitForQueue('afterRender');\n   *     console.log(\"now we're in the afterRender queue\");\n   *   }\n   * }\n   * ```\n   *\n   * @param {string} queueName the name of the Ember run loop queue\n   */\n\n\n  function waitForQueue(queueName) {\n    return new WaitForQueueYieldable(queueName);\n  }\n  /**\n   * Use `waitForEvent` to pause the task until an event is fired. The event\n   * can either be a jQuery event or an Ember.Evented event (or any event system\n   * where the object supports `.on()` `.one()` and `.off()`).\n   *\n   * ```js\n   * import { task, waitForEvent } from 'ember-concurrency';\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     console.log(\"Please click anywhere..\");\n   *     let clickEvent = yield waitForEvent($('body'), 'click');\n   *     console.log(\"Got event\", clickEvent);\n   *\n   *     let emberEvent = yield waitForEvent(this, 'foo');\n   *     console.log(\"Got foo event\", emberEvent);\n   *\n   *     // somewhere else: component.trigger('foo', { value: 123 });\n   *   }\n   * }\n   * ```\n   *\n   * @param {object} object the Ember Object, jQuery element, or other object with .on() and .off() APIs\n   *                 that the event fires from\n   * @param {function} eventName the name of the event to wait for\n   */\n\n\n  function waitForEvent(object, eventName) {\n    (true && !((0, _utils.isEventedObject)(object)) && Ember.assert(`${object} must include Ember.Evented (or support \\`.on()\\` and \\`.off()\\`) or DOM EventTarget (or support \\`addEventListener\\` and  \\`removeEventListener\\`) to be able to use \\`waitForEvent\\``, (0, _utils.isEventedObject)(object)));\n    return new WaitForEventYieldable(object, eventName);\n  }\n  /**\n   * Use `waitForProperty` to pause the task until a property on an object\n   * changes to some expected value. This can be used for a variety of use\n   * cases, including synchronizing with another task by waiting for it\n   * to become idle, or change state in some other way. If you omit the\n   * callback, `waitForProperty` will resume execution when the observed\n   * property becomes truthy. If you provide a callback, it'll be called\n   * immediately with the observed property's current value, and multiple\n   * times thereafter whenever the property changes, until you return\n   * a truthy value from the callback, or the current task is canceled.\n   * You can also pass in a non-Function value in place of the callback,\n   * in which case the task will continue executing when the property's\n   * value becomes the value that you passed in.\n   *\n   * ```js\n   * import { task, waitForProperty } from 'ember-concurrency';\n   * export default class MyComponent extends Component {\n   *   &#64;tracked foo = 0;\n   *\n   *   &#64;task *myTask() {\n   *     console.log(\"Waiting for `foo` to become 5\");\n   *\n   *     yield waitForProperty(this, 'foo', v => v === 5);\n   *     // alternatively: yield waitForProperty(this, 'foo', 5);\n   *\n   *     // somewhere else: this.foo = 5;\n   *\n   *     console.log(\"`foo` is 5!\");\n   *\n   *     // wait for another task to be idle before running:\n   *     yield waitForProperty(this, 'otherTask.isIdle');\n   *     console.log(\"otherTask is idle!\");\n   *   }\n   * }\n   * ```\n   *\n   * @param {object} object an object (most likely an Ember Object)\n   * @param {string} key the property name that is observed for changes\n   * @param {function} callbackOrValue a Function that should return a truthy value\n   *                                   when the task should continue executing, or\n   *                                   a non-Function value that the watched property\n   *                                   needs to equal before the task will continue running\n   */\n\n\n  function waitForProperty(object, key, predicateCallback) {\n    return new WaitForPropertyYieldable(object, key, predicateCallback);\n  }\n});","define(\"ember-concurrency/-property-modifiers-mixin\", [\"exports\", \"ember-concurrency/-scheduler\", \"ember-concurrency/-buffer-policy\"], function (_exports, _scheduler, _bufferPolicy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.resolveScheduler = resolveScheduler;\n  _exports.propertyModifiers = void 0;\n  const propertyModifiers = {\n    // by default, task(...) expands to task(...).enqueue().maxConcurrency(Infinity)\n    _bufferPolicy: _bufferPolicy.enqueueTasksPolicy,\n    _maxConcurrency: Infinity,\n    _taskGroupPath: null,\n    _hasUsedModifier: false,\n    _hasSetBufferPolicy: false,\n    _hasEnabledEvents: false,\n\n    restartable() {\n      return setBufferPolicy(this, _bufferPolicy.cancelOngoingTasksPolicy);\n    },\n\n    enqueue() {\n      return setBufferPolicy(this, _bufferPolicy.enqueueTasksPolicy);\n    },\n\n    drop() {\n      return setBufferPolicy(this, _bufferPolicy.dropQueuedTasksPolicy);\n    },\n\n    keepLatest() {\n      return setBufferPolicy(this, _bufferPolicy.dropButKeepLatestPolicy);\n    },\n\n    maxConcurrency(n) {\n      this._hasUsedModifier = true;\n      this._maxConcurrency = n;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n\n    group(taskGroupPath) {\n      this._taskGroupPath = taskGroupPath;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n\n    evented() {\n      this._hasEnabledEvents = true;\n      return this;\n    },\n\n    debug() {\n      this._debug = true;\n      return this;\n    }\n\n  };\n  _exports.propertyModifiers = propertyModifiers;\n\n  function setBufferPolicy(obj, policy) {\n    obj._hasSetBufferPolicy = true;\n    obj._hasUsedModifier = true;\n    obj._bufferPolicy = policy;\n    assertModifiersNotMixedWithGroup(obj);\n\n    if (obj._maxConcurrency === Infinity) {\n      obj._maxConcurrency = 1;\n    }\n\n    return obj;\n  }\n\n  function assertModifiersNotMixedWithGroup(obj) {\n    (true && !(!obj._hasUsedModifier || !obj._taskGroupPath) && Ember.assert(`ember-concurrency does not currently support using both .group() with other task modifiers (e.g. drop(), enqueue(), restartable())`, !obj._hasUsedModifier || !obj._taskGroupPath));\n  }\n\n  function resolveScheduler(propertyObj, obj, TaskGroup) {\n    if (propertyObj._taskGroupPath) {\n      let taskGroup = Ember.get(obj, propertyObj._taskGroupPath);\n      (true && !(taskGroup instanceof TaskGroup) && Ember.assert(`Expected path '${propertyObj._taskGroupPath}' to resolve to a TaskGroup object, but instead was ${taskGroup}`, taskGroup instanceof TaskGroup));\n      return taskGroup._scheduler;\n    } else {\n      return _scheduler.default.create({\n        bufferPolicy: propertyObj._bufferPolicy,\n        maxConcurrency: propertyObj._maxConcurrency\n      });\n    }\n  }\n});","define(\"ember-concurrency/-scheduler\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let SEEN_INDEX = 0;\n  const Scheduler = Ember.Object.extend({\n    lastPerformed: null,\n    lastStarted: null,\n    lastRunning: null,\n    lastSuccessful: null,\n    lastComplete: null,\n    lastErrored: null,\n    lastCanceled: null,\n    lastIncomplete: null,\n    performCount: 0,\n    boundHandleFulfill: null,\n    boundHandleReject: null,\n\n    init() {\n      this._super(...arguments);\n\n      this.activeTaskInstances = [];\n      this.queuedTaskInstances = [];\n    },\n\n    cancelAll(reason) {\n      let seen = [];\n      this.spliceTaskInstances(reason, this.activeTaskInstances, 0, this.activeTaskInstances.length, seen);\n      this.spliceTaskInstances(reason, this.queuedTaskInstances, 0, this.queuedTaskInstances.length, seen);\n      flushTaskCounts(seen);\n    },\n\n    spliceTaskInstances(cancelReason, taskInstances, index, count, seen) {\n      for (let i = index; i < index + count; ++i) {\n        let taskInstance = taskInstances[i];\n\n        if (!taskInstance.hasStarted) {\n          // This tracking logic is kinda spread all over the place...\n          // maybe TaskInstances themselves could notify\n          // some delegate of queued state changes upon cancelation?\n          Ember.set(taskInstance.task, 'numQueued', taskInstance.task.numQueued - 1);\n        }\n\n        taskInstance.cancel(cancelReason);\n\n        if (seen) {\n          seen.push(taskInstance.task);\n        }\n      }\n\n      taskInstances.splice(index, count);\n    },\n\n    schedule(taskInstance) {\n      Ember.set(this, 'lastPerformed', taskInstance);\n      Ember.set(this, 'performCount', this.performCount + 1);\n      Ember.set(taskInstance.task, 'numQueued', taskInstance.task.numQueued + 1);\n      this.queuedTaskInstances.push(taskInstance);\n\n      this._flushQueues();\n    },\n\n    _flushQueues() {\n      let seen = [];\n\n      for (let i = 0; i < this.activeTaskInstances.length; ++i) {\n        seen.push(this.activeTaskInstances[i].task);\n      }\n\n      this.activeTaskInstances = filterFinished(this.activeTaskInstances);\n      this.bufferPolicy.schedule(this);\n      var lastStarted = null;\n\n      for (let i = 0; i < this.activeTaskInstances.length; ++i) {\n        let taskInstance = this.activeTaskInstances[i];\n\n        if (!taskInstance.hasStarted) {\n          this._startTaskInstance(taskInstance);\n\n          lastStarted = taskInstance;\n        }\n\n        seen.push(taskInstance.task);\n      }\n\n      if (lastStarted) {\n        Ember.set(this, 'lastStarted', lastStarted);\n      }\n\n      Ember.set(this, 'lastRunning', lastStarted);\n\n      for (let i = 0; i < this.queuedTaskInstances.length; ++i) {\n        seen.push(this.queuedTaskInstances[i].task);\n      }\n\n      flushTaskCounts(seen);\n      Ember.set(this, 'concurrency', this.activeTaskInstances.length);\n    },\n\n    _startTaskInstance(taskInstance) {\n      let task = taskInstance.task;\n      Ember.set(task, 'numQueued', task.numQueued - 1);\n      Ember.set(task, 'numRunning', task.numRunning + 1);\n\n      taskInstance._start()._onFinalize(() => {\n        Ember.set(task, 'numRunning', task.numRunning - 1);\n        var state = taskInstance._completionState;\n        Ember.set(this, 'lastComplete', taskInstance);\n\n        if (state === 1) {\n          Ember.set(this, 'lastSuccessful', taskInstance);\n        } else {\n          if (state === 2) {\n            Ember.set(this, 'lastErrored', taskInstance);\n          } else if (state === 3) {\n            Ember.set(this, 'lastCanceled', taskInstance);\n          }\n\n          Ember.set(this, 'lastIncomplete', taskInstance);\n        }\n\n        Ember.run.once(this, this._flushQueues);\n      });\n    }\n\n  });\n\n  function flushTaskCounts(tasks) {\n    SEEN_INDEX++;\n\n    for (let i = 0, l = tasks.length; i < l; ++i) {\n      let task = tasks[i];\n\n      if (task._seenIndex < SEEN_INDEX) {\n        task._seenIndex = SEEN_INDEX;\n        updateTaskChainCounts(task);\n      }\n    }\n  }\n\n  function updateTaskChainCounts(task) {\n    let numRunning = task.numRunning;\n    let numQueued = task.numQueued;\n    let taskGroup = Ember.get(task, 'group');\n\n    while (taskGroup) {\n      Ember.set(taskGroup, 'numRunning', numRunning);\n      Ember.set(taskGroup, 'numQueued', numQueued);\n      taskGroup = Ember.get(taskGroup, 'group');\n    }\n  }\n\n  function filterFinished(taskInstances) {\n    let ret = [];\n\n    for (let i = 0, l = taskInstances.length; i < l; ++i) {\n      let taskInstance = taskInstances[i];\n\n      if (taskInstance.isFinished === false) {\n        ret.push(taskInstance);\n      }\n    }\n\n    return ret;\n  }\n\n  var _default = Scheduler;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-task-group\", [\"exports\", \"ember-concurrency/utils\", \"ember-concurrency/-task-state-mixin\", \"ember-concurrency/-property-modifiers-mixin\"], function (_exports, _utils, _taskStateMixin, _propertyModifiersMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroupProperty = _exports.TaskGroup = void 0;\n\n  /**\n   * \"Task Groups\" provide a means for applying\n   * task modifiers to groups of tasks. Once a {@linkcode Task} is declared\n   * as part of a group task, modifiers like `drop()` or `restartable()`\n   * will no longer affect the individual `Task`. Instead those\n   * modifiers can be applied to the entire group.\n   *\n   * ```js\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * export default Controller.extend({\n   *   chores: taskGroup().drop(),\n   *\n   *   mowLawn:       task(taskFn).group('chores'),\n   *   doDishes:      task(taskFn).group('chores'),\n   *   changeDiapers: task(taskFn).group('chores')\n   * });\n   * ```\n   *\n   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #TaskGroup{ display: none }\n   * </style>\n   *\n   * @class TaskGroup\n   */\n  const TaskGroup = Ember.Object.extend(_taskStateMixin.default, {\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task group is not in the running or queued state.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task group: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof TaskGroup\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task group has been performed.\n     *\n     * @memberof TaskGroup\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * Cancels all running or queued `TaskInstance`s for this task group.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task group) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof TaskGroup\n     * @param {Object} [options]\n     * @param {string} [options.reason=.cancelAll() was explicitly called on the Task] - a descriptive reason the task group was cancelled\n     * @param {boolean} [options.resetState] - if true, will clear the task group state (`last*` and `performCount` properties will be set to initial values)\n     * @instance\n     */\n    isTaskGroup: true,\n\n    toString() {\n      return `<TaskGroup:${this._propertyName}>`;\n    },\n\n    _numRunningOrNumQueued: Ember.computed.or('numRunning', 'numQueued'),\n    isRunning: Ember.computed.bool('_numRunningOrNumQueued'),\n    isQueued: false\n  });\n  /**\n   * \"Task Groups\" provide a means for applying\n   * task modifiers to groups of tasks. Once a {@linkcode Task} is declared\n   * as part of a group task, modifiers like `drop()` or `restartable()`\n   * will no longer affect the individual `Task`. Instead those\n   * modifiers can be applied to the entire group.\n   *\n   * ```js\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * export default Controller.extend({\n   *   chores: taskGroup().drop(),\n   *\n   *   mowLawn:       task(taskFn).group('chores'),\n   *   doDishes:      task(taskFn).group('chores'),\n   *   changeDiapers: task(taskFn).group('chores')\n   * });\n   * ```\n   *\n   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #TaskGroupProperty{ display: none }\n   * </style>\n   *\n   * @class TaskGroupProperty\n   */\n\n  _exports.TaskGroup = TaskGroup;\n  let TaskGroupProperty;\n  _exports.TaskGroupProperty = TaskGroupProperty;\n\n  if (true) {\n    _exports.TaskGroupProperty = TaskGroupProperty = class {};\n  } else {\n    _exports.TaskGroupProperty = TaskGroupProperty = class extends _utils._ComputedProperty {};\n  }\n  /**\n   * Configures the task group to cancel old currently task\n   * instances to make room for a new one to perform. Sets\n   * default maxConcurrency to 1.\n   *\n   * [See the Live Example](/#/docs/examples/route-tasks/1)\n   *\n   * @method restartable\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to run task instances\n   * one-at-a-time in the order they were `.perform()`ed.\n   * Sets default maxConcurrency to 1.\n   *\n   * @method enqueue\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to immediately cancel (i.e.\n   * drop) any task instances performed when the task group\n   * is already running at maxConcurrency. Sets default\n   * maxConcurrency to 1.\n   *\n   * @method drop\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to drop all but the most\n   * recently performed {@linkcode TaskInstance }.\n   *\n   * @method keepLatest\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Sets the maximum number of task instances that are\n   * allowed to run in this task group at the same time.\n   * By default, with no task modifiers applied, this number\n   * is Infinity (there is no limit to the number of tasks\n   * that can run at the same time).\n   * {@linkcode TaskGroupProperty#restartable .restartable()},\n   * {@linkcode TaskGroupProperty#enqueue .enqueue()}, and\n   * {@linkcode TaskGroupProperty#drop .drop()} set the\n   * default maxConcurrency to 1, but you can override this\n   * value to set the maximum number of concurrently running\n   * tasks to a number greater than 1.\n   *\n   * [See the AJAX Throttling example](/#/docs/examples/ajax-throttling)\n   *\n   * The example below uses a task group with `maxConcurrency(3)`\n   * to limit the number of concurrent AJAX requests (for anyone\n   * using tasks in this group) to 3.\n   *\n   * ```js\n   * ajax: taskGroup().maxConcurrency(3),\n   *\n   * doSomeAjax: task(function * (url) {\n   *   return Ember.$.getJSON(url).promise();\n   * }).group('ajax'),\n   *\n   * doSomeAjax: task(function * (url) {\n   *   return Ember.$.getJSON(url).promise();\n   * }).group('ajax'),\n   *\n   * elsewhere() {\n   *   this.get('doSomeAjax').perform(\"http://www.example.com/json\");\n   * },\n   * ```\n   *\n   * @method maxConcurrency\n   * @memberof TaskGroupProperty\n   * @param {Number} n The maximum number of concurrently running tasks\n   * @instance\n   */\n\n\n  (0, _utils.objectAssign)(TaskGroupProperty.prototype, _propertyModifiersMixin.propertyModifiers);\n});","define(\"ember-concurrency/-task-instance\", [\"exports\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/utils\"], function (_exports, _taskInstance, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (0, _utils.deprecatePrivateModule)('ember-concurrency/-task-instance');\n  var _default = _taskInstance.TaskInstance;\n  _exports.default = _default;\n});","define(\"ember-concurrency/-task-property\", [\"exports\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/utils\"], function (_exports, _task, _taskProperties, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Task\", {\n    enumerable: true,\n    get: function () {\n      return _task.Task;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskProperty;\n    }\n  });\n  (0, _utils.deprecatePrivateModule)('ember-concurrency/-task-property');\n});","define(\"ember-concurrency/-task-state-mixin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    alias\n  } = Ember.computed; // this is a mixin of properties/methods shared between Tasks and TaskGroups\n\n  var _default = Ember.Mixin.create({\n    isRunning: Ember.computed.gt('numRunning', 0),\n    isQueued: Ember.computed.gt('numQueued', 0),\n    isIdle: Ember.computed('isRunning', 'isQueued', function () {\n      return !this.get('isRunning') && !this.get('isQueued');\n    }),\n    state: Ember.computed('isRunning', 'isQueued', function () {\n      if (this.get('isRunning')) {\n        return 'running';\n      } else if (this.get('isQueued')) {\n        return 'queued';\n      } else {\n        return 'idle';\n      }\n    }),\n    _propertyName: null,\n    _origin: null,\n    name: alias('_propertyName'),\n    concurrency: alias('numRunning'),\n    last: alias('_scheduler.lastStarted'),\n    lastRunning: alias('_scheduler.lastRunning'),\n    lastPerformed: alias('_scheduler.lastPerformed'),\n    lastSuccessful: alias('_scheduler.lastSuccessful'),\n    lastComplete: alias('_scheduler.lastComplete'),\n    lastErrored: alias('_scheduler.lastErrored'),\n    lastCanceled: alias('_scheduler.lastCanceled'),\n    lastIncomplete: alias('_scheduler.lastIncomplete'),\n    performCount: alias('_scheduler.performCount'),\n    numRunning: 0,\n    numQueued: 0,\n    _seenIndex: 0,\n\n    cancelAll(options) {\n      let {\n        reason,\n        resetState\n      } = options || {};\n      reason = reason || \".cancelAll() was explicitly called on the Task\";\n\n      this._scheduler.cancelAll(reason);\n\n      if (resetState) {\n        this._resetState();\n      }\n    },\n\n    group: Ember.computed(function () {\n      return this._taskGroupPath && Ember.get(this.context, this._taskGroupPath);\n    }),\n    _scheduler: null,\n\n    _resetState() {\n      this.setProperties({\n        'last': null,\n        'lastRunning': null,\n        'lastStarted': null,\n        'lastPerformed': null,\n        'lastSuccessful': null,\n        'lastComplete': null,\n        'lastErrored': null,\n        'lastCanceled': null,\n        'lastIncomplete': null,\n        'performCount': 0\n      });\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-concurrency/-wait-for\", [\"exports\", \"ember-concurrency/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.waitForQueue = waitForQueue;\n  _exports.waitForEvent = waitForEvent;\n  _exports.waitForProperty = waitForProperty;\n\n  class WaitForQueueYieldable extends _utils.Yieldable {\n    constructor(queueName) {\n      super();\n      this.queueName = queueName;\n      this.timerId = null;\n    }\n\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      try {\n        this.timerId = Ember.run.schedule(this.queueName, () => {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, null);\n        });\n      } catch (error) {\n        taskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, error);\n      }\n    }\n\n    [_utils.cancelableSymbol]() {\n      Ember.run.cancel(this.timerId);\n      this.timerId = null;\n    }\n\n  }\n\n  class WaitForEventYieldable extends _utils.Yieldable {\n    constructor(object, eventName) {\n      super();\n      this.object = object;\n      this.eventName = eventName;\n      this.fn = null;\n      this.didFinish = false;\n      this.usesDOMEvents = false;\n      this.requiresCleanup = false;\n    }\n\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      this.fn = event => {\n        this.didFinish = true;\n\n        this[_utils.cancelableSymbol]();\n\n        taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, event);\n      };\n\n      if (typeof this.object.addEventListener === 'function') {\n        // assume that we're dealing with a DOM `EventTarget`.\n        this.usesDOMEvents = true;\n        this.object.addEventListener(this.eventName, this.fn);\n      } else if (typeof this.object.one === 'function') {\n        // assume that we're dealing with either `Ember.Evented` or a compatible\n        // interface, like jQuery.\n        this.object.one(this.eventName, this.fn);\n      } else {\n        this.requiresCleanup = true;\n        this.object.on(this.eventName, this.fn);\n      }\n    }\n\n    [_utils.cancelableSymbol]() {\n      if (this.fn) {\n        if (this.usesDOMEvents) {\n          // unfortunately this is required, because IE 11 does not support the\n          // `once` option: https://caniuse.com/#feat=once-event-listener\n          this.object.removeEventListener(this.eventName, this.fn);\n        } else if (!this.didFinish || this.requiresCleanup) {\n          this.object.off(this.eventName, this.fn);\n        }\n\n        this.fn = null;\n      }\n    }\n\n  }\n\n  class WaitForPropertyYieldable extends _utils.Yieldable {\n    constructor(object, key, predicateCallback = Boolean) {\n      super();\n      this.object = object;\n      this.key = key;\n\n      if (typeof predicateCallback === 'function') {\n        this.predicateCallback = predicateCallback;\n      } else {\n        this.predicateCallback = v => v === predicateCallback;\n      }\n\n      this.observerBound = false;\n    }\n\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      this.observerFn = () => {\n        let value = Ember.get(this.object, this.key);\n        let predicateValue = this.predicateCallback(value);\n\n        if (predicateValue) {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, value);\n          return true;\n        }\n      };\n\n      if (!this.observerFn()) {\n        Ember.addObserver(this.object, this.key, null, this.observerFn);\n        this.observerBound = true;\n      }\n    }\n\n    [_utils.cancelableSymbol]() {\n      if (this.observerBound && this.observerFn) {\n        Ember.removeObserver(this.object, this.key, null, this.observerFn);\n        this.observerFn = null;\n      }\n    }\n\n  }\n  /**\n   * Use `waitForQueue` to pause the task until a certain run loop queue is reached.\n   *\n   * ```js\n   * import { task, waitForQueue } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     yield waitForQueue('afterRender');\n   *     console.log(\"now we're in the afterRender queue\");\n   *   })\n   * });\n   * ```\n   *\n   * @param {string} queueName the name of the Ember run loop queue\n   */\n\n\n  function waitForQueue(queueName) {\n    return new WaitForQueueYieldable(queueName);\n  }\n  /**\n   * Use `waitForEvent` to pause the task until an event is fired. The event\n   * can either be a jQuery event or an Ember.Evented event (or any event system\n   * where the object supports `.on()` `.one()` and `.off()`).\n   *\n   * ```js\n   * import { task, waitForEvent } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Please click anywhere..\");\n   *     let clickEvent = yield waitForEvent($('body'), 'click');\n   *     console.log(\"Got event\", clickEvent);\n   *\n   *     let emberEvent = yield waitForEvent(this, 'foo');\n   *     console.log(\"Got foo event\", emberEvent);\n   *\n   *     // somewhere else: component.trigger('foo', { value: 123 });\n   *   })\n   * });\n   * ```\n   *\n   * @param {object} object the Ember Object, jQuery element, or other object with .on() and .off() APIs\n   *                 that the event fires from\n   * @param {function} eventName the name of the event to wait for\n   */\n\n\n  function waitForEvent(object, eventName) {\n    (true && !((0, _utils.isEventedObject)(object)) && Ember.assert(`${object} must include Ember.Evented (or support \\`.on()\\` and \\`.off()\\`) or DOM EventTarget (or support \\`addEventListener\\` and  \\`removeEventListener\\`) to be able to use \\`waitForEvent\\``, (0, _utils.isEventedObject)(object)));\n    return new WaitForEventYieldable(object, eventName);\n  }\n  /**\n   * Use `waitForProperty` to pause the task until a property on an object\n   * changes to some expected value. This can be used for a variety of use\n   * cases, including synchronizing with another task by waiting for it\n   * to become idle, or change state in some other way. If you omit the\n   * callback, `waitForProperty` will resume execution when the observed\n   * property becomes truthy. If you provide a callback, it'll be called\n   * immediately with the observed property's current value, and multiple\n   * times thereafter whenever the property changes, until you return\n   * a truthy value from the callback, or the current task is canceled.\n   * You can also pass in a non-Function value in place of the callback,\n   * in which case the task will continue executing when the property's\n   * value becomes the value that you passed in.\n   *\n   * ```js\n   * import { task, waitForProperty } from 'ember-concurrency';\n   * export default Component.extend({\n   *   foo: 0,\n   *\n   *   myTask: task(function * () {\n   *     console.log(\"Waiting for `foo` to become 5\");\n   *\n   *     yield waitForProperty(this, 'foo', v => v === 5);\n   *     // alternatively: yield waitForProperty(this, 'foo', 5);\n   *\n   *     // somewhere else: this.set('foo', 5)\n   *\n   *     console.log(\"`foo` is 5!\");\n   *\n   *     // wait for another task to be idle before running:\n   *     yield waitForProperty(this, 'otherTask.isIdle');\n   *     console.log(\"otherTask is idle!\");\n   *   })\n   * });\n   * ```\n   *\n   * @param {object} object an object (most likely an Ember Object)\n   * @param {string} key the property name that is observed for changes\n   * @param {function} callbackOrValue a Function that should return a truthy value\n   *                                   when the task should continue executing, or\n   *                                   a non-Function value that the watched property\n   *                                   needs to equal before the task will continue running\n   */\n\n\n  function waitForProperty(object, key, predicateCallback) {\n    return new WaitForPropertyYieldable(object, key, predicateCallback);\n  }\n});","define(\"ember-concurrency/helpers/cancel-all\", [\"exports\", \"ember-concurrency/-private/helpers\"], function (_exports, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cancelHelper = cancelHelper;\n  _exports.default = void 0;\n  const CANCEL_REASON = \"the 'cancel-all' template helper was invoked\";\n\n  function cancelHelper(args) {\n    let cancelable = args[0];\n\n    if (!cancelable || typeof cancelable.cancelAll !== 'function') {\n      (true && !(false) && Ember.assert(`The first argument passed to the \\`cancel-all\\` helper should be a Task or TaskGroup (without quotes); you passed ${cancelable}`, false));\n    }\n\n    return (0, _helpers.taskHelperClosure)('cancel-all', 'cancelAll', [cancelable, {\n      reason: CANCEL_REASON\n    }]);\n  }\n\n  var _default = Ember.Helper.helper(cancelHelper);\n\n  _exports.default = _default;\n});","define(\"ember-concurrency/helpers/perform\", [\"exports\", \"ember-concurrency/-private/helpers\"], function (_exports, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.performHelper = performHelper;\n  _exports.default = void 0;\n\n  function performHelper(args, hash) {\n    return (0, _helpers.taskHelperClosure)('perform', 'perform', args, hash);\n  }\n\n  var _default = Ember.Helper.helper(performHelper);\n\n  _exports.default = _default;\n});","define(\"ember-concurrency/helpers/task\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function taskHelper([task, ...args]) {\n    return task._curry(...args);\n  }\n\n  var _default = Ember.Helper.helper(taskHelper);\n\n  _exports.default = _default;\n});","define(\"ember-concurrency/index\", [\"exports\", \"ember-concurrency/-private/utils\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/cancelable-promise-helpers\", \"ember-concurrency/-private/wait-for\", \"ember-concurrency/-private/external/task-instance/cancelation\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-group\", \"ember-concurrency/-private/task-decorators\"], function (_exports, _utils, _taskProperties, _taskInstance, _cancelablePromiseHelpers, _waitFor, _cancelation, _yieldables, _task, _taskGroup, _taskDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"timeout\", {\n    enumerable: true,\n    get: function () {\n      return _utils.timeout;\n    }\n  });\n  Object.defineProperty(_exports, \"Yieldable\", {\n    enumerable: true,\n    get: function () {\n      return _utils.EmberYieldable;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskGroupProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskGroupProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"task\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.task;\n    }\n  });\n  Object.defineProperty(_exports, \"taskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.taskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskInstance\", {\n    enumerable: true,\n    get: function () {\n      return _taskInstance.TaskInstance;\n    }\n  });\n  Object.defineProperty(_exports, \"all\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.all;\n    }\n  });\n  Object.defineProperty(_exports, \"allSettled\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.allSettled;\n    }\n  });\n  Object.defineProperty(_exports, \"hash\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.hash;\n    }\n  });\n  Object.defineProperty(_exports, \"hashSettled\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.hashSettled;\n    }\n  });\n  Object.defineProperty(_exports, \"race\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.race;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForQueue\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForQueue;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForEvent\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForEvent;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForProperty\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"didCancel\", {\n    enumerable: true,\n    get: function () {\n      return _cancelation.didCancel;\n    }\n  });\n  Object.defineProperty(_exports, \"animationFrame\", {\n    enumerable: true,\n    get: function () {\n      return _yieldables.animationFrame;\n    }\n  });\n  Object.defineProperty(_exports, \"forever\", {\n    enumerable: true,\n    get: function () {\n      return _yieldables.forever;\n    }\n  });\n  Object.defineProperty(_exports, \"rawTimeout\", {\n    enumerable: true,\n    get: function () {\n      return _yieldables.rawTimeout;\n    }\n  });\n  Object.defineProperty(_exports, \"Task\", {\n    enumerable: true,\n    get: function () {\n      return _task.Task;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskGroup.TaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"dropTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.dropTask;\n    }\n  });\n  Object.defineProperty(_exports, \"dropTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.dropTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"enqueueTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.enqueueTask;\n    }\n  });\n  Object.defineProperty(_exports, \"enqueueTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.enqueueTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"lastValue\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.lastValue;\n    }\n  });\n  Object.defineProperty(_exports, \"keepLatestTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.keepLatestTask;\n    }\n  });\n  Object.defineProperty(_exports, \"keepLatestTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.keepLatestTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"restartableTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.restartableTask;\n    }\n  });\n  Object.defineProperty(_exports, \"restartableTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.restartableTaskGroup;\n    }\n  });\n});","define(\"ember-concurrency/initializers/ember-concurrency\", [\"exports\", \"ember-concurrency\"], function (_exports, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // This initializer exists only to make sure that the following\n  // imports happen before the app boots.\n  var _default = {\n    name: 'ember-concurrency',\n    initialize: function () {}\n  };\n  _exports.default = _default;\n});","define(\"ember-concurrency/utils\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isEventedObject = isEventedObject;\n  _exports._cleanupOnDestroy = _cleanupOnDestroy;\n  _exports.timeout = timeout;\n  _exports.raw = raw;\n  _exports.rawTimeout = rawTimeout;\n  _exports.animationFrame = animationFrame;\n  _exports.yieldableToPromise = yieldableToPromise;\n  _exports.RawValue = _exports.forever = _exports.Yieldable = _exports._ComputedProperty = _exports.YIELDABLE_CANCEL = _exports.YIELDABLE_RETURN = _exports.YIELDABLE_THROW = _exports.YIELDABLE_CONTINUE = _exports.yieldableSymbol = _exports.cancelableSymbol = _exports.INVOKE = _exports.objectAssign = _exports.Arguments = void 0;\n\n  function isEventedObject(c) {\n    return c && (typeof c.one === 'function' && typeof c.off === 'function' || typeof c.on === 'function' && typeof c.off === 'function' || typeof c.addEventListener === 'function' && typeof c.removeEventListener === 'function');\n  }\n\n  class Arguments {\n    constructor(args, defer) {\n      this.args = args;\n      this.defer = defer;\n    }\n\n    resolve(value) {\n      if (this.defer) {\n        this.defer.resolve(value);\n      }\n    }\n\n  }\n\n  _exports.Arguments = Arguments;\n\n  let objectAssign = Object.assign || function objectAssign(target) {\n    'use strict';\n\n    if (target == null) {\n      throw new TypeError('Cannot convert undefined or null to object');\n    }\n\n    target = Object(target);\n\n    for (var index = 1; index < arguments.length; index++) {\n      var source = arguments[index];\n\n      if (source != null) {\n        for (var key in source) {\n          if (Object.prototype.hasOwnProperty.call(source, key)) {\n            target[key] = source[key];\n          }\n        }\n      }\n    }\n\n    return target;\n  };\n\n  _exports.objectAssign = objectAssign;\n\n  function _cleanupOnDestroy(owner, object, cleanupMethodName, ...args) {\n    // TODO: find a non-mutate-y, non-hacky way of doing this.\n    if (!owner.willDestroy) {\n      // we're running in non Ember object (possibly in a test mock)\n      return;\n    }\n\n    if (!owner.willDestroy.__ember_processes_destroyers__) {\n      let oldWillDestroy = owner.willDestroy;\n      let disposers = [];\n\n      owner.willDestroy = function () {\n        for (let i = 0, l = disposers.length; i < l; i++) {\n          disposers[i]();\n        }\n\n        oldWillDestroy.apply(owner, arguments);\n      };\n\n      owner.willDestroy.__ember_processes_destroyers__ = disposers;\n    }\n\n    owner.willDestroy.__ember_processes_destroyers__.push(() => {\n      object[cleanupMethodName](...args);\n    });\n  }\n\n  let INVOKE = \"__invoke_symbol__\";\n  _exports.INVOKE = INVOKE;\n  let locations = ['@ember/-internals/glimmer/index', '@ember/-internals/glimmer', 'ember-glimmer', 'ember-glimmer/helpers/action', 'ember-htmlbars/keywords/closure-action', 'ember-routing-htmlbars/keywords/closure-action', 'ember-routing/keywords/closure-action'];\n\n  for (let i = 0; i < locations.length; i++) {\n    if (locations[i] in Ember.__loader.registry) {\n      _exports.INVOKE = INVOKE = Ember.__loader.require(locations[i])['INVOKE'];\n      break;\n    }\n  } // TODO: Symbol polyfill?\n\n\n  const cancelableSymbol = \"__ec_cancel__\";\n  _exports.cancelableSymbol = cancelableSymbol;\n  const yieldableSymbol = \"__ec_yieldable__\";\n  _exports.yieldableSymbol = yieldableSymbol;\n  const YIELDABLE_CONTINUE = \"next\";\n  _exports.YIELDABLE_CONTINUE = YIELDABLE_CONTINUE;\n  const YIELDABLE_THROW = \"throw\";\n  _exports.YIELDABLE_THROW = YIELDABLE_THROW;\n  const YIELDABLE_RETURN = \"return\";\n  _exports.YIELDABLE_RETURN = YIELDABLE_RETURN;\n  const YIELDABLE_CANCEL = \"cancel\";\n  _exports.YIELDABLE_CANCEL = YIELDABLE_CANCEL;\n  const _ComputedProperty = Ember.ComputedProperty;\n  _exports._ComputedProperty = _ComputedProperty;\n\n  class Yieldable {\n    constructor() {\n      this[yieldableSymbol] = this[yieldableSymbol].bind(this);\n      this[cancelableSymbol] = this[cancelableSymbol].bind(this);\n    }\n\n    then(...args) {\n      return yieldableToPromise(this).then(...args);\n    }\n\n    [yieldableSymbol]() {}\n\n    [cancelableSymbol]() {}\n\n  }\n\n  _exports.Yieldable = Yieldable;\n\n  class TimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n      this.timerId = null;\n    }\n\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = Ember.run.later(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      }, this.ms);\n    }\n\n    [cancelableSymbol]() {\n      Ember.run.cancel(this.timerId);\n      this.timerId = null;\n    }\n\n  }\n  /**\n   *\n   * Yielding `timeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * This timeout will be scheduled on the Ember runloop, which\n   * means that test helpers will wait for it to complete before\n   * continuing with the test. See `rawTimeout()` if you need\n   * different behavior.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield timeout(1000);\n   *     }\n   *   })\n   * });\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n\n\n  function timeout(ms) {\n    return new TimeoutYieldable(ms);\n  }\n  /**\n   *\n   * Yielding `forever` will pause a task indefinitely until\n   * it is cancelled (i.e. via host object destruction, .restartable(),\n   * or manual cancellation).\n   *\n   * This is often useful in cases involving animation: if you're\n   * using Liquid Fire, or some other animation scheme, sometimes you'll\n   * notice buttons visibly reverting to their inactive states during\n   * a route transition. By yielding `forever` in a Component task that drives a\n   * button's active state, you can keep a task indefinitely running\n   * until the animation runs to completion.\n   *\n   * NOTE: Liquid Fire also includes a useful `waitUntilIdle()` method\n   * on the `liquid-fire-transitions` service that you can use in a lot\n   * of these cases, but it won't cover cases of asynchrony that are\n   * unrelated to animation, in which case `forever` might be better suited\n   * to your needs.\n   *\n   * ```js\n   * import { task, forever } from 'ember-concurrency';\n   *\n   * export default Component.extend({\n   *   myService: service(),\n   *   myTask: task(function * () {\n   *     yield this.myService.doSomethingThatCausesATransition();\n   *     yield forever;\n   *   })\n   * });\n   * ```\n   */\n\n\n  class ForeverYieldable extends Yieldable {\n    [yieldableSymbol]() {}\n\n    [cancelableSymbol]() {}\n\n  }\n\n  const forever = new ForeverYieldable();\n  _exports.forever = forever;\n\n  class RawValue {\n    constructor(value) {\n      this.value = value;\n    }\n\n  }\n\n  _exports.RawValue = RawValue;\n\n  function raw(value) {\n    return new RawValue(value);\n  }\n\n  class RawTimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n      this.timerId = null;\n    }\n\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = setTimeout(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      }, this.ms);\n    }\n\n    [cancelableSymbol]() {\n      clearTimeout(this.timerId);\n      this.timerId = null;\n    }\n\n  }\n  /**\n   *\n   * Yielding `rawTimeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * The timeout will use the native `setTimeout()` browser API,\n   * instead of the Ember runloop, which means that test helpers\n   * will *not* wait for it to complete.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield rawTimeout(1000);\n   *     }\n   *   })\n   * });\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n\n\n  function rawTimeout(ms) {\n    return new RawTimeoutYieldable(ms);\n  }\n\n  class AnimationFrameYieldable extends Yieldable {\n    constructor() {\n      super();\n      this.timerId = null;\n    }\n\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = requestAnimationFrame(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      });\n    }\n\n    [cancelableSymbol]() {\n      cancelAnimationFrame(this.timerId);\n      this.timerId = null;\n    }\n\n  }\n  /**\n   * Yielding `animationFrame()` will pause a task until after the next animation\n   * frame using the native `requestAnimationFrame()` browser API.\n   *\n   * The task below, when performed, will print the time since the last loop run\n   * for every animation frame.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     let lastNow = performance.now();\n   *     while (true) {\n   *       yield animationFrame();\n   *\n   *       let now = performance.now();\n   *       let dt = now - lastNow;\n   *       lastNow = now;\n   *\n   *       console.log(dt);\n   *     }\n   *   })\n   * });\n   * ```\n   */\n\n\n  function animationFrame() {\n    return new AnimationFrameYieldable();\n  }\n\n  function yieldableToPromise(yieldable) {\n    let def = Ember.RSVP.defer();\n    let thinInstance = {\n      proceed(_index, resumeType, value) {\n        if (resumeType == YIELDABLE_CONTINUE || resumeType == YIELDABLE_RETURN) {\n          def.resolve(value);\n        } else {\n          def.reject(value);\n        }\n      }\n\n    };\n    let maybeDisposer = yieldable[yieldableSymbol](thinInstance, 0);\n    def.promise[cancelableSymbol] = maybeDisposer || yieldable[cancelableSymbol];\n    return def.promise;\n  }\n});","define(\"ember-cookies/services/cookies\", [\"exports\", \"ember-cookies/utils/serialize-cookie\"], function (_exports, _serializeCookie) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    keys\n  } = Object;\n  const assign = Object.assign || Ember.assign || Ember.merge;\n  const DEFAULTS = {\n    raw: false\n  };\n  const MAX_COOKIE_BYTE_LENGTH = 4096;\n\n  var _default = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n\n      this._document = this._document || window.document;\n\n      if (typeof this._fastBoot === 'undefined') {\n        let owner = Ember.getOwner(this);\n        this._fastBoot = owner.lookup('service:fastboot');\n      }\n    },\n\n    _getDocumentCookies() {\n      let all = this._document.cookie.split(';');\n\n      let filtered = this._filterDocumentCookies(all);\n\n      return filtered.reduce((acc, cookie) => {\n        if (!Ember.isEmpty(cookie)) {\n          let [key, value] = cookie;\n          acc[key.trim()] = (value || '').trim();\n        }\n\n        return acc;\n      }, {});\n    },\n\n    _getFastBootCookies() {\n      let fastBootCookies = Ember.get(this._fastBoot, 'request.cookies');\n      fastBootCookies = keys(fastBootCookies).reduce((acc, name) => {\n        let value = fastBootCookies[name];\n        acc[name] = {\n          value\n        };\n        return acc;\n      }, {});\n      let fastBootCookiesCache = this._fastBootCookiesCache || {};\n      fastBootCookies = assign({}, fastBootCookies, fastBootCookiesCache);\n      this._fastBootCookiesCache = fastBootCookies;\n      return this._filterCachedFastBootCookies(fastBootCookies);\n    },\n\n    read(name) {\n      let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      options = assign({}, DEFAULTS, options || {});\n      (true && !(Ember.isEmpty(options.domain) && Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.path)) && Ember.assert('Domain, Expires, Max-Age, and Path options cannot be set when reading cookies', Ember.isEmpty(options.domain) && Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.path)));\n      let all;\n\n      if (this._isFastBoot()) {\n        all = this._getFastBootCookies();\n      } else {\n        all = this._getDocumentCookies();\n      }\n\n      if (name) {\n        return this._decodeValue(all[name], options.raw);\n      } else {\n        keys(all).forEach(name => all[name] = this._decodeValue(all[name], options.raw));\n        return all;\n      }\n    },\n\n    write(name, value) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      options = assign({}, DEFAULTS, options || {});\n      (true && !(!options.signed) && Ember.assert(\"Cookies cannot be set as signed as signed cookies would not be modifyable in the browser as it has no knowledge of the express server's signing key!\", !options.signed));\n      (true && !(Ember.isEmpty(options.expires) || Ember.isEmpty(options.maxAge)) && Ember.assert('Cookies cannot be set with both maxAge and an explicit expiration time!', Ember.isEmpty(options.expires) || Ember.isEmpty(options.maxAge)));\n      value = this._encodeValue(value, options.raw);\n      (true && !(this._isCookieSizeAcceptable(value)) && Ember.assert(`Cookies larger than ${MAX_COOKIE_BYTE_LENGTH} bytes are not supported by most browsers!`, this._isCookieSizeAcceptable(value)));\n\n      if (this._isFastBoot()) {\n        this._writeFastBootCookie(name, value, options);\n      } else {\n        (true && !(!options.httpOnly) && Ember.assert('Cookies cannot be set to be HTTP-only from a browser!', !options.httpOnly));\n        options.path = options.path || this._normalizedDefaultPath();\n\n        this._writeDocumentCookie(name, value, options);\n      }\n    },\n\n    clear(name) {\n      let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      options = assign({}, options || {});\n      (true && !(Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.raw)) && Ember.assert('Expires, Max-Age, and raw options cannot be set when clearing cookies', Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.raw)));\n      options.expires = new Date('1970-01-01');\n      options.path = options.path || this._normalizedDefaultPath();\n      this.write(name, null, options);\n    },\n\n    exists(name) {\n      let all;\n\n      if (this._isFastBoot()) {\n        all = this._getFastBootCookies();\n      } else {\n        all = this._getDocumentCookies();\n      }\n\n      return all.hasOwnProperty(name);\n    },\n\n    _writeDocumentCookie(name, value) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      let serializedCookie = this._serializeCookie(name, value, options);\n\n      this._document.cookie = serializedCookie;\n    },\n\n    _writeFastBootCookie(name, value) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      let responseHeaders = Ember.get(this._fastBoot, 'response.headers');\n\n      let serializedCookie = this._serializeCookie(...arguments);\n\n      if (!Ember.isEmpty(options.maxAge)) {\n        options.maxAge *= 1000;\n      }\n\n      this._cacheFastBootCookie(...arguments);\n\n      let replaced = false;\n      let existing = responseHeaders.getAll('set-cookie');\n\n      for (let i = 0; i < existing.length; i++) {\n        if (existing[i].startsWith(`${name}=`)) {\n          existing[i] = serializedCookie;\n          replaced = true;\n          break;\n        }\n      }\n\n      if (!replaced) {\n        responseHeaders.append('set-cookie', serializedCookie);\n      }\n    },\n\n    _cacheFastBootCookie(name, value) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      let fastBootCache = this._fastBootCookiesCache || {};\n      let cachedOptions = assign({}, options);\n\n      if (cachedOptions.maxAge) {\n        let expires = new Date();\n        expires.setSeconds(expires.getSeconds() + options.maxAge);\n        cachedOptions.expires = expires;\n        delete cachedOptions.maxAge;\n      }\n\n      fastBootCache[name] = {\n        value,\n        options: cachedOptions\n      };\n      this._fastBootCookiesCache = fastBootCache;\n    },\n\n    _filterCachedFastBootCookies(fastBootCookies) {\n      let {\n        path: requestPath,\n        protocol\n      } = Ember.get(this._fastBoot, 'request'); // cannot use deconstruct here\n\n      let host = Ember.get(this._fastBoot, 'request.host');\n      return keys(fastBootCookies).reduce((acc, name) => {\n        let {\n          value,\n          options\n        } = fastBootCookies[name];\n        options = options || {};\n        let {\n          path: optionsPath,\n          domain,\n          expires,\n          secure\n        } = options;\n\n        if (optionsPath && requestPath.indexOf(optionsPath) !== 0) {\n          return acc;\n        }\n\n        if (domain && host.indexOf(domain) + domain.length !== host.length) {\n          return acc;\n        }\n\n        if (expires && expires < new Date()) {\n          return acc;\n        }\n\n        if (secure && !(protocol || '').match(/^https/)) {\n          return acc;\n        }\n\n        acc[name] = value;\n        return acc;\n      }, {});\n    },\n\n    _encodeValue(value, raw) {\n      if (Ember.isNone(value)) {\n        return '';\n      } else if (raw) {\n        return value;\n      } else {\n        return encodeURIComponent(value);\n      }\n    },\n\n    _decodeValue(value, raw) {\n      if (Ember.isNone(value) || raw) {\n        return value;\n      } else {\n        return decodeURIComponent(value);\n      }\n    },\n\n    _filterDocumentCookies(unfilteredCookies) {\n      return unfilteredCookies.map(c => {\n        let separatorIndex = c.indexOf('=');\n        return [c.substring(0, separatorIndex), c.substring(separatorIndex + 1)];\n      }).filter(c => c.length === 2 && Ember.isPresent(c[0]));\n    },\n\n    _serializeCookie(name, value) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n      return (0, _serializeCookie.serializeCookie)(name, value, options);\n    },\n\n    _isCookieSizeAcceptable(value) {\n      // Counting bytes varies Pre-ES6 and in ES6\n      // This snippet counts the bytes in the value\n      // about to be stored as the cookie:\n      // See https://stackoverflow.com/a/25994411/6657064\n      let _byteCount = 0;\n      let i = 0;\n      let c;\n\n      while (c = value.charCodeAt(i++)) {\n        /* eslint-disable no-bitwise */\n        _byteCount += c >> 11 ? 3 : c >> 7 ? 2 : 1;\n        /* eslint-enable no-bitwise */\n      }\n\n      return _byteCount < MAX_COOKIE_BYTE_LENGTH;\n    },\n\n    _normalizedDefaultPath() {\n      if (!this._isFastBoot()) {\n        let pathname = window.location.pathname;\n        return pathname.substring(0, pathname.lastIndexOf('/'));\n      }\n    },\n\n    _isFastBoot() {\n      return this._fastBoot && this._fastBoot.isFastBoot;\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-cookies/utils/serialize-cookie\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.serializeCookie = void 0;\n\n  const serializeCookie = function (name, value) {\n    let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n    let cookie = `${name}=${value}`;\n\n    if (!Ember.isEmpty(options.domain)) {\n      cookie = `${cookie}; domain=${options.domain}`;\n    }\n\n    if (Ember.typeOf(options.expires) === 'date') {\n      cookie = `${cookie}; expires=${options.expires.toUTCString()}`;\n    }\n\n    if (!Ember.isEmpty(options.maxAge)) {\n      cookie = `${cookie}; max-age=${options.maxAge}`;\n    }\n\n    if (options.secure) {\n      cookie = `${cookie}; secure`;\n    }\n\n    if (options.httpOnly) {\n      cookie = `${cookie}; httpOnly`;\n    }\n\n    if (!Ember.isEmpty(options.path)) {\n      cookie = `${cookie}; path=${options.path}`;\n    }\n\n    if (!Ember.isEmpty(options.sameSite)) {\n      cookie = `${cookie}; SameSite=${options.sameSite}`;\n    }\n\n    return cookie;\n  };\n\n  _exports.serializeCookie = serializeCookie;\n});","define('ember-copy/copy', ['exports', 'ember-copy/copyable'], function (exports, _copyable) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = copy;\n\n\n  function _copy(obj, deep, seen, copies) {\n    // primitive data types are immutable, just return them.\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n\n    let ret, loc;\n\n    // avoid cyclical loops\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n\n    // IMPORTANT: this specific test will detect a native array only. Any other\n    // object will need to implement Copyable.\n    if (Array.isArray(obj)) {\n      ret = obj.slice();\n\n      if (deep) {\n        loc = ret.length;\n\n        while (--loc >= 0) {\n          ret[loc] = _copy(ret[loc], deep, seen, copies);\n        }\n      }\n    } else if (_copyable.default.detect(obj)) {\n      ret = obj.copy(deep, seen, copies);\n    } else if (obj instanceof Date) {\n      ret = new Date(obj.getTime());\n    } else {\n      (true && !(!(obj instanceof Ember.Object)) && Ember.assert('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof Ember.Object)));\n\n\n      ret = {};\n      let key;\n      for (key in obj) {\n        // support Null prototype\n        if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n          continue;\n        }\n\n        // Prevents browsers that don't respect non-enumerability from\n        // copying internal Ember properties\n        if (key.substring(0, 2) === '__') {\n          continue;\n        }\n\n        ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n      }\n    }\n    if (deep) {\n      seen.push(obj);\n      copies.push(ret);\n    }\n\n    return ret;\n  }\n\n  /**\n    Creates a shallow copy of the passed object. A deep copy of the object is\n    returned if the optional `deep` argument is `true`.\n  \n    If the passed object implements the `Copyable` interface, then this\n    function will delegate to the object's `copy()` method and return the\n    result. See `Copyable` for further details.\n  \n    For primitive values (which are immutable in JavaScript), the passed object\n    is simply returned.\n  \n    @function copy\n    @param {Object} obj The object to clone\n    @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n    @return {Object} The copied object\n  */\n  function copy(obj, deep) {\n    // fast paths\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n\n    if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\n\n    return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n  }\n});","define('ember-copy/copyable', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return a copy of the receiver. Default implementation raises\n      an exception.\n       @method copy\n      @param {Boolean} deep if `true`, a deep copy of the object should be made\n      @return {Object} copy of receiver\n    */\n    copy: null\n  });\n});","define('ember-copy/index', ['exports', 'ember-copy/copy', 'ember-copy/copyable'], function (exports, _copy, _copyable) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'copy', {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n  Object.defineProperty(exports, 'Copyable', {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n});","define(\"ember-element-helper/helpers/-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function UNINITIALIZED() {}\n\n  const DynamicElement = Ember.Component.extend();\n  const DynamicElementAlt = Ember.Component.extend();\n\n  var _default = Ember.Helper.extend({\n    init() {\n      this._super(...arguments);\n\n      this.tagName = UNINITIALIZED;\n      this.componentClass = null;\n    },\n\n    compute(params, hash) {\n      (true && !(params.length === 1) && Ember.assert('The `element` helper takes a single positional argument', params.length === 1));\n      (true && !(Object.keys(hash).length === 0) && Ember.assert('The `element` helper does not take any named arguments', Object.keys(hash).length === 0));\n      let tagName = params[0];\n\n      if (tagName !== this.tagName) {\n        this.tagName = tagName;\n\n        if (typeof tagName === 'string') {\n          // return a different component name to force a teardown\n          if (this.componentClass === DynamicElement) {\n            this.componentClass = DynamicElementAlt;\n          } else {\n            this.componentClass = DynamicElement;\n          }\n        } else {\n          this.componentClass = null;\n          Ember.runInDebug(() => {\n            let message = 'The argument passed to the `element` helper must be a string';\n\n            try {\n              message += ` (you passed \\`${tagName}\\`)`;\n            } catch (e) {// ignore\n            }\n\n            (true && !(tagName === undefined || tagName === null) && Ember.assert(message, tagName === undefined || tagName === null));\n          });\n        }\n      }\n\n      return this.componentClass;\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-element-helper/helpers/element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.helper(function () {\n    // This helper (`element`, as opposed to `-element`) mostly exists to satisfy\n    // things like `owner.hasRegistration('helper:element')`. The AST transform\n    // replaces all usages of `(element ...)` into `(component (-element ...))`\n    // so if this helper is invoked directly, something is wrong.\n    (true && !(false) && Ember.assert('The `element` helper polyfill encountered an unexpected error. ' + 'Please report the issue at http://github.com/tildeio/ember-element-helper ' + 'with the usage and conditions that caused this error.'));\n    return null;\n  });\n\n  _exports.default = _default;\n});","define(\"ember-fetch/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isUnauthorizedResponse = isUnauthorizedResponse;\n  _exports.isForbiddenResponse = isForbiddenResponse;\n  _exports.isInvalidResponse = isInvalidResponse;\n  _exports.isBadRequestResponse = isBadRequestResponse;\n  _exports.isNotFoundResponse = isNotFoundResponse;\n  _exports.isGoneResponse = isGoneResponse;\n  _exports.isAbortError = isAbortError;\n  _exports.isConflictResponse = isConflictResponse;\n  _exports.isServerErrorResponse = isServerErrorResponse;\n\n  /**\n   * Checks if the given response represents an unauthorized request error\n   */\n  function isUnauthorizedResponse(response) {\n    return response.status === 401;\n  }\n  /**\n   * Checks if the given response represents a forbidden request error\n   */\n\n\n  function isForbiddenResponse(response) {\n    return response.status === 403;\n  }\n  /**\n   * Checks if the given response represents an invalid request error\n   */\n\n\n  function isInvalidResponse(response) {\n    return response.status === 422;\n  }\n  /**\n   * Checks if the given response represents a bad request error\n   */\n\n\n  function isBadRequestResponse(response) {\n    return response.status === 400;\n  }\n  /**\n   * Checks if the given response represents a \"not found\" error\n   */\n\n\n  function isNotFoundResponse(response) {\n    return response.status === 404;\n  }\n  /**\n   * Checks if the given response represents a \"gone\" error\n   */\n\n\n  function isGoneResponse(response) {\n    return response.status === 410;\n  }\n  /**\n   * Checks if the given error is an \"abort\" error\n   */\n\n\n  function isAbortError(error) {\n    return error.name == 'AbortError';\n  }\n  /**\n   * Checks if the given response represents a conflict error\n   */\n\n\n  function isConflictResponse(response) {\n    return response.status === 409;\n  }\n  /**\n   * Checks if the given response represents a server error\n   */\n\n\n  function isServerErrorResponse(response) {\n    return response.status >= 500 && response.status < 600;\n  }\n});","define(\"ember-fetch/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isPlainObject = isPlainObject;\n\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n});","define(\"ember-fetch/utils/determine-body-promise\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = determineBodyPromise;\n\n  /**\n   * Function that always attempts to parse the response as json, and if an error is thrown,\n   * returns `undefined` if the response is successful and has a status code of 204 (No Content),\n   * or 205 (Reset Content) or if the request method was 'HEAD', and the plain payload otherwise.\n   */\n  function determineBodyPromise(response, requestData) {\n    return response.text().then(function (payload) {\n      let ret = payload;\n\n      try {\n        ret = JSON.parse(payload);\n      } catch (error) {\n        if (!(error instanceof SyntaxError)) {\n          throw error;\n        }\n\n        const status = response.status;\n\n        if (response.ok && (status === 204 || status === 205 || requestData.method === 'HEAD')) {\n          ret = undefined;\n        } else {\n          Ember.debug(`This response was unable to be parsed as json: ${payload}`);\n        }\n      }\n\n      return ret;\n    });\n  }\n});","define(\"ember-fetch/utils/mung-options-for-fetch\", [\"exports\", \"ember-fetch/utils/serialize-query-params\", \"ember-fetch/types\"], function (_exports, _serializeQueryParams, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mungOptionsForFetch;\n\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   */\n  function mungOptionsForFetch(options) {\n    const hash = Ember.assign({\n      credentials: 'same-origin'\n    }, options); // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax).\n\n    hash.method = (hash.method || hash.type || 'GET').toUpperCase();\n\n    if (hash.data) {\n      // GET and HEAD requests can't have a `body`\n      if (hash.method === 'GET' || hash.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(hash.data).length) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          const queryParamDelimiter = hash.url.indexOf('?') > -1 ? '&' : '?';\n          hash.url += `${queryParamDelimiter}${(0, _serializeQueryParams.serializeQueryParams)(hash.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be a POJO, so we stringify it if it is.\n        // JSON.stringify removes keys with values of `undefined` (mimics jQuery.ajax).\n        // If the data is not a POJO (it's a String, FormData, etc), we just set it.\n        // If the data is a string, we assume it's a stringified object.\n        if ((0, _types.isPlainObject)(hash.data)) {\n          hash.body = JSON.stringify(hash.data);\n        } else {\n          hash.body = hash.data;\n        }\n      }\n    }\n\n    return hash;\n  }\n});","define(\"ember-fetch/utils/serialize-query-params\", [\"exports\", \"ember-fetch/types\"], function (_exports, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.serializeQueryParams = serializeQueryParams;\n  _exports.default = void 0;\n  const RBRACKET = /\\[\\]$/;\n  /**\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   */\n\n  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n\n    function buildParams(prefix, obj) {\n      var i, len, key;\n\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if ((0, _types.isPlainObject)(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n\n      return s;\n    }\n\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n  /**\n   * Part of the `serializeQueryParams` helper function.\n   */\n\n\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n\n  var _default = serializeQueryParams;\n  _exports.default = _default;\n});","define(\"ember-gestures/components/async-element\", [\"exports\", \"ember-gestures/components/gesture-element\"], function (_exports, _gestureElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**!\n   *\n   * Provides the ability to easily build a\n   * gesture-ful async-button implementation\n   *\n   */\n  var _default = _gestureElement.default.extend({\n    classNameBindings: ['actionState'],\n    actionState: 'default',\n    isPending: Ember.computed('actionState', function () {\n      return this.get('actionState') === 'pending';\n    }),\n    _getParams: function (actionName) {\n      let actionArguments = this._super(actionName);\n\n      let callbackHandler = promise => {\n        this.set('promise', promise);\n        this.set('actionState', 'pending');\n      };\n\n      actionArguments.splice(1, 0, callbackHandler);\n      return actionArguments;\n    },\n    __observePromiseState: Ember.observer('promise', function promiseTheComponentState() {\n      Ember.get(this, 'promise').then(() => {\n        if (!this.isDestroyed) {\n          this.set('actionState', 'fulfilled');\n        }\n      }).catch(() => {\n        if (!this.isDestroyed) {\n          this.set('actionState', 'rejected');\n        }\n      });\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/components/context-element\", [\"exports\", \"ember-gestures/components/gesture-element\"], function (_exports, _gestureElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _gestureElement.default.extend({\n    _getParams: function (actionName) {\n      let actionArguments = this._super(actionName);\n\n      actionArguments.splice(1, 0, this.element);\n      return actionArguments;\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/components/fast-action\", [\"exports\", \"ember-gestures/templates/components/fast-action\"], function (_exports, _fastAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _fastAction.default,\n    tagName: 'button',\n    attributeBindings: ['style', 'type'],\n    style: Ember.String.htmlSafe('touch-action: manipulation; -ms-touch-action: manipulation;'),\n    type: 'button',\n    text: '',\n    action: '',\n    context: '',\n    click: function () {\n      this.sendAction('action', this.get('context')); // eslint-disable-line\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/components/fast-async\", [\"exports\", \"ember-gestures/templates/components/fast-async\", \"ember-gestures/components/async-element\"], function (_exports, _fastAsync, _asyncElement) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _asyncElement.default.extend({\n    layout: _fastAsync.default,\n    tagName: 'button',\n    attributeBindings: ['style', 'disabled', 'type'],\n    style: Ember.String.htmlSafe('touch-action: manipulation; -ms-touch-action: manipulation;'),\n    type: 'button',\n    text: '',\n    context: null\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/components/gesture-element\", [\"exports\", \"ember-gestures/templates/components/gesture-element\", \"ember-gestures/mixins/recognizers\", \"ember-gestures/utils/string/dasherized-to-camel\"], function (_exports, _gestureElement, _recognizers, _dasherizedToCamel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function makeActionHandler(event, action) {\n    return function actionHandler() {\n      var target = this.get('target');\n      let args;\n\n      if (target && target.send) {\n        args = this._getParams(action);\n        target.send.apply(this, args);\n      } else {\n        args = this._getParams(event + 'Action');\n        this.sendAction.apply(this, args); // eslint-disable-line\n      }\n    };\n  }\n  /**!\n   *\n   * Provides the ability to easily build a\n   * gesture-ful async-button implementation\n   *\n   */\n\n\n  var _default = Ember.Component.extend(_recognizers.default, {\n    layout: _gestureElement.default,\n    context: '',\n    _getParams: function (actionName) {\n      let context = this.get('context');\n      return [actionName, context];\n    },\n\n    init() {\n      this._super();\n\n      var v;\n      var attrs = this.get('attrs') || this;\n\n      for (var key in attrs) {\n        if (attrs.hasOwnProperty(key)) {\n          v = attrs[key];\n\n          if (v === 'toString') {\n            continue;\n          } // ignore useless items\n\n\n          if (Ember.typeOf(v) === 'function') {\n            continue;\n          } //setup listener for key\n\n\n          if (key.indexOf('on-') === 0) {\n            let event = (0, _dasherizedToCamel.default)(key.substr(3));\n            let action = attrs[key];\n            this.set(event + 'Action', action);\n            this.set(event, makeActionHandler(event, action));\n          }\n        }\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/components/slide-toggle\", [\"exports\", \"ember-copy\", \"ember-velocity-mixin\", \"ember-gestures/mixins/recognizers\", \"ember-gestures/templates/components/slide-toggle\"], function (_exports, _emberCopy, _emberVelocityMixin, _recognizers, _slideToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    throttle,\n    debounce\n  } = Ember.run;\n\n  var _default = Ember.Component.extend(_recognizers.default, _emberVelocityMixin.default, {\n    tagName: 'slide-toggle',\n    classNameBindings: ['_value:isOn:isOff'],\n    layout: _slideToggle.default,\n    recognizers: 'pan tap press',\n    unidirectional: false,\n    value: false,\n    _value: false,\n    target: null,\n\n    __updateCSS(value) {\n      if (!value) {\n        this.$('.slideToggleButton').removeAttr('style');\n      } else {\n        var element = this.$('.slideToggleButton').get(0);\n        var maxMovement = element.clientWidth * 0.75;\n\n        if (Math.abs(value) > maxMovement) {\n          value = value < 0 ? 0 : maxMovement;\n        } else if (value < 0) {\n          value = maxMovement + value;\n        } // TODO can this happen via this.css ?\n\n\n        this.animate(element, {\n          translateX: value + 'px'\n        }, {\n          duration: 1\n        });\n      }\n    },\n\n    'on-toggle': null,\n    _defaultAction: 'slideToggleChange',\n\n    _notify() {\n      let unidirectional = this.get('unidirectional');\n      let action = this.get('on-toggle');\n      let defaultAction = this.get('_defaultAction');\n      let target = this.get('target');\n      let context = this.get('context');\n\n      if (unidirectional || action) {\n        if (target && target.send) {\n          target.send(action, context);\n        } else {\n          action = action ? 'on-toggle' : defaultAction;\n          this.sendAction(action, context); // eslint-disable-line\n        }\n      }\n    },\n\n    _trigger(dX) {\n      this.__updateCSS();\n\n      if (dX && dX > 8 || !dX && dX !== 0) {\n        this.toggleProperty('_value');\n\n        this._notify();\n      }\n\n      return false;\n    },\n\n    pan(e) {\n      var allowPanRight = !this.get('_value');\n      var dX = e.originalEvent.gesture.deltaX;\n\n      if (allowPanRight) {\n        if (dX < 0) {\n          dX = 0;\n        }\n      } else {\n        if (dX > 0) {\n          dX = 0;\n        }\n      }\n\n      throttle(this, this.__updateCSS, dX, 2); //schedule the dismissal\n\n      debounce(this, this._trigger, Math.abs(dX), 250);\n      return false;\n    },\n\n    tap() {\n      return this._trigger();\n    },\n\n    press() {\n      return this._trigger();\n    },\n\n    init() {\n      this._super();\n\n      var value = this.get('value'); // setup unidirection flow if desired\n\n      if (!this.get('unidirectional')) {\n        this.set('_value', Ember.computed.alias('value'));\n      } else {\n        this.set('_value', (0, _emberCopy.copy)(value, true));\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/event_dispatcher\", [\"exports\", \"ember-gestures/hammer-events\", \"ember-gestures/utils/string/dasherized-to-camel\", \"ember-gestures/utils/is-mobile\"], function (_exports, _hammerEvents, _dasherizedToCamel, _isMobile) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    EventDispatcher\n  } = Ember;\n  const eventEndings = {\n    pan: ['Start', 'Move', 'End', 'Cancel', 'Left', 'Right', 'Up', 'Down'],\n    pinch: ['Start', 'Move', 'End', 'Cancel', 'In', 'Out'],\n    press: ['Up'],\n    rotate: ['Start', 'Move', 'End', 'Cancel'],\n    swipe: ['Left', 'Right', 'Up', 'Down'],\n    tap: []\n  };\n  const assign = Ember.assign || Ember.merge;\n  const notFocusableTypes = ['submit', 'file', 'button', 'hidden', 'reset', 'range', 'radio', 'image', 'checkbox'];\n  const fastFocusEvents = ['click', 'touchend'];\n\n  var _default = EventDispatcher.extend({\n    /**\n     Whether or not to cache handler paths on the element\n     when `useCapture` is also true.\n     This needs to be replaced by a feature flag.\n     @private\n     @type {boolean}\n     */\n    useFastPaths: false,\n    useCapture: false,\n    _gestures: null,\n\n    _initializeGestures() {\n      const list = getModuleList();\n      const events = assign({}, _hammerEvents.default);\n      list.forEach(name => {\n        const recognizer = Ember.getOwner(this).factoryFor('ember-gesture:recognizers/' + name);\n\n        if (recognizer) {\n          addEvent(events, recognizer.class.recognizer, recognizer.class.eventName || name);\n        }\n      }); // add them to the event dispatcher\n\n      this.set('_gestures', events);\n    },\n\n    _fastFocus() {\n      let rootElementSelector = Ember.get(this, 'rootElement');\n      let rootElement;\n\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n\n      fastFocusEvents.forEach(event => {\n        let listener = this._gestureEvents[event] = e => {\n          if (_isMobile.default.is()) {\n            let element = e.currentTarget;\n            let target = e.target;\n            /*\n             If the click was on an input element that needs to be able to focus, recast\n             the click as a \"focus\" event.\n             This fixes tap events on mobile where keyboardShrinksView or similar is true.\n             Such devices depend on the ghost click to trigger focus, but the ghost click\n             will never reach the element.\n             */\n            //fastfocus\n\n            if (element.tagName === 'TEXTAREA' || element.tagName === 'INPUT' && notFocusableTypes.indexOf(element.getAttribute('type')) === -1) {\n              element.focus();\n            } else if (target.tagName === 'TEXTAREA' || target.tagName === 'INPUT' && notFocusableTypes.indexOf(target.getAttribute('type')) === -1) {\n              target.focus();\n            }\n          }\n        };\n\n        rootElement.addEventListener(event, listener);\n      });\n    },\n\n    willDestroy() {\n      let rootElementSelector = Ember.get(this, 'rootElement');\n      let rootElement;\n\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n\n      if (rootElement) {\n        for (let event in this._gestureEvents) {\n          rootElement.removeEventListener(event, this._gestureEvents[event]);\n          delete this._gestureEvents[event];\n        }\n      }\n\n      this._super(...arguments);\n    },\n\n    _finalEvents: null,\n\n    init() {\n      this._gestureEvents = Object.create(null);\n\n      this._super(...arguments);\n    },\n\n    setup(addedEvents, rootElement) {\n      this._initializeGestures();\n\n      let events = assign({}, Ember.get(this, 'events')); // remove undesirable events from Ember's Eventing\n\n      if (this.get('removeTracking')) {\n        events.touchstart = null;\n        events.touchmove = null;\n        events.touchcancel = null;\n        events.touchend = null;\n        events.mousedown = null;\n        events.mouseenter = null;\n        events.mousemove = null;\n        events.mouseleave = null;\n        events.mouseup = null;\n        events.drag = null;\n        events.dragend = null;\n        events.dragenter = null;\n        events.dragleave = null;\n        events.dragover = null;\n        events.dragstart = null;\n        events.drop = null;\n        events.dblclick = null;\n      } // delete unwanted events\n\n\n      for (let event in events) {\n        if (events.hasOwnProperty(event) && !events[event]) {\n          delete events[event];\n        }\n      } // override default events\n\n\n      this.set('events', events); // add our events to addition events\n\n      let additionalEvents = assign({}, addedEvents);\n      additionalEvents = assign(additionalEvents, this.get('_gestures'));\n\n      if (!Ember.isNone(rootElement)) {\n        Ember.set(this, 'rootElement', rootElement);\n      }\n\n      this._fastFocus();\n\n      return this._super(additionalEvents, rootElement);\n    }\n\n  });\n\n  _exports.default = _default;\n\n  function addEvent(hash, gesture, name) {\n    const eventName = (0, _dasherizedToCamel.default)(name);\n    const eventBase = eventName.toLowerCase();\n    const endings = eventEndings[gesture];\n    hash[eventBase] = eventName;\n    endings.forEach(ending => {\n      const event = eventName + ending;\n      hash[event.toLowerCase()] = event;\n    });\n  } // this function can be replaced in ember 1.13 with a private api\n  // and in ember 2.0 with a potentially public api matching 1.13's\n  // private api. This is a stop gap for pre-ember 1.13\n\n\n  function getModuleList() {\n    /* global requirejs */\n    const list = [];\n\n    for (let moduleName in requirejs.entries) {\n      if (Object.prototype.hasOwnProperty.call(requirejs.entries, moduleName)) {\n        const parts = moduleName.match(/ember-gestures\\/recognizers\\/(.*)/);\n\n        if (parts && parts[1].indexOf('jshint') === -1) {\n          list.push(parts[1]);\n        }\n      }\n    }\n\n    return list;\n  }\n});","define(\"ember-gestures/hammer-events\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    pan: 'pan',\n    panstart: 'panStart',\n    panmove: 'panMove',\n    panend: 'panEnd',\n    pancancel: 'panCancel',\n    panleft: 'panLeft',\n    panright: 'panRight',\n    panup: 'panUp',\n    pandown: 'panDown',\n    pinch: 'pinch',\n    pinchstart: 'pinchStart',\n    pinchmove: 'pinchMove',\n    pinchend: 'pinchEnd',\n    pinchcancel: 'pinchCancel',\n    pinchin: 'pinchIn',\n    pinchout: 'pinchOut',\n    press: 'press',\n    pressup: 'pressUp',\n    rotate: 'rotate',\n    rotatestart: 'rotateStart',\n    rotatemove: 'rotateMove',\n    rotateend: 'rotateEnd',\n    rotatecancel: 'rotateCancel',\n    swipe: 'swipe',\n    swipeleft: 'swipeLeft',\n    swiperight: 'swipeRight',\n    swipeup: 'swipeUp',\n    swipedown: 'swipeDown',\n    tap: 'tap'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/mixins/recognizers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Mixin.create({\n    '-gestures': Ember.inject.service('-gestures'),\n    __fastboot: Ember.computed(function () {\n      let owner = Ember.getOwner(this);\n      return owner.lookup('service:fastboot');\n    }),\n    recognizers: null,\n    managerOptions: null,\n    __instance: null,\n\n    __manager() {\n      let instance = this.get('__instance');\n\n      if (instance) {\n        return instance;\n      }\n\n      const opts = this.get('managerOptions') || {\n        domEvents: true\n      };\n      opts.useCapture = this.get('-gestures.useCapture');\n      instance = new Hammer.Manager(this.element, opts);\n      this.set('__instance', instance);\n      return instance;\n    },\n\n    __setupRecognizers: Ember.on('didInsertElement', function () {\n      if (this.get('__fastboot.isFastBoot')) {\n        return;\n      }\n\n      const promise = this.get('recognizers');\n\n      if (promise) {\n        promise.then(recognizers => {\n          if (this.get('isDestroyed')) {\n            return;\n          }\n\n          const manager = this.__manager(); // sort the recognizers\n\n\n          for (let i = 0; i < recognizers.length; i++) {\n            const r = recognizers[i];\n            let currentIndex = i;\n\n            if (r.exclude.length) {\n              for (let j = 0; j < r.exclude.length; j++) {\n                const newIndex = recognizers.indexOf(r.exclude[j]);\n\n                if (newIndex > 0 && currentIndex < newIndex) {\n                  recognizers.splice(currentIndex, 1);\n                  recognizers.splice(newIndex, 0, r);\n                  currentIndex = newIndex;\n                }\n              }\n            }\n          }\n\n          for (let i = 0; i < recognizers.length; i++) {\n            manager.add(recognizers[i]);\n          }\n        });\n      }\n    }),\n    __teardownRecognizers: Ember.on('willDestroyElement', function () {\n      let instance = this.get('__instance');\n\n      if (instance) {\n        //instance.off();\n        instance.destroy();\n        this.set('__instance', null);\n      }\n    }),\n\n    init() {\n      this._super(); // setup recognizers\n\n\n      let recognizers = this.get('recognizers');\n\n      if (recognizers) {\n        this.set('recognizers', this.get('-gestures').retrieve(recognizers.split(' ')));\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/modifiers/recognize-gesture\", [\"exports\", \"ember-class-based-modifier\"], function (_exports, _emberClassBasedModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class RecognizeGestureModifier extends _emberClassBasedModifier.default {\n    constructor() {\n      super(...arguments);\n      this.recognizers = null;\n      this.manager = null;\n      this.gestures = Ember.getOwner(this).lookup('service:-gestures');\n\n      if (this.args.positional) {\n        this.recognizers = this.gestures.retrieve(this.args.positional);\n      }\n\n      this.managerOptions = this.args.named && Object.keys(this.args.named).length > 0 ? Object.assign({}, this.args.named) : {\n        domEvents: true\n      };\n      this.managerOptions.useCapture = this.gestures.useCapture;\n    }\n\n    didInstall() {\n      if (!this.recognizers) return;\n      this.element.style['touch-action'] = 'manipulation';\n      this.element.style['-ms-touch-action'] = 'manipulation';\n      this.recognizers.then(recognizers => {\n        if (this.isDestroyed) return;\n        this.sortRecognizers(recognizers);\n        this.manager = new Hammer.Manager(this.element, this.managerOptions);\n        recognizers.forEach(recognizer => {\n          this.manager.add(recognizer);\n        });\n      });\n    }\n\n    willRemove() {\n      this.manager.destroy();\n      this.manager = null;\n    } // Move each recognizer after all recognizers it excludes in the list - why?\n\n\n    sortRecognizers(recognizers) {\n      for (let i = 0; i < recognizers.length; i++) {\n        const r = recognizers[i];\n        let currentIndex = i;\n\n        if (r.exclude.length) {\n          for (let j = 0; j < r.exclude.length; j++) {\n            const newIndex = recognizers.indexOf(r.exclude[j]);\n\n            if (newIndex > 0 && currentIndex < newIndex) {\n              recognizers.splice(currentIndex, 1);\n              recognizers.splice(newIndex, 0, r);\n              currentIndex = newIndex;\n            }\n          }\n        }\n      }\n    }\n\n  }\n\n  _exports.default = RecognizeGestureModifier;\n});","define(\"ember-gestures/recognizers/double-tap\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: ['tap'],\n    exclude: [],\n    options: {\n      taps: 2\n    },\n    recognizer: 'tap'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/pan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {\n      direction: typeof Hammer === 'undefined' ? '' : Hammer.DIRECTION_HORIZONTAL\n    },\n    recognizer: 'pan'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/pinch\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {},\n    recognizer: 'pinch'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/press\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {},\n    recognizer: 'press'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/rotate\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {},\n    recognizer: 'rotate'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/single-tap\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: ['double-tap'],\n    eventName: 'tap',\n    options: {\n      taps: 1\n    },\n    recognizer: 'tap'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/swipe\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {\n      threshold: 25,\n      direction: typeof Hammer === 'undefined' ? '' : Hammer.DIRECTION_HORIZONTAL\n    },\n    recognizer: 'swipe'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/tap\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    options: {},\n    recognizer: 'tap'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/vertical-pan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    eventName: 'pan',\n    options: {\n      direction: typeof Hammer === 'undefined' ? '' : Hammer.DIRECTION_VERTICAL\n    },\n    recognizer: 'pan'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/recognizers/vertical-swipe\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    include: [],\n    exclude: [],\n    eventName: 'swipe',\n    options: {\n      threshold: 25,\n      direction: typeof Hammer === 'undefined' ? '' : Hammer.DIRECTION_VERTICAL\n    },\n    recognizer: 'swipe'\n  };\n  _exports.default = _default;\n});","define(\"ember-gestures/registry-walker\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = ViewWalker;\n\n  function ViewWalker(registry) {\n    function inRegistry(id) {\n      return !!registry[id];\n    }\n\n    this.closest = function (closest) {\n      do {\n        if (closest.id && inRegistry(closest.id)) {\n          return ['id', closest];\n        }\n\n        if (closest.hasAttribute('data-ember-action')) {\n          return ['action', closest];\n        }\n      } while (closest = closest.parentNode); // eslint-disable-line\n\n\n      return null;\n    };\n  }\n});","define(\"ember-gestures/services/-gestures\", [\"exports\", \"ember-gestures/utils/string/dasherized-to-camel\", \"ember-gestures/utils/string/capitalize-word\"], function (_exports, _dasherizedToCamel, _capitalizeWord) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    Promise,\n    // jshint ignore:line\n    defer // jshint ignore:line\n\n  } = Ember.RSVP;\n\n  var _default = Ember.Service.extend({\n    _recognizers: null,\n    _fastboot: Ember.computed(function () {\n      let owner = Ember.getOwner(this);\n      return owner.lookup('service:fastboot');\n    }),\n\n    retrieve(names) {\n      let promises = names.map(name => {\n        return this.lookupRecognizer(name);\n      });\n      return Ember.RSVP.all(promises);\n    },\n\n    createRecognizer(name, details) {\n      const eventName = (0, _dasherizedToCamel.default)(details.eventName || name).toLowerCase();\n      const gesture = (0, _capitalizeWord.default)(details.recognizer);\n      const options = details.options || {};\n      options.event = eventName;\n      options.name = name;\n      const Recognizer = new Hammer[gesture](options);\n      Recognizer.initialize = defer();\n      this.set(`_recognizers.${name}`, Recognizer);\n      return Recognizer;\n    },\n\n    setupRecognizer(name, details) {\n      if (this.get('_fastboot.isFastBoot')) {\n        return;\n      }\n\n      return Promise.resolve(this.createRecognizer(name, details)) // includes\n      .then(Recognizer => {\n        if (details.include) {\n          const included = details.include.map(name => {\n            return this.__speedyLookupRecognizer(name);\n          });\n          return Ember.RSVP.all(included).then(recognizers => {\n            Recognizer.recognizeWith(recognizers);\n            return Recognizer;\n          });\n        }\n\n        return Recognizer;\n      }) // excludes\n      .then(Recognizer => {\n        if (details.exclude) {\n          const excluded = details.exclude.map(name => {\n            return this.__speedyLookupRecognizer(name);\n          });\n          return Ember.RSVP.all(excluded).then(recognizers => {\n            Recognizer.requireFailure(recognizers);\n            Recognizer.exclude = recognizers;\n            Recognizer.initialize.resolve(Recognizer);\n            return Recognizer;\n          });\n        } else {\n          Recognizer.exclude = [];\n          Recognizer.initialize.resolve(Recognizer);\n          return Recognizer;\n        }\n      });\n    },\n\n    __speedyLookupRecognizer(name) {\n      let recognizer = this.get(`_recognizers.${name}`);\n\n      if (recognizer) {\n        return recognizer;\n      }\n\n      const path = `ember-gesture:recognizers/${name}`;\n      const details = Ember.getOwner(this).factoryFor(path);\n\n      if (details) {\n        return this.setupRecognizer(name, details.class);\n      }\n\n      return Promise.reject(new Error(`ember-gestures/recognizers/${name} was not found. You can scaffold this recognizer with 'ember g recognizer ${name}'`));\n    },\n\n    lookupRecognizer(name) {\n      let recognizer = this.get(`_recognizers.${name}`);\n\n      if (recognizer) {\n        return recognizer.initialize.promise.then(function (recognizer) {\n          return recognizer;\n        });\n      }\n\n      const path = `ember-gesture:recognizers/${name}`;\n      const details = Ember.getOwner(this).factoryFor(path);\n\n      if (details) {\n        return this.setupRecognizer(name, details.class);\n      }\n\n      return Promise.reject(new Error(`ember-gestures/recognizers/${name} was not found. You can scaffold this recognizer with 'ember g recognizer ${name}'`));\n    },\n\n    init() {\n      this._super();\n\n      this._recognizers = {};\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/templates/components/fast-action\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"4wgjeTkk\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[1,[22,\\\"text\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-gestures/templates/components/fast-action.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/templates/components/fast-async\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"n3m9CP1V\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1,[[24,[\\\"isPending\\\"]]]],[1,[22,\\\"text\\\"],false],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-gestures/templates/components/fast-async.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/templates/components/gesture-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"cvIn1jED\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-gestures/templates/components/gesture-element.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/templates/components/slide-toggle\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"uN7dY+Tj\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"slideToggleButton\\\"],[8],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-gestures/templates/components/slide-toggle.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-gestures/utils/is-mobile\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  //ensure singleton\n  function MobileDetection() {\n    var IS_MOBILE; // Set our belief about whether the devise is mobile by inspecting ontouchstart\n\n    this.detect = function () {\n      IS_MOBILE = !!(\"ontouchstart\" in window);\n    }; // Return the current belief about whether the browser is mobile.\n\n\n    this.is = function () {\n      return IS_MOBILE;\n    }; // This will generally only be done in tests.\n\n\n    this.fake = function (value) {\n      IS_MOBILE = value;\n    }; // Set the initial value of IS_MOBILE so that calls to isMobile will have\n    // the correct value.\n\n\n    this.detect();\n  }\n\n  var _default = new MobileDetection();\n\n  _exports.default = _default;\n});","define(\"ember-gestures/utils/string/cap-first-letter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(s) {\n    return s.charAt(0).toUpperCase() + s.slice(1);\n  }\n});","define(\"ember-gestures/utils/string/capitalize-word\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(s) {\n    return s.charAt(0).toUpperCase() + s.slice(1);\n  }\n});","define(\"ember-gestures/utils/string/capitalize-words\", [\"exports\", \"ember-gestures/utils/string/cap-first-letter\"], function (_exports, _capFirstLetter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(sentence) {\n    return sentence.split(' ').map(function (word) {\n      return (0, _capFirstLetter.default)(word);\n    }).join(' ');\n  }\n});","define(\"ember-gestures/utils/string/dasherized-to-camel\", [\"exports\", \"ember-gestures/utils/string/uncapitalize-word\", \"ember-gestures/utils/string/dasherized-to-words\", \"ember-gestures/utils/string/capitalize-words\", \"ember-gestures/utils/string/strip-whitespace\"], function (_exports, _uncapitalizeWord, _dasherizedToWords, _capitalizeWords, _stripWhitespace) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(s) {\n    return (0, _uncapitalizeWord.default)((0, _stripWhitespace.default)((0, _capitalizeWords.default)((0, _dasherizedToWords.default)(s))));\n  }\n});","define(\"ember-gestures/utils/string/dasherized-to-words\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = dasherizedToWords;\n\n  function dasherizedToWords(s) {\n    return s.replace(/-/g, ' ');\n  }\n});","define(\"ember-gestures/utils/string/strip-whitespace\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = stripWhiteSpace;\n\n  function stripWhiteSpace(s) {\n    return s.replace(/\\s/g, '');\n  }\n});","define(\"ember-gestures/utils/string/uncapitalize-word\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(s) {\n    return s.charAt(0).toLowerCase() + s.slice(1);\n  }\n});","define('ember-get-config/index', ['exports', 'eventapp-stream/config/environment'], function (exports, _environment) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _environment.default;\n    }\n  });\n});","define(\"ember-in-element-polyfill/helpers/-clear-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Helper.helper(function clearElement([element]\n  /*, hash*/\n  ) {\n    while (element.firstChild) {\n      element.removeChild(element.firstChild);\n    }\n\n    return element;\n  });\n\n  _exports.default = _default;\n});","define(\"ember-in-viewport/-private/observer-admin\", [\"exports\", \"intersection-observer-admin\"], function (_exports, _intersectionObserverAdmin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Static administrator to ensure use one IntersectionObserver per combination of root + observerOptions\n   * Use `root` (viewport) as lookup property and weakly referenced\n   * `root` will have many keys with each value being and object containing one IntersectionObserver instance and all the elements to observe\n   * Provided callbacks will ensure consumer of this service is able to react to enter or exit of intersection observer\n   * This provides important optimizations since we are not instantiating a new IntersectionObserver instance for every element and\n   * instead reusing the instance.\n   *\n   * @class ObserverAdmin\n   */\n  class ObserverAdmin {\n    /** @private **/\n    constructor() {\n      this.instance = new _intersectionObserverAdmin.default();\n    }\n    /**\n     * @method add\n     * @param HTMLElement element\n     * @param Object observerOptions\n     * @param Function enterCallback\n     * @param Function exitCallback\n     * @void\n     */\n\n\n    add(element, observerOptions, enterCallback, exitCallback) {\n      if (enterCallback) {\n        this.addEnterCallback(element, enterCallback);\n      }\n\n      if (exitCallback) {\n        this.addExitCallback(element, exitCallback);\n      }\n\n      return this.instance.observe(element, observerOptions);\n    }\n\n    addEnterCallback(element, enterCallback) {\n      this.instance.addEnterCallback(element, enterCallback);\n    }\n\n    addExitCallback(element, exitCallback) {\n      this.instance.addExitCallback(element, exitCallback);\n    }\n    /**\n     * This method takes a target element, observerOptions and a the scrollable area.\n     * The latter two act as unique identifiers to figure out which intersection observer instance\n     * needs to be used to call `unobserve`\n     *\n     * @method unobserve\n     * @param HTMLElement target\n     * @param Object observerOptions\n     * @param String scrollableArea\n     * @void\n     */\n\n\n    unobserve(...args) {\n      this.instance.unobserve(...args);\n    }\n\n    destroy(...args) {\n      this.instance.destroy(...args);\n    }\n\n  }\n\n  _exports.default = ObserverAdmin;\n});","define(\"ember-in-viewport/-private/raf-admin\", [\"exports\", \"raf-pool\", \"ember-in-viewport/utils/is-in-viewport\"], function (_exports, _rafPool, _isInViewport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.startRAF = startRAF;\n  _exports.default = void 0;\n\n  /**\n   * ensure use on requestAnimationFrame, no matter how many components\n   * on the page are using this mixin\n   *\n   * @class RAFAdmin\n   */\n  class RAFAdmin {\n    /** @private **/\n    constructor() {\n      this._rafPool = new _rafPool.default();\n      this.elementRegistry = new WeakMap();\n    }\n\n    add(...args) {\n      return this._rafPool.add(...args);\n    }\n\n    flush() {\n      return this._rafPool.flush();\n    }\n\n    remove(...args) {\n      return this._rafPool.remove(...args);\n    }\n\n    reset(...args) {\n      this._rafPool.reset(...args);\n\n      this._rafPool.stop(...args);\n    }\n    /**\n     * We provide our own element registry to add callbacks the user creates\n     *\n     * @method addEnterCallback\n     * @param {HTMLElement} element\n     * @param {Function} enterCallback\n     */\n\n\n    addEnterCallback(element, enterCallback) {\n      this.elementRegistry.set(element, Object.assign({}, this.elementRegistry.get(element), {\n        enterCallback\n      }));\n    }\n    /**\n     * We provide our own element registry to add callbacks the user creates\n     *\n     * @method addExitCallback\n     * @param {HTMLElement} element\n     * @param {Function} exitCallback\n     */\n\n\n    addExitCallback(element, exitCallback) {\n      this.elementRegistry.set(element, Object.assign({}, this.elementRegistry.get(element), {\n        exitCallback\n      }));\n    }\n\n  }\n  /**\n   * This is a recursive function that adds itself to raf-pool to be executed on a set schedule\n   *\n   * @method startRAF\n   * @param {HTMLElement} element\n   * @param {Object} configurationOptions\n   * @param {Function} enterCallback\n   * @param {Function} exitCallback\n   * @param {Function} addRAF\n   * @param {Function} removeRAF\n   */\n\n\n  _exports.default = RAFAdmin;\n\n  function startRAF(element, {\n    scrollableArea,\n    viewportTolerance,\n    viewportSpy = false\n  }, enterCallback, exitCallback, addRAF, // bound function from service to add elementId to raf pool\n  removeRAF // bound function from service to remove elementId to raf pool\n  ) {\n    const domScrollableArea = typeof scrollableArea === 'string' && scrollableArea ? document.querySelector(scrollableArea) : scrollableArea instanceof HTMLElement ? scrollableArea : undefined;\n    const height = domScrollableArea ? domScrollableArea.offsetHeight + domScrollableArea.getBoundingClientRect().top : window.innerHeight;\n    const width = scrollableArea ? domScrollableArea.offsetWidth + domScrollableArea.getBoundingClientRect().left : window.innerWidth;\n    const boundingClientRect = element.getBoundingClientRect();\n\n    if (boundingClientRect) {\n      const viewportEntered = element.getAttribute('data-in-viewport-entered');\n      triggerDidEnterViewport(element, (0, _isInViewport.default)(boundingClientRect, height, width, viewportTolerance), viewportSpy, enterCallback, exitCallback, viewportEntered);\n\n      if (viewportSpy || viewportEntered !== 'true') {\n        // recursive\n        // add to pool of requestAnimationFrame listeners and executed on set schedule\n        addRAF(startRAF.bind(this, element, {\n          scrollableArea,\n          viewportTolerance,\n          viewportSpy\n        }, enterCallback, exitCallback, addRAF, removeRAF));\n      } else {\n        removeRAF();\n      }\n    }\n  }\n\n  function triggerDidEnterViewport(element, hasEnteredViewport, viewportSpy, enterCallback, exitCallback, viewportEntered = false) {\n    const didEnter = (!viewportEntered || viewportEntered === 'false') && hasEnteredViewport;\n    const didLeave = viewportEntered === 'true' && !hasEnteredViewport;\n\n    if (didEnter) {\n      element.setAttribute('data-in-viewport-entered', true);\n      enterCallback();\n    }\n\n    if (didLeave) {\n      exitCallback(); // reset so we can call again\n\n      if (viewportSpy) {\n        element.setAttribute('data-in-viewport-entered', false);\n      }\n    }\n  }\n});","define(\"ember-in-viewport/breakpoints\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    mobile: '(max-width: 767px)',\n    tablet: '(min-width: 768px) and (max-width: 991px)',\n    desktop: '(min-width: 992px) and (max-width: 1200px)'\n  };\n  _exports.default = _default;\n});","define(\"ember-in-viewport/index\", [\"exports\", \"ember-in-viewport/mixins/in-viewport\"], function (_exports, _inViewport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // eslint-disable-next-line ember/no-mixins\n  var _default = _inViewport.default;\n  _exports.default = _default;\n});","define(\"ember-in-viewport/initializers/viewport-config\", [\"exports\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.initialize = initialize;\n  _exports.default = void 0;\n  const defaultConfig = {\n    viewportEnabled: true,\n    viewportDidScroll: true,\n    viewportSpy: false,\n    viewportScrollSensitivity: 1,\n    viewportRefreshRate: 100,\n    viewportListeners: [{\n      context: window,\n      event: 'scroll'\n    }, {\n      context: window,\n      event: 'resize'\n    }],\n    viewportTolerance: {\n      top: 0,\n      left: 0,\n      bottom: 0,\n      right: 0\n    },\n    intersectionThreshold: 0,\n    scrollableArea: null // defaults to layout view (document.documentElement)\n\n  };\n\n  if (_canUseDom.default) {\n    defaultConfig.viewportListeners.push({\n      context: document,\n      event: 'touchmove'\n    });\n  }\n\n  function initialize() {\n    const application = arguments[1] || arguments[0];\n    const config = application.resolveRegistration('config:environment');\n    const {\n      viewportConfig = {}\n    } = config;\n    const mergedConfig = Ember.assign({}, defaultConfig, viewportConfig);\n    application.register('config:in-viewport', mergedConfig, {\n      instantiate: false\n    });\n  }\n\n  var _default = {\n    name: 'viewport-config',\n    initialize: initialize\n  };\n  _exports.default = _default;\n});","define(\"ember-in-viewport/mixins/in-viewport\", [\"exports\", \"ember-in-viewport/-private/raf-admin\", \"ember-in-viewport/utils/can-use-dom\", \"ember-in-viewport/utils/can-use-raf\", \"ember-in-viewport/utils/find-elem\", \"ember-in-viewport/utils/can-use-intersection-observer\", \"ember-in-viewport/utils/check-scroll-direction\"], function (_exports, _rafAdmin, _canUseDom, _canUseRaf, _findElem, _canUseIntersectionObserver, _checkScrollDirection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const lastDirection = {};\n  const lastPosition = {};\n\n  var _default = Ember.Mixin.create({\n    /**\n     * @property _debouncedEventHandler\n     * @default null\n     */\n    _debouncedEventHandler: null,\n\n    /**\n     * unbinding listeners will short circuit rAF\n     *\n     * @property _stopListening\n     * @default false\n     */\n    _stopListening: false,\n    inViewport: Ember.inject.service(),\n\n    /**\n     * @property viewportExited\n     * @type Boolean\n     */\n    viewportExited: Ember.computed.not('viewportEntered').readOnly(),\n\n    init() {\n      // ensure this mixin runs first, then your component can override the options\n      this._super(...arguments);\n\n      let options = Ember.assign({\n        viewportUseRAF: (0, _canUseRaf.default)(),\n        viewportEntered: false,\n        viewportListeners: []\n      }, this._buildOptions()); // set viewportUseIntersectionObserver after merging users config to avoid errors in browsers that lack support (https://github.com/DockYard/ember-in-viewport/issues/146)\n\n      options = Ember.assign(options, {\n        viewportUseIntersectionObserver: (0, _canUseIntersectionObserver.default)()\n      });\n      Ember.setProperties(this, options);\n      Ember.set(this, '_evtListenerClosures', []);\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n\n      (true && !(false) && Ember.deprecate('This mixin is deprecated. We suggest you migrate to the inViewport service or use the {{in-viewport}} modifier', false, {\n        id: 'ember-in-viewport.mixin',\n        until: '4.0.0',\n        url: 'https://github.com/DockYard/ember-in-viewport#readme'\n      }));\n\n      if (!_canUseDom.default) {\n        return;\n      }\n\n      const viewportEnabled = Ember.get(this, 'viewportEnabled');\n\n      if (viewportEnabled) {\n        this.watchElement(Ember.get(this, 'element'));\n      }\n    },\n\n    willDestroyElement() {\n      this._super(...arguments);\n\n      this._unbindListeners(Ember.get(this, 'element'));\n    },\n\n    _buildOptions(defaultOptions = {}) {\n      const owner = Ember.getOwner(this);\n\n      if (owner) {\n        return Ember.assign(defaultOptions, owner.lookup('config:in-viewport'));\n      }\n    },\n\n    watchElement(element) {\n      this._setInitialViewport(element);\n\n      this._addObserverIfNotSpying(element);\n\n      const viewportDidScroll = Ember.get(this, 'viewportDidScroll');\n\n      if (viewportDidScroll) {\n        Ember.debug('[viewportDidScroll] This will be false by default in the next major release');\n\n        this._bindScrollDirectionListener(Ember.get(this, 'viewportScrollSensitivity'));\n      }\n\n      if (!Ember.get(this, 'viewportUseIntersectionObserver') && !Ember.get(this, 'viewportUseRAF')) {\n        Ember.get(this, 'viewportListeners').forEach(listener => {\n          let {\n            context,\n            event\n          } = listener;\n          context = Ember.get(this, 'scrollableArea') || context;\n\n          this._bindListeners(context, event, element);\n        });\n      }\n    },\n\n    _addObserverIfNotSpying(element) {\n      if (!Ember.get(this, 'viewportSpy')) {\n        this.addObserver('viewportEntered', this, Ember.run.bind(this, '_unbindIfEntered', element));\n      }\n    },\n\n    _setInitialViewport(element) {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n\n      if (!element || isTearingDown) {\n        return;\n      }\n\n      const inViewport = Ember.get(this, 'inViewport');\n\n      if (Ember.get(this, 'viewportUseIntersectionObserver')) {\n        return Ember.run.scheduleOnce('afterRender', this, () => {\n          const scrollableArea = Ember.get(this, 'scrollableArea');\n          const viewportTolerance = Ember.get(this, 'viewportTolerance');\n          const intersectionThreshold = Ember.get(this, 'intersectionThreshold');\n          inViewport.watchElement(element, {\n            intersectionThreshold,\n            viewportTolerance,\n            scrollableArea\n          }, Ember.run.bind(this, this._onEnterIntersection), Ember.run.bind(this, this._onExitIntersection));\n        });\n      } else if (Ember.get(this, 'viewportUseRAF')) {\n        inViewport.startRAF();\n        const scrollableArea = Ember.get(this, 'scrollableArea');\n        const viewportTolerance = Ember.get(this, 'viewportTolerance');\n        const viewportSpy = Ember.get(this, 'viewportSpy');\n\n        const enterCallback = () => {\n          const isTearingDown = this.isDestroyed || this.isDestroying;\n          const viewportEntered = element.getAttribute('data-in-viewport-entered') === 'true';\n\n          if (!isTearingDown && (viewportSpy || viewportEntered)) {\n            Ember.set(this, 'viewportEntered', true);\n            this.trigger('didEnterViewport');\n          }\n        };\n\n        const exitCallback = () => {\n          const isTearingDown = this.isDestroyed || this.isDestroying;\n\n          if (!isTearingDown && viewportSpy) {\n            Ember.set(this, 'viewportEntered', false);\n            this.trigger('didExitViewport');\n          }\n        };\n\n        (0, _rafAdmin.startRAF)(element, {\n          scrollableArea,\n          viewportTolerance,\n          viewportSpy\n        }, enterCallback, exitCallback, inViewport.addRAF.bind(inViewport, element.id), inViewport.removeRAF.bind(inViewport, element.id));\n      } else {\n        return Ember.run.scheduleOnce('afterRender', this, () => {\n          this._setViewportEntered(element);\n        });\n      }\n    },\n\n    /**\n     * used by rAF and scroll event listeners to determine if mixin is in viewport\n     * Remember to set `viewportSpy` to true if you want to continuously observe your element\n     *\n     * @method _setViewportEntered\n     */\n    _setViewportEntered(element) {\n      const scrollableArea = Ember.get(this, 'scrollableArea') ? document.querySelector(Ember.get(this, 'scrollableArea')) : undefined;\n      const height = scrollableArea ? scrollableArea.offsetHeight + scrollableArea.getBoundingClientRect().top : window.innerHeight;\n      const width = scrollableArea ? scrollableArea.offsetWidth + scrollableArea.getBoundingClientRect().left : window.innerWidth;\n      const boundingClientRect = element.getBoundingClientRect();\n\n      if (boundingClientRect) {\n        this._triggerDidAccessViewport(Ember.get(this, 'inViewport').isInViewport(boundingClientRect, height, width, Ember.get(this, 'viewportTolerance')), Ember.get(this, 'viewportEntered'));\n\n        if (Ember.get(this, 'viewportUseRAF') && !Ember.get(this, '_stopListening')) {\n          Ember.get(this, 'inViewport').addRAF(Ember.get(this, 'elementId'), Ember.run.bind(this, this._setViewportEntered, element));\n        }\n      }\n    },\n\n    /**\n     * Callback provided to IntersectionObserver\n     * trigger didEnterViewport callback\n     *\n     * @method _onEnterIntersection\n     */\n    _onEnterIntersection() {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n\n      if (!isTearingDown) {\n        Ember.set(this, 'viewportEntered', true);\n      }\n\n      this.trigger('didEnterViewport');\n    },\n\n    /**\n     * trigger didExitViewport callback\n     *\n     * @method _onExitIntersection\n     */\n    _onExitIntersection() {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n\n      if (!isTearingDown) {\n        Ember.set(this, 'viewportEntered', false);\n      }\n\n      this.trigger('didExitViewport');\n    },\n\n    /**\n     * @method _triggerDidScrollDirection\n     * @param contextEl\n     * @param sensitivity\n     */\n    _triggerDidScrollDirection(contextEl = null, sensitivity = 1) {\n      (true && !(contextEl) && Ember.assert('You must pass a valid context element to _triggerDidScrollDirection', contextEl));\n      (true && !(sensitivity) && Ember.assert('sensitivity cannot be 0', sensitivity));\n      const elementId = Ember.get(this, 'elementId');\n      const lastDirectionForEl = lastDirection[elementId];\n      const lastPositionForEl = lastPosition[elementId];\n      const newPosition = {\n        top: contextEl.scrollTop,\n        left: contextEl.scrollLeft\n      };\n      const scrollDirection = (0, _checkScrollDirection.default)(lastPositionForEl, newPosition, sensitivity);\n      const directionChanged = scrollDirection !== lastDirectionForEl;\n\n      if (scrollDirection && directionChanged && Ember.get(this, 'viewportDidScroll')) {\n        this.trigger('didScroll', scrollDirection);\n        lastDirection[elementId] = scrollDirection;\n      }\n\n      lastPosition[elementId] = newPosition;\n    },\n\n    /**\n     * @method _triggerDidAccessViewport\n     * @param hasEnteredViewport\n     * @param viewportEntered\n     */\n    _triggerDidAccessViewport(hasEnteredViewport = false, viewportEntered) {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n\n      if (isTearingDown) {\n        return;\n      }\n\n      const didEnter = !viewportEntered && hasEnteredViewport;\n      const didLeave = viewportEntered && !hasEnteredViewport;\n      let triggeredEventName = '';\n\n      if (didEnter) {\n        triggeredEventName = 'didEnterViewport';\n      }\n\n      if (didLeave) {\n        triggeredEventName = 'didExitViewport';\n      }\n\n      if (Ember.get(this, 'viewportSpy') || !viewportEntered) {\n        Ember.set(this, 'viewportEntered', hasEnteredViewport);\n      }\n\n      if (triggeredEventName) {\n        this.trigger(triggeredEventName);\n      }\n    },\n\n    /**\n     * Unbind when enter viewport only if viewportSpy is false\n     *\n     * @method _unbindIfEntered\n     */\n    _unbindIfEntered(element) {\n      if (Ember.get(this, 'viewportEntered')) {\n        this._unbindListeners(element);\n\n        this.removeObserver('viewportEntered', this, '_unbindIfEntered');\n        Ember.set(this, 'viewportEntered', false);\n      }\n    },\n\n    /**\n     * General utility function\n     *\n     * @method _debouncedEvent\n     */\n    _debouncedEvent(methodName, ...args) {\n      (true && !(methodName) && Ember.assert('You must pass a methodName to _debouncedEvent', methodName));\n      (true && !(Ember.typeOf(methodName) === 'string') && Ember.assert('methodName must be a string', Ember.typeOf(methodName) === 'string'));\n      Ember.run.debounce(this, () => this[methodName](...args), Ember.get(this, 'viewportRefreshRate'));\n    },\n\n    _bindScrollDirectionListener(sensitivity = 1) {\n      (true && !(sensitivity) && Ember.assert('sensitivity cannot be 0', sensitivity));\n      const contextEl = Ember.get(this, 'scrollableArea') || window;\n      const elem = (0, _findElem.default)(contextEl);\n      this._debouncedEventHandler = this._debouncedEvent.bind(this, '_triggerDidScrollDirection', elem, sensitivity);\n      elem.addEventListener('scroll', this._debouncedEventHandler, {\n        passive: true\n      });\n    },\n\n    _unbindScrollDirectionListener() {\n      const elementId = Ember.get(this, 'elementId');\n      const context = Ember.get(this, 'scrollableArea') || window;\n      const elem = (0, _findElem.default)(context);\n\n      if (elem) {\n        elem.removeEventListener('scroll', this._debouncedEventHandler, {\n          passive: true\n        });\n        delete lastPosition[elementId];\n        delete lastDirection[elementId];\n      }\n    },\n\n    /**\n     * Only if not using IntersectionObserver and rAF\n     *\n     * @method _bindListeners\n     */\n    _bindListeners(context = null, event = null, element = null) {\n      (true && !(context) && Ember.assert('You must pass a valid context to _bindListeners', context));\n      (true && !(event) && Ember.assert('You must pass a valid event to _bindListeners', event));\n      let elem = (0, _findElem.default)(context);\n\n      let evtListener = () => this._debouncedEvent('_setViewportEntered', element);\n\n      this._evtListenerClosures.push({\n        event: event,\n        evtListener\n      });\n\n      elem.addEventListener(event, evtListener, false);\n    },\n\n    /**\n     * Remove listeners for rAF or scroll event listeners\n     * Either from component destroy or viewport entered and\n     * need to turn off listening\n     *\n     * @method _unbindListeners\n     */\n    _unbindListeners(element) {\n      Ember.set(this, '_stopListening', true); // if IntersectionObserver\n\n      if (Ember.get(this, 'viewportUseIntersectionObserver') && Ember.get(this, 'viewportEnabled')) {\n        Ember.get(this, 'inViewport').unobserveIntersectionObserver(element);\n      } // if rAF\n\n\n      if (!Ember.get(this, 'viewportUseIntersectionObserver') && Ember.get(this, 'viewportUseRAF')) {\n        const elementId = Ember.get(this, 'elementId');\n        Ember.get(this, 'inViewport').removeRAF(elementId);\n      } // if scroll event listeners\n\n\n      if (!Ember.get(this, 'viewportUseIntersectionObserver') && !Ember.get(this, 'viewportUseRAF')) {\n        Ember.get(this, 'viewportListeners').forEach(listener => {\n          let {\n            context,\n            event\n          } = listener;\n          context = Ember.get(this, 'scrollableArea') || context;\n          let elem = (0, _findElem.default)(context);\n          let {\n            evtListener\n          } = this._evtListenerClosures.find(closure => event === closure.event) || {};\n          elem.removeEventListener(event, evtListener, false);\n        });\n      } // 4. last but not least\n\n\n      const viewportDidScroll = Ember.get(this, 'viewportDidScroll');\n\n      if (viewportDidScroll) {\n        this._unbindScrollDirectionListener();\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-in-viewport/modifiers/in-viewport\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-modifier\", \"fast-deep-equal\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberModifier, _fastDeepEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _descriptor;\n\n  const WATCHED_ELEMENTS = true\n  /* DEBUG */\n  ? new WeakSet() : undefined;\n  let InViewportModifier = (_dec = Ember.inject.service, _dec2 = Ember._action, _dec3 = Ember._action, (_class = class InViewportModifier extends _emberModifier.default {\n    constructor(...args) {\n      super(...args);\n      (0, _initializerDefineProperty2.default)(this, \"inViewport\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"name\", 'in-viewport');\n      (0, _defineProperty2.default)(this, \"lastOptions\", void 0);\n    }\n\n    get options() {\n      // eslint-disable-next-line no-unused-vars\n      const {\n        onEnter,\n        onExit,\n        ...options\n      } = this.args.named;\n      return options;\n    }\n\n    get hasStaleOptions() {\n      return !(0, _fastDeepEqual.default)(this.options, this.lastOptions);\n    }\n\n    validateArguments() {\n      (true && !(this.args.positional.length === 0) && Ember.assert(`'{{in-viewport}}' does not accept positional parameters. Specify listeners via 'onEnter' / 'onExit'.`, this.args.positional.length === 0));\n      (true && !(typeof this.args.named.onEnter === 'function' || typeof this.args.named.onExit === 'function') && Ember.assert(`'{{in-viewport}}' either expects 'onEnter', 'onExit' or both to be present.`, typeof this.args.named.onEnter === 'function' || typeof this.args.named.onExit === 'function'));\n    }\n\n    onEnter() {\n      if (this.args.named.onEnter) {\n        this.args.named.onEnter.call(null, this.element);\n      }\n\n      if (!this.options.viewportSpy) {\n        this.inViewport.stopWatching(this.element);\n      }\n    }\n\n    onExit() {\n      if (this.args.named.onExit) {\n        this.args.named.onExit.call(null, this.element);\n      }\n    }\n\n    setupWatcher() {\n      (true && !(!WATCHED_ELEMENTS.has(this.element)) && Ember.assert(`'${this.element}' is already being watched. Make sure that '{{in-viewport}}' is only used once on this element and that you are not calling 'inViewport.watchElement(element)' in other places.`, !WATCHED_ELEMENTS.has(this.element)));\n      if (true\n      /* DEBUG */\n      ) WATCHED_ELEMENTS.add(this.element);\n      this.inViewport.watchElement(this.element, this.options, this.onEnter, this.onExit);\n      this.lastOptions = this.options;\n    }\n\n    destroyWatcher() {\n      if (true\n      /* DEBUG */\n      ) WATCHED_ELEMENTS.delete(this.element);\n      this.inViewport.stopWatching(this.element);\n    }\n\n    didInstall() {\n      this.setupWatcher();\n    }\n\n    didUpdateArguments() {\n      if (this.hasStaleOptions) {\n        this.destroyWatcher();\n        this.setupWatcher();\n      }\n    }\n\n    didReceiveArguments() {\n      this.validateArguments();\n    }\n\n    willRemove() {\n      this.destroyWatcher();\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"inViewport\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onEnter\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"onEnter\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onExit\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"onExit\"), _class.prototype)), _class));\n  _exports.default = InViewportModifier;\n});","define(\"ember-in-viewport/services/in-viewport\", [\"exports\", \"ember-in-viewport/utils/is-in-viewport\", \"ember-in-viewport/utils/can-use-raf\", \"ember-in-viewport/utils/can-use-intersection-observer\", \"ember-in-viewport/-private/observer-admin\", \"ember-in-viewport/-private/raf-admin\"], function (_exports, _isInViewport, _canUseRaf, _canUseIntersectionObserver, _observerAdmin, _rafAdmin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const noop = () => {};\n  /**\n   * ensure use on requestAnimationFrame, no matter how many components\n   * on the page are using this mixin\n   *\n   * @class InViewport\n   * @module Ember.Service\n   */\n\n\n  class InViewport extends Ember.Service {\n    constructor() {\n      super(...arguments);\n      Ember.set(this, 'registry', new WeakMap());\n      let options = Ember.assign({\n        viewportUseRAF: (0, _canUseRaf.default)()\n      }, this._buildOptions()); // set viewportUseIntersectionObserver after merging users config to avoid errors in browsers that lack support (https://github.com/DockYard/ember-in-viewport/issues/146)\n\n      options = Ember.assign(options, {\n        viewportUseIntersectionObserver: (0, _canUseIntersectionObserver.default)()\n      });\n      Ember.setProperties(this, options);\n    }\n\n    startIntersectionObserver() {\n      this.observerAdmin = new _observerAdmin.default();\n    }\n\n    startRAF() {\n      this.rafAdmin = new _rafAdmin.default();\n    }\n    /** Any strategy **/\n\n    /**\n     * @method watchElement\n     * @param HTMLElement element\n     * @param Object configOptions\n     * @param Function enterCallback - support mixin approach\n     * @param Function exitCallback - support mixin approach\n     * @void\n     */\n\n\n    watchElement(element, configOptions = {}, enterCallback, exitCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        if (!this.observerAdmin) {\n          this.startIntersectionObserver();\n        }\n\n        const observerOptions = this.buildObserverOptions(configOptions);\n        Ember.run.schedule('afterRender', this, this.setupIntersectionObserver, element, observerOptions, enterCallback, exitCallback);\n      } else {\n        if (!this.rafAdmin) {\n          this.startRAF();\n        }\n\n        Ember.run.schedule('afterRender', this, this._startRaf, element, configOptions, enterCallback, exitCallback);\n      }\n\n      return {\n        onEnter: this.addEnterCallback.bind(this, element),\n        onExit: this.addExitCallback.bind(this, element)\n      };\n    }\n    /**\n     * @method addEnterCallback\n     * @void\n     */\n\n\n    addEnterCallback(element, enterCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        this.observerAdmin.addEnterCallback(element, enterCallback);\n      } else {\n        this.rafAdmin.addEnterCallback(element, enterCallback);\n      }\n    }\n    /**\n     * @method addExitCallback\n     * @void\n     */\n\n\n    addExitCallback(element, exitCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        this.observerAdmin.addExitCallback(element, exitCallback);\n      } else {\n        this.rafAdmin.addExitCallback(element, exitCallback);\n      }\n    }\n    /** IntersectionObserver **/\n\n    /**\n     * In order to track elements and the state that comes with them, we need to keep track\n     * of elements in order to get at them at a later time, specifically to unobserve\n     *\n     * @method addToRegistry\n     * @void\n     */\n\n\n    addToRegistry(element, observerOptions) {\n      if (this.registry) {\n        this.registry.set(element, {\n          observerOptions\n        });\n      } else {\n        (true && Ember.warn('in-viewport Service has already been destroyed'));\n      }\n    }\n    /**\n     * @method setupIntersectionObserver\n     * @param HTMLElement element\n     * @param Object observerOptions\n     * @param Function enterCallback\n     * @param Function exitCallback\n     * @void\n     */\n\n\n    setupIntersectionObserver(element, observerOptions, enterCallback, exitCallback) {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n\n      this.addToRegistry(element, observerOptions);\n      this.observerAdmin.add(element, observerOptions, enterCallback, exitCallback);\n    }\n\n    buildObserverOptions({\n      intersectionThreshold = 0,\n      scrollableArea = null,\n      viewportTolerance = {}\n    }) {\n      const domScrollableArea = typeof scrollableArea === 'string' && scrollableArea ? document.querySelector(scrollableArea) : scrollableArea instanceof HTMLElement ? scrollableArea : undefined; // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API\n      // IntersectionObserver takes either a Document Element or null for `root`\n\n      const {\n        top = 0,\n        left = 0,\n        bottom = 0,\n        right = 0\n      } = viewportTolerance;\n      return {\n        root: domScrollableArea,\n        rootMargin: `${top}px ${right}px ${bottom}px ${left}px`,\n        threshold: intersectionThreshold\n      };\n    }\n\n    unobserveIntersectionObserver(target) {\n      if (!target) {\n        return;\n      }\n\n      const registeredTarget = this.registry.get(target);\n\n      if (typeof registeredTarget === 'object') {\n        this.observerAdmin.unobserve(target, registeredTarget.observerOptions);\n      }\n    }\n    /** RAF **/\n\n\n    addRAF(elementId, fn) {\n      this.rafAdmin.add(elementId, fn);\n    }\n\n    removeRAF(elementId) {\n      if (this.rafAdmin) {\n        this.rafAdmin.remove(elementId);\n      }\n    }\n\n    isInViewport(...args) {\n      return (0, _isInViewport.default)(...args);\n    }\n    /** other **/\n\n\n    stopWatching(target) {\n      if (this.observerAdmin) {\n        this.unobserveIntersectionObserver(target);\n      }\n\n      if (this.rafAdmin) {\n        this.removeRAF(target);\n      }\n    }\n\n    willDestroy() {\n      Ember.set(this, 'registry', null);\n\n      if (this.observerAdmin) {\n        this.observerAdmin.destroy();\n        Ember.set(this, 'observerAdmin', null);\n      }\n\n      if (this.rafAdmin) {\n        this.rafAdmin.reset();\n        Ember.set(this, 'rafAdmin', null);\n      }\n    }\n\n    _buildOptions(defaultOptions = {}) {\n      const owner = Ember.getOwner(this);\n\n      if (owner) {\n        return Ember.assign(defaultOptions, owner.lookup('config:in-viewport'));\n      }\n    }\n\n    _startRaf(element, configOptions, enterCallback, exitCallback) {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n\n      enterCallback = enterCallback || noop;\n      exitCallback = exitCallback || noop; // this isn't using the same functions as the mixin case, but that is b/c it is a bit harder to unwind.\n      // So just rewrote it with pure functions for now\n\n      (0, _rafAdmin.startRAF)(element, configOptions, enterCallback, exitCallback, this.addRAF.bind(this, element.id), this.removeRAF.bind(this, element.id));\n    }\n\n  }\n\n  _exports.default = InViewport;\n});","define(\"ember-in-viewport/utils/can-use-dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n  var _default = canUseDOM;\n  _exports.default = _default;\n});","define(\"ember-in-viewport/utils/can-use-intersection-observer\", [\"exports\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = canUseIntersectionObserver;\n\n  // Adapted from WC3's intersection polyfill\n  // https://github.com/w3c/IntersectionObserver/blob/master/polyfill/intersection-observer.js\n  function checkIntersectionObserver(window) {\n    if ('IntersectionObserver' in window && 'IntersectionObserverEntry' in window && 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n      // Minimal polyfill for Edge 15's lack of `isIntersecting`\n      // See: https://github.com/w3c/IntersectionObserver/issues/211\n      if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n        Object.defineProperty(window.IntersectionObserverEntry.prototype, 'isIntersecting', {\n          get: function () {\n            return this.intersectionRatio > 0;\n          }\n        });\n      }\n\n      return true;\n    }\n\n    return false;\n  }\n\n  function canUseIntersectionObserver() {\n    if (!_canUseDom.default) {\n      return false;\n    }\n\n    return checkIntersectionObserver(window);\n  }\n});","define(\"ember-in-viewport/utils/can-use-raf\", [\"exports\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = canUseRAF;\n\n  // Adapted from Paul Irish's rAF polyfill\n  // http://paulirish.com/2011/requestanimationframe-for-smart-animating/\n  // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating\n  // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel\n  // MIT license\n  function checkRAF(window, rAF, cAF) {\n    let x;\n    let vendors = ['ms', 'moz', 'webkit', 'o'];\n\n    for (x = 0; x < vendors.length && !window[rAF]; ++x) {\n      window[rAF] = window[`${vendors[x]}RequestAnimationFrame`];\n      window[cAF] = window[`${vendors[x]}CancelAnimationFrame`] || window[`${vendors[x]}CancelRequestAnimationFrame`];\n    }\n\n    if (window[rAF] && window[cAF]) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n\n  function canUseRAF() {\n    if (!_canUseDom.default) {\n      return false;\n    }\n\n    return checkRAF(window, 'requestAnimationFrame', 'cancelAnimationFrame');\n  }\n});","define(\"ember-in-viewport/utils/check-scroll-direction\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = checkScrollDirection;\n  const {\n    floor\n  } = Math;\n\n  function checkScrollDirection(lastPosition = null, newPosition = {}, sensitivity = 1) {\n    if (!lastPosition) {\n      return 'none';\n    }\n\n    (true && !(sensitivity) && Ember.assert('sensitivity cannot be 0', sensitivity));\n    const {\n      top,\n      left\n    } = newPosition;\n    const {\n      top: lastTop,\n      left: lastLeft\n    } = lastPosition;\n    const delta = {\n      top: floor((top - lastTop) / sensitivity) * sensitivity,\n      left: floor((left - lastLeft) / sensitivity) * sensitivity\n    };\n\n    if (delta.top > 0) {\n      return 'down';\n    }\n\n    if (delta.top < 0) {\n      return 'up';\n    }\n\n    if (delta.left > 0) {\n      return 'right';\n    }\n\n    if (delta.left < 0) {\n      return 'left';\n    }\n  }\n});","define(\"ember-in-viewport/utils/find-elem\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(context) {\n    let elem;\n\n    if (context.nodeType === Node.ELEMENT_NODE || context.nodeType === Node.DOCUMENT_NODE || context instanceof Window) {\n      elem = context;\n    } else {\n      elem = document.querySelector(context);\n    }\n\n    return elem;\n  }\n});","define(\"ember-in-viewport/utils/is-in-viewport\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isInViewport;\n  const defaultTolerance = {\n    top: 0,\n    left: 0,\n    bottom: 0,\n    right: 0\n  };\n\n  function isInViewport(boundingClientRect = {}, height = 0, width = 0, tolerance = defaultTolerance) {\n    const {\n      top,\n      left,\n      bottom,\n      right,\n      height: h,\n      width: w\n    } = boundingClientRect;\n    const tolerances = Ember.assign(Ember.assign({}, defaultTolerance), tolerance);\n    const {\n      top: topTolerance,\n      left: leftTolerance,\n      bottom: bottomTolerance,\n      right: rightTolerance\n    } = tolerances;\n    return top + topTolerance >= 0 && left + leftTolerance >= 0 && Math.round(bottom) - bottomTolerance - h <= Math.round(height) && Math.round(right) - rightTolerance - w <= Math.round(width);\n  }\n});","define(\"ember-intl/-private/error-types\", [\"exports\", \"intl-messageformat\"], function (_exports, _intlMessageformat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.MISSING_TRANSLATION = _exports.MISSING_INTL_API = void 0;\n\n  /**\n   * An error that indicates a required Intl API was not available\n   * at runtime. This is generally resolved by polyfilling the missing API.\n   *\n   * @private\n   * @hide\n   */\n  // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n  // @ts-ignore If the consuming project uses `--isolatedModules`, `const enums`\n  // may not be used. Since `ember-cli-babel` does not care for `const enums`\n  // _anyway_ , this is not an issue.\n  const MISSING_INTL_API = _intlMessageformat.ErrorCode.MISSING_INTL_API;\n  /**\n   * An error type that indicates a translation that was looked up\n   * by a specific key was not found.\n   *\n   * @private\n   * @hide\n   */\n\n  _exports.MISSING_INTL_API = MISSING_INTL_API;\n  const MISSING_TRANSLATION = 'MISSING_TRANSLATION';\n  _exports.MISSING_TRANSLATION = MISSING_TRANSLATION;\n});","define(\"ember-intl/-private/formatters/-base\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  const EMPTY_OBJECT = Object.create(null);\n\n  /**\n   * @private\n   * @hide\n   */\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  class FormatterBase {\n    constructor(config) {\n      (0, _defineProperty2.default)(this, \"config\", void 0);\n      (0, _defineProperty2.default)(this, \"readFormatConfig\", void 0);\n      (0, _defineProperty2.default)(this, \"createNativeFormatter\", void 0);\n      this.config = config; // NOTE: a fn since we lazily grab the formatter from the config\n      // as it can change at runtime by calling intl.set('formats', {...});\n\n      this.readFormatConfig = config.readFormatConfig;\n    }\n\n    get options() {\n      return [];\n    }\n    /**\n     * Filters out all of the whitelisted formatter options\n     *\n     * @method filterKnownOptions\n     * @param {Object} Options object\n     * @return {Object} Options object containing just whitelisted options\n     * @private\n     */\n\n\n    filterKnownOptions(options) {\n      if (!options) {\n        return EMPTY_OBJECT;\n      }\n\n      const found = {};\n\n      for (const key in options) {\n        if (this.options.includes(key)) {\n          found[key] = options[key];\n        }\n      }\n\n      return found;\n    }\n\n    readOptions(formatOptions) {\n      let formatterOptions = this.filterKnownOptions(formatOptions);\n\n      if (formatOptions && 'format' in formatOptions) {\n        const namedFormatsOptions = this.getNamedFormat(formatOptions.format);\n        formatterOptions = { ...namedFormatsOptions,\n          ...formatterOptions\n        };\n      }\n\n      return formatterOptions;\n    }\n\n    validateFormatterOptions(locale, _formatterOptions) {\n      if (!locale) {\n        // TODO: config.onError instead?\n        (true && Ember.warn(`[ember-intl] no locale has been set!  See: https://ember-intl.github.io/ember-intl/docs/quickstart#4-configure-ember-intl`, false, {\n          id: 'ember-intl-no-locale-set'\n        }));\n      }\n    }\n\n    getNamedFormat(key) {\n      const formats = this.readFormatConfig();\n      const namedFormatsForType = formats[this.constructor.type];\n\n      if (namedFormatsForType && namedFormatsForType[key]) {\n        return namedFormatsForType[key];\n      }\n    }\n\n  }\n\n  _exports.default = FormatterBase;\n  (0, _defineProperty2.default)(FormatterBase, \"type\", void 0);\n});","define(\"ember-intl/-private/formatters/-format-datetime\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"fast-memoize\", \"ember-intl/-private/formatters/-base\"], function (_exports, _defineProperty2, _fastMemoize, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  const DATE_TIME_OPTIONS = ['localeMatcher', 'formatMatcher', 'timeZone', 'hour12', 'weekday', 'era', 'year', 'month', 'day', 'hour', 'minute', 'second', 'timeZoneName', 'hourCycle'];\n  /**\n   * @private\n   * @hide\n   */\n\n  class FormatDateTime extends _base.default {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.DateTimeFormat(locales, options);\n      }));\n    }\n\n    get options() {\n      return DATE_TIME_OPTIONS;\n    }\n\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(new Date(value));\n    }\n\n  }\n\n  _exports.default = FormatDateTime;\n  (0, _defineProperty2.default)(FormatDateTime, \"type\", void 0);\n});","define(\"ember-intl/-private/formatters/format-date\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-intl/-private/formatters/-format-datetime\"], function (_exports, _defineProperty2, _formatDatetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatDate extends _formatDatetime.default {}\n\n  _exports.default = FormatDate;\n  (0, _defineProperty2.default)(FormatDate, \"type\", 'date');\n});","define(\"ember-intl/-private/formatters/format-message\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"fast-memoize\", \"intl-messageformat\", \"ember-intl/-private/utils/parse\"], function (_exports, _defineProperty2, _fastMemoize, _intlMessageformat, _parse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    Handlebars: {\n      // @ts-expect-error Upstream types are incomplete.\n      Utils: {\n        escapeExpression\n      }\n    }\n  } = Ember;\n\n  function escapeOptions(object) {\n    if (typeof object !== 'object') {\n      return;\n    }\n\n    const escapedOpts = {};\n    Object.keys(object).forEach(key => {\n      const val = object[key];\n\n      if (Ember.String.isHTMLSafe(val)) {\n        // If the option is an instance of Ember SafeString,\n        // we don't want to pass it into the formatter, since the\n        // formatter won't know what to do with it. Instead, we cast\n        // the SafeString to a regular string using `toHTML`.\n        // Since it was already marked as safe we should *not* escape it.\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore\n        escapedOpts[key] = val.toHTML();\n      } else if (typeof val === 'string') {\n        escapedOpts[key] = escapeExpression(val);\n      } else {\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore\n        escapedOpts[key] = val; // copy as-is\n      }\n    });\n    return escapedOpts;\n  }\n  /**\n   * @private\n   * @hide\n   */\n\n\n  class FormatMessage {\n    constructor(config) {\n      (0, _defineProperty2.default)(this, \"config\", void 0);\n      (0, _defineProperty2.default)(this, \"readFormatConfig\", void 0);\n      (0, _defineProperty2.default)(this, \"createNativeFormatter\", (0, _fastMemoize.default)((ast, locales, formatConfig) => {\n        return new _intlMessageformat.default(ast, locales, formatConfig, {\n          ignoreTag: true\n        });\n      }));\n      this.config = config; // NOTE: a fn since we lazily grab the formatter from the config\n      // as it can change at runtime by calling intl.set('formats', {...});\n\n      this.readFormatConfig = config.readFormatConfig;\n    }\n\n    format(locale, maybeAst, options) {\n      let ast = maybeAst;\n\n      if (typeof maybeAst === 'string') {\n        // maybe memoize?  it's not a typical hot path since we\n        // parse when translations are pushed to ember-intl.\n        // This is only used if inlining a translation i.e.,\n        // {{format-message \"Hi {name}\"}}\n        ast = (0, _parse.default)(maybeAst);\n      }\n\n      const isHTMLSafe = options && options.htmlSafe;\n      const formatterInstance = this.createNativeFormatter(ast, locale, this.readFormatConfig());\n      const escapedOptions = isHTMLSafe ? escapeOptions(options) : options;\n      const result = formatterInstance.format(escapedOptions);\n      return isHTMLSafe ? Ember.String.htmlSafe(result) : result;\n    }\n\n  }\n\n  _exports.default = FormatMessage;\n  (0, _defineProperty2.default)(FormatMessage, \"type\", 'message');\n});","define(\"ember-intl/-private/formatters/format-number\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"fast-memoize\", \"ember-intl/-private/formatters/-base\"], function (_exports, _defineProperty2, _fastMemoize, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  const NUMBER_OPTIONS = ['localeMatcher', 'style', 'currency', 'currencyDisplay', 'unit', 'unitDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits', // Unified NumberFormat (Stage 3 as of 10/22/19)\n  'compactDisplay', 'currencyDisplay', 'currencySign', 'notation', 'signDisplay', 'unitDisplay', 'unit'];\n  /**\n   * @private\n   * @hide\n   */\n\n  class FormatNumber extends _base.default {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.NumberFormat(locales, options);\n      }));\n    }\n\n    get options() {\n      return NUMBER_OPTIONS;\n    }\n\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(value);\n    }\n\n  }\n\n  _exports.default = FormatNumber;\n  (0, _defineProperty2.default)(FormatNumber, \"type\", 'number');\n});","define(\"ember-intl/-private/formatters/format-relative\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"fast-memoize\", \"intl-messageformat\", \"ember-intl/-private/error-types\", \"ember-intl/-private/formatters/-base\"], function (_exports, _defineProperty2, _fastMemoize, _intlMessageformat, _errorTypes, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const RELATIVE_TIME_OPTIONS = ['numeric', 'style', 'unit'];\n  /**\n   * @private\n   * @hide\n   */\n\n  class FormatRelative extends _base.default {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        if (!Intl || !Intl.RelativeTimeFormat) {\n          const error = new _intlMessageformat.FormatError(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using \"@formatjs/intl-relativetimeformat\"`, _errorTypes.MISSING_INTL_API);\n          this.config.onError({\n            kind: _errorTypes.MISSING_INTL_API,\n            error\n          });\n          throw error;\n        }\n\n        return new Intl.RelativeTimeFormat(locales, options);\n      }));\n    }\n\n    get options() {\n      return RELATIVE_TIME_OPTIONS;\n    }\n\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const unit = formatOptions?.unit ?? formatterOptions.unit;\n      (true && !(unit) && Ember.assert(`[ember-intl] FormatRelative: 'formatOptions' are missing a 'unit'.`, unit));\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(typeof value === 'number' ? value : new Date(value).getTime(), unit);\n    }\n\n  }\n\n  _exports.default = FormatRelative;\n  (0, _defineProperty2.default)(FormatRelative, \"type\", 'relative');\n});","define(\"ember-intl/-private/formatters/format-time\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-intl/-private/formatters/-format-datetime\"], function (_exports, _defineProperty2, _formatDatetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatTime extends _formatDatetime.default {}\n\n  _exports.default = FormatTime;\n  (0, _defineProperty2.default)(FormatTime, \"type\", 'time');\n});","define(\"ember-intl/-private/formatters/index\", [\"exports\", \"ember-intl/-private/formatters/format-time\", \"ember-intl/-private/formatters/format-date\", \"ember-intl/-private/formatters/format-number\", \"ember-intl/-private/formatters/format-message\", \"ember-intl/-private/formatters/format-relative\"], function (_exports, _formatTime, _formatDate, _formatNumber, _formatMessage, _formatRelative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"FormatDate\", {\n    enumerable: true,\n    get: function () {\n      return _formatDate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatMessage\", {\n    enumerable: true,\n    get: function () {\n      return _formatMessage.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatNumber\", {\n    enumerable: true,\n    get: function () {\n      return _formatNumber.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatRelative\", {\n    enumerable: true,\n    get: function () {\n      return _formatRelative.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatTime\", {\n    enumerable: true,\n    get: function () {\n      return _formatTime.default;\n    }\n  });\n});","define(\"ember-intl/-private/store/container\", [\"exports\", \"ember-intl/-private/store/translation\"], function (_exports, _translation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @private\n   * @hide\n   */\n  var _default = Ember.Object.extend({\n    locales: Ember.computed('_translationModels', function () {\n      return Array.from(this._translationModels.keys());\n    }).readOnly(),\n\n    init() {\n      this._super();\n\n      this._translationModels = new Map();\n    },\n\n    createTranslationModel(localeName) {\n      const translationModel = new _translation.default(localeName);\n\n      this._translationModels.set(localeName, translationModel);\n\n      this.notifyPropertyChange('locales');\n      return translationModel;\n    },\n\n    findTranslationModel(localeName) {\n      return this._translationModels.get(localeName);\n    },\n\n    push(localeName, payload) {\n      let translationModel = this.findTranslationModel(localeName);\n\n      if (!translationModel) {\n        translationModel = this.createTranslationModel(localeName);\n      }\n\n      translationModel.addTranslations(payload);\n    },\n\n    has(localeName, key) {\n      const translationModel = this.findTranslationModel(localeName);\n\n      if (translationModel) {\n        return translationModel.has(key);\n      }\n    },\n\n    _lookup(localeName, key) {\n      const translationModel = this.findTranslationModel(localeName);\n\n      if (translationModel && translationModel.has(key)) {\n        return translationModel.find(key);\n      }\n    },\n\n    lookupAst(localeName, key) {\n      const translationResult = this._lookup(localeName, key);\n\n      if (translationResult) {\n        return translationResult.ast;\n      }\n    },\n\n    lookup(localeName, key) {\n      const translationResult = this._lookup(localeName, key);\n\n      if (translationResult) {\n        return translationResult.original;\n      }\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/-private/store/translation\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-intl/-private/utils/flatten\", \"ember-intl/-private/utils/parse\"], function (_exports, _defineProperty2, _flatten, _parse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  class Translation {\n    get localeName() {\n      return this._localeName;\n    }\n\n    constructor(localeName) {\n      (0, _defineProperty2.default)(this, \"translations\", new Map());\n      (0, _defineProperty2.default)(this, \"asts\", new Map());\n      (0, _defineProperty2.default)(this, \"_localeName\", void 0);\n      this._localeName = localeName;\n    }\n\n    addTranslations(translations) {\n      const flatTranslations = (0, _flatten.default)(translations);\n\n      for (const key in flatTranslations) {\n        let translation = flatTranslations[key]; // If it's not a string, coerce it to one.\n\n        if (typeof translation !== 'string') {\n          translation = `${translation}`;\n        }\n\n        this.translations.set(key, translation);\n        this.asts.set(key, (0, _parse.default)(translation));\n      }\n    }\n\n    find(key) {\n      if (this.has(key)) {\n        return {\n          ast: this.asts.get(key),\n          original: this.translations.get(key)\n        };\n      }\n    }\n\n    has(key) {\n      return this.translations.has(key);\n    }\n\n  }\n\n  var _default = Translation;\n  _exports.default = _default;\n});","define(\"ember-intl/-private/utils/empty-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @private\n   * @hide\n   */\n  const proto = Object.create(null, {\n    constructor: {\n      value: undefined,\n      enumerable: false,\n      writable: true\n    }\n  }); // eslint-disable-next-line @typescript-eslint/no-empty-function\n\n  function EmptyObject() {}\n\n  EmptyObject.prototype = proto;\n  /**\n   * @private\n   * @hide\n   */\n\n  var _default = EmptyObject;\n  _exports.default = _default;\n});","define(\"ember-intl/-private/utils/flatten\", [\"exports\", \"ember-intl/-private/utils/empty-object\"], function (_exports, _emptyObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = flatten;\n  const hasOwnProperty = Object.prototype.hasOwnProperty;\n\n  /**\n   * @private\n   * @hide\n   */\n  function flatten(src) {\n    const result = new _emptyObject.default();\n\n    for (const key in src) {\n      if (!hasOwnProperty.call(src, key)) {\n        continue;\n      }\n\n      const value = src[key];\n\n      if (typeof value === 'object' && value) {\n        const hash = flatten(value);\n\n        for (const suffix in hash) {\n          result[`${key}.${suffix}`] = hash[suffix];\n        }\n      } else {\n        result[key] = value;\n      }\n    }\n\n    return result;\n  }\n});","define(\"ember-intl/-private/utils/get-dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getDOM;\n\n  // adjusted from https://github.com/yapplabs/ember-wormhole/blob/0.5.4/addon/utils/dom.js#L45-L63\n  //\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n\n  /**\n   * @private\n   * @hide\n   */\n  function getDOM(context) {\n    let {\n      renderer\n    } = context;\n\n    if (!renderer || !renderer._dom) {\n      // pre glimmer2\n      let container = Ember.getOwner ? Ember.getOwner(context) : context.container;\n      let documentService = container.lookup('service:-document');\n\n      if (documentService) {\n        return documentService;\n      }\n\n      renderer = container.lookup('renderer:-dom');\n    }\n\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    }\n\n    return null;\n  }\n});","define(\"ember-intl/-private/utils/hydrate\", [\"exports\", \"ember-intl/translations\"], function (_exports, _translations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hydrate;\n\n  /**\n   * @private\n   * @hide\n   */\n  function hydrate(service) {\n    _translations.default.forEach(_ref => {\n      let [locale, translations] = _ref;\n      service.addTranslations(locale, translations);\n    });\n  }\n});","define(\"ember-intl/-private/utils/is-array-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /**\n   * @private\n   * @hide\n   */\n  function _default(a, b) {\n    if (!Ember.isArray(a) || !Ember.isArray(b)) {\n      return false;\n    }\n\n    if (a === b) {\n      return true;\n    }\n\n    return a.toString() === b.toString();\n  }\n});","define(\"ember-intl/-private/utils/missing-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = missingMessage;\n\n  /**\n   * @private\n   * @hide\n   */\n  function missingMessage(key, locales, _options) {\n    if (Ember.isEmpty(locales)) {\n      (true && Ember.warn(`[ember-intl] no locale has been set!  See: https://ember-intl.github.io/ember-intl/docs/quickstart#4-configure-ember-intl`, false, {\n        id: 'ember-intl-no-locale-set'\n      }));\n      return `No locale defined.  Unable to resolve translation: \"${key}\"`;\n    }\n\n    const localeNames = locales.join(', ');\n    (true && Ember.warn(`[ember-intl] translation: \"${key}\" on locale: \"${localeNames}\" was not found.`, false, {\n      id: 'ember-intl-missing-translation'\n    }));\n    return `Missing translation \"${key}\" for locale \"${localeNames}\"`;\n  }\n});","define(\"ember-intl/-private/utils/normalize-locale\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  /**\n   * @private\n   * @hide\n   */\n  function _default(localeName) {\n    if (typeof localeName === 'string') {\n      return localeName.replace(/_/g, '-').toLowerCase();\n    }\n  }\n});","define(\"ember-intl/-private/utils/parse\", [\"exports\", \"intl-messageformat-parser\"], function (_exports, _intlMessageformatParser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseString;\n\n  /**\n   * @private\n   * @hide\n   */\n  function parseString(string) {\n    // ! Sync with `lib/parse-options.js`\n    return (0, _intlMessageformatParser.parse)(string, {\n      normalizeHashtagInPlural: false,\n      ignoreTag: true\n    });\n  }\n});","define(\"ember-intl/helpers/-format-base\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * @private\n   * @hide\n   */\n  const AbstractHelper = Ember.Helper.extend({\n    intl: null,\n\n    init() {\n      if (this.constructor === AbstractHelper) {\n        throw new Error('FormatHelper is an abstract class, can not be instantiated directly.');\n      }\n\n      this._super();\n\n      this.intl = Ember.getOwner(this).lookup('service:intl');\n      this.intl.on('localeChanged', this, 'recompute');\n    },\n\n    format() {\n      throw new Error('not implemented');\n    },\n\n    compute(_ref, options) {\n      let [value] = _ref;\n\n      if (Ember.isEmpty(value)) {\n        if (options.allowEmpty ?? this.allowEmpty) {\n          return;\n        }\n\n        if (typeof value === 'undefined') {\n          throw new Error(`${this} helper requires value attribute.`);\n        }\n      }\n\n      return this.format(value, options);\n    },\n\n    willDestroy() {\n      this._super();\n\n      this.intl.off('localeChanged', this, 'recompute');\n    }\n\n  });\n  var _default = AbstractHelper;\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/format-date\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    allowEmpty: true,\n\n    format(value, options) {\n      return this.intl.formatDate(value, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/format-message\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatMessage(value, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/format-number\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatNumber(value, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/format-relative\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    format(params, hash) {\n      return this.intl.formatRelative(params, hash);\n    },\n\n    compute(params) {\n      let hash = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return this._super(params, hash);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/format-time\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatTime(value, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/helpers/t\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _formatBase.default.extend({\n    format(key, options) {\n      return this.intl.t(key, options);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-intl/index\", [\"exports\", \"ember-intl/services/intl\", \"ember-intl/macros\"], function (_exports, _intl, _macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    Service: true\n  };\n  Object.defineProperty(_exports, \"Service\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  Object.keys(_macros).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n    if (key in _exports && _exports[key] === _macros[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _macros[key];\n      }\n    });\n  });\n});","define(\"ember-intl/macros/index\", [\"exports\", \"ember-intl/macros/intl\", \"ember-intl/macros/t\"], function (_exports, _intl, _t) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"intl\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"raw\", {\n    enumerable: true,\n    get: function () {\n      return _t.raw;\n    }\n  });\n  Object.defineProperty(_exports, \"t\", {\n    enumerable: true,\n    get: function () {\n      return _t.default;\n    }\n  });\n});","define(\"ember-intl/macros/intl\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.__intlInjectionName = void 0;\n  _exports.default = intl;\n\n  /**\n   * @private\n   * @hide\n   */\n  const __intlInjectionName = `intl-${Date.now().toString(36)}`;\n  _exports.__intlInjectionName = __intlInjectionName;\n\n  function intl() {\n    for (var _len = arguments.length, dependentKeysAndGetterFn = new Array(_len), _key = 0; _key < _len; _key++) {\n      dependentKeysAndGetterFn[_key] = arguments[_key];\n    }\n\n    const getterFn = dependentKeysAndGetterFn.pop();\n    const dependentKeys = dependentKeysAndGetterFn;\n    return Ember.computed(`${__intlInjectionName}.locale`, ...dependentKeys, function (propertyKey) {\n      if (!Ember.get(this, __intlInjectionName)) {\n        Ember.defineProperty(this, __intlInjectionName, {\n          value: Ember.getOwner(this).lookup('service:intl'),\n          enumerable: false\n        });\n      }\n\n      const intl = Ember.get(this, __intlInjectionName);\n      return getterFn.call(this, intl, propertyKey, this);\n    });\n  }\n});","define(\"ember-intl/macros/t\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-intl/-private/utils/empty-object\", \"ember-intl/macros/intl\"], function (_exports, _defineProperty2, _emptyObject, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = createTranslatedComputedProperty;\n  _exports.raw = raw;\n\n  function partitionDynamicValuesAndStaticValues(options) {\n    const dynamicValues = new _emptyObject.default();\n    const staticValues = new _emptyObject.default();\n    Object.keys(options).forEach(key => {\n      const value = options[key];\n\n      if (value instanceof Raw) {\n        staticValues[key] = value.valueOf();\n      } else {\n        dynamicValues[key] = value;\n      }\n    });\n    return [dynamicValues, staticValues];\n  }\n\n  function mapPropertiesByHash(object, hash) {\n    const result = new _emptyObject.default();\n    Object.keys(hash).forEach(key => {\n      result[key] = Ember.get(object, hash[key]);\n    });\n    return result;\n  }\n  /**\n   * This class is used to box primitive types and mark them as raw literals that\n   * should be used as is by the translation macro.\n   *\n   * This class is internal. Instead of using this class directly, use the `raw`\n   * utility function, that creates an instance of this class.\n   */\n\n\n  class Raw {\n    constructor(value) {\n      (0, _defineProperty2.default)(this, \"_value\", void 0);\n      this._value = value;\n    }\n\n    valueOf() {\n      return this._value;\n    }\n\n    toString() {\n      return String(this._value);\n    }\n\n  }\n  /**\n   * Use this utility function to mark a value as a raw literal.\n   *\n   * @param {*} value The value to mark as a raw literal.\n   * @return The same value, but boxed in the `Raw` class so that the consuming\n   *  macro understands that this value should be used as is.\n   */\n\n\n  function raw(value) {\n    return new Raw(value);\n  }\n\n  function createTranslatedComputedProperty(translationKey, options) {\n    const hash = options || new _emptyObject.default();\n    const [dynamicValues, staticValues] = partitionDynamicValuesAndStaticValues(hash);\n    const dependentKeys = Object.values(dynamicValues); // @ts-expect-error TS2556: Can't deal with leading rest arguments\n\n    return (0, _intl.default)(...dependentKeys, (intl, propertyKey, ctx) => intl.t(translationKey, { ...staticValues,\n      ...mapPropertiesByHash(ctx, dynamicValues)\n    }));\n  }\n});","define(\"ember-intl/services/intl\", [\"exports\", \"ember-intl/-private/formatters\", \"ember-intl/-private/utils/is-array-equal\", \"ember-intl/-private/utils/normalize-locale\", \"ember-intl/-private/utils/get-dom\", \"ember-intl/-private/utils/hydrate\", \"ember-intl/-private/store/container\"], function (_exports, _formatters, _isArrayEqual, _normalizeLocale, _getDom, _hydrate, _container) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Service.extend(Ember.Evented, {\n    /** @public **/\n    formats: null,\n\n    /**\n     * Returns an array of registered locale names\n     *\n     * @property locales\n     * @public\n     */\n    locales: Ember.computed.readOnly('_translationContainer.locales'),\n\n    /** @public **/\n    locale: Ember.computed('_locale', {\n      set(_, localeName) {\n        const proposed = Ember.makeArray(localeName).map(_normalizeLocale.default);\n\n        if (!(0, _isArrayEqual.default)(proposed, this._locale)) {\n          Ember.set(this, '_locale', proposed);\n          Ember.run.cancel(this._timer);\n          this._timer = Ember.run.next(() => {\n            this.trigger('localeChanged');\n\n            this._updateDocumentLanguage(this._locale);\n          });\n        }\n\n        return this._locale;\n      },\n\n      get() {\n        return Ember.get(this, '_locale');\n      }\n\n    }),\n\n    /**\n     * Returns the first locale of the currently active locales\n     *\n     * @property primaryLocale\n     * @public\n     */\n    primaryLocale: Ember.computed.readOnly('locale.0'),\n\n    /** @public **/\n    formatRelative: createFormatterProxy('relative'),\n\n    /** @public **/\n    formatMessage: createFormatterProxy('message'),\n\n    /** @public **/\n    formatNumber: createFormatterProxy('number'),\n\n    /** @public **/\n    formatTime: createFormatterProxy('time'),\n\n    /** @public **/\n    formatDate: createFormatterProxy('date'),\n\n    /** @private **/\n    _translationContainer: null,\n\n    /** @private **/\n    _locale: null,\n\n    /** @private **/\n    _timer: null,\n\n    /** @private **/\n    _formatters: null,\n\n    /** @public **/\n    init() {\n      this._super(...arguments);\n\n      const initialLocale = Ember.get(this, 'locale') || ['en-us'];\n      this.setLocale(initialLocale);\n      this._owner = Ember.getOwner(this); // Below issue can be ignored, as this is during the `init()` constructor.\n      // eslint-disable-next-line ember/no-assignment-of-untracked-properties-used-in-tracking-contexts\n\n      this._translationContainer = _container.default.create();\n      this._formatters = this._createFormatters();\n\n      if (!this.formats) {\n        this.formats = this._owner.resolveRegistration('formats:main') || {};\n      }\n\n      (0, _hydrate.default)(this);\n    },\n\n    willDestroy() {\n      this._super(...arguments);\n\n      Ember.run.cancel(this._timer);\n    },\n\n    /** @private **/\n    onError(_ref) {\n      let {\n        /* kind, */\n        error\n      } = _ref;\n      throw error;\n    },\n\n    /** @public **/\n    lookup(key, localeName) {\n      const localeNames = this._localeWithDefault(localeName);\n\n      let translation;\n\n      for (let i = 0; i < localeNames.length; i++) {\n        translation = this._translationContainer.lookup(localeNames[i], key);\n\n        if (translation !== undefined) {\n          break;\n        }\n      }\n\n      return translation;\n    },\n\n    /** @private **/\n    lookupAst(key, localeName) {\n      let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      const localeNames = this._localeWithDefault(localeName);\n\n      let translation;\n\n      for (let i = 0; i < localeNames.length; i++) {\n        translation = this._translationContainer.lookupAst(localeNames[i], key);\n\n        if (translation !== undefined) {\n          break;\n        }\n      }\n\n      if (translation === undefined && options.resilient !== true) {\n        const missingMessage = this._owner.resolveRegistration('util:intl/missing-message');\n\n        return missingMessage.call(this, key, localeNames, options);\n      }\n\n      return translation;\n    },\n\n    validateKeys(keys) {\n      return keys.forEach(key => {\n        (true && !(typeof key === 'string') && Ember.assert(`[ember-intl] expected translation key \"${key}\" to be of type String but received: \"${typeof key}\"`, typeof key === 'string'));\n      });\n    },\n\n    /** @public **/\n    t(key) {\n      let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      let keys = [key];\n\n      if (options.default) {\n        if (Array.isArray(options.default)) {\n          keys = [...keys, ...options.default];\n        } else if (typeof options.default === 'string') {\n          keys = [...keys, options.default];\n        }\n      }\n\n      this.validateKeys(keys);\n\n      for (let index = 0; index < keys.length; index++) {\n        const key = keys[index];\n        const ast = this.lookupAst(key, options.locale, { ...options,\n          // Note: last iteration will throw with the last key that was missing\n          // in the future maybe the thrown error should include all the keys to help debugging\n          resilient: keys.length - 1 !== index\n        });\n\n        if (ast) {\n          return this.formatMessage(ast, options);\n        }\n      }\n    },\n\n    /** @public **/\n    exists(key, localeName) {\n      const localeNames = this._localeWithDefault(localeName);\n\n      (true && !(Array.isArray(localeNames) && localeNames.length) && Ember.assert(`[ember-intl] locale is unset, cannot lookup '${key}'`, Array.isArray(localeNames) && localeNames.length));\n      return localeNames.some(localeName => this._translationContainer.has(localeName, key));\n    },\n\n    /** @public */\n    setLocale(locale) {\n      Ember.set(this, 'locale', locale);\n    },\n\n    /** @public **/\n    addTranslations(localeName, payload) {\n      this._translationContainer.push((0, _normalizeLocale.default)(localeName), payload);\n    },\n\n    /** @public **/\n    translationsFor(localeName) {\n      return this._translationContainer.findTranslationModel((0, _normalizeLocale.default)(localeName), false);\n    },\n\n    /** @private **/\n    _localeWithDefault(localeName) {\n      if (!localeName) {\n        return Ember.get(this, '_locale') || [];\n      }\n\n      if (typeof localeName === 'string') {\n        return Ember.makeArray(localeName).map(_normalizeLocale.default);\n      }\n\n      if (Array.isArray(localeName)) {\n        return localeName.map(_normalizeLocale.default);\n      }\n    },\n\n    /** @private **/\n    _updateDocumentLanguage(locales) {\n      const dom = (0, _getDom.default)(this);\n\n      if (dom) {\n        const [primaryLocale] = locales;\n        const html = dom.documentElement;\n        html.setAttribute('lang', primaryLocale);\n      }\n    },\n\n    /** @private */\n    _createFormatters() {\n      const formatterConfig = {\n        onError: this.onError.bind(this),\n        readFormatConfig: () => this.formats\n      };\n      return {\n        message: new _formatters.FormatMessage(formatterConfig),\n        relative: new _formatters.FormatRelative(formatterConfig),\n        number: new _formatters.FormatNumber(formatterConfig),\n        time: new _formatters.FormatTime(formatterConfig),\n        date: new _formatters.FormatDate(formatterConfig)\n      };\n    }\n\n  });\n\n  _exports.default = _default;\n\n  function createFormatterProxy(name) {\n    return function serviceFormatterProxy(value, formatOptions) {\n      let locale;\n\n      if (formatOptions && formatOptions.locale) {\n        locale = this._localeWithDefault(formatOptions.locale);\n      } else {\n        locale = Ember.get(this, 'locale');\n      }\n\n      return this._formatters[name].format(locale, value, formatOptions);\n    };\n  }\n});","define(\"ember-intl/translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = [[\"de-de\", {\n    \"abmelden\": \"Abmelden\",\n    \"absenden\": \"Absenden\",\n    \"agenda\": {\n      \"beschreibung\": \"Beschreibung\",\n      \"bis\": \"Bis\",\n      \"laufende_terminanfragen\": \"Laufende Terminanfragen\",\n      \"meine_agenda\": \"Meine Agenda\",\n      \"meine_termine\": \"Meine Termine\",\n      \"no_appointments_agenda_message\": \"Sie haben noch keine Programmpunkte auf der persönlichen Agenda.\",\n      \"no_appointments_message\": \"Sie haben noch keine Termine angeboten.\",\n      \"ort\": \"Ort\",\n      \"termin\": \"Termin\",\n      \"termin_anbieten\": \"Termin anbieten\",\n      \"termine_anbieten\": \"Termine anbieten\",\n      \"termine_verwalten\": \"Termine verwalten\",\n      \"uebernehmen\": \"Übernehmen\",\n      \"von\": \"Von\",\n      \"zueruck_zur_agenda\": \"Zurück zur Agenda\"\n    },\n    \"anmeldung\": \"Anmeldung\",\n    \"appointment\": {\n      \"ablehnen\": \"Ablehnen\",\n      \"anfrage\": \"Anfrage\",\n      \"angeboten_von_ihnen\": \"Angeboten von Ihnen\",\n      \"angefragt_von\": \"Angefragt von\",\n      \"bestaetigen\": \"Bestätigen\",\n      \"bietet_aktuell_keine_Termine_an\": \"bietet aktuell keine Termine an\",\n      \"feier_termin\": \"Freier Termin\",\n      \"frei\": \"Frei\",\n      \"ihnen\": \"Ihnen\",\n      \"individuelle_terminanfrage_stellen\": \"Individuelle Terminanfrage stellen\",\n      \"termin_aktualisieren\": \"Termin aktualisieren\",\n      \"termin_anfragen\": \"Termin anfragen\",\n      \"termin_wird_angeboten_von\": \"Termin wird angeboten von\",\n      \"termin_wird_angefragt_von\": \"Termin wird angefragt von\",\n      \"termin_wurde_bestaetigt\": \"Termin wurde bestätigt\",\n      \"termin_wurde_stoniert\": \"Termin wurde stoniert\",\n      \"termin_wurde_storniert\": \"Termin wurde storniert\",\n      \"terminanfrage\": \"Terminanfrage\",\n      \"terminanfrage_läuft\": \"Terminanfrage läuft\",\n      \"uhr\": \"Uhr\",\n      \"uhr_bis\": \"Uhr bis\",\n      \"zeit_validierung\": \"'Die Startzeit liegt später als die Endzeit.'\"\n    },\n    \"ausloggen\": \"Ausloggen\",\n    \"chat\": {\n      \"ete_message\": \"Dieser Chat ist nicht Ende-zu-Ende verschlüsselt!\",\n      \"go\": \"Go\",\n      \"nachricht\": \"Nachricht\",\n      \"no_chatroom_message\": \"Sie sind in keinem Chatraum eingetragen\",\n      \"no_private_message\": \"Sie haben noch keine privaten Nachrichten\",\n      \"pm_info\": \"Wenn Sie einen privaten Chat eröffnen wollen, dann gehen Sie bitte auf Matching und suchen die entsprechende Person!\",\n      \"private_nachricht\": \"Private Nachricht\",\n      \"private_nachrichten\": \"Private Nachrichten\",\n      \"privater_chat\": \"Privater Chat\",\n      \"um\": \"um\",\n      \"von\": \"Von\",\n      \"zurueck_nach_unten\": \"Zurück nach unten!\"\n    },\n    \"datenschutz\": \"Datenschutz\",\n    \"datum\": \"Datum\",\n    \"download\": \"Download\",\n    \"email\": {\n      \"password_forgot_subject\": \"Neues Passwort für {url}\"\n    },\n    \"filtern\": \"Filtern\",\n    \"fragebogen\": {\n      \"frist_abgelaufen_am\": \"Frist abgelaufen am\",\n      \"required_fields\": \"Bitte füllen Sie die rot umrandeten Felder aus.\"\n    },\n    \"gesamtprogramm\": \"Gesamtprogramm\",\n    \"impressum\": \"Impressum\",\n    \"kontakt\": \"Kontakt\",\n    \"link\": \"Link\",\n    \"link_oeffnen\": \"Link öffnen\",\n    \"loeschen\": \"Löschen\",\n    \"login\": {\n      \"already_registered_message\": \"Schon registriert? Jetzt einloggen!\",\n      \"bitte_loggen_sie_sich_ein\": \"Bitte loggen Sie sich ein\",\n      \"einloggen\": \"Einloggen\",\n      \"einloggen_lc\": \"einloggen\",\n      \"email\": \"E-Mail\",\n      \"hat_account_message\": \"Falls Sie schon einen Account haben, loggen Sie sich hier ein\",\n      \"jetzt\": \"Jetzt\",\n      \"jetzt_einloggen\": \"Jetzt einloggen\",\n      \"kein_account_message\": \"Wenn Sie noch nicht angemeldet sind, registrieren Sie sich bitte hier\",\n      \"login\": \"Login\",\n      \"login_mail_message\": \"Sie müssen sich einloggen um an diesem Event teilzunehmen. Klicken Sie dazu auf den Link aus der Einladungs E-Mail.\",\n      \"login_und_registrierung\": \"Login und Registrierung\",\n      \"nachname\": \"Nachname\",\n      \"neues_passwort_vergeben\": \"Neues Passwort vergeben\",\n      \"new_password_message\": \"Bitte vergeben Sie Ihr neues Passwort\",\n      \"not_registered_message\": \"Wenn Sie sich noch nicht registriert haben, können Sie dies unter folgendem\",\n      \"passwort\": \"Passwort\",\n      \"passwort_speichern\": \"Passwort speichern\",\n      \"passwort_vergessen\": \"Passwort vergessen\",\n      \"passwort_vergessen_email\": \"Wir haben Ihnen einen Link an Ihre hinterlegte E-Mail-Adresse gesendet.\",\n      \"passwort_wdh\": \"Passwort Wiederholung\",\n      \"register\": \"Ich stimme den Datenschutzbestimmungen zu. Den entsprechenden '<u>'Link zum Datenschutz'</u>' finden Sie mittig am Ende dieser Seite.\",\n      \"register_accept_privacy\": \"Bitte akzeptieren Sie die Datenschutzbestimmungen.\",\n      \"register_conformation_message\": \"Sie haben sich erfolgreich registriert. Sie erhalten in Kürze eine Bestätigungs-E-Mail mit Ihrem Login-Link.\",\n      \"registrierung\": \"Registrierung\",\n      \"resend_code_message\": \"Einladungs-Code erneut zusenden\",\n      \"reset_password_message\": \"Bitte geben Sie hier Ihre E-Mail-Adresse ein, um Ihr Passwort zurück zu setzen. Sie erhalten daraufhin eine E-Mail.\",\n      \"tun\": \"tun.\",\n      \"vorname\": \"Vorname\",\n      \"zum_login\": \"Zum Login\",\n      \"zur_registrierung\": \" Zur Registrierung\"\n    },\n    \"meeting\": {\n      \"no_meeting_message\": \"Sie sind für keine Video-Meeting eingetragen\",\n      \"video_meeting_beitreten\": \"Video Meeting beitreten\"\n    },\n    \"mehr\": \"Mehr\",\n    \"nav\": {\n      \"eingeloggt_als\": \"Eingeloggt als\"\n    },\n    \"oeffnen\": \"Öffnen\",\n    \"profil\": \"Profil\",\n    \"pwa\": {\n      \"gehe_zu\": \"Gehe zu\",\n      \"pwa_message_1\": \"Füge diese Web-App zu deinem\",\n      \"pwa_message_2\": \"Homescreen\",\n      \"pwa_message_3\": \"hinzu und nutze sie wie eine normale App auch ohne Internetverbindung.\",\n      \"und\": \"und\",\n      \"zum_home_bildschirm\": \"Zum Home-Bildschirm\"\n    },\n    \"schliessen\": \"Schließen\",\n    \"senden\": \"Senden\",\n    \"speichern\": \"Speichern\",\n    \"streaming\": {\n      \"3d_tooltip\": \"Hier gelangen Sie zu der 3D-Umgebung.\",\n      \"fullscreen_tooltip\": \"Vollbildmodus\",\n      \"stream_tooltip\": \"Wählen Sie aus einem Livestream aus.\"\n    },\n    \"ts\": {\n      \"end_before_start\": \"Die Startzeit liegt später als die Endzeit.\",\n      \"enter_mail\": \"Bitte geben Sie Ihre E-Mail an\",\n      \"fill_fields\": \"Bitte füllen Sie die rot umrandeten Felder aus.\",\n      \"link_expired\": \"Ihr Aktivierungslink ist abgelaufen. Wir haben Ihnen eine E-Mail mit einem neuen Link zugeschickt, bitte nutzen Sie diesen, um Ihren Account zu aktivieren.\",\n      \"login_error\": \"Login Fehler!\",\n      \"pass_mail_incorrect\": \"Dieser Benutzer ist uns nicht bekannt, oder das Passwort ist falsch\",\n      \"pass_not_identical\": \"Passwörter müssen identisch sein\",\n      \"pass_not_identical_2\": \"Ihre Passwörter sind nicht identisch.\",\n      \"pass_saved\": \"Ihr Passwort wurde gespeichert, bitte loggen Sie sich erneut ein.\",\n      \"pass_too_short\": \"Ihr Passwort muss mindestens aus 6 Zeichen bestehen\",\n      \"post_check_message\": \"Der Post wird nun geprüft und freigeschaltet!\",\n      \"resend_invite\": \"Wir haben Ihnen einen Link an Ihre hinterlegte E-Mail-Adresse gesendet.\",\n      \"reset_your_pw\": \"Bitte setzen Sie ihr Passwort zurück!\",\n      \"too_many_retries\": \"Sie haben Ihr Passwort zu oft falsch eingegeben. Bitte warten Sie einige Minuten!\",\n      \"user_activated_login\": \"Benutzer wurde aktiviert - Sie können sich nun einloggen\",\n      \"user_exits\": \"Benutzer wurde bereits registriert!\",\n      \"user_exits_login\": \"Der Benutzer wurde bereits registriert, bitte loggen Sie sich ein\",\n      \"user_not_found\": \"Wir haben diesen Benutzer nicht gefunden!\",\n      \"user_not_found2\": \"Der Benutzer wurde nicht gefunden. Für den Fall, dass Sie Ihren Account noch nicht aktiviert haben, haben wir Ihnen den Aktivierungslink noch einmal an Ihre angegebene E-Mail-Adresse geschickt.\",\n      \"vollbild_beenden\": \"Vollbild beenden\",\n      \"vote_message\": \"Hier können Sie abstimmen und somit die Reihenfolge der Fragen beeinflussen.\",\n      \"wrong_password\": \"Falsches Passwort?\"\n    },\n    \"verfuegbar\": \"Verfügbar\",\n    \"video_oeffnen\": \"Video öffnen\",\n    \"vote\": {\n      \"neu_laden\": \"neu laden\",\n      \"neuer_vorschlag\": \"Vielen Dank, Ihre Eingabe wurde erfolgreich übermittelt.\",\n      \"sie_haben\": \"Sie haben\",\n      \"stimme\": \"Stimme\",\n      \"stimmen\": \"Stimmen\",\n      \"vorschlagen\": \"vorschlagen\",\n      \"vote_inactive_message\": \"Umfrage aktuell nicht aktiv.\",\n      \"zu_der_auswertung\": \"Zu der Auswertung\",\n      \"zurueck_zur_umfrage\": \"zurück zur Umfrage\"\n    },\n    \"wall\": {\n      \"alle\": \"Alle\",\n      \"filtern\": \"Filtern\",\n      \"pinnwand\": \"Pinnwand\",\n      \"post_loeschen\": \"Post löschen\",\n      \"post_senden\": \"Post senden\"\n    },\n    \"weniger\": \"Weniger\",\n    \"zum_dashboard\": \"Zum Dashboard\",\n    \"zurueck\": \"Zurück\"\n  }], [\"en-us\", {\n    \"abmelden\": \"Logout\",\n    \"absenden\": \"submit\",\n    \"agenda\": {\n      \"beschreibung\": \"description\",\n      \"bis\": \"until\",\n      \"laufende_terminanfragen\": \"ongoing appointment requests\",\n      \"meine_agenda\": \"my agenda\",\n      \"meine_termine\": \"my appointments\",\n      \"no_appointments_agenda_message\": \"You don’t have any program items on your personal agenda.\",\n      \"no_appointments_message\": \"You haven't offered any appointments yet.\",\n      \"ort\": \"location\",\n      \"termin\": \"appointment\",\n      \"termin_anbieten\": \"offer an appointment\",\n      \"termine_anbieten\": \"offer dates\",\n      \"termine_verwalten\": \" Manage appointments.\",\n      \"uebernehmen\": \"take over\",\n      \"von\": \"from\"\n    },\n    \"anmeldung\": \"Registration\",\n    \"appointment\": {\n      \"ablehnen\": \"decline\",\n      \"anfrage\": \"request\",\n      \"angeboten_von_ihnen\": \"offered from you\",\n      \"angefragt_von\": \"requested by\",\n      \"bestaetigen\": \"confirm\",\n      \"bietet_aktuell_keine_Termine_an\": \"currently offers no dates\",\n      \"frei\": \"free\",\n      \"ihnen\": \"you\",\n      \"individuelle_terminanfrage_stellen\": \"Make an individual appointment request.\",\n      \"termin_aktualisieren\": \"update appointment\",\n      \"termin_anfragen\": \"request an appointment \",\n      \"termin_wird_angeboten_von\": \"appointment is offered by\",\n      \"termin_wird_angefragt_von\": \"appointment is requested by\",\n      \"termin_wurde_bestaetigt\": \"appointment was confirmed\",\n      \"termin_wurde_stoniert\": \"appointment was canceled\",\n      \"termin_wurde_storniert\": \"appointment was canceled\",\n      \"terminanfrage\": \"appointment request\",\n      \"terminanfrage_läuft\": \"appointment request running\",\n      \"uhr\": \"h\",\n      \"uhr_bis\": \"o'clock until\"\n    },\n    \"ausloggen\": \"log out\",\n    \"chat\": {\n      \"ete_message\": \"This chat is not end-to-end encrypted!\",\n      \"go\": \"go\",\n      \"nachricht\": \"message\",\n      \"no_chatroom_message\": \"you are not registered in any chat room\",\n      \"no_private_message\": \"you do not have any private messages\",\n      \"private_nachricht\": \"private newsletter\",\n      \"private_nachrichten\": \"private messages\",\n      \"privater_chat\": \"private chat\",\n      \"um\": \"at\",\n      \"von\": \"from\",\n      \"zurueck_nach_unten\": \"Back down!\"\n    },\n    \"datenschutz\": \"data protection\",\n    \"datum\": \"date\",\n    \"download\": \"download\",\n    \"email\": {\n      \"password_forgot_subject\": \"New password for {url}\"\n    },\n    \"filtern\": \"Filter\",\n    \"fragebogen\": {\n      \"frist_abgelaufen_am\": \"deadline expired on\",\n      \"required_fields\": \"Please fill in the fields outlined in red.\"\n    },\n    \"gesamtprogramm\": \"Agenda\",\n    \"impressum\": \"imprint\",\n    \"kontakt\": \"contact\",\n    \"link\": \"link\",\n    \"link_oeffnen\": \"open link\",\n    \"loeschen\": \"delete\",\n    \"login\": {\n      \"already_registered_message\": \"Are you registerd? Login now!\",\n      \"bitte_loggen_sie_sich_ein\": \"please login\",\n      \"einloggen\": \"login\",\n      \"einloggen_lc\": \"login\",\n      \"email\": \"email\",\n      \"hat_account_message\": \"If you don't have an account already, create one here\",\n      \"jetzt\": \"now\",\n      \"jetzt_einloggen\": \"login now\",\n      \"kein_account_message\": \"if you are not registered, please register here\",\n      \"login\": \"login\",\n      \"login_mail_message\": \"You need to login to participate in this event. Please click on the link from the invitation e-mail.\",\n      \"login_und_registrierung\": \"login and sign-up\",\n      \"nachname\": \"lastname\",\n      \"neues_passwort_vergeben\": \"assign new password\",\n      \"new_password_message\": \"please enter your new password\",\n      \"not_registered_message\": \"If you have not registered, you can do so under the following\",\n      \"passwort\": \"password\",\n      \"passwort_speichern\": \"save password\",\n      \"passwort_vergessen\": \"forgot password\",\n      \"passwort_wdh\": \"password repetition\",\n      \"register\": \"I accept the data protection regulations\",\n      \"register_accept_privacy\": \"Please accept the data protection regulations\",\n      \"register_conformation_message\": \" You have successfully registered. You will shortly receive a confirmation e-mail with your login link.\",\n      \"registrierung\": \"sign-up\",\n      \"resend_code_message\": \"Send invitation code again\",\n      \"reset_password_message\": \"Please enter your email address to reset your password. Then you will receive an email.\",\n      \"tun\": \"do.\",\n      \"vorname\": \"firstname\",\n      \"zum_login\": \"login\",\n      \"zur_registrierung\": \"sign-up\"\n    },\n    \"meeting\": {\n      \"no_meeting_message\": \" You are not registered for any video meeting.\",\n      \"video_meeting_beitreten\": \"join video meeting\"\n    },\n    \"mehr\": \"More\",\n    \"nav\": {\n      \"eingeloggt_als\": \"logged in as\"\n    },\n    \"oeffnen\": \"open\",\n    \"profil\": \"account\",\n    \"pwa\": {\n      \"gehe_zu\": \"go to\",\n      \"pwa_message_1\": \"Add this web app to your\",\n      \"pwa_message_2\": \"home screen\",\n      \"pwa_message_3\": \"and use it like a normal app even without an internet connection.\",\n      \"und\": \"and\",\n      \"zum_home_bildschirm\": \"to the home screen\"\n    },\n    \"schliessen\": \"close\",\n    \"senden\": \"send\",\n    \"speichern\": \"save\",\n    \"streaming\": {\n      \"3d_tooltip\": \"Here you will get to the 3D environment.\",\n      \"fullscreen_tooltip\": \"fullscreen mode\",\n      \"stream_tooltip\": \"Choose one of the live streams.\"\n    },\n    \"ts\": {\n      \"end_before_start\": \"The start time is later than the end time.\",\n      \"enter_mail\": \"please enter your email\",\n      \"fill_fields\": \"Please complete the red fields.\",\n      \"link_expired\": \" Your activation link has expired. We have sent you an email with a new link. Please use it to activate your account.\",\n      \"login_error\": \"login error!\",\n      \"pass_mail_incorrect\": \"This user is not known to us, or the password is incorrect.\",\n      \"pass_not_identical\": \"passwords must be identical\",\n      \"pass_not_identical_2\": \"Your password is not identical.\",\n      \"pass_saved\": \"Your password has been stored, please log in again.\",\n      \"pass_too_short\": \"our password shall have a minimum length of 6 character\",\n      \"post_check_message\": \" The post is now checked and unlocked!\",\n      \"reset_your_pw\": \"Please reset your password!\",\n      \"user_activated_login\": \"Your account has been successfully activated – please login \",\n      \"user_exits\": \"User has already registered!\",\n      \"user_exits_login\": \"The user has already been registered, please log in\",\n      \"user_not_found\": \"User not found!\",\n      \"vollbild_beenden\": \"exit full screen mode\",\n      \"vote_message\": \"Here you can vote and thus influence the order of the questions.\",\n      \"wrong_password\": \"wrong password?\"\n    },\n    \"verfuegbar\": \"available\",\n    \"video_oeffnen\": \"open video\",\n    \"vote\": {\n      \"sie_haben\": \"you have\",\n      \"stimme\": \"vote\",\n      \"stimmen\": \"vote\",\n      \"vorschlagen\": \"suggest\",\n      \"vote_inactive_message\": \"Survey currently not active.\",\n      \"zu_der_auswertung\": \"to the evaluation\",\n      \"zurueck_zur_umfrage\": \"Back to the vote\"\n    },\n    \"wall\": {\n      \"alle\": \"all\",\n      \"filtern\": \"screen\",\n      \"pinnwand\": \"pinboard\",\n      \"post_loeschen\": \"delete the message\",\n      \"post_senden\": \"mail\"\n    },\n    \"weniger\": \"Less\",\n    \"zum_dashboard\": \"to the dashboard\",\n    \"zurueck\": \"back\"\n  }]];\n  _exports.default = _default;\n});","define(\"ember-is-mobile/helpers/is-mobile\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class, _descriptor;\n\n  let IsMobile = (_dec = Ember.inject.service, (_class = class IsMobile extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      (0, _initializerDefineProperty2.default)(this, \"isMobile\", _descriptor, this);\n    }\n\n    compute([param]) {\n      if (param) {\n        let test = Ember.get(this.isMobile.tests, param);\n        return typeof test === 'undefined' ? false : test;\n      }\n\n      return this.isMobile.tests;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isMobile\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class));\n  _exports.default = IsMobile;\n});","define(\"ember-is-mobile/index\", [\"exports\", \"ismobilejs\"], function (_exports, _ismobilejs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _ismobilejs.default;\n  _exports.default = _default;\n});","define(\"ember-is-mobile/services/is-mobile\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-is-mobile\"], function (_exports, _defineProperty2, _emberIsMobile) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * The attributes returned by isMobile are accessible. However, they should be\n   * accessed using the `get` helper, since they may be undefined if the user\n   * agent header is blank.\n   */\n  class IsMobileService extends Ember.Service {\n    get fastboot() {\n      return Ember.getOwner(this).lookup('service:fastboot');\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"tests\", {});\n      let tests;\n\n      if (this.fastboot !== undefined && this.fastboot.isFastBoot) {\n        let headers = this.fastboot.request.headers;\n        let userAgent = headers.headers['user-agent']; // isMobile tries to fetch `navigator` if we give it a blank user agent.\n\n        if (Ember.isBlank(userAgent)) {\n          return;\n        }\n\n        tests = (0, _emberIsMobile.default)(userAgent[0]);\n      } else {\n        tests = (0, _emberIsMobile.default)();\n      }\n\n      for (let media in tests) {\n        this[media] = tests[media];\n      }\n\n      this.tests = tests;\n    }\n\n  }\n\n  _exports.default = IsMobileService;\n});","define(\"ember-load-initializers/index\", [\"exports\", \"require\"], function (_exports, _require) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = loadInitializers;\n\n  function resolveInitializer(moduleName) {\n    var module = (0, _require.default)(moduleName, null, null, true);\n\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n\n    var initializer = module['default'];\n\n    if (!initializer) {\n      throw new Error(moduleName + ' must have a default export');\n    }\n\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n\n    return initializer;\n  }\n\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  function registerInstanceInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.instanceInitializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n\n  function _endsWith(str, suffix) {\n    return str.indexOf(suffix, str.length - suffix.length) !== -1;\n  }\n  /**\n   * Configure your application as it boots\n   */\n\n\n  function loadInitializers(app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = []; // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n\n    var moduleNames = Object.keys(requirejs._eak_seen);\n\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\n\n      if (moduleName.lastIndexOf(initializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          initializers.push(moduleName);\n        }\n      } else if (moduleName.lastIndexOf(instanceInitializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          instanceInitializers.push(moduleName);\n        }\n      }\n    }\n\n    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  }\n});","define(\"ember-macro-helpers/-build-computed\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  _exports.buildCurriedComputed = buildCurriedComputed;\n\n  function parseComputedArgs(args) {\n    return {\n      keys: args.slice(0, -1),\n      callback: args[args.length - 1]\n    };\n  }\n\n  function buildCallback({\n    incomingCallback,\n    createArgs\n  }) {\n    let newCallback;\n\n    if (typeof incomingCallback === 'function') {\n      newCallback = function (key) {\n        return incomingCallback.apply(this, createArgs(this, key));\n      };\n    } else {\n      newCallback = {};\n\n      if (incomingCallback.get) {\n        newCallback.get = function (key) {\n          return incomingCallback.get.apply(this, createArgs(this, key));\n        };\n      }\n\n      if (incomingCallback.set) {\n        newCallback.set = function (key, value) {\n          return incomingCallback.set.call(this, value, ...createArgs(this, key));\n        };\n      }\n    }\n\n    return newCallback;\n  }\n\n  function _default({\n    collapseKeys,\n    getValue,\n    flattenKeys,\n    isLazy\n  }) {\n    return function (...args) {\n      let {\n        keys,\n        callback: incomingCallback\n      } = parseComputedArgs(args);\n      let collapsedKeys = collapseKeys(keys);\n\n      function createArgs(context, key) {\n        let bundledKeys = collapsedKeys.map(macro => ({\n          context,\n          macro,\n          key\n        }));\n        let values;\n\n        if (isLazy) {\n          values = bundledKeys.slice();\n          values.splice(0, 0, getValue);\n        } else {\n          values = bundledKeys.map(getValue);\n        }\n\n        return values;\n      }\n\n      let newCallback = buildCallback({\n        incomingCallback,\n        createArgs\n      });\n      return Ember.computed(...flattenKeys(keys), newCallback);\n    };\n  }\n\n  function buildCurriedComputed(computed) {\n    return function (callback) {\n      return function () {\n        return computed(...arguments, callback);\n      };\n    };\n  }\n});","define(\"ember-macro-helpers/-constants\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ARRAY_LENGTH = _exports.ARRAY_EACH = void 0;\n  const ARRAY_EACH = '@each.';\n  _exports.ARRAY_EACH = ARRAY_EACH;\n  const ARRAY_LENGTH = '[]';\n  _exports.ARRAY_LENGTH = ARRAY_LENGTH;\n});","define(\"ember-macro-helpers/collapse-key\", [\"exports\", \"ember-macro-helpers/expand-property\", \"ember-macro-helpers/-constants\"], function (_exports, _expandProperty, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = collapseKey;\n\n  function collapseAndPruneDuplicates(expandedProperties) {\n    return expandedProperties.map(collapseKey).reduce((properties, collapsedProperties) => {\n      let uniqueProperties = collapsedProperties.filter(collapsedProperty => {\n        return properties.indexOf(collapsedProperty) === -1;\n      });\n      return properties.concat(uniqueProperties);\n    }, []);\n  }\n\n  function collapseKey(property) {\n    if (typeof property !== 'string') {\n      return [property];\n    }\n\n    let expandedProperties = (0, _expandProperty.default)(property);\n\n    if (expandedProperties.length > 1) {\n      return collapseAndPruneDuplicates(expandedProperties);\n    }\n\n    let arrayIndex = property.indexOf(_constants.ARRAY_EACH);\n\n    if (arrayIndex === -1) {\n      arrayIndex = property.indexOf(_constants.ARRAY_LENGTH);\n    }\n\n    if (arrayIndex === 0) {\n      // empty string will be handled later by `getValue`\n      // and will convert to `this`\n      return [''];\n    } else if (arrayIndex > 0) {\n      return [property.slice(0, arrayIndex - 1)];\n    }\n\n    return (0, _expandProperty.default)(property);\n  }\n});","define(\"ember-macro-helpers/collapse-keys\", [\"exports\", \"ember-macro-helpers/collapse-key\"], function (_exports, _collapseKey) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.collapseKeysWithMap = collapseKeysWithMap;\n  _exports.default = _default;\n\n  function collapseKeysWithMap(keys) {\n    let collapsedKeys = [];\n    let keyMap = [];\n    keys.forEach(key => {\n      let array = (0, _collapseKey.default)(key);\n      collapsedKeys = collapsedKeys.concat(array);\n      let i;\n\n      if (keyMap.length) {\n        i = keyMap[keyMap.length - 1] + 1;\n      } else {\n        i = 0;\n      }\n\n      keyMap = keyMap.concat(array.map(() => i));\n    });\n    return {\n      collapsedKeys,\n      keyMap\n    };\n  }\n\n  function _default(keys) {\n    return collapseKeysWithMap(keys).collapsedKeys;\n  }\n});","define(\"ember-macro-helpers/computed-unsafe\", [\"exports\", \"ember-macro-helpers/-build-computed\", \"ember-macro-helpers/get-value-unsafe\", \"ember-macro-helpers/flatten-keys-unsafe\"], function (_exports, _buildComputed, _getValueUnsafe, _flattenKeysUnsafe) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const collapseKeys = keys => keys;\n\n  var _default = (0, _buildComputed.default)({\n    collapseKeys,\n    getValue: _getValueUnsafe.default,\n    flattenKeys: _flattenKeysUnsafe.default\n  });\n\n  _exports.default = _default;\n});","define(\"ember-macro-helpers/computed\", [\"exports\", \"ember-macro-helpers/-build-computed\", \"ember-macro-helpers/collapse-keys\", \"ember-macro-helpers/get-value\", \"ember-macro-helpers/flatten-keys\"], function (_exports, _buildComputed, _collapseKeys, _getValue, _flattenKeys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _buildComputed.default)({\n    collapseKeys: _collapseKeys.default,\n    getValue: _getValue.default,\n    flattenKeys: _flattenKeys.default\n  });\n\n  _exports.default = _default;\n});","define(\"ember-macro-helpers/create-class-computed\", [\"exports\", \"ember-macro-helpers/get-value\", \"ember-macro-helpers/collapse-keys\", \"ember-macro-helpers/flatten-keys\", \"ember-macro-helpers/-constants\"], function (_exports, _getValue, _collapseKeys, _flattenKeys, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  // import { getOwner } from '@ember/application';\n  const PROPERTIES = new WeakMap();\n\n  function findOrCreatePropertyInstance(context, propertyClass, key, cp) {\n    let propertiesForContext = PROPERTIES.get(context);\n\n    if (!propertiesForContext) {\n      propertiesForContext = new WeakMap();\n      PROPERTIES.set(context, propertiesForContext);\n    }\n\n    let property = propertiesForContext.get(cp);\n\n    if (property) {\n      return property;\n    } // let owner = getOwner(context);\n\n\n    property = propertyClass.create(\n    /* owner.ownerInjection(), */\n    {\n      key,\n      context,\n      nonStrings: Ember.Object.create()\n    });\n    propertiesForContext.set(cp, property);\n\n    if (context instanceof Ember.Component) {\n      context.one('willDestroyElement', () => {\n        property.destroy();\n      });\n    }\n\n    return property;\n  }\n\n  const BaseClass = Ember.Object.extend({\n    // eslint-disable-next-line ember/no-observers\n    computedDidChange: Ember.observer('computed', function () {\n      let {\n        context,\n        key,\n        preventDoubleRender\n      } = this;\n\n      if (context.isDestroying) {\n        // controllers can get into this state\n        this.destroy();\n        return;\n      }\n\n      if (preventDoubleRender) {\n        return;\n      }\n\n      context.notifyPropertyChange(key);\n    })\n  });\n\n  function resolveMappedLocation(key, i) {\n    if (typeof key === 'string') {\n      return `context.${key}`;\n    } else {\n      return `nonStrings.${i}`;\n    }\n  }\n\n  function _default(observerBools, macroGenerator) {\n    return function (...keys) {\n      let {\n        collapsedKeys,\n        keyMap\n      } = (0, _collapseKeys.collapseKeysWithMap)(keys);\n\n      function getOriginalArrayDecorator(key, i) {\n        if (typeof key === 'string') {\n          let originalKey = keys[keyMap[i]];\n\n          if (originalKey.indexOf(_constants.ARRAY_EACH) !== -1 || originalKey.indexOf(_constants.ARRAY_LENGTH) !== -1) {\n            return originalKey;\n          }\n        }\n\n        return key;\n      }\n\n      let mappedKeys = [];\n\n      function rewriteComputed(obj, key) {\n        let mappedWithResolvedOberverKeys = mappedKeys.map((macro, i) => {\n          let shouldObserve = observerBools[i];\n\n          if (shouldObserve) {\n            macro = (0, _getValue.default)({\n              context: this,\n              macro,\n              key\n            });\n          }\n\n          return macro;\n        });\n        let cp = macroGenerator.apply(this, mappedWithResolvedOberverKeys);\n        Ember.defineProperty(this, 'computed', cp);\n      }\n\n      let classProperties = {};\n      collapsedKeys.forEach((key, i) => {\n        let shouldObserve = observerBools[i];\n\n        if (!shouldObserve) {\n          key = getOriginalArrayDecorator(key, i);\n        }\n\n        let mappedKey = resolveMappedLocation(key, i);\n        mappedKeys.push(mappedKey);\n\n        if (shouldObserve) {\n          // eslint-disable-next-line ember/no-observers\n          classProperties[`key${i}DidChange`] = Ember.observer(mappedKey, rewriteComputed);\n        }\n      });\n      let ObserverClass = BaseClass.extend(classProperties, {\n        // can't use rewriteComputed directly, maybe a bug\n        // https://github.com/emberjs/ember.js/issues/15246\n        onInit: Ember.on('init', function () {\n          rewriteComputed.call(this);\n        })\n      });\n      let cp = Ember.computed(...(0, _flattenKeys.default)(keys), function (key) {\n        let propertyInstance = findOrCreatePropertyInstance(this, ObserverClass, key, cp);\n        let properties = collapsedKeys.reduce((properties, macro, i) => {\n          if (typeof macro !== 'string') {\n            properties[i.toString()] = (0, _getValue.default)({\n              context: this,\n              macro,\n              key\n            });\n          }\n\n          return properties;\n        }, {}); // eslint-disable-next-line ember/no-side-effects\n\n        Ember.set(propertyInstance, 'preventDoubleRender', true); // eslint-disable-next-line ember/no-side-effects\n\n        Ember.setProperties(propertyInstance.nonStrings, properties); // eslint-disable-next-line ember/no-side-effects\n\n        Ember.set(propertyInstance, 'preventDoubleRender', false);\n        return Ember.get(propertyInstance, 'computed');\n      }).readOnly();\n      return cp;\n    };\n  }\n});","define(\"ember-macro-helpers/curried-computed\", [\"exports\", \"ember-macro-helpers/-build-computed\", \"ember-macro-helpers/computed\"], function (_exports, _buildComputed, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _buildComputed.buildCurriedComputed)(_computed.default);\n\n  _exports.default = _default;\n});","define(\"ember-macro-helpers/expand-property-list\", [\"exports\", \"ember-macro-helpers/expand-property\"], function (_exports, _expandProperty) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(propertyList) {\n    return propertyList.reduce((newPropertyList, property) => {\n      return newPropertyList.concat((0, _expandProperty.default)(property));\n    }, []);\n  }\n});","define(\"ember-macro-helpers/expand-property\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(property) {\n    let newPropertyList = [];\n    Ember.expandProperties(property, expandedProperties => {\n      newPropertyList = newPropertyList.concat(expandedProperties);\n    });\n    return newPropertyList;\n  }\n});","define(\"ember-macro-helpers/flatten-keys-unsafe\", [\"exports\", \"ember-macro-helpers/flatten-keys\"], function (_exports, _flattenKeys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(keys) {\n    let flattenedKeys = (0, _flattenKeys.default)(keys);\n    return flattenedKeys.reduce((flattenedKeys, key) => {\n      // keys with spaces throw an exception\n      // treat as a literal and ignore\n      let hasSpaces = key.indexOf(' ') !== -1;\n\n      if (!hasSpaces) {\n        flattenedKeys.push(key);\n      }\n\n      return flattenedKeys;\n    }, []);\n  }\n});","define(\"ember-macro-helpers/flatten-keys\", [\"exports\", \"ember-macro-helpers/-computed-store\"], function (_exports, _computedStore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function flattenKey(key, flattenedKeys) {\n    let cp = _computedStore.default.get(key);\n\n    if (cp) {\n      return _flattenKeys(cp.dependentKeys, flattenedKeys);\n    }\n\n    if (typeof key !== 'string') {\n      return key;\n    }\n\n    flattenedKeys.push(key);\n  }\n\n  function _flattenKeys(keys, flattenedKeys) {\n    keys.forEach(key => {\n      flattenKey(key, flattenedKeys);\n    });\n  }\n\n  function _default(keys) {\n    let flattenedKeys = [];\n\n    _flattenKeys(keys.slice(0, -1), flattenedKeys);\n\n    let lastKey = keys[keys.length - 1];\n\n    if (lastKey) {\n      let lastValue = flattenKey(lastKey, flattenedKeys);\n\n      if (lastValue) {\n        if (lastValue.get) {\n          flattenKey(lastValue.get, flattenedKeys);\n        }\n\n        if (lastValue.set) {\n          flattenKey(lastValue.set, flattenedKeys);\n        }\n      }\n    }\n\n    return flattenedKeys;\n  }\n});","define(\"ember-macro-helpers/get-value-unsafe\", [\"exports\", \"ember-macro-helpers/get-value\"], function (_exports, _getValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(options = {}) {\n    let value = (0, _getValue.default)(options);\n\n    if (value !== undefined) {\n      return value;\n    }\n\n    return options.macro;\n  }\n});","define(\"ember-macro-helpers/get-value\", [\"exports\", \"ember-macro-helpers/-computed-store\"], function (_exports, _computedStore) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default({\n    context,\n    macro,\n    key\n  } = {}) {\n    let cp = _computedStore.default.get(macro);\n\n    if (cp) {\n      return cp.getter.call(context, key);\n    }\n\n    if (typeof macro !== 'string') {\n      return macro;\n    }\n\n    if (Ember.isBlank(macro)) {\n      // the macro was `[]' or `@each.key', which has been trimmed, leaving a\n      // blank string, so return the context (which is likely an ArrayProxy)\n      return context;\n    }\n\n    return Ember.get(context, macro);\n  }\n});","define(\"ember-macro-helpers/index\", [\"exports\", \"ember-macro-helpers/computed\", \"ember-macro-helpers/create-class-computed\", \"ember-macro-helpers/curried-computed\", \"ember-macro-helpers/lazy-computed\", \"ember-macro-helpers/lazy-curried-computed\", \"ember-macro-helpers/literal\", \"ember-macro-helpers/raw\", \"ember-macro-helpers/reads\", \"ember-macro-helpers/writable\"], function (_exports, _computed, _createClassComputed, _curriedComputed, _lazyComputed, _lazyCurriedComputed, _literal, _raw, _reads, _writable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"computed\", {\n    enumerable: true,\n    get: function () {\n      return _computed.default;\n    }\n  });\n  Object.defineProperty(_exports, \"createClassComputed\", {\n    enumerable: true,\n    get: function () {\n      return _createClassComputed.default;\n    }\n  });\n  Object.defineProperty(_exports, \"curriedComputed\", {\n    enumerable: true,\n    get: function () {\n      return _curriedComputed.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lazyComputed\", {\n    enumerable: true,\n    get: function () {\n      return _lazyComputed.default;\n    }\n  });\n  Object.defineProperty(_exports, \"lazyCurriedComputed\", {\n    enumerable: true,\n    get: function () {\n      return _lazyCurriedComputed.default;\n    }\n  });\n  Object.defineProperty(_exports, \"literal\", {\n    enumerable: true,\n    get: function () {\n      return _literal.default;\n    }\n  });\n  Object.defineProperty(_exports, \"raw\", {\n    enumerable: true,\n    get: function () {\n      return _raw.default;\n    }\n  });\n  Object.defineProperty(_exports, \"reads\", {\n    enumerable: true,\n    get: function () {\n      return _reads.default;\n    }\n  });\n  Object.defineProperty(_exports, \"writable\", {\n    enumerable: true,\n    get: function () {\n      return _writable.default;\n    }\n  });\n});","define(\"ember-macro-helpers/lazy-computed\", [\"exports\", \"ember-macro-helpers/-build-computed\", \"ember-macro-helpers/collapse-keys\", \"ember-macro-helpers/get-value\", \"ember-macro-helpers/flatten-keys\"], function (_exports, _buildComputed, _collapseKeys, _getValue, _flattenKeys) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _buildComputed.default)({\n    collapseKeys: _collapseKeys.default,\n    getValue: _getValue.default,\n    flattenKeys: _flattenKeys.default,\n    isLazy: true\n  });\n\n  _exports.default = _default;\n});","define(\"ember-macro-helpers/lazy-curried-computed\", [\"exports\", \"ember-macro-helpers/-build-computed\", \"ember-macro-helpers/lazy-computed\"], function (_exports, _buildComputed, _lazyComputed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = (0, _buildComputed.buildCurriedComputed)(_lazyComputed.default);\n\n  _exports.default = _default;\n});","define(\"ember-macro-helpers/literal\", [\"exports\", \"ember-macro-helpers/raw\"], function (_exports, _raw) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _raw.default;\n    }\n  });\n});","define(\"ember-macro-helpers/normalize-array-key\", [\"exports\", \"ember-macro-helpers/-constants\"], function (_exports, _constants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(array, keys = []) {\n    // this macro support should be extracted out\n    // we should only deal with string keys in here\n    if (typeof array !== 'string') {\n      return array;\n    }\n\n    let props;\n    let i = array.indexOf(_constants.ARRAY_EACH);\n\n    if (i !== -1) {\n      let chain = array.split('.');\n      let end = chain[chain.length - 1];\n\n      if (end.indexOf('{') === 0) {\n        props = end.substring(1, end.length - 1).split(',');\n      } else {\n        props = [end];\n      }\n    } else {\n      i = array.indexOf(_constants.ARRAY_LENGTH);\n      props = [];\n    }\n\n    if (i === 0) {\n      // empty string will be handled later by `getValue`\n      // and will convert to `this`\n      array = '';\n    } else if (i > 0) {\n      array = array.slice(0, i - 1);\n    }\n\n    keys.forEach(key => {\n      // key could be a promise proxy and not resolved yet\n      if (key === undefined) {\n        return;\n      }\n\n      if (props.indexOf(key) === -1) {\n        props.push(key);\n      }\n    });\n    let suffix;\n\n    if (props.length === 0) {\n      suffix = _constants.ARRAY_LENGTH;\n    } else {\n      suffix = _constants.ARRAY_EACH;\n\n      if (props.length === 1) {\n        suffix += props[0];\n      } else {\n        suffix += `{${props.join(',')}}`;\n      }\n    }\n\n    return Ember.isBlank(array) ? suffix : `${array}.${suffix}`;\n  }\n});","define(\"ember-macro-helpers/raw\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(key) {\n    return Ember.computed(() => key).readOnly();\n  }\n});","define(\"ember-macro-helpers/reads\", [\"exports\", \"ember-macro-helpers/writable\"], function (_exports, _writable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _writable.default;\n    }\n  });\n});","define(\"ember-macro-helpers/writable\", [\"exports\", \"ember-macro-helpers/computed\"], function (_exports, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n\n  function _default(getter, setterCallback) {\n    let newCallback = {\n      get(val) {\n        return val;\n      }\n\n    };\n\n    if (setterCallback) {\n      if (typeof setterCallback === 'object' && setterCallback.set) {\n        newCallback.set = setterCallback.set;\n      } else {\n        newCallback.set = function () {\n          return setterCallback.apply(this, arguments);\n        };\n      }\n    }\n\n    return (0, _computed.default)(getter, newCallback);\n  }\n});","define(\"ember-math-helpers/helpers/abs\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.abs = abs;\n  _exports.default = void 0;\n\n  /**\n   * Uses `Math.abs` to take the absolute value of the number passed to the helper.\n   *\n   * ```hbs\n   * {{abs a}}\n   * ```\n   *\n   * @param {number} number The number to take the absolute value of\n   * @return {number} The absolute value of the passed number\n   */\n  function abs([number]) {\n    return Math.abs(number);\n  }\n\n  var _default = Ember.Helper.helper(abs);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/acos\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.acos = acos;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.acos` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{acos a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.acos`\n   * @return {number} The acos of the passed number\n   */\n  function acos([number]) {\n    return Math.acos(number);\n  }\n\n  var _default = Ember.Helper.helper(acos);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/acosh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.acosh = acosh;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.acosh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{acosh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.acosh`\n   * @return {number} The acosh of the passed number\n   */\n  function acosh([number]) {\n    return Math.acosh(number);\n  }\n\n  var _default = Ember.Helper.helper(acosh);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/add\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.add = add;\n  _exports.default = void 0;\n\n  /**\n   * Sums two or more numbers\n   *\n   * ```hbs\n   * {{add a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to sum\n   * @return {number} The sum of all the passed numbers\n   */\n  function add(numbers) {\n    return numbers.reduce((a, b) => Number(a) + Number(b));\n  }\n\n  var _default = Ember.Helper.helper(add);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/asin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asin = asin;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.asin` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{asin a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.asin`\n   * @return {number} The asin of the passed number\n   */\n  function asin([number]) {\n    return Math.asin(number);\n  }\n\n  var _default = Ember.Helper.helper(asin);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/asinh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asinh = asinh;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.asinh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{asinh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.asinh`\n   * @return {number} The asinh of the passed number\n   */\n  function asinh([number]) {\n    return Math.asinh(number);\n  }\n\n  var _default = Ember.Helper.helper(asinh);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/atan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atan = atan;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.atan` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{atan a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.atan`\n   * @return {number} The atan of the passed number\n   */\n  function atan([number]) {\n    return Math.atan(number);\n  }\n\n  var _default = Ember.Helper.helper(atan);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/atan2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atan2 = atan2;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.atan2` on the numbers passed to the helper.\n   *\n   * ```hbs\n   * {{atan2 a b}}\n   * ```\n   *\n   * @param {number} number1 The first number to pass to `Math.atan2`\n   * @param {number} number2 The second number to pass to `Math.atan2`\n   * @return {number} The atan2 of the passed numbers\n   */\n  function atan2([number1, number2]) {\n    return Math.atan2(number1, number2);\n  }\n\n  var _default = Ember.Helper.helper(atan2);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/atanh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atanh = atanh;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.atanh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{atanh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.atanh`\n   * @return {number} The atanh of the passed number\n   */\n  function atanh([number]) {\n    return Math.atanh(number);\n  }\n\n  var _default = Ember.Helper.helper(atanh);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/cbrt\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cbrt = cbrt;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.cbrt` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cbrt a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cbrt`\n   * @return {number} The cbrt of the passed number\n   */\n  function cbrt([number]) {\n    return Math.cbrt(number);\n  }\n\n  var _default = Ember.Helper.helper(cbrt);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/ceil\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ceil = ceil;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.ceil` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{ceil a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.ceil`\n   * @return {number} The ceil of the passed number\n   */\n  function ceil([number]) {\n    return Math.ceil(number);\n  }\n\n  var _default = Ember.Helper.helper(ceil);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/clz32\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.clz32 = clz32;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.clz32` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{clz32 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.clz32`\n   * @return {number} The clz32 of the passed number\n   */\n  function clz32([number]) {\n    return Math.clz32(number);\n  }\n\n  var _default = Ember.Helper.helper(clz32);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/cos\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cos = cos;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.cos` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cos a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cos`\n   * @return {number} The cos of the passed number\n   */\n  function cos([number]) {\n    return Math.cos(number);\n  }\n\n  var _default = Ember.Helper.helper(cos);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/cosh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cosh = cosh;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.cosh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cosh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cosh`\n   * @return {number} The cosh of the passed number\n   */\n  function cosh([number]) {\n    return Math.cosh(number);\n  }\n\n  var _default = Ember.Helper.helper(cosh);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/div\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.div = div;\n  _exports.default = void 0;\n\n  /**\n   * Divides two or more numbers\n   *\n   * ```hbs\n   * {{div a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to divide\n   * @return {number} The result of dividing all the passed numbers\n   */\n  function div(numbers) {\n    return numbers.reduce((a, b) => Number(a) / Number(b));\n  }\n\n  var _default = Ember.Helper.helper(div);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/exp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.exp = exp;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.exp` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{exp a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.exp`\n   * @return {number} The exp of the passed number\n   */\n  function exp([number]) {\n    return Math.exp(number);\n  }\n\n  var _default = Ember.Helper.helper(exp);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/expm1\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.expm1 = expm1;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.expm1` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{expm1 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.expm1`\n   * @return {number} The expm1 of the passed number\n   */\n  function expm1([number]) {\n    return Math.expm1(number);\n  }\n\n  var _default = Ember.Helper.helper(expm1);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/floor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.floor = floor;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.floor` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{floor a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.floor`\n   * @return {number} The floor of the passed number\n   */\n  function floor([number]) {\n    return Math.floor(number);\n  }\n\n  var _default = Ember.Helper.helper(floor);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/fround\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.fround = fround;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.fround` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{fround a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.fround`\n   * @return {number} The fround of the passed number\n   */\n  function fround([number]) {\n    return Math.fround(number);\n  }\n\n  var _default = Ember.Helper.helper(fround);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/gcd\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.gcd = gcd;\n  _exports.default = void 0;\n\n  /**\n   * Returns the greatest positive integer that divides each of two integers\n   *\n   * ```hbs\n   * {{gcd a b}}\n   * ```\n   *\n   * @param {number} number1 The first number\n   * @param {number} number2 The second number\n   * @return {number} The GCD of the two numbers passed\n   */\n  function gcd([number1 = 0, number2 = 0]) {\n    const a = Math.abs(number1);\n    const b = Math.abs(number2);\n\n    if (a === 0) {\n      return b;\n    }\n\n    if (b === 0) {\n      return a;\n    }\n\n    return gcd([b, a % b]);\n  }\n\n  var _default = Ember.Helper.helper(gcd);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/hypot\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hypot = hypot;\n  _exports.default = void 0;\n\n  /**\n   * Takes two or more numbers, and returns the square root of the sum of squares of them using `Math.hypot`\n   *\n   * ```hbs\n   * {{max a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.hypot`\n   * @return {number} The hypot of the set of numbers\n   */\n  function hypot(numbers) {\n    return Math.hypot(...numbers);\n  }\n\n  var _default = Ember.Helper.helper(hypot);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/imul\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.imul = imul;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.imul` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{imul a}}\n   * ```\n   *\n   * @param {number} number1 The first number to pass to `Math.imul`\n   * @param {number} number2 The second number to pass to `Math.imul`\n   * @return {number} The imul of the passed numbers\n   */\n  function imul([number1, number2]) {\n    return Math.imul(number1, number2);\n  }\n\n  var _default = Ember.Helper.helper(imul);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/lcm\", [\"exports\", \"ember-math-helpers/helpers/gcd\"], function (_exports, _gcd) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.lcm = lcm;\n  _exports.default = void 0;\n\n  /**\n   * Returns the smallest positive integer that is divisible by both number1 and number2\n   *\n   * ```hbs\n   * {{lcm a b}}\n   * ```\n   *\n   * @param {number} number1 The first number\n   * @param {number} number2 The second number\n   * @return {number} The LCM of the two numbers passed\n   */\n  function lcm([number1 = 0, number2 = 0]) {\n    return number1 === 0 || number2 === 0 ? 0 : Math.abs(number1 * number2) / (0, _gcd.gcd)([number1, number2]);\n  }\n\n  var _default = Ember.Helper.helper(lcm);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/log-e\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.logE = logE;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.log` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log-e a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log`\n   * @return {number} The log of the passed number\n   */\n  function logE([number]) {\n    return Math.log(number);\n  }\n\n  var _default = Ember.Helper.helper(logE);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/log10\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.log10 = log10;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.log10` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log10 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log10`\n   * @return {number} The log10 of the passed number\n   */\n  function log10([number]) {\n    return Math.log10(number);\n  }\n\n  var _default = Ember.Helper.helper(log10);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/log1p\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.log1p = log1p;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.log1p` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log1p a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log1p`\n   * @return {number} The log1p of the passed number\n   */\n  function log1p([number]) {\n    return Math.log1p(number);\n  }\n\n  var _default = Ember.Helper.helper(log1p);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/log2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.log2 = log2;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.log2` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log2 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log2`\n   * @return {number} The log2 of the passed number\n   */\n  function log2([number]) {\n    return Math.log2(number);\n  }\n\n  var _default = Ember.Helper.helper(log2);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/max\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.max = max;\n  _exports.default = void 0;\n\n  /**\n   * Takes two or more numbers, and finds the max of the set using `Math.max`\n   *\n   * ```hbs\n   * {{max a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.max`\n   * @return {number} The max of the set of numbers\n   */\n  function max(numbers) {\n    return Math.max(...numbers);\n  }\n\n  var _default = Ember.Helper.helper(max);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/min\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.min = min;\n  _exports.default = void 0;\n\n  /**\n   * Takes two or more numbers, and finds the min of the set using `Math.min`\n   *\n   * ```hbs\n   * {{min a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.min`\n   * @return {number} The min of the set of numbers\n   */\n  function min(numbers) {\n    return Math.min(...numbers);\n  }\n\n  var _default = Ember.Helper.helper(min);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/mod\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.mod = mod;\n  _exports.default = void 0;\n\n  /**\n   * Takes the modulus of two or more numbers\n   *\n   * ```hbs\n   * {{mod a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to modulus\n   * @return {number} The modulus of all the passed numbers\n   */\n  function mod(numbers) {\n    return numbers.reduce((a, b) => Number(a) % Number(b));\n  }\n\n  var _default = Ember.Helper.helper(mod);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/mult\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.mult = mult;\n  _exports.default = void 0;\n\n  /**\n   * Multiplies two or more numbers\n   *\n   * ```hbs\n   * {{mult a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to multiply\n   * @return {number} The product of all the passed numbers\n   */\n  function mult(numbers) {\n    return numbers.reduce((a, b) => Number(a) * Number(b));\n  }\n\n  var _default = Ember.Helper.helper(mult);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/pow\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pow = pow;\n  _exports.default = void 0;\n\n  /**\n   * Takes two or more numbers, using the first as the base number,\n   * then using each subsequent number as an exponent to the previous value\n   *\n   * ```hbs\n   * {{pow a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.pow`\n   * @return {number} The base raised to all exponents\n   */\n  function pow(numbers) {\n    return numbers.reduce((base, exponent) => Math.pow(base, exponent));\n  }\n\n  var _default = Ember.Helper.helper(pow);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/random\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.random = random;\n  _exports.default = void 0;\n  const {\n    min,\n    max\n  } = Math; // @see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed#max(0, min(MAX_DECIMALS, decimals))));\n\n  const MAX_DECIMALS = 20; // 💡 Using Number.toFixed, we'll get rounding for free alongside\n  // decimal precision. We'll default to whole-number rounding simply\n  // by defaulting `decimals` to 0\n\n  const DEFAULT_OPTS = {\n    decimals: 0\n  };\n  /**\n   * Executes `Math.random` with the provided upper-bounded randoms, lower- and upper-bounded randoms,\n   * and the option to configure decimal precision.\n   *\n   * ```hbs\n   * {{random}} or {{random decimals=4}}\n   * ```\n   *\n   * ```hbs\n   * {{random 42}} or {{random 42 decimals=4}}\n   * ```\n   *\n   * ```hbs\n   * {{random 21 1797}} or {{random 21 1797 decimals=4}}\n   * ```\n   *\n   * @param {number} upperBound\n   * @param {number} lowerBound\n   * @param {object} { decimals } decimal precision value\n   * @return {number} The random generated number\n   */\n\n  function random(params, {\n    decimals\n  } = DEFAULT_OPTS) {\n    // no positional args, but only an options hash from named args\n    if (typeof params === 'object' && !Ember.isArray(params)) {\n      decimals = typeof params.decimals !== 'undefined' ? params.decimals : DEFAULT_OPTS.decimals;\n      return +Math.random().toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    } // one positional arg: treat it as an upper bound\n\n\n    if (params && params.length === 1) {\n      const [upperBound] = params;\n      return +(Math.random() * upperBound).toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    } // two positional args: use them to derive upper and lower bounds\n\n\n    if (params && params.length === 2) {\n      let [lowerBound, upperBound] = params; // for convenience, swap if a higher number is accidentally passed first\n\n      if (upperBound < lowerBound) {\n        [lowerBound, upperBound] = [upperBound, lowerBound];\n      }\n\n      return +(lowerBound + Math.random() * (upperBound - lowerBound)).toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    } // no positional or named args: just return Math.random() w/ default decimal precision\n\n\n    return +Math.random().toFixed(max(0, min(MAX_DECIMALS, decimals)));\n  }\n\n  var _default = Ember.Helper.helper(random);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/round\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.round = round;\n  _exports.default = void 0;\n\n  // adapted from:\n  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round#Decimal_rounding\n\n  /**\n   * Decimal adjustment of a number.\n   *\n   * @param {Number} value The number.\n   * @param {Integer} exp The exponent (the 10 logarithm of the adjustment base).\n   * @return {Number} The adjusted value.\n   */\n  function decimalAdjust(value, exp) {\n    // If the exp is undefined or zero...\n    if (typeof exp === 'undefined' || +exp === 0) {\n      return Math.round(value);\n    }\n\n    value = +value;\n    exp = +exp; // If the value is not a number or the exp is not an integer...\n\n    if (value === null || isNaN(value) || !(typeof exp === 'number' && exp % 1 === 0)) {\n      return NaN;\n    } // If the value is negative...\n\n\n    if (value < 0) {\n      return -decimalAdjust(-value, exp);\n    } // Shift\n\n\n    value = value.toString().split('e');\n    value = Math.round(+`${value[0]}e${value[1] ? +value[1] - exp : -exp}`); // Shift back\n\n    value = value.toString().split('e');\n    return +`${value[0]}e${value[1] ? +value[1] + exp : exp}`;\n  }\n\n  function round(number, namedArgs) {\n    if (namedArgs) {\n      if (namedArgs.decimals) {\n        return decimalAdjust(number[0], -namedArgs.decimals);\n      }\n\n      if (namedArgs.exp) {\n        return decimalAdjust(number[0], namedArgs.exp);\n      }\n    }\n\n    return Math.round(number[0]);\n  }\n\n  var _default = Ember.Helper.helper(round);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/sign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sign = sign;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.sign` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sign a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sign`\n   * @return {number} The sign of the passed number\n   */\n  function sign([number]) {\n    return Math.sign(number);\n  }\n\n  var _default = Ember.Helper.helper(sign);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/sin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sin = sin;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.sin` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sin a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sin`\n   * @return {number} The sin of the passed number\n   */\n  function sin([number]) {\n    return Math.sin(number);\n  }\n\n  var _default = Ember.Helper.helper(sin);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/sqrt\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sqrt = sqrt;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.sqrt` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sqrt a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sqrt`\n   * @return {number} The sqrt of the passed number\n   */\n  function sqrt([number]) {\n    return Math.sqrt(number);\n  }\n\n  var _default = Ember.Helper.helper(sqrt);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/sub\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.sub = sub;\n  _exports.default = void 0;\n\n  /**\n   * Subtracts two or more numbers\n   *\n   * ```hbs\n   * {{sub a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to subtract\n   * @return {number} The difference of all the passed numbers\n   */\n  function sub(numbers) {\n    return numbers.reduce((a, b) => Number(a) - Number(b));\n  }\n\n  var _default = Ember.Helper.helper(sub);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/tan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.tan = tan;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.tan` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{tan a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.tan`\n   * @return {number} The tan of the passed number\n   */\n  function tan([number]) {\n    return Math.tan(number);\n  }\n\n  var _default = Ember.Helper.helper(tan);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/tanh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.tanh = tanh;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.tanh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{tanh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.tanh`\n   * @return {number} The tanh of the passed number\n   */\n  function tanh([number]) {\n    return Math.tanh(number);\n  }\n\n  var _default = Ember.Helper.helper(tanh);\n\n  _exports.default = _default;\n});","define(\"ember-math-helpers/helpers/trunc\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.trunc = trunc;\n  _exports.default = void 0;\n\n  /**\n   * Executes `Math.trunc` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{trunc a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.trunc`\n   * @return {number} The trunc of the passed number\n   */\n  function trunc([number]) {\n    return Math.trunc(number);\n  }\n\n  var _default = Ember.Helper.helper(trunc);\n\n  _exports.default = _default;\n});","define(\"ember-maybe-in-element/components/maybe-in-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @renderInPlace}}{{yield}}{{else}}{{#in-element @destinationElement insertBefore=null}}{{yield}}{{/in-element}}{{/if}}\n  */\n  {\n    \"id\": \"+kjNXgoY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,3,[]]],null,{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"in-element\\\",[[23,2,[]]],[[\\\"guid\\\",\\\"guid\\\",\\\"nextSibling\\\"],[\\\"%cursor:0%\\\",\\\"%cursor:0%\\\",null]],{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-maybe-in-element/components/maybe-in-element.hbs\"\n    }\n  });\n\n  var _default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n\n  _exports.default = _default;\n});","define(\"ember-modifier/-private/class/modifier-manager\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-modifier/-private/compat\"], function (_exports, _defineProperty2, _compat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function destroyModifier(modifier) {\n    modifier.willRemove();\n    modifier.willDestroy();\n  }\n\n  class ClassBasedModifierManager {\n    constructor(owner) {\n      this.owner = owner;\n      (0, _defineProperty2.default)(this, \"capabilities\", Ember._modifierManagerCapabilities(false ? '3.22' : '3.13'));\n    }\n\n    createModifier(factoryOrClass, args) {\n      const Modifier = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass;\n      const modifier = new Modifier(this.owner, args);\n\n      Ember._registerDestructor(modifier, destroyModifier);\n\n      return modifier;\n    }\n\n    installModifier(instance, element, args) {\n      instance.element = element;\n\n      if (false) {\n        (0, _compat.consumeArgs)(args);\n      }\n\n      instance.didReceiveArguments();\n      instance.didInstall();\n    }\n\n    updateModifier(instance, args) {\n      // TODO: this should be an args proxy\n      Ember.set(instance, 'args', args);\n\n      if (false) {\n        (0, _compat.consumeArgs)(args);\n      }\n\n      instance.didUpdateArguments();\n      instance.didReceiveArguments();\n    }\n\n    destroyModifier(instance) {\n      Ember.destroy(instance);\n    }\n\n  }\n\n  _exports.default = ClassBasedModifierManager;\n});","define(\"ember-modifier/-private/class/modifier\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-modifier/-private/class/modifier-manager\"], function (_exports, _defineProperty2, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * A base class for modifiers which need more capabilities than function-based\n   * modifiers. Useful if, for example:\n   *\n   * 1. You need to inject services and access them\n   * 2. You need fine-grained control of updates, either for performance or\n   *    convenience reasons, and don't want to teardown the state of your modifier\n   *    every time only to set it up again.\n   * 3. You need to store some local state within your modifier.\n   *\n   * The lifecycle hooks of class modifiers are tracked. When they run, they any\n   * values they access will be added to the modifier, and the modifier will\n   * update if any of those values change.\n   */\n  class ClassBasedModifier {\n    /**\n     * The arguments passed to the modifier. `args.positional` is an array of\n     * positional arguments, and `args.named` is an object containing the named\n     * arguments.\n     */\n\n    /**\n     * The element the modifier is applied to.\n     *\n     * @warning `element` is ***not*** available during `constructor` or\n     *   `willDestroy`.\n     */\n    // SAFETY: this is managed correctly by the class-based modifier. It is not\n    // available during the `constructor`.\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    constructor(owner, args) {\n      (0, _defineProperty2.default)(this, \"args\", void 0);\n      (0, _defineProperty2.default)(this, \"element\", null);\n      Ember.setOwner(this, owner);\n      this.args = args;\n    }\n    /**\n     * Called when the modifier is installed **and** anytime the arguments are\n     * updated.\n     */\n\n\n    didReceiveArguments() {\n      /* no op, for subclassing */\n    }\n    /**\n     * Called anytime the arguments are updated but **not** on the initial\n     * install. Called before `didReceiveArguments`.\n     */\n\n\n    didUpdateArguments() {\n      /* no op, for subclassing */\n    }\n    /**\n     * Called when the modifier is installed on the DOM element. Called after\n     * `didReceiveArguments`.\n     */\n\n\n    didInstall() {\n      /* no op, for subclassing */\n    }\n    /**\n     * Called when the DOM element is about to be destroyed; use for removing\n     * event listeners on the element and other similar clean-up tasks.\n     *\n     * @deprecated since 2.0.0: prefer to use `willDestroy`, since both it and\n     *   `willRemove` can perform all the same operations, including on the\n     *   `element`.\n     */\n\n\n    willRemove() {\n      /* no op, for subclassing */\n    }\n    /**\n     * Called when the modifier itself is about to be destroyed; use for teardown\n     * code. Called after `willRemove`.\n     */\n\n\n    willDestroy() {\n      /* no op, for subclassing */\n    }\n\n    get isDestroying() {\n      return Ember._isDestroying(this);\n    }\n\n    get isDestroyed() {\n      return Ember._isDestroyed(this);\n    }\n\n  }\n\n  _exports.default = ClassBasedModifier;\n\n  Ember._setModifierManager(owner => new _modifierManager.default(owner), ClassBasedModifier);\n});","define(\"ember-modifier/-private/compat\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isFactory = isFactory;\n  _exports.consumeArgs = void 0;\n\n  function isFactory( // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  _factoryOrClass) {\n    return !false;\n  } // eslint-disable-next-line @typescript-eslint/no-empty-function\n\n\n  const noop = () => {};\n  /**\n   * Consume each positional and named argument to entangle it in autotracking and\n   * enable updates.\n   *\n   * This is a temporary workaround for a change in the autotracking semantics of\n   * the args proxy introduced in `v3.22`. What changed is that arguments are no\n   * longer eagerly consumed. Didn’t use an argument? Then updates won’t be run\n   * when its value changes. This workaround reproduces the previous behaviour to\n   * avoid introducing a breaking change until a suitable transition path is made\n   * available.\n   */\n\n\n  let consumeArgs = noop;\n  _exports.consumeArgs = consumeArgs;\n\n  if (false) {\n    _exports.consumeArgs = consumeArgs = function ({\n      positional,\n      named\n    }) {\n      for (let i = 0; i < positional.length; i++) {\n        positional[i];\n      }\n\n      Object.values(named);\n    };\n  }\n});","define(\"ember-modifier/-private/functional/modifier-manager\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-modifier/-private/compat\"], function (_exports, _defineProperty2, _compat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const MODIFIER_ELEMENTS = new WeakMap();\n  const MODIFIER_TEARDOWNS = new WeakMap();\n\n  function teardown(modifier) {\n    const teardown = MODIFIER_TEARDOWNS.get(modifier);\n\n    if (teardown && typeof teardown === 'function') {\n      teardown();\n    }\n  }\n\n  function setup(modifier, element, args) {\n    const {\n      positional,\n      named\n    } = args;\n    const teardown = modifier(element, positional, named);\n    MODIFIER_TEARDOWNS.set(modifier, teardown);\n  }\n\n  class FunctionalModifierManager {\n    constructor() {\n      (0, _defineProperty2.default)(this, \"capabilities\", Ember._modifierManagerCapabilities(false ? '3.22' : '3.13'));\n    }\n\n    createModifier(factoryOrClass) {\n      const Modifier = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass; // This looks superfluous, but this is creating a new instance\n      // of a function -- this is important so that each instance of the\n      // created modifier can have its own state which is stored in\n      // the MODIFIER_ELEMENTS and MODIFIER_TEARDOWNS WeakMaps\n\n      return (...args) => Modifier(...args);\n    }\n\n    installModifier(modifier, element, args) {\n      MODIFIER_ELEMENTS.set(modifier, element);\n\n      if (false) {\n        (0, _compat.consumeArgs)(args);\n      }\n\n      setup(modifier, element, args);\n    }\n\n    updateModifier(modifier, args) {\n      const element = MODIFIER_ELEMENTS.get(modifier);\n      teardown(modifier);\n\n      if (false) {\n        (0, _compat.consumeArgs)(args);\n      }\n\n      setup(modifier, element, args);\n    }\n\n    destroyModifier(modifier) {\n      teardown(modifier);\n    }\n\n  }\n\n  var _default = new FunctionalModifierManager();\n\n  _exports.default = _default;\n});","define(\"ember-modifier/-private/functional/modifier\", [\"exports\", \"ember-modifier/-private/functional/modifier-manager\"], function (_exports, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = modifier;\n\n  /**\n   * An API for writing simple modifiers.\n   *\n   * This function runs the first time when the element the modifier was applied\n   * to is inserted into the DOM, and it *autotracks* while running. Any values\n   * that it accesses will be tracked, including the arguments it receives, and if\n   * any of them changes, the function will run again.\n   *\n   * The modifier can also optionally return a *destructor*. The destructor\n   * function will be run just before the next update, and when the element is\n   * being removed entirely. It should generally clean up the changes that the\n   * modifier made in the first place.\n   *\n   * @param fn The function which defines the modifier.\n   */\n  function modifier(fn) {\n    return Ember._setModifierManager(() => _modifierManager.default, fn);\n  }\n});","define(\"ember-modifier/-private/interfaces\", [], function () {\n  \"use strict\";\n});","define(\"ember-modifier/index\", [\"exports\", \"ember-modifier/-private/class/modifier\", \"ember-modifier/-private/functional/modifier\", \"ember-modifier/-private/interfaces\"], function (_exports, _modifier, _modifier2, _interfaces) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _modifier.default;\n    }\n  });\n  Object.defineProperty(_exports, \"modifier\", {\n    enumerable: true,\n    get: function () {\n      return _modifier2.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ModifierArgs\", {\n    enumerable: true,\n    get: function () {\n      return _interfaces.ModifierArgs;\n    }\n  });\n});","define('ember-moment/computeds/-base', ['exports', 'ember-macro-helpers/computed-unsafe'], function (exports, _computedUnsafe) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = computedFactory;\n  function computedFactory(fn) {\n    return function (...args) {\n      return (0, _computedUnsafe.default)(...args, function (...vals) {\n        return fn.call(this, vals);\n      });\n    };\n  }\n});","define('ember-moment/computeds/calendar', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = (0, _base.default)(function calendarComputed(params, formatHash = {}) {\n    if (!params || params && params.length > 3) {\n      throw new TypeError('ember-moment: Invalid Number of arguments, at most 3');\n    }\n\n    var _params = _slicedToArray(params, 3);\n\n    const date = _params[0],\n          referenceTime = _params[1],\n          formats = _params[2];\n\n    const clone = Object.create(formatHash);\n    const mergedFormats = Ember.assign(clone, formats);\n\n    return (0, _moment.default)(date).calendar(referenceTime, mergedFormats);\n  });\n});","define('ember-moment/computeds/duration', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function durationComputed(params) {\n    return _moment.default.duration(...params);\n  });\n});","define('ember-moment/computeds/format', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const CONFIG_KEY = 'config:environment';\n\n  exports.default = (0, _base.default)(function formatComputed([value, optionalFormat]) {\n    if (!optionalFormat) {\n      const owner = Ember.getOwner(this);\n\n      if (owner && owner.hasRegistration && owner.hasRegistration(CONFIG_KEY)) {\n        const config = owner.resolveRegistration(CONFIG_KEY);\n\n        if (config) {\n          optionalFormat = Ember.get(config, 'moment.outputFormat');\n        }\n      }\n    }\n\n    return (0, _moment.default)(value).format(optionalFormat);\n  });\n});","define('ember-moment/computeds/from-now', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function fromNowComputed(params) {\n    let maybeHideSuffix;\n\n    if (params.length > 1) {\n      maybeHideSuffix = params.pop();\n    }\n\n    return (0, _moment.default)(...params).fromNow(maybeHideSuffix);\n  });\n});","define('ember-moment/computeds/humanize', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function humanizeComputed([duration, suffixless]) {\n    if (!_moment.default.isDuration(duration)) {\n      duration = _moment.default.duration(duration);\n    }\n\n    return duration.humanize(suffixless);\n  });\n});","define('ember-moment/computeds/locale', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function localeComputed([date, locale]) {\n    if (!_moment.default.isDuration(date)) {\n      date = (0, _moment.default)(date);\n    }\n\n    return date.locale(locale);\n  });\n});","define('ember-moment/computeds/moment', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function momentComputed(params) {\n    return (0, _moment.default)(...params);\n  });\n});","define('ember-moment/computeds/to-now', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function toNowComputed(params) {\n    let maybeHidePrefix;\n\n    if (params.length > 1) {\n      maybeHidePrefix = params.pop();\n    }\n\n    return (0, _moment.default)(...params).toNow(maybeHidePrefix);\n  });\n});","define('ember-moment/computeds/tz', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function tzComputed([date, tz]) {\n    return (0, _moment.default)(date).tz(tz);\n  });\n});","define('ember-moment/computeds/utc', ['exports', 'moment', 'ember-moment/computeds/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = (0, _base.default)(function utcComputed(params) {\n    return _moment.default.utc(...params);\n  });\n});","define('ember-moment/helpers/-base', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Helper.extend({\n    moment: Ember.inject.service(),\n    disableInterval: false,\n    globalAllowEmpty: Ember.computed.bool('moment.__config__.allowEmpty'),\n    supportsGlobalAllowEmpty: true,\n    localeOrTimeZoneChanged: Ember.observer('moment.locale', 'moment.timeZone', function () {\n      this.recompute();\n    }),\n\n    compute(value, { interval }) {\n      if (Ember.get(this, 'disableInterval')) {\n        return;\n      }\n\n      this.clearTimer();\n\n      if (interval) {\n        /*\n         * NOTE: intentionally a setTimeout so tests do not block on it\n         * as the run loop queue is never clear so tests will stay locked waiting\n         * for queue to clear.\n         */\n        this.intervalTimer = setTimeout(() => {\n          Ember.run(() => this.recompute());\n        }, parseInt(interval, 10));\n      }\n    },\n\n    morphMoment(time, { locale, timeZone }) {\n      const momentService = Ember.get(this, 'moment');\n\n      locale = locale || Ember.get(momentService, 'locale');\n      timeZone = timeZone || Ember.get(momentService, 'timeZone');\n\n      if (locale && time.locale) {\n        time = time.locale(locale);\n      }\n\n      if (timeZone && time.tz) {\n        time = time.tz(timeZone);\n      }\n\n      return time;\n    },\n\n    clearTimer() {\n      clearTimeout(this.intervalTimer);\n    },\n\n    destroy() {\n      this.clearTimer();\n      this._super(...arguments);\n    }\n  });\n});","define('ember-moment/helpers/is-after', ['exports', 'ember-moment/helpers/-base', 'ember-moment/utils/helper-compute'], function (exports, _base, _helperCompute) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isAfter(...comparisonArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/is-before', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isBefore(...comparisonArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/is-between', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, inclusivity, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const _params = [].concat(params);\n      const length = params.length;\n\n\n      if (length < 2 || length > 3) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, expected 2 or 3');\n      }\n\n      const args = [];\n\n      if (length > 2) {\n        args.push(_params.shift());\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isBetween(..._params, precision, inclusivity);\n    })\n  });\n});","define('ember-moment/helpers/is-same-or-after', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isSameOrAfter(...comparisonArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/is-same-or-before', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isSameOrBefore(...comparisonArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/is-same', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const comparisonArgs = [];\n\n      if (length === 1) {\n        comparisonArgs.push(params[0]);\n      } else if (length === 2) {\n        args.push(params[0]);\n        comparisonArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).isSame(...comparisonArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/moment-add', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const additionArgs = [];\n\n      if (length === 1) {\n        additionArgs.push(params[0]);\n      } else if (length === 2 && Ember.typeOf(params[0]) === 'number' && Ember.typeOf(params[1]) === 'string') {\n        additionArgs.push(...params);\n      } else {\n        args.push(params[0]);\n        additionArgs.push(...params.slice(1));\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).add(...additionArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/moment-calendar', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, formatHash = {}) {\n      this._super(...arguments);\n\n      if (!params || params && params.length > 3) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, at most 3');\n      }\n\n      const moment = Ember.get(this, 'moment');\n      const locale = formatHash.locale,\n            timeZone = formatHash.timeZone;\n\n      var _params = _slicedToArray(params, 3);\n\n      const date = _params[0],\n            referenceTime = _params[1],\n            formats = _params[2];\n\n      const clone = Object.create(formatHash);\n\n      delete clone.locale;\n      delete clone.timeZone;\n\n      const mergedFormats = Ember.assign(clone, formats);\n\n      return this.morphMoment(moment.moment(date), { locale, timeZone }).calendar(referenceTime, mergedFormats);\n    })\n  });\n});","define('ember-moment/helpers/moment-diff', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  var _slicedToArray = function () {\n    function sliceIterator(arr, i) {\n      var _arr = [];\n      var _n = true;\n      var _d = false;\n      var _e = undefined;\n\n      try {\n        for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n          _arr.push(_s.value);\n\n          if (i && _arr.length === i) break;\n        }\n      } catch (err) {\n        _d = true;\n        _e = err;\n      } finally {\n        try {\n          if (!_n && _i[\"return\"]) _i[\"return\"]();\n        } finally {\n          if (_d) throw _e;\n        }\n      }\n\n      return _arr;\n    }\n\n    return function (arr, i) {\n      if (Array.isArray(arr)) {\n        return arr;\n      } else if (Symbol.iterator in Object(arr)) {\n        return sliceIterator(arr, i);\n      } else {\n        throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n      }\n    };\n  }();\n\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, float, locale, timeZone }) {\n      this._super(...arguments);\n\n      if (!params || params && params.length !== 2) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, must be 2');\n      }\n\n      const moment = Ember.get(this, 'moment');\n\n      var _params = _slicedToArray(params, 2);\n\n      const dateA = _params[0],\n            dateB = _params[1];\n\n\n      return this.morphMoment(moment.moment(dateB), { locale, timeZone }).diff(dateA, precision, float);\n    })\n  });\n});","define('ember-moment/helpers/moment-duration', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute(params, { locale, timeZone }) {\n      this._super(...arguments);\n      const momentService = Ember.get(this, 'moment');\n\n      if (!params || params && params.length > 2) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, at most 2');\n      }\n\n      const result = momentService.moment(_moment.default.duration(...params));\n\n      return this.morphMoment(result._i, { locale, timeZone }).humanize();\n    }\n  });\n});","define('ember-moment/helpers/moment-format', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    defaultFormatDidChange: Ember.observer('moment.defaultFormat', function () {\n      this.recompute();\n    }),\n\n    compute: (0, _helperCompute.default)(function (params, { locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n\n      if (length > 3) {\n        throw new TypeError('ember-moment: Invalid number of arguments, expected at most 3');\n      }\n\n      const args = [];\n      const formatArgs = [];\n      const defaultFormat = Ember.get(this, 'moment.defaultFormat');\n\n      args.push(params[0]);\n\n      if (length === 1 && !Ember.isEmpty(defaultFormat)) {\n        formatArgs.push(defaultFormat);\n      } else if (length === 2) {\n        formatArgs.push(params[1]);\n      } else if (length > 2) {\n        args.push(params[2]);\n        formatArgs.push(params[1]);\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).format(...formatArgs);\n    })\n  });\n});","define('ember-moment/helpers/moment-from-now', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { hideAffix, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      return this.morphMoment(moment.moment(...params), { locale, timeZone }).fromNow(hideAffix);\n    })\n  });\n});","define('ember-moment/helpers/moment-from', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function ([datetime, ...params], { hideAffix, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n\n      return this.morphMoment(moment.moment(datetime), { locale, timeZone }).from(...params, hideAffix);\n    })\n  });\n});","define('ember-moment/helpers/moment-subtract', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { precision, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const length = params.length;\n\n      const args = [];\n      const subtractionArgs = [];\n\n      if (length === 1) {\n        subtractionArgs.push(params[0]);\n      } else if (length === 2 && Ember.typeOf(params[0]) === 'number' && Ember.typeOf(params[1]) === 'string') {\n        subtractionArgs.push(...params);\n      } else {\n        args.push(params[0]);\n        subtractionArgs.push(...params.slice(1));\n      }\n\n      return this.morphMoment(moment.moment(...args), { locale, timeZone }).subtract(...subtractionArgs, precision);\n    })\n  });\n});","define('ember-moment/helpers/moment-to-date', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { hidePrefix, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n\n      return this.morphMoment(moment.moment(), { locale, timeZone }).to(...params, hidePrefix);\n    })\n  });\n});","define('ember-moment/helpers/moment-to-now', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function (params, { hidePrefix, hideAffix, locale, timeZone }) {\n      Ember.deprecate('hidePrefix is deprecated in favour of hideAffix', hidePrefix === undefined, // display if this is false\n      { id: 'ember-moment.addon.helpers.moment-to-now', until: '8.0.0' });\n\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n      const hide = hidePrefix || hideAffix;\n      return this.morphMoment(moment.moment(...params), { locale, timeZone }).toNow(hide);\n    })\n  });\n});","define('ember-moment/helpers/moment-to', ['exports', 'ember-moment/utils/helper-compute', 'ember-moment/helpers/-base'], function (exports, _helperCompute, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute: (0, _helperCompute.default)(function ([datetime, ...params], { hideAffix, locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n\n      return this.morphMoment(moment.moment(datetime), { locale, timeZone }).to(...params, hideAffix);\n    })\n  });\n});","define('ember-moment/helpers/moment', ['exports', 'ember-moment/helpers/-base'], function (exports, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute(params, { locale, timeZone }) {\n      this._super(...arguments);\n\n      const moment = Ember.get(this, 'moment');\n\n      return this.morphMoment(moment.moment(...params), { locale, timeZone });\n    }\n  });\n});","define('ember-moment/helpers/now', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute() {\n      this._super(...arguments);\n\n      const momentService = Ember.get(this, 'moment');\n\n      return momentService.moment(_moment.default.now());\n    }\n  });\n});","define('ember-moment/helpers/unix', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute([unixTimeStamp]) {\n      this._super(...arguments);\n\n      return Ember.get(this, 'moment').moment(_moment.default.unix(unixTimeStamp));\n    }\n  });\n});","define('ember-moment/helpers/utc', ['exports', 'moment', 'ember-moment/helpers/-base'], function (exports, _moment, _base) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = _base.default.extend({\n    compute([utcTime, format]) {\n      this._super(...arguments);\n\n      return Ember.get(this, 'moment').utc(_moment.default.utc(utcTime, format));\n    }\n  });\n});","define('ember-moment/services/moment', ['exports', 'moment'], function (exports, _moment) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Service.extend(Ember.Evented, {\n    _timeZone: null,\n\n    locale: null,\n    localeOptions: null,\n    defaultFormat: null,\n\n    __config__: Ember.computed(function () {\n      let config = Ember.getOwner(this).factoryFor('config:environment').class || {};\n\n      return Ember.get(config, 'moment') || {};\n    }).readOnly(),\n\n    timeZone: Ember.computed('_timeZone', {\n      get() {\n        return Ember.get(this, '_timeZone');\n      },\n\n      set(propertyKey, timeZone) {\n        if (!_moment.default.tz) {\n          /* eslint-disable no-console */\n          console.warn('[ember-moment] attempted to set timezone, but moment-timezone is not setup.');\n          return;\n        }\n\n        Ember.set(this, '_timeZone', timeZone);\n\n        return timeZone;\n      }\n    }),\n\n    setLocale(locale) {\n      this.changeLocale(locale);\n    },\n\n    updateLocale(locale, localeOptions = {}) {\n      this.changeLocale(locale, localeOptions);\n    },\n\n    changeLocale(locale, localeOptions = {}) {\n      Ember.setProperties(this, {\n        locale,\n        localeOptions\n      });\n      _moment.default.updateLocale(locale, localeOptions);\n      this.trigger('localeChanged', locale);\n    },\n\n    setTimeZone(timeZone) {\n      this.changeTimeZone(timeZone);\n    },\n\n    changeTimeZone(timeZone) {\n      Ember.set(this, 'timeZone', timeZone);\n      this.trigger('timeZoneChanged', timeZone);\n    },\n\n    isMoment(obj) {\n      return _moment.default.isMoment(obj);\n    },\n\n    moment() {\n      let momentObj = (0, _moment.default)(...arguments);\n\n      var _Ember$getProperties = Ember.getProperties(this, 'locale', 'timeZone');\n\n      let locale = _Ember$getProperties.locale,\n          timeZone = _Ember$getProperties.timeZone;\n\n\n      if (locale && momentObj.locale) {\n        momentObj = momentObj.locale(locale);\n      }\n\n      if (timeZone && momentObj.tz) {\n        momentObj = momentObj.tz(timeZone);\n      }\n\n      return momentObj;\n    },\n\n    utc() {\n      let momentObj = _moment.default.utc(...arguments);\n\n      var _Ember$getProperties2 = Ember.getProperties(this, 'locale');\n\n      let locale = _Ember$getProperties2.locale;\n\n\n      if (locale && momentObj.locale) {\n        momentObj = momentObj.locale(locale);\n      }\n\n      return momentObj;\n    }\n  });\n});","define('ember-moment/utils/helper-compute', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n  exports.default = function (cb) {\n    return function (params, hash) {\n      if (!params || params && params.length === 0) {\n        throw new TypeError('ember-moment: Invalid Number of arguments, expected at least 1');\n      }\n\n      const datetime = params[0];\n\n      let allowEmpty = hash.allowEmpty || hash['allow-empty'];\n\n      if (allowEmpty === undefined || allowEmpty === null) {\n        allowEmpty = Ember.get(this, 'globalAllowEmpty');\n      }\n\n      if (Ember.isBlank(datetime)) {\n        if (allowEmpty) {\n          return;\n        }\n\n        /* eslint-disable no-console */\n        console.warn(`ember-moment: an empty value (null, undefined, or \"\") was passed to ember-moment helper`);\n      }\n\n      return cb.apply(this, arguments);\n    };\n  };\n});","define(\"ember-on-modifier/helpers/prevent-default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.preventDefault = preventDefault;\n  _exports.default = void 0;\n\n  function preventDefault([handler]) {\n    (true && !(false) && Ember.deprecate('`(prevent-default)` has been moved to `ember-event-helpers`.', false, {\n      id: 'ember-on-modifier.prevent-default',\n      until: '1.0.0',\n      url: 'https://github.com/buschtoens/ember-event-helpers'\n    }));\n    (true && !(!handler || typeof handler === 'function') && Ember.assert(`Expected '${handler}' to be a function, if present.`, !handler || typeof handler === 'function'));\n    return function (event) {\n      (true && !(event && typeof event.preventDefault === 'function') && Ember.assert(`Expected '${event}' to be an Event and have a 'preventDefault' method.`, event && typeof event.preventDefault === 'function'));\n      event.preventDefault();\n      if (handler) handler(event);\n    };\n  }\n\n  var _default = Ember.Helper.helper(preventDefault);\n\n  _exports.default = _default;\n});","define(\"ember-on-modifier/utils/event-listener\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.addEventListenerOnce = addEventListenerOnce;\n  _exports.addEventListener = addEventListener;\n  _exports.removeEventListener = removeEventListener;\n  _exports.SUPPORTS_EVENT_OPTIONS = void 0;\n\n  /* eslint no-param-reassign: \"off\" */\n\n  /**\n   * Internet Explorer 11 does not support `once` and also does not support\n   * passing `eventOptions`. In some situations it then throws a weird script\n   * error, like:\n   *\n   * ```\n   * Could not complete the operation due to error 80020101\n   * ```\n   *\n   * This flag determines, whether `{ once: true }` and thus also event options in\n   * general are supported.\n   */\n  const SUPPORTS_EVENT_OPTIONS = (() => {\n    try {\n      const div = document.createElement('div');\n      let counter = 0;\n      div.addEventListener('click', () => counter++, {\n        once: true\n      });\n      let event;\n\n      if (typeof Event === 'function') {\n        event = new Event('click');\n      } else {\n        event = document.createEvent('Event');\n        event.initEvent('click', true, true);\n      }\n\n      div.dispatchEvent(event);\n      div.dispatchEvent(event);\n      return counter === 1;\n    } catch (error) {\n      return false;\n    }\n  })();\n  /**\n   * Registers an event for an `element` that is called exactly once and then\n   * unregistered again. This is effectively a polyfill for `{ once: true }`.\n   *\n   * It also accepts a fourth optional argument `useCapture`, that will be passed\n   * through to `addEventListener`.\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {boolean} [useCapture=false]\n   */\n\n\n  _exports.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n\n  function addEventListenerOnce(element, eventName, callback, useCapture = false) {\n    function listener() {\n      element.removeEventListener(eventName, listener, useCapture);\n      callback();\n    }\n\n    element.addEventListener(eventName, listener, useCapture);\n  }\n  /**\n   * Safely invokes `addEventListener` for IE11 and also polyfills the\n   * `{ once: true }` and `{ capture: true }` options.\n   *\n   * All other options are discarded for IE11. Currently this is only `passive`.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {object} [eventOptions]\n   */\n\n\n  function addEventListener(element, eventName, callback, eventOptions) {\n    const _callback = true\n    /* DEBUG */\n    && eventOptions && eventOptions.passive ? function (event) {\n      event.preventDefault = () => {\n        (true && !(false) && Ember.assert(`ember-on-modifier: You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()'.`));\n      };\n\n      return callback.call(this, event);\n    } : callback;\n\n    if (SUPPORTS_EVENT_OPTIONS) {\n      element.addEventListener(eventName, _callback, eventOptions);\n    } else if (eventOptions && eventOptions.once) {\n      addEventListenerOnce(element, eventName, _callback, Boolean(eventOptions.capture));\n    } else {\n      element.addEventListener(eventName, _callback, Boolean(eventOptions && eventOptions.capture));\n    }\n  }\n  /**\n   * Since the same `capture` event option that was used to add the event listener\n   * needs to be used when removing the listener, it needs to be polyfilled as\n   * `useCapture` for IE11.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {object} [eventOptions]\n   */\n\n\n  function removeEventListener(element, eventName, callback, eventOptions) {\n    if (SUPPORTS_EVENT_OPTIONS) {\n      element.removeEventListener(eventName, callback, eventOptions);\n    } else {\n      element.removeEventListener(eventName, callback, Boolean(eventOptions && eventOptions.capture));\n    }\n  }\n});","define(\"ember-power-select/components/power-select-multiple\", [\"exports\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@glimmer/component\"], function (_exports, _applyDecoratedDescriptor2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <PowerSelect\n    @triggerRole={{@triggerRole}}\n    @ariaDescribedBy={{@ariaDescribedBy}}\n    @ariaInvalid={{@ariaInvalid}}\n    @ariaLabel={{@ariaLabel}}\n    @ariaLabelledBy={{@ariaLabelledBy}}\n    @afterOptionsComponent={{@afterOptionsComponent}}\n    @allowClear={{@allowClear}}\n    @beforeOptionsComponent={{or @beforeOptionsComponent null}}\n    @buildSelection={{or @buildSelection this.defaultBuildSelection}}\n    @calculatePosition={{@calculatePosition}}\n    @closeOnSelect={{@closeOnSelect}}\n    @defaultHighlighted={{@defaultHighlighted}}\n    @destination={{@destination}}\n    @disabled={{@disabled}}\n    @dropdownClass={{@dropdownClass}}\n    @extra={{@extra}}\n    @groupComponent={{@groupComponent}}\n    @horizontalPosition={{@horizontalPosition}}\n    @initiallyOpened={{@initiallyOpened}}\n    @loadingMessage={{@loadingMessage}}\n    @matcher={{@matcher}}\n    @matchTriggerWidth={{@matchTriggerWidth}}\n    @noMatchesMessage={{@noMatchesMessage}}\n    @noMatchesMessageComponent={{@noMatchesMessageComponent}}\n    @onBlur={{@onBlur}}\n    @onChange={{@onChange}}\n    @onClose={{@onClose}}\n    @onFocus={{this.handleFocus}}\n    @onInput={{@onInput}}\n    @onKeydown={{this.handleKeydown}}\n    @onOpen={{this.handleOpen}}\n    @options={{@options}}\n    @optionsComponent={{@optionsComponent}}\n    @placeholder={{@placeholder}}\n    @placeholderComponent={{@placeholderComponent}}\n    @preventScroll={{@preventScroll}}\n    @registerAPI={{@registerAPI}}\n    @renderInPlace={{@renderInPlace}}\n    @required={{@required}}\n    @scrollTo={{@scrollTo}}\n    @search={{@search}}\n    @searchEnabled={{@searchEnabled}}\n    @searchField={{@searchField}}\n    @searchMessage={{@searchMessage}}\n    @searchPlaceholder={{@searchPlaceholder}}\n    @selected={{@selected}}\n    @selectedItemComponent={{@selectedItemComponent}}\n    @eventType={{@eventType}}\n    @title={{@title}}\n    @triggerClass=\"ember-power-select-multiple-trigger {{@triggerClass}}\"\n    @triggerComponent={{component (or @triggerComponent \"power-select-multiple/trigger\") tabindex=@tabindex}}\n    @triggerId={{@triggerId}}\n    @verticalPosition={{@verticalPosition}}\n    @tabindex={{this.computedTabIndex}}\n    @ebdTriggerComponent={{@ebdTriggerComponent}}\n    @ebdContentComponent={{@ebdContentComponent}}\n    ...attributes as |option select|>\n    {{yield option select}}\n  </PowerSelect>\n  \n  */\n  {\n    \"id\": \"oEwHz6KY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"option\\\",\\\"select\\\",\\\"@triggerRole\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@afterOptionsComponent\\\",\\\"@allowClear\\\",\\\"@beforeOptionsComponent\\\",\\\"@buildSelection\\\",\\\"@calculatePosition\\\",\\\"@closeOnSelect\\\",\\\"@defaultHighlighted\\\",\\\"@destination\\\",\\\"@disabled\\\",\\\"@dropdownClass\\\",\\\"@extra\\\",\\\"@groupComponent\\\",\\\"@horizontalPosition\\\",\\\"@initiallyOpened\\\",\\\"@loadingMessage\\\",\\\"@matcher\\\",\\\"@matchTriggerWidth\\\",\\\"@noMatchesMessage\\\",\\\"@noMatchesMessageComponent\\\",\\\"@onBlur\\\",\\\"@onChange\\\",\\\"@onClose\\\",\\\"@onInput\\\",\\\"@options\\\",\\\"@optionsComponent\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@preventScroll\\\",\\\"@registerAPI\\\",\\\"@renderInPlace\\\",\\\"@required\\\",\\\"@scrollTo\\\",\\\"@search\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@searchMessage\\\",\\\"@searchPlaceholder\\\",\\\"@selected\\\",\\\"@selectedItemComponent\\\",\\\"@eventType\\\",\\\"@title\\\",\\\"@triggerClass\\\",\\\"@tabindex\\\",\\\"@triggerComponent\\\",\\\"@triggerId\\\",\\\"@verticalPosition\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\",\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[5,\\\"power-select\\\",[[13,56]],[[\\\"@triggerRole\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@afterOptionsComponent\\\",\\\"@allowClear\\\",\\\"@beforeOptionsComponent\\\",\\\"@buildSelection\\\",\\\"@calculatePosition\\\",\\\"@closeOnSelect\\\",\\\"@defaultHighlighted\\\",\\\"@destination\\\",\\\"@disabled\\\",\\\"@dropdownClass\\\",\\\"@extra\\\",\\\"@groupComponent\\\",\\\"@horizontalPosition\\\",\\\"@initiallyOpened\\\",\\\"@loadingMessage\\\",\\\"@matcher\\\",\\\"@matchTriggerWidth\\\",\\\"@noMatchesMessage\\\",\\\"@noMatchesMessageComponent\\\",\\\"@onBlur\\\",\\\"@onChange\\\",\\\"@onClose\\\",\\\"@onFocus\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@onOpen\\\",\\\"@options\\\",\\\"@optionsComponent\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@preventScroll\\\",\\\"@registerAPI\\\",\\\"@renderInPlace\\\",\\\"@required\\\",\\\"@scrollTo\\\",\\\"@search\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@searchMessage\\\",\\\"@searchPlaceholder\\\",\\\"@selected\\\",\\\"@selectedItemComponent\\\",\\\"@eventType\\\",\\\"@title\\\",\\\"@triggerClass\\\",\\\"@triggerComponent\\\",\\\"@triggerId\\\",\\\"@verticalPosition\\\",\\\"@tabindex\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\"],[[23,3,[]],[23,4,[]],[23,5,[]],[23,6,[]],[23,7,[]],[23,8,[]],[23,9,[]],[28,\\\"or\\\",[[23,10,[]],null],null],[28,\\\"or\\\",[[23,11,[]],[23,0,[\\\"defaultBuildSelection\\\"]]],null],[23,12,[]],[23,13,[]],[23,14,[]],[23,15,[]],[23,16,[]],[23,17,[]],[23,18,[]],[23,19,[]],[23,20,[]],[23,21,[]],[23,22,[]],[23,23,[]],[23,24,[]],[23,25,[]],[23,26,[]],[23,27,[]],[23,28,[]],[23,29,[]],[23,0,[\\\"handleFocus\\\"]],[23,30,[]],[23,0,[\\\"handleKeydown\\\"]],[23,0,[\\\"handleOpen\\\"]],[23,31,[]],[23,32,[]],[23,33,[]],[23,34,[]],[23,35,[]],[23,36,[]],[23,37,[]],[23,38,[]],[23,39,[]],[23,40,[]],[23,41,[]],[23,42,[]],[23,43,[]],[23,44,[]],[23,45,[]],[23,46,[]],[23,47,[]],[23,48,[]],[29,[\\\"ember-power-select-multiple-trigger \\\",[23,49,[]]]],[28,\\\"component\\\",[[28,\\\"or\\\",[[23,51,[]],\\\"power-select-multiple/trigger\\\"],null]],[[\\\"tabindex\\\"],[[23,50,[]]]]],[23,52,[]],[23,53,[]],[23,0,[\\\"computedTabIndex\\\"]],[23,54,[]],[23,55,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n  \\\"],[14,57,[[23,1,[]],[23,2,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select-multiple.hbs\"\n    }\n  });\n\n  let PowerSelectMultiple = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, (_class = class PowerSelectMultiple extends _component.default {\n    get computedTabIndex() {\n      if (this.args.triggerComponent === undefined && this.args.searchEnabled) {\n        return '-1';\n      } else {\n        return this.args.tabindex || '0';\n      }\n    } // Actions\n\n\n    handleOpen(select, e) {\n      if (this.args.onOpen && this.args.onOpen(select, e) === false) {\n        return false;\n      }\n\n      this.focusInput(select);\n    }\n\n    handleFocus(select, e) {\n      if (this.args.onFocus) {\n        this.args.onFocus(select, e);\n      }\n\n      this.focusInput(select);\n    }\n\n    handleKeydown(select, e) {\n      if (this.args.onKeydown && this.args.onKeydown(select, e) === false) {\n        e.stopPropagation();\n        return false;\n      }\n\n      if (e.keyCode === 13 && select.isOpen) {\n        e.stopPropagation();\n\n        if (select.highlighted !== undefined) {\n          if (!select.selected || select.selected.indexOf(select.highlighted) === -1) {\n            select.actions.choose(select.highlighted, e);\n            return false;\n          } else {\n            select.actions.close(e);\n            return false;\n          }\n        } else {\n          select.actions.close(e);\n          return false;\n        }\n      }\n    }\n\n    defaultBuildSelection(option, select) {\n      let newSelection = (select.selected || []).slice(0);\n      let idx = -1;\n\n      for (let i = 0; i < newSelection.length; i++) {\n        if (Ember.isEqual(newSelection[i], option)) {\n          idx = i;\n          break;\n        }\n      }\n\n      if (idx > -1) {\n        newSelection.splice(idx, 1);\n      } else {\n        newSelection.push(option);\n      }\n\n      return newSelection;\n    }\n\n    focusInput(select) {\n      if (select) {\n        let input = document.querySelector(`#ember-power-select-trigger-multiple-input-${select.uniqueId}`);\n\n        if (input) {\n          input.focus();\n        }\n      }\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleOpen\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOpen\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleFocus\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocus\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleKeydown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype)), _class));\n  _exports.default = PowerSelectMultiple;\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, PowerSelectMultiple);\n});","define(\"ember-power-select/components/power-select-multiple/trigger\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@glimmer/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <ul\n    id=\"ember-power-select-multiple-options-{{@select.uniqueId}}\"\n    class=\"ember-power-select-multiple-options\"\n    {{did-update this.openChanged @select.isOpen}}\n    {{on \"touchstart\" this.chooseOption}}\n    {{on \"mousedown\" this.chooseOption}}\n    ...attributes>\n    {{#each @select.selected as |opt idx|}}\n      <li class=\"ember-power-select-multiple-option {{if opt.disabled \"ember-power-select-multiple-option--disabled\"}}\">\n        {{#unless @select.disabled}}\n          <span role=\"button\"\n            aria-label=\"remove element\"\n            class=\"ember-power-select-multiple-remove-btn\"\n            data-selected-index={{idx}}>\n            &times;\n          </span>\n        {{/unless}}\n        {{#if @selectedItemComponent}}\n          {{component @selectedItemComponent extra=@extra option=opt select=@select}}\n        {{else}}\n          {{yield opt @select}}\n        {{/if}}\n      </li>\n    {{else}}\n      {{#if (and @placeholder (not @searchEnabled))}}\n        <span class=\"ember-power-select-placeholder\">{{@placeholder}}</span>\n      {{/if}}\n    {{/each}}\n    {{#if @searchEnabled}}\n      <input\n        type=\"search\"\n        class=\"ember-power-select-trigger-multiple-input\"\n        autocomplete=\"off\"\n        autocorrect=\"off\"\n        autocapitalize=\"off\"\n        spellcheck={{false}}\n        id=\"ember-power-select-trigger-multiple-input-{{@select.uniqueId}}\"\n        value={{@select.searchText}}\n        aria-controls={{@listboxId}}\n        style={{this.triggerMultipleInputStyle}}\n        placeholder={{this.maybePlaceholder}}\n        disabled={{@select.disabled}}\n        tabindex={{@tabindex}}\n        form=\"power-select-fake-form\"\n        {{on \"focus\" @onFocus}}\n        {{on \"blur\" @onBlur}}\n        {{on \"input\" this.handleInput}}\n        {{on \"keydown\" this.handleKeydown}}\n        {{did-insert this.storeInputStyles}}>\n    {{/if}}\n  </ul>\n  <span class=\"ember-power-select-status-icon\"></span>\n  \n  */\n  {\n    \"id\": \"gSfQdZ4e\",\n    \"block\": \"{\\\"symbols\\\":[\\\"opt\\\",\\\"idx\\\",\\\"@select\\\",\\\"@listboxId\\\",\\\"@tabindex\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@placeholder\\\",\\\"@searchEnabled\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@selectedItemComponent\\\",\\\"&attrs\\\"],\\\"statements\\\":[[7,\\\"ul\\\",false],[12,\\\"id\\\",[29,[\\\"ember-power-select-multiple-options-\\\",[23,3,[\\\"uniqueId\\\"]]]]],[12,\\\"class\\\",\\\"ember-power-select-multiple-options\\\"],[13,13],[3,\\\"did-update\\\",[[23,0,[\\\"openChanged\\\"]],[23,3,[\\\"isOpen\\\"]]]],[3,\\\"on\\\",[\\\"touchstart\\\",[23,0,[\\\"chooseOption\\\"]]]],[3,\\\"on\\\",[\\\"mousedown\\\",[23,0,[\\\"chooseOption\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,3,[\\\"selected\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"li\\\",true],[11,\\\"class\\\",[29,[\\\"ember-power-select-multiple-option \\\",[28,\\\"if\\\",[[23,1,[\\\"disabled\\\"]],\\\"ember-power-select-multiple-option--disabled\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[23,3,[\\\"disabled\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"span\\\",true],[10,\\\"role\\\",\\\"button\\\"],[10,\\\"aria-label\\\",\\\"remove element\\\"],[10,\\\"class\\\",\\\"ember-power-select-multiple-remove-btn\\\"],[11,\\\"data-selected-index\\\",[23,2,[]]],[8],[0,\\\"\\\\n          ×\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,12,[]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[1,[28,\\\"component\\\",[[23,12,[]]],[[\\\"extra\\\",\\\"option\\\",\\\"select\\\"],[[23,11,[]],[23,1,[]],[23,3,[]]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[14,10,[[23,1,[]],[23,3,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"and\\\",[[23,8,[]],[28,\\\"not\\\",[[23,9,[]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ember-power-select-placeholder\\\"],[8],[1,[23,8,[]],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}],[4,\\\"if\\\",[[23,9,[]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"input\\\",false],[12,\\\"class\\\",\\\"ember-power-select-trigger-multiple-input\\\"],[12,\\\"autocomplete\\\",\\\"off\\\"],[12,\\\"autocorrect\\\",\\\"off\\\"],[12,\\\"autocapitalize\\\",\\\"off\\\"],[12,\\\"spellcheck\\\",false],[12,\\\"id\\\",[29,[\\\"ember-power-select-trigger-multiple-input-\\\",[23,3,[\\\"uniqueId\\\"]]]]],[12,\\\"value\\\",[23,3,[\\\"searchText\\\"]]],[12,\\\"aria-controls\\\",[23,4,[]]],[12,\\\"style\\\",[23,0,[\\\"triggerMultipleInputStyle\\\"]]],[12,\\\"placeholder\\\",[23,0,[\\\"maybePlaceholder\\\"]]],[12,\\\"disabled\\\",[23,3,[\\\"disabled\\\"]]],[12,\\\"tabindex\\\",[23,5,[]]],[12,\\\"form\\\",\\\"power-select-fake-form\\\"],[12,\\\"type\\\",\\\"search\\\"],[3,\\\"on\\\",[\\\"focus\\\",[23,6,[]]]],[3,\\\"on\\\",[\\\"blur\\\",[23,7,[]]]],[3,\\\"on\\\",[\\\"input\\\",[23,0,[\\\"handleInput\\\"]]]],[3,\\\"on\\\",[\\\"keydown\\\",[23,0,[\\\"handleKeydown\\\"]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"storeInputStyles\\\"]]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n\\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ember-power-select-status-icon\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select-multiple/trigger.hbs\"\n    }\n  });\n\n  const isIndexAccesible = target => {\n    return typeof target.objectAt === 'function';\n  };\n\n  const ua = window && window.navigator ? window.navigator.userAgent : '';\n  const isIE = ua.indexOf('MSIE ') > -1 || ua.indexOf('Trident/') > -1;\n  let Trigger = (_dec = Ember.inject.service, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, (_class = class Trigger extends _component.default {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"inputFont\", void 0);\n      (0, _defineProperty2.default)(this, \"_lastIsOpen\", this.args.select.isOpen);\n      (0, _initializerDefineProperty2.default)(this, \"textMeasurer\", _descriptor, this);\n    }\n\n    // Properties\n    get triggerMultipleInputStyle() {\n      Ember.run.scheduleOnce('actions', null, this.args.select.actions.reposition);\n\n      if (!this.args.select.selected || Ember.get(this.args.select.selected, 'length') === 0) {\n        return Ember.String.htmlSafe('width: 100%;');\n      } else {\n        let textWidth = 0;\n\n        if (this.inputFont) {\n          textWidth = this.textMeasurer.width(this.args.select.searchText, this.inputFont);\n        }\n\n        return Ember.String.htmlSafe(`width: ${textWidth + 25}px`);\n      }\n    }\n\n    get maybePlaceholder() {\n      if (isIE) {\n        return undefined;\n      }\n\n      return !this.args.select.selected || Ember.get(this.args.select.selected, 'length') === 0 ? this.args.placeholder || '' : '';\n    } // Actions\n\n\n    openChanged(_el, [isOpen]) {\n      if (isOpen === false && this._lastIsOpen === true) {\n        Ember.run.scheduleOnce('actions', null, this.args.select.actions.search, '');\n      }\n\n      this._lastIsOpen = isOpen;\n    }\n\n    storeInputStyles(input) {\n      let {\n        fontStyle,\n        fontVariant,\n        fontWeight,\n        fontSize,\n        lineHeight,\n        fontFamily\n      } = window.getComputedStyle(input);\n      this.inputFont = `${fontStyle} ${fontVariant} ${fontWeight} ${fontSize}/${lineHeight} ${fontFamily}`;\n    }\n\n    chooseOption(e) {\n      if (e.target === null) return;\n      let selectedIndex = e.target.getAttribute('data-selected-index');\n\n      if (selectedIndex) {\n        let numericIndex = parseInt(selectedIndex, 10);\n        e.stopPropagation();\n        e.preventDefault();\n        let object = this.selectedObject(this.args.select.selected, numericIndex);\n        this.args.select.actions.choose(object);\n      }\n    }\n\n    handleInput(e) {\n      if (this.args.onInput && this.args.onInput(e) === false) {\n        return;\n      }\n\n      this.args.select.actions.open(e);\n    }\n\n    handleKeydown(e) {\n      if (e.target === null) return;\n\n      if (this.args.onKeydown && this.args.onKeydown(e) === false) {\n        e.stopPropagation();\n        return false;\n      }\n\n      if (e.keyCode === 8) {\n        e.stopPropagation();\n\n        if (Ember.isBlank(e.target.value)) {\n          let lastSelection = this.args.select.selected[this.args.select.selected.length - 1];\n\n          if (lastSelection) {\n            this.args.select.actions.select(this.args.buildSelection(lastSelection, this.args.select), e);\n\n            if (typeof lastSelection === 'string') {\n              this.args.select.actions.search(lastSelection);\n            } else {\n              (true && !(this.args.searchField) && Ember.assert('`<PowerSelectMultiple>` requires a `@searchField` when the options are not strings to remove options using backspace', this.args.searchField));\n              this.args.select.actions.search(Ember.get(lastSelection, this.args.searchField));\n            }\n\n            this.args.select.actions.open(e);\n          }\n        }\n      } else if (e.keyCode >= 48 && e.keyCode <= 90 || e.keyCode === 32) {\n        // Keys 0-9, a-z or SPACE\n        e.stopPropagation();\n      }\n    }\n\n    selectedObject(list, index) {\n      if (isIndexAccesible(list)) {\n        return list.objectAt(index);\n      } else {\n        return Ember.get(list, index);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"textMeasurer\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"openChanged\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"openChanged\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"storeInputStyles\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"storeInputStyles\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chooseOption\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"chooseOption\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleInput\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleKeydown\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype)), _class));\n  _exports.default = Trigger;\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Trigger);\n});","define(\"ember-power-select/components/power-select\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@glimmer/component\", \"ember-power-select/utils/group-utils\", \"ember-concurrency-decorators\", \"ember-concurrency\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _groupUtils, _emberConcurrencyDecorators, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <BasicDropdown\n    @horizontalPosition={{@horizontalPosition}}\n    @destination={{@destination}}\n    @initiallyOpened={{@initiallyOpened}}\n    @matchTriggerWidth={{this.matchTriggerWidth}}\n    @preventScroll={{or @preventScroll false}}\n    @onClose={{this.handleClose}}\n    @onOpen={{this.handleOpen}}\n    @renderInPlace={{@renderInPlace}}\n    @verticalPosition={{@verticalPosition}}\n    @disabled={{@disabled}}\n    @calculatePosition={{@calculatePosition}}\n    @triggerComponent={{@ebdTriggerComponent}}\n    @contentComponent={{@ebdContentComponent}}\n    ...attributes as |dropdown|>\n    {{#let (assign dropdown (hash\n      selected=this.selected\n      highlighted=this.highlighted\n      options=this.options\n      results=this.results\n      resultsCount=this.resultsCount\n      loading=this.loading\n      isActive=this.isActive\n      searchText=this.searchText\n      lastSearchedText=this.lastSearchedText\n      actions=(assign dropdown.actions this._publicAPIActions)\n    )) (concat \"ember-power-select-options-\" dropdown.uniqueId) as |publicAPI listboxId|}}\n      <dropdown.Trigger\n        @eventType={{or @eventType \"mousedown\"}}\n        {{did-insert this._updateOptions @options}}\n        {{did-update this._updateOptions @options}}\n        {{did-insert this._updateSelected @selected}}\n        {{did-update this._updateSelected @selected}}\n        {{did-insert this._registerAPI publicAPI}}\n        {{did-update this._registerAPI publicAPI}}\n        {{did-update this._performSearch this.searchText}}\n        {{on \"keydown\" this.handleTriggerKeydown}}\n        {{on \"focus\" this.handleFocus}}\n        {{on \"blur\" this.handleBlur}}\n        class=\"ember-power-select-trigger {{@triggerClass}}{{if publicAPI.isActive \" ember-power-select-trigger--active\"}}\"\n        aria-describedby={{@ariaDescribedBy}}\n        aria-invalid={{@ariaInvalid}}\n        aria-label={{@ariaLabel}}\n        aria-labelledby={{@ariaLabelledBy}}\n        aria-required={{@required}}\n        role={{or @triggerRole \"button\"}}\n        title={{@title}}\n        id={{@triggerId}}\n        tabindex={{and (not @disabled) (or @tabindex \"0\")}}\n        >\n        {{#let (component (or @triggerComponent \"power-select/trigger\")) as |Trigger|}}\n          <Trigger\n            @allowClear={{@allowClear}}\n            @buildSelection={{@buildSelection}}\n            @loadingMessage={{or @loadingMessage \"Loading options...\"}}\n            @selectedItemComponent={{@selectedItemComponent}}\n            @select={{publicAPI}}\n            @searchEnabled={{@searchEnabled}}\n            @searchField={{@searchField}}\n            @onFocus={{this.handleFocus}}\n            @onBlur={{this.handleBlur}}\n            @extra={{@extra}}\n            @listboxId={{listboxId}}\n            @onInput={{this.handleInput}}\n            @onKeydown={{this.handleKeydown}}\n            @placeholder={{@placeholder}}\n            @placeholderComponent={{this.placeholderComponent}}\n            as |opt term|>\n            {{yield opt term}}\n          </Trigger>\n        {{/let}}\n      </dropdown.Trigger>\n      <dropdown.Content class=\"ember-power-select-dropdown{{if publicAPI.isActive \" ember-power-select-dropdown--active\"}} {{@dropdownClass}}\">\n        {{#let (component (if (eq @beforeOptionsComponent undefined) \"power-select/before-options\" @beforeOptionsComponent)) as |BeforeOptions|}}\n          <BeforeOptions\n            @select={{publicAPI}}\n            @searchEnabled={{@searchEnabled}}\n            @onInput={{this.handleInput}}\n            @onKeydown={{this.handleKeydown}}\n            @onFocus={{this.handleFocus}}\n            @onBlur={{this.handleBlur}}\n            @placeholder={{@placeholder}}\n            @placeholderComponent={{this.placeholderComponent}}\n            @extra={{@extra}}\n            @listboxId={{listboxId}}\n            @selectedItemComponent={{@selectedItemComponent}}\n            @searchPlaceholder={{@searchPlaceholder}}\n            />\n        {{/let}}\n        {{#if this.mustShowSearchMessage}}\n          {{#let (component (or @searchMessageComponent \"power-select/search-message\")) as |SearchMessage|}}\n            <SearchMessage @searchMessage={{this.searchMessage}} @select={{publicAPI}}/>\n          {{/let}}\n        {{else if this.mustShowNoMessages}}\n          {{#let (component (or @noMatchesMessageComponent \"power-select/no-matches-message\")) as |NoMatchesMessage|}}\n            <NoMatchesMessage @noMatchesMessage={{this.noMatchesMessage}} @select={{publicAPI}} />\n          {{/let}}\n        {{else}}\n          {{#let (component (or @optionsComponent \"power-select/options\")) as |Options|}}\n            <Options\n              @loadingMessage={{or @loadingMessage \"Loading options...\"}}\n              @select={{publicAPI}}\n              @options={{publicAPI.results}}\n              @groupIndex=\"\"\n              @optionsComponent={{Options}}\n              @extra={{@extra}}\n              @highlightOnHover={{this.highlightOnHover}}\n              @groupComponent={{or @groupComponent \"power-select/power-select-group\"}}\n              id={{listboxId}}\n              class=\"ember-power-select-options\" as |option select|>\n              {{yield option select}}\n            </Options>\n          {{/let}}\n        {{/if}}\n        {{#let (component @afterOptionsComponent) as |AfterOptions|}}\n          <AfterOptions\n            @extra={{@extra}}\n            @select={{publicAPI}}\n          />\n        {{/let}}\n      </dropdown.Content>\n    {{/let}}\n  </BasicDropdown>\n  {{!-- <BasicDropdown\n    @horizontalPosition={{@horizontalPosition}}\n    @destination={{@destination}}\n    @initiallyOpened={{@initiallyOpened}}\n    @matchTriggerWidth={{this.matchTriggerWidth}}\n    @preventScroll={{this.preventScroll}}\n    @onClose={{this.handleClose}}\n    @onOpen={{this.handleOpen}}\n    @registerAPI={{this._registerAPI}}\n    @renderInPlace={{@renderInPlace}}\n    @verticalPosition={{@verticalPosition}}\n    @disabled={{@disabled}}\n    @calculatePosition={{this.calculatePosition}}\n    ...attributes as |dropdown|>\n    <dropdown.Trigger\n      @eventType={{or @eventType \"mousedown\"}}\n      {{on \"keydown\" this.handleTriggerKeydown}}\n      {{on \"focus\" this.handleTriggerFocus}}\n      {{on \"blur\" this.handleTriggerBlur}}\n      class={{this.concatenatedTriggerClasses}}\n      id={{@triggerId}}\n      role={{this.triggerRole}}\n      aria-describedby={{@ariaDescribedBy}}\n      aria-invalid={{@ariaInvalid}}\n      aria-label={{@ariaLabel}}\n      aria-labelledby={{@ariaLabelledBy}}\n      aria-required={{@required}}\n      title={{@title}}\n      tabindex={{and (not @disabled) (or @tabindex \"0\")}}>\n      {{#let (component this.triggerComponent) as |Trigger|}}\n        <Trigger\n          @htmlTag={{this._triggerTagName}}\n          @allowClear={{@allowClear}}\n          @buildSelection={{@buildSelection}}\n          @extra={{@extra}}\n          @listboxId={{this.optionsId}}\n          @loadingMessage={{this.loadingMessage}}\n          @onFocus={{this.handleFocus}}\n          @onBlur={{this.handleBlur}}\n          @onInput={{this.handleInput}}\n  \n          @onKeydown={{this.handleKeydown}}\n          @searchEnabled={{@searchEnabled}}\n          @searchField={{@searchField}}\n          @select={{this.publicAPI}}\n          @selectedItemComponent={{@selectedItemComponent}}\n          as |opt term|>\n          {{yield opt term}}\n        </Trigger>\n      {{/let}}\n    </dropdown.Trigger>\n    <dropdown.Content @htmlTag={{this._contentTagName}} class={{this.concatenatedDropdownClasses}}>\n      {{#let (component this.beforeOptionsComponent) as |BeforeOptions|}}\n        <BeforeOptions\n          @animationEnabled={{@animationEnabled}}\n          @select={{this.publicAPI}}\n          @searchEnabled={{@searchEnabled}}\n          @searchPlaceholder={{@searchPlaceholder}}\n          @listboxId={{this.optionsId}}\n          @onInput={{this.handleInput}}\n          @onKeydown={{this.handleKeydown}}\n          @onFocus={{this.handleFocus}}\n          @onBlur={{this.handleBlur}}\n          @extra={{@extra}}\n          @placeholder={{@placeholder}}\n          @placeholderComponent={{this.placeholderComponent}}\n          @selectedItemComponent={{@selectedItemComponent}}/>\n      {{/let}}\n      {{#if this.mustShowSearchMessage}}\n        {{#let (component this.searchMessageComponent) as |SearchMessage|}}\n          <SearchMessage @searchMessage={{this.searchMessage}} @select={{this.publicAPI}}/>\n        {{/let}}\n      {{else if this.mustShowNoMessages}}\n        {{#if this.noMatchesMessage}}\n          <ul class=\"ember-power-select-options\" role=\"listbox\">\n            <li class=\"ember-power-select-option ember-power-select-option--no-matches-message\" role=\"option\">\n              {{this.noMatchesMessage}}\n            </li>\n          </ul>\n        {{/if}}\n      {{else}}\n        {{#let (component this.optionsComponent) as |Options|}}\n          <Options\n            @loadingMessage={{this.loadingMessage}}\n            @groupIndex=\"\"\n            @extra={{@extra}}\n            @select={{this.publicAPI}}\n            @options={{this.publicAPI.results}}\n            @optionsComponent={{Options}}\n            @highlightOnHover={{this.highlightOnHover}}\n            @groupComponent={{this.groupComponent}}\n            id={{this.optionsId}}\n            class=\"ember-power-select-options\" as |option term|>\n            {{yield option term}}\n          </Options>\n        {{/let}}\n      {{/if}}\n      {{#let (component this.afterOptionsComponent) as |AfterOptions|}}\n        <AfterOptions @select={{this.publicAPI}} @extra={{@extra}}/>\n      {{/let}}\n    </dropdown.Content>\n  </BasicDropdown> --}}\n  */\n  {\n    \"id\": \"pmjif2NY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"dropdown\\\",\\\"publicAPI\\\",\\\"listboxId\\\",\\\"AfterOptions\\\",\\\"Options\\\",\\\"option\\\",\\\"select\\\",\\\"NoMatchesMessage\\\",\\\"SearchMessage\\\",\\\"BeforeOptions\\\",\\\"Trigger\\\",\\\"opt\\\",\\\"term\\\",\\\"@extra\\\",\\\"@loadingMessage\\\",\\\"@groupComponent\\\",\\\"&default\\\",\\\"@optionsComponent\\\",\\\"@noMatchesMessageComponent\\\",\\\"@searchMessageComponent\\\",\\\"@searchEnabled\\\",\\\"@placeholder\\\",\\\"@selectedItemComponent\\\",\\\"@searchPlaceholder\\\",\\\"@allowClear\\\",\\\"@buildSelection\\\",\\\"@searchField\\\",\\\"@eventType\\\",\\\"@triggerClass\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@required\\\",\\\"@triggerRole\\\",\\\"@title\\\",\\\"@triggerId\\\",\\\"@tabindex\\\",\\\"@disabled\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@triggerComponent\\\",\\\"@dropdownClass\\\",\\\"@beforeOptionsComponent\\\",\\\"@afterOptionsComponent\\\",\\\"@horizontalPosition\\\",\\\"@destination\\\",\\\"@initiallyOpened\\\",\\\"@preventScroll\\\",\\\"@renderInPlace\\\",\\\"@verticalPosition\\\",\\\"@calculatePosition\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\",\\\"&attrs\\\"],\\\"statements\\\":[[5,\\\"basic-dropdown\\\",[[13,55]],[[\\\"@horizontalPosition\\\",\\\"@destination\\\",\\\"@initiallyOpened\\\",\\\"@matchTriggerWidth\\\",\\\"@preventScroll\\\",\\\"@onClose\\\",\\\"@onOpen\\\",\\\"@renderInPlace\\\",\\\"@verticalPosition\\\",\\\"@disabled\\\",\\\"@calculatePosition\\\",\\\"@triggerComponent\\\",\\\"@contentComponent\\\"],[[23,46,[]],[23,47,[]],[23,48,[]],[23,0,[\\\"matchTriggerWidth\\\"]],[28,\\\"or\\\",[[23,49,[]],false],null],[23,0,[\\\"handleClose\\\"]],[23,0,[\\\"handleOpen\\\"]],[23,50,[]],[23,51,[]],[23,39,[]],[23,52,[]],[23,53,[]],[23,54,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"let\\\",[[28,\\\"assign\\\",[[23,1,[]],[28,\\\"hash\\\",null,[[\\\"selected\\\",\\\"highlighted\\\",\\\"options\\\",\\\"results\\\",\\\"resultsCount\\\",\\\"loading\\\",\\\"isActive\\\",\\\"searchText\\\",\\\"lastSearchedText\\\",\\\"actions\\\"],[[23,0,[\\\"selected\\\"]],[23,0,[\\\"highlighted\\\"]],[23,0,[\\\"options\\\"]],[23,0,[\\\"results\\\"]],[23,0,[\\\"resultsCount\\\"]],[23,0,[\\\"loading\\\"]],[23,0,[\\\"isActive\\\"]],[23,0,[\\\"searchText\\\"]],[23,0,[\\\"lastSearchedText\\\"]],[28,\\\"assign\\\",[[23,1,[\\\"actions\\\"]],[23,0,[\\\"_publicAPIActions\\\"]]],null]]]]],null],[28,\\\"concat\\\",[\\\"ember-power-select-options-\\\",[23,1,[\\\"uniqueId\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[6,[23,1,[\\\"Trigger\\\"]],[[12,\\\"class\\\",[29,[\\\"ember-power-select-trigger \\\",[23,29,[]],[28,\\\"if\\\",[[23,2,[\\\"isActive\\\"]],\\\" ember-power-select-trigger--active\\\"],null]]]],[12,\\\"aria-describedby\\\",[23,30,[]]],[12,\\\"aria-invalid\\\",[23,31,[]]],[12,\\\"aria-label\\\",[23,32,[]]],[12,\\\"aria-labelledby\\\",[23,33,[]]],[12,\\\"aria-required\\\",[23,34,[]]],[12,\\\"role\\\",[28,\\\"or\\\",[[23,35,[]],\\\"button\\\"],null]],[12,\\\"title\\\",[23,36,[]]],[12,\\\"id\\\",[23,37,[]]],[12,\\\"tabindex\\\",[28,\\\"and\\\",[[28,\\\"not\\\",[[23,39,[]]],null],[28,\\\"or\\\",[[23,38,[]],\\\"0\\\"],null]],null]],[3,\\\"did-insert\\\",[[23,0,[\\\"_updateOptions\\\"]],[23,40,[]]]],[3,\\\"did-update\\\",[[23,0,[\\\"_updateOptions\\\"]],[23,40,[]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"_updateSelected\\\"]],[23,41,[]]]],[3,\\\"did-update\\\",[[23,0,[\\\"_updateSelected\\\"]],[23,41,[]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"_registerAPI\\\"]],[23,2,[]]]],[3,\\\"did-update\\\",[[23,0,[\\\"_registerAPI\\\"]],[23,2,[]]]],[3,\\\"did-update\\\",[[23,0,[\\\"_performSearch\\\"]],[23,0,[\\\"searchText\\\"]]]],[3,\\\"on\\\",[\\\"keydown\\\",[23,0,[\\\"handleTriggerKeydown\\\"]]]],[3,\\\"on\\\",[\\\"focus\\\",[23,0,[\\\"handleFocus\\\"]]]],[3,\\\"on\\\",[\\\"blur\\\",[23,0,[\\\"handleBlur\\\"]]]]],[[\\\"@eventType\\\"],[[28,\\\"or\\\",[[23,28,[]],\\\"mousedown\\\"],null]]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"or\\\",[[23,42,[]],\\\"power-select/trigger\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[6,[23,11,[]],[],[[\\\"@allowClear\\\",\\\"@buildSelection\\\",\\\"@loadingMessage\\\",\\\"@selectedItemComponent\\\",\\\"@select\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@extra\\\",\\\"@listboxId\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\"],[[23,25,[]],[23,26,[]],[28,\\\"or\\\",[[23,15,[]],\\\"Loading options...\\\"],null],[23,23,[]],[23,2,[]],[23,21,[]],[23,27,[]],[23,0,[\\\"handleFocus\\\"]],[23,0,[\\\"handleBlur\\\"]],[23,14,[]],[23,3,[]],[23,0,[\\\"handleInput\\\"]],[23,0,[\\\"handleKeydown\\\"]],[23,22,[]],[23,0,[\\\"placeholderComponent\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[14,17,[[23,12,[]],[23,13,[]]]],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[12,13]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[11]},null],[0,\\\"    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n    \\\"],[6,[23,1,[\\\"Content\\\"]],[[12,\\\"class\\\",[29,[\\\"ember-power-select-dropdown\\\",[28,\\\"if\\\",[[23,2,[\\\"isActive\\\"]],\\\" ember-power-select-dropdown--active\\\"],null],\\\" \\\",[23,43,[]]]]]],[[],[]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,44,[]],[27]],null],\\\"power-select/before-options\\\",[23,44,[]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[6,[23,10,[]],[],[[\\\"@select\\\",\\\"@searchEnabled\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@extra\\\",\\\"@listboxId\\\",\\\"@selectedItemComponent\\\",\\\"@searchPlaceholder\\\"],[[23,2,[]],[23,21,[]],[23,0,[\\\"handleInput\\\"]],[23,0,[\\\"handleKeydown\\\"]],[23,0,[\\\"handleFocus\\\"]],[23,0,[\\\"handleBlur\\\"]],[23,22,[]],[23,0,[\\\"placeholderComponent\\\"]],[23,14,[]],[23,3,[]],[23,23,[]],[23,24,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[10]},null],[4,\\\"if\\\",[[23,0,[\\\"mustShowSearchMessage\\\"]]],null,{\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"or\\\",[[23,20,[]],\\\"power-select/search-message\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[6,[23,9,[]],[],[[\\\"@searchMessage\\\",\\\"@select\\\"],[[23,0,[\\\"searchMessage\\\"]],[23,2,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[9]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"mustShowNoMessages\\\"]]],null,{\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"or\\\",[[23,19,[]],\\\"power-select/no-matches-message\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[6,[23,8,[]],[],[[\\\"@noMatchesMessage\\\",\\\"@select\\\"],[[23,0,[\\\"noMatchesMessage\\\"]],[23,2,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[8]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"let\\\",[[28,\\\"component\\\",[[28,\\\"or\\\",[[23,18,[]],\\\"power-select/options\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[6,[23,5,[]],[[12,\\\"id\\\",[23,3,[]]],[12,\\\"class\\\",\\\"ember-power-select-options\\\"]],[[\\\"@loadingMessage\\\",\\\"@select\\\",\\\"@options\\\",\\\"@groupIndex\\\",\\\"@optionsComponent\\\",\\\"@extra\\\",\\\"@highlightOnHover\\\",\\\"@groupComponent\\\"],[[28,\\\"or\\\",[[23,15,[]],\\\"Loading options...\\\"],null],[23,2,[]],[23,2,[\\\"results\\\"]],\\\"\\\",[23,5,[]],[23,14,[]],[23,0,[\\\"highlightOnHover\\\"]],[28,\\\"or\\\",[[23,16,[]],\\\"power-select/power-select-group\\\"],null]]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[14,17,[[23,6,[]],[23,7,[]]]],[0,\\\"\\\\n          \\\"]],\\\"parameters\\\":[6,7]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[5]},null],[0,\\\"      \\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}],[4,\\\"let\\\",[[28,\\\"component\\\",[[23,45,[]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[6,[23,4,[]],[],[[\\\"@extra\\\",\\\"@select\\\"],[[23,14,[]],[23,2,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]},null],[0,\\\"    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2,3]},null]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select.hbs\"\n    }\n  });\n\n  const isArrayable = coll => {\n    return typeof coll.toArray === 'function';\n  };\n\n  const isPromiseLike = thing => {\n    return typeof thing.then === 'function';\n  };\n\n  const isPromiseProxyLike = thing => {\n    return isPromiseLike(thing) && Object.hasOwnProperty.call(thing, 'content');\n  };\n\n  const isCancellablePromise = thing => {\n    return typeof thing.cancel === 'function';\n  };\n\n  let PowerSelect = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._tracked, _dec7 = Ember._tracked, _dec8 = Ember._tracked, _dec9 = Ember._tracked, _dec10 = Ember._tracked, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, _dec15 = Ember._action, _dec16 = Ember._action, _dec17 = Ember._action, _dec18 = Ember._action, _dec19 = Ember._action, _dec20 = Ember._action, _dec21 = Ember._action, _dec22 = Ember._action, _dec23 = Ember._action, _dec24 = Ember._action, _dec25 = Ember._action, _dec26 = Ember._action, _dec27 = Ember._action, (_class = class PowerSelect extends _component.default {\n    // Untracked properties\n    // Tracked properties\n    // Lifecycle hooks\n    constructor(owner, args) {\n      super(owner, args);\n      (0, _defineProperty2.default)(this, \"_publicAPIActions\", {\n        search: this._search,\n        highlight: this._highlight,\n        select: this._select,\n        choose: this._choose,\n        scrollTo: this._scrollTo\n      });\n      (0, _initializerDefineProperty2.default)(this, \"_resolvedOptions\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"_resolvedSelected\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"_repeatingChar\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"_expirableSearchText\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"_searchResult\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"isActive\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"loading\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"searchText\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"lastSearchedText\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"highlighted\", _descriptor10, this);\n      (0, _defineProperty2.default)(this, \"storedAPI\", void 0);\n      (0, _defineProperty2.default)(this, \"_lastOptionsPromise\", void 0);\n      (0, _defineProperty2.default)(this, \"_lastSelectedPromise\", void 0);\n      (0, _defineProperty2.default)(this, \"_lastSearchPromise\", void 0);\n      (0, _defineProperty2.default)(this, \"_filterResultsCache\", {\n        results: [],\n        options: [],\n        searchText: this.searchText\n      });\n      (true && !(this.args.onChange && typeof this.args.onChange === 'function') && Ember.assert('<PowerSelect> requires an `@onChange` function', this.args.onChange && typeof this.args.onChange === 'function'));\n    }\n\n    willDestroy() {\n      if (this._lastSelectedPromise && isPromiseProxyLike(this._lastSelectedPromise)) {\n        try {\n          Ember.removeObserver(this._lastSelectedPromise, 'content', this, this._selectedObserverCallback);\n        } catch {}\n\n        this._lastSelectedPromise = undefined;\n      }\n\n      super.willDestroy.apply(this, arguments);\n    } // Getters\n\n\n    get highlightOnHover() {\n      return this.args.highlightOnHover === undefined ? true : this.args.highlightOnHover;\n    }\n\n    get placeholderComponent() {\n      return this.args.placeholderComponent || 'power-select/placeholder';\n    }\n\n    get searchMessage() {\n      return this.args.searchMessage === undefined ? 'Type to search' : this.args.searchMessage;\n    }\n\n    get noMatchesMessage() {\n      return this.args.noMatchesMessage === undefined ? 'No results found' : this.args.noMatchesMessage;\n    }\n\n    get matchTriggerWidth() {\n      return this.args.matchTriggerWidth === undefined ? true : this.args.matchTriggerWidth;\n    }\n\n    get mustShowSearchMessage() {\n      return !this.loading && this.searchText.length === 0 && !!this.args.search && !!this.searchMessage && this.resultsCount === 0;\n    }\n\n    get mustShowNoMessages() {\n      return !this.loading && this.resultsCount === 0 && (!this.args.search || this.lastSearchedText.length > 0);\n    }\n\n    get results() {\n      if (this.searchText.length > 0) {\n        if (this.args.search) {\n          return toPlainArray(this._searchResult || this.options);\n        } else {\n          if (this._filterResultsCache.options === this.options && this._filterResultsCache.searchText === this.searchText) {\n            // This is an optimization to avoid filtering several times, which may be a bit expensive\n            // if there are many options, if neither the options nor the searchtext have changed\n            return this._filterResultsCache.results;\n          }\n\n          let results = this._filter(this.options, this.searchText);\n\n          this._filterResultsCache = {\n            results,\n            options: this.options,\n            searchText: this.searchText\n          };\n          return results;\n        }\n      } else {\n        return this.options;\n      }\n    }\n\n    get options() {\n      if (this._resolvedOptions) return toPlainArray(this._resolvedOptions);\n\n      if (this.args.options) {\n        return toPlainArray(this.args.options);\n      } else {\n        return [];\n      }\n    }\n\n    get resultsCount() {\n      return (0, _groupUtils.countOptions)(this.results);\n    }\n\n    get selected() {\n      if (this._resolvedSelected) {\n        return toPlainArray(this._resolvedSelected);\n      } else if (this.args.selected && typeof this.args.selected.then !== 'function') {\n        return toPlainArray(this.args.selected);\n      }\n\n      return undefined;\n    } // Actions\n\n\n    handleOpen(_select, e) {\n      if (this.args.onOpen && this.args.onOpen(this.storedAPI, e) === false) {\n        return false;\n      }\n\n      if (e) {\n        if (e instanceof KeyboardEvent && e.type === 'keydown' && (e.keyCode === 38 || e.keyCode === 40)) {\n          e.preventDefault();\n        }\n      }\n\n      this._resetHighlighted();\n    }\n\n    handleClose(_select, e) {\n      if (this.args.onClose && this.args.onClose(this.storedAPI, e) === false) {\n        return false;\n      }\n\n      this._highlight(undefined);\n    }\n\n    handleInput(e) {\n      if (e.target === null) return;\n      let term = e.target.value;\n      let correctedTerm;\n\n      if (this.args.onInput) {\n        correctedTerm = this.args.onInput(term, this.storedAPI, e);\n\n        if (correctedTerm === false) {\n          return;\n        }\n      }\n\n      this._publicAPIActions.search(typeof correctedTerm === 'string' ? correctedTerm : term);\n    }\n\n    handleKeydown(e) {\n      if (this.args.onKeydown && this.args.onKeydown(this.storedAPI, e) === false) {\n        return false;\n      }\n\n      return this._routeKeydown(this.storedAPI, e);\n    }\n\n    handleTriggerKeydown(e) {\n      if (this.args.onKeydown && this.args.onKeydown(this.storedAPI, e) === false) {\n        e.stopImmediatePropagation();\n        return;\n      }\n\n      if (e.ctrlKey || e.metaKey) {\n        e.stopImmediatePropagation();\n        return;\n      }\n\n      if (e.keyCode >= 48 && e.keyCode <= 90 || isNumpadKeyEvent(e)) {\n        // Keys 0-9, a-z or numpad keys\n        this.triggerTypingTask.perform(e);\n      } else if (e.keyCode === 32) {\n        // Space\n        this._handleKeySpace(this.storedAPI, e);\n      } else {\n        return this._routeKeydown(this.storedAPI, e);\n      }\n    }\n\n    handleFocus(event) {\n      if (!this.isDestroying) {\n        Ember.run.scheduleOnce('actions', this, this._updateIsActive, true);\n      }\n\n      if (this.args.onFocus) {\n        this.args.onFocus(this.storedAPI, event);\n      }\n    }\n\n    handleBlur(event) {\n      if (!this.isDestroying) {\n        Ember.run.scheduleOnce('actions', this, this._updateIsActive, false);\n      }\n\n      if (this.args.onBlur) {\n        this.args.onBlur(this.storedAPI, event);\n      }\n    } // Methods\n\n\n    _search(term) {\n      if (this.searchText === term) return;\n      this.searchText = term;\n\n      if (!this.args.search) {\n        this.lastSearchedText = term;\n\n        this._resetHighlighted();\n      }\n    }\n\n    _updateOptions() {\n      if (!this.args.options) return;\n\n      if (isPromiseLike(this.args.options)) {\n        if (this._lastOptionsPromise === this.args.options) return; // promise is still the same\n\n        let currentOptionsPromise = this.args.options;\n        this._lastOptionsPromise = currentOptionsPromise;\n        this.loading = true;\n\n        this._lastOptionsPromise.then(resolvedOptions => {\n          if (this._lastOptionsPromise === currentOptionsPromise) {\n            this.loading = false;\n            this._resolvedOptions = resolvedOptions;\n\n            this._resetHighlighted();\n          }\n        }).catch(() => {\n          if (this._lastOptionsPromise === currentOptionsPromise) {\n            this.loading = false;\n          }\n        });\n      } else {\n        Ember.run.scheduleOnce('actions', this, this._resetHighlighted);\n      }\n    }\n\n    _updateHighlighted() {\n      if (this.storedAPI.isOpen) {\n        this._resetHighlighted();\n      }\n    }\n\n    _updateSelected() {\n      if (!this.args.selected) return;\n\n      if (typeof this.args.selected.then === 'function') {\n        if (this._lastSelectedPromise === this.args.selected) return; // promise is still the same\n\n        if (this._lastSelectedPromise && isPromiseProxyLike(this._lastSelectedPromise)) {\n          Ember.removeObserver(this._lastSelectedPromise, 'content', this, this._selectedObserverCallback);\n        }\n\n        let currentSelectedPromise = this.args.selected;\n        currentSelectedPromise.then(() => {\n          if (this.isDestroyed || this.isDestroying) return;\n\n          if (isPromiseProxyLike(currentSelectedPromise)) {\n            Ember.addObserver(currentSelectedPromise, 'content', this, this._selectedObserverCallback);\n          }\n        });\n        this._lastSelectedPromise = currentSelectedPromise;\n\n        this._lastSelectedPromise.then(resolvedSelected => {\n          if (this._lastSelectedPromise === currentSelectedPromise) {\n            this._resolvedSelected = resolvedSelected;\n\n            this._highlight(resolvedSelected);\n          }\n        });\n      } else {\n        this._resolvedSelected = undefined; // Don't highlight args.selected array on multi-select\n\n        if (!Array.isArray(this.args.selected)) {\n          this._highlight(this.args.selected);\n        }\n      }\n    }\n\n    _selectedObserverCallback() {\n      this._resolvedSelected = this._lastSelectedPromise;\n\n      this._highlight(this._resolvedSelected);\n    }\n\n    _highlight(opt) {\n      if (opt && Ember.get(opt, 'disabled')) {\n        return;\n      }\n\n      this.highlighted = opt;\n    }\n\n    _select(selected, e) {\n      if (!Ember.isEqual(this.storedAPI.selected, selected)) {\n        this.args.onChange(selected, this.storedAPI, e);\n      }\n    }\n\n    _choose(selected, e) {\n      let selection = this.args.buildSelection ? this.args.buildSelection(selected, this.storedAPI) : selected;\n      this.storedAPI.actions.select(selection, e);\n\n      if (this.args.closeOnSelect !== false) {\n        this.storedAPI.actions.close(e); // return false;\n      }\n    }\n\n    _scrollTo(option) {\n      let select = this.storedAPI;\n\n      if (!document || !option) {\n        return;\n      }\n\n      if (this.args.scrollTo) {\n        return this.args.scrollTo(option, select);\n      }\n\n      let optionsList = document.querySelector(`[aria-controls=\"ember-power-select-trigger-${select.uniqueId}\"]`);\n\n      if (!optionsList) {\n        return;\n      }\n\n      let index = (0, _groupUtils.indexOfOption)(select.results, option);\n\n      if (index === -1) {\n        return;\n      }\n\n      let optionElement = optionsList.querySelectorAll('[data-option-index]').item(index);\n\n      if (!optionElement) {\n        return;\n      }\n\n      let optionTopScroll = optionElement.offsetTop - optionsList.offsetTop;\n      let optionBottomScroll = optionTopScroll + optionElement.offsetHeight;\n\n      if (optionBottomScroll > optionsList.offsetHeight + optionsList.scrollTop) {\n        optionsList.scrollTop = optionBottomScroll - optionsList.offsetHeight;\n      } else if (optionTopScroll < optionsList.scrollTop) {\n        optionsList.scrollTop = optionTopScroll;\n      }\n    }\n\n    _registerAPI(_, [publicAPI]) {\n      this.storedAPI = publicAPI;\n\n      if (this.args.registerAPI) {\n        Ember.run.scheduleOnce('actions', null, this.args.registerAPI, publicAPI);\n      }\n    }\n\n    _performSearch(_, [term]) {\n      if (!this.args.search) return;\n\n      if (term === '') {\n        this.loading = false;\n        this.lastSearchedText = term;\n\n        if (this._lastSearchPromise !== undefined) {\n          if (isCancellablePromise(this._lastSearchPromise)) {\n            this._lastSearchPromise.cancel(); // Cancel ember-concurrency tasks\n\n          }\n\n          this._lastSearchPromise = undefined;\n        }\n\n        return;\n      }\n\n      let searchResult = this.args.search(term, this.storedAPI);\n\n      if (searchResult && isPromiseLike(searchResult)) {\n        this.loading = true;\n\n        if (this._lastSearchPromise !== undefined && isCancellablePromise(this._lastSearchPromise)) {\n          this._lastSearchPromise.cancel(); // Cancel ember-concurrency tasks\n\n        }\n\n        this._lastSearchPromise = searchResult;\n        searchResult.then(results => {\n          if (this._lastSearchPromise === searchResult) {\n            this._searchResult = results;\n            this.loading = false;\n            this.lastSearchedText = term;\n\n            this._resetHighlighted();\n          }\n        }).catch(() => {\n          if (this._lastSearchPromise === searchResult) {\n            this.loading = false;\n            this.lastSearchedText = term;\n          }\n        });\n      } else {\n        this.lastSearchedText = term;\n        this._searchResult = searchResult;\n\n        this._resetHighlighted();\n      }\n    }\n\n    _defaultBuildSelection(option) {\n      return option;\n    }\n\n    _routeKeydown(select, e) {\n      if (e.keyCode === 38 || e.keyCode === 40) {\n        // Up & Down\n        return this._handleKeyUpDown(select, e);\n      } else if (e.keyCode === 13) {\n        // ENTER\n        return this._handleKeyEnter(select, e);\n      } else if (e.keyCode === 9) {\n        // Tab\n        return this._handleKeyTab(select, e);\n      } else if (e.keyCode === 27) {\n        // ESC\n        return this._handleKeyESC(select, e);\n      }\n    }\n\n    _handleKeyTab(select, e) {\n      select.actions.close(e);\n    }\n\n    _handleKeyESC(select, e) {\n      select.actions.close(e);\n    }\n\n    _handleKeyEnter(select, e) {\n      if (select.isOpen && select.highlighted !== undefined) {\n        select.actions.choose(select.highlighted, e);\n        e.stopImmediatePropagation();\n        return false;\n      }\n    }\n\n    _handleKeySpace(select, e) {\n      if (e.target !== null && ['TEXTAREA', 'INPUT'].includes(e.target.nodeName)) {\n        e.stopImmediatePropagation();\n      } else if (select.isOpen && select.highlighted !== undefined) {\n        e.stopImmediatePropagation();\n        e.preventDefault(); // Prevents scrolling of the page.\n\n        select.actions.choose(select.highlighted, e);\n      }\n    }\n\n    _handleKeyUpDown(select, e) {\n      if (select.isOpen) {\n        e.preventDefault();\n        e.stopPropagation();\n        let step = e.keyCode === 40 ? 1 : -1;\n        let newHighlighted = (0, _groupUtils.advanceSelectableOption)(select.results, select.highlighted, step);\n        select.actions.highlight(newHighlighted);\n        select.actions.scrollTo(newHighlighted);\n      } else {\n        select.actions.open(e);\n      }\n    }\n\n    _resetHighlighted() {\n      let highlighted;\n      let defHighlighted = this.args.defaultHighlighted || _groupUtils.defaultHighlighted;\n\n      if (typeof defHighlighted === 'function') {\n        highlighted = defHighlighted({\n          results: this.results,\n          highlighted: this.highlighted,\n          selected: this.selected\n        });\n      } else {\n        highlighted = defHighlighted;\n      }\n\n      this._highlight(highlighted);\n    }\n\n    _filter(options, term, skipDisabled = false) {\n      let matcher = this.args.matcher || _groupUtils.defaultMatcher;\n      let optionMatcher = getOptionMatcher(matcher, _groupUtils.defaultMatcher, this.args.searchField);\n      return (0, _groupUtils.filterOptions)(options || [], term, optionMatcher, skipDisabled);\n    }\n\n    _updateIsActive(value) {\n      this.isActive = value;\n    }\n\n    findWithOffset(options, term, offset, skipDisabled = false) {\n      let typeAheadOptionMatcher = getOptionMatcher(this.args.typeAheadOptionMatcher || _groupUtils.defaultTypeAheadMatcher, _groupUtils.defaultTypeAheadMatcher, this.args.searchField);\n      return (0, _groupUtils.findOptionWithOffset)(options || [], term, typeAheadOptionMatcher, offset, skipDisabled);\n    } // Tasks\n\n\n    *triggerTypingTask(e) {\n      // In general, a user doing this interaction means to have a different result.\n      let searchStartOffset = 1;\n      let repeatingChar = this._repeatingChar;\n      let charCode = e.keyCode;\n\n      if (isNumpadKeyEvent(e)) {\n        charCode -= 48; // Adjust char code offset for Numpad key codes. Check here for numapd key code behavior: https://goo.gl/Qwc9u4\n      }\n\n      let term; // Check if user intends to cycle through results. _repeatingChar can only be the first character.\n\n      let c = String.fromCharCode(charCode);\n\n      if (c === this._repeatingChar) {\n        term = c;\n      } else {\n        term = this._expirableSearchText + c;\n      }\n\n      if (term.length > 1) {\n        // If the term is longer than one char, the user is in the middle of a non-cycling interaction\n        // so the offset is just zero (the current selection is a valid match).\n        searchStartOffset = 0;\n        repeatingChar = '';\n      } else {\n        repeatingChar = c;\n      } // When the select is open, the \"selection\" is just highlighted.\n\n\n      if (this.storedAPI.isOpen && this.storedAPI.highlighted) {\n        searchStartOffset += (0, _groupUtils.indexOfOption)(this.storedAPI.options, this.storedAPI.highlighted);\n      } else if (!this.storedAPI.isOpen && this.selected) {\n        searchStartOffset += (0, _groupUtils.indexOfOption)(this.storedAPI.options, this.selected);\n      } else {\n        searchStartOffset = 0;\n      } // The char is always appended. That way, searching for words like \"Aaron\" will work even\n      // if \"Aa\" would cycle through the results.\n\n\n      this._expirableSearchText = this._expirableSearchText + c;\n      this._repeatingChar = repeatingChar;\n      let match = this.findWithOffset(this.storedAPI.options, term, searchStartOffset, true);\n\n      if (match !== undefined) {\n        if (this.storedAPI.isOpen) {\n          this.storedAPI.actions.highlight(match);\n          this.storedAPI.actions.scrollTo(match);\n        } else {\n          this.storedAPI.actions.select(match, e);\n        }\n      }\n\n      yield (0, _emberConcurrency.timeout)(1000);\n      this._expirableSearchText = '';\n      this._repeatingChar = '';\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_resolvedOptions\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_resolvedSelected\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_repeatingChar\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_expirableSearchText\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_searchResult\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isActive\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"loading\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"searchText\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"lastSearchedText\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"highlighted\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleOpen\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOpen\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleClose\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClose\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleInput\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleKeydown\", [_dec14], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleTriggerKeydown\", [_dec15], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTriggerKeydown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleFocus\", [_dec16], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocus\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleBlur\", [_dec17], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_search\", [_dec18], Object.getOwnPropertyDescriptor(_class.prototype, \"_search\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_updateOptions\", [_dec19], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateOptions\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_updateHighlighted\", [_dec20], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateHighlighted\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_updateSelected\", [_dec21], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateSelected\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_highlight\", [_dec22], Object.getOwnPropertyDescriptor(_class.prototype, \"_highlight\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_select\", [_dec23], Object.getOwnPropertyDescriptor(_class.prototype, \"_select\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_choose\", [_dec24], Object.getOwnPropertyDescriptor(_class.prototype, \"_choose\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_scrollTo\", [_dec25], Object.getOwnPropertyDescriptor(_class.prototype, \"_scrollTo\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_registerAPI\", [_dec26], Object.getOwnPropertyDescriptor(_class.prototype, \"_registerAPI\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_performSearch\", [_dec27], Object.getOwnPropertyDescriptor(_class.prototype, \"_performSearch\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"triggerTypingTask\", [_emberConcurrencyDecorators.restartableTask], Object.getOwnPropertyDescriptor(_class.prototype, \"triggerTypingTask\"), _class.prototype)), _class));\n  _exports.default = PowerSelect;\n\n  function getOptionMatcher(matcher, defaultMatcher, searchField) {\n    if (searchField && matcher === defaultMatcher) {\n      return (option, text) => matcher(Ember.get(option, searchField), text);\n    } else {\n      return (option, text) => {\n        (true && !(matcher !== defaultMatcher || typeof option === 'string') && Ember.assert('<PowerSelect> If you want the default filtering to work on options that are not plain strings, you need to provide `@searchField`', matcher !== defaultMatcher || typeof option === 'string'));\n        return matcher(option, text);\n      };\n    }\n  }\n\n  function isNumpadKeyEvent(e) {\n    return e.keyCode >= 96 && e.keyCode <= 105;\n  }\n\n  const toPlainArray = collection => {\n    if (isArrayable(collection)) {\n      return collection.toArray();\n    } else {\n      return collection;\n    }\n  };\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, PowerSelect);\n});","define(\"ember-power-select/components/power-select/before-options\", [\"exports\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@glimmer/component\"], function (_exports, _applyDecoratedDescriptor2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @searchEnabled}}\n    <div class=\"ember-power-select-search\">\n      <input type=\"search\" autocomplete=\"off\"\n        autocorrect=\"off\" autocapitalize=\"off\"\n        spellcheck={{false}} role=\"combobox\"\n        class=\"ember-power-select-search-input\"\n        value={{@select.searchText}}\n        aria-controls={{@listboxId}}\n        placeholder={{@searchPlaceholder}}\n        {{on \"input\" @onInput}}\n        {{on \"focus\" @onFocus}}\n        {{on \"blur\" @onBlur}}\n        {{on \"keydown\" this.handleKeydown}}\n        {{did-insert this.focusInput}}\n        {{will-destroy this.clearSearch}}>\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"cg+Eiqnb\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@select\\\",\\\"@listboxId\\\",\\\"@searchPlaceholder\\\",\\\"@onInput\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@searchEnabled\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,7,[]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"ember-power-select-search\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"input\\\",false],[12,\\\"autocomplete\\\",\\\"off\\\"],[12,\\\"autocorrect\\\",\\\"off\\\"],[12,\\\"autocapitalize\\\",\\\"off\\\"],[12,\\\"spellcheck\\\",false],[12,\\\"role\\\",\\\"combobox\\\"],[12,\\\"class\\\",\\\"ember-power-select-search-input\\\"],[12,\\\"value\\\",[23,1,[\\\"searchText\\\"]]],[12,\\\"aria-controls\\\",[23,2,[]]],[12,\\\"placeholder\\\",[23,3,[]]],[12,\\\"type\\\",\\\"search\\\"],[3,\\\"on\\\",[\\\"input\\\",[23,4,[]]]],[3,\\\"on\\\",[\\\"focus\\\",[23,5,[]]]],[3,\\\"on\\\",[\\\"blur\\\",[23,6,[]]]],[3,\\\"on\\\",[\\\"keydown\\\",[23,0,[\\\"handleKeydown\\\"]]]],[3,\\\"did-insert\\\",[[23,0,[\\\"focusInput\\\"]]]],[3,\\\"will-destroy\\\",[[23,0,[\\\"clearSearch\\\"]]]],[8],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/before-options.hbs\"\n    }\n  });\n\n  let BeforeOptions = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, (_class = class BeforeOptions extends _component.default {\n    clearSearch() {\n      Ember.run.scheduleOnce('actions', this.args.select.actions, 'search', '');\n    }\n\n    handleKeydown(e) {\n      if (this.args.onKeydown(e) === false) {\n        return false;\n      }\n\n      if (e.keyCode === 13) {\n        this.args.select.actions.close(e);\n      }\n    }\n\n    focusInput(el) {\n      Ember.run.later(() => {\n        if (this.args.autofocus !== false) {\n          el.focus();\n        }\n      }, 0);\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clearSearch\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"clearSearch\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"handleKeydown\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"focusInput\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"focusInput\"), _class.prototype)), _class));\n  _exports.default = BeforeOptions;\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, BeforeOptions);\n});","define(\"ember-power-select/components/power-select/no-matches-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @noMatchesMessage}}\n    <ul class=\"ember-power-select-options\" role=\"listbox\">\n      <li class=\"ember-power-select-option ember-power-select-option--no-matches-message\" role=\"option\">\n        {{@noMatchesMessage}}\n      </li>\n    </ul>\n  {{/if}}\n  */\n  {\n    \"id\": \"l6KlaR8v\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@noMatchesMessage\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,1,[]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"ul\\\",true],[10,\\\"class\\\",\\\"ember-power-select-options\\\"],[10,\\\"role\\\",\\\"listbox\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"ember-power-select-option ember-power-select-option--no-matches-message\\\"],[10,\\\"role\\\",\\\"option\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/no-matches-message.hbs\"\n    }\n  });\n\n  var _default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n\n  _exports.default = _default;\n});","define(\"ember-power-select/components/power-select/options\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@glimmer/component\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <ul role=\"listbox\" aria-controls=\"ember-power-select-trigger-{{@select.uniqueId}}\" {{did-insert this.addHandlers}} {{will-destroy this.removeHandlers}} ...attributes>\n    {{! template-lint-disable no-unnecessary-concat }}\n    {{#if @select.loading}}\n      {{#if @loadingMessage}}\n        <li class=\"ember-power-select-option ember-power-select-option--loading-message\" role=\"option\">{{@loadingMessage}}</li>\n      {{/if}}\n    {{/if}}\n    {{#let (component @groupComponent) (component @optionsComponent) as |Group Options|}}\n      {{#each @options as |opt index|}}\n        {{#if (ember-power-select-is-group opt)}}\n          <Group @group={{opt}} @select={{@select}} @extra={{@extra}}>\n            <Options\n              @options={{opt.options}}\n              @select={{@select}}\n              @groupIndex=\"{{@groupIndex}}{{index}}.\"\n              @optionsComponent={{@optionsComponent}}\n              @groupComponent={{@groupComponent}}\n              @extra={{@extra}}\n              role=\"group\"\n              class=\"ember-power-select-options\" as |option|>\n              {{yield option @select}}\n            </Options>\n          </Group>\n        {{else}}\n          <li class=\"ember-power-select-option\"\n            aria-selected=\"{{ember-power-select-is-selected opt @select.selected}}\"\n            aria-disabled={{if opt.disabled \"true\"}}\n            aria-current=\"{{eq opt @select.highlighted}}\"\n            data-option-index=\"{{@groupIndex}}{{index}}\"\n            role={{if (eq opt @select.highlighted) \"alert\" \"option\"}}>\n            {{yield opt @select}}\n          </li>\n        {{/if}}\n      {{/each}}\n    {{/let}}\n  </ul>\n  \n  */\n  {\n    \"id\": \"LI57/Ida\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Group\\\",\\\"Options\\\",\\\"opt\\\",\\\"index\\\",\\\"option\\\",\\\"@select\\\",\\\"@groupIndex\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@optionsComponent\\\",\\\"@groupComponent\\\",\\\"@options\\\",\\\"@loadingMessage\\\",\\\"&attrs\\\"],\\\"statements\\\":[[7,\\\"ul\\\",false],[12,\\\"role\\\",\\\"listbox\\\"],[12,\\\"aria-controls\\\",[29,[\\\"ember-power-select-trigger-\\\",[23,6,[\\\"uniqueId\\\"]]]]],[13,14],[3,\\\"did-insert\\\",[[23,0,[\\\"addHandlers\\\"]]]],[3,\\\"will-destroy\\\",[[23,0,[\\\"removeHandlers\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,6,[\\\"loading\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,13,[]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"ember-power-select-option ember-power-select-option--loading-message\\\"],[10,\\\"role\\\",\\\"option\\\"],[8],[1,[23,13,[]],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[4,\\\"let\\\",[[28,\\\"component\\\",[[23,11,[]]],null],[28,\\\"component\\\",[[23,10,[]]],null]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[23,12,[]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"ember-power-select-is-group\\\",[[23,3,[]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[6,[23,1,[]],[],[[\\\"@group\\\",\\\"@select\\\",\\\"@extra\\\"],[[23,3,[]],[23,6,[]],[23,9,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[6,[23,2,[]],[[12,\\\"role\\\",\\\"group\\\"],[12,\\\"class\\\",\\\"ember-power-select-options\\\"]],[[\\\"@options\\\",\\\"@select\\\",\\\"@groupIndex\\\",\\\"@optionsComponent\\\",\\\"@groupComponent\\\",\\\"@extra\\\"],[[23,3,[\\\"options\\\"]],[23,6,[]],[29,[[23,7,[]],[23,4,[]],\\\".\\\"]],[23,10,[]],[23,11,[]],[23,9,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[14,8,[[23,5,[]],[23,6,[]]]],[0,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"ember-power-select-option\\\"],[11,\\\"aria-selected\\\",[29,[[28,\\\"ember-power-select-is-selected\\\",[[23,3,[]],[23,6,[\\\"selected\\\"]]],null]]]],[11,\\\"aria-disabled\\\",[28,\\\"if\\\",[[23,3,[\\\"disabled\\\"]],\\\"true\\\"],null]],[11,\\\"aria-current\\\",[29,[[28,\\\"eq\\\",[[23,3,[]],[23,6,[\\\"highlighted\\\"]]],null]]]],[11,\\\"data-option-index\\\",[29,[[23,7,[]],[23,4,[]]]]],[11,\\\"role\\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,3,[]],[23,6,[\\\"highlighted\\\"]]],null],\\\"alert\\\",\\\"option\\\"],null]],[8],[0,\\\"\\\\n          \\\"],[14,8,[[23,3,[]],[23,6,[]]]],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[3,4]},null]],\\\"parameters\\\":[1,2]},null],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/options.hbs\"\n    }\n  });\n\n  const isTouchDevice = !!window && 'ontouchstart' in window;\n\n  if (typeof FastBoot === 'undefined') {\n    (function (ElementProto) {\n      if (typeof ElementProto.matches !== 'function') {\n        ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector;\n      }\n\n      if (typeof ElementProto.closest !== 'function') {\n        ElementProto.closest = function closest(selector) {\n          let element = this;\n\n          while (element !== null && element.nodeType === 1) {\n            if (element.matches(selector)) {\n              return element;\n            }\n\n            element = element.parentNode;\n          }\n\n          return null;\n        };\n      }\n    })(window.Element.prototype);\n  }\n\n  let Options = (_dec = Ember._action, _dec2 = Ember._action, (_class = class Options extends _component.default {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"isTouchDevice\", isTouchDevice);\n      (0, _defineProperty2.default)(this, \"hasMoved\", false);\n      (0, _defineProperty2.default)(this, \"mouseOverHandler\", _ => {});\n      (0, _defineProperty2.default)(this, \"mouseUpHandler\", _ => {});\n      (0, _defineProperty2.default)(this, \"touchEndHandler\", _ => {});\n      (0, _defineProperty2.default)(this, \"touchMoveHandler\", _ => {});\n      (0, _defineProperty2.default)(this, \"touchStartHandler\", _ => {});\n    }\n\n    addHandlers(element) {\n      let role = element.getAttribute('role');\n\n      if (role === 'group') {\n        return;\n      }\n\n      let findOptionAndPerform = (action, e) => {\n        if (e.target === null) return;\n        let optionItem = e.target.closest('[data-option-index]');\n\n        if (!optionItem) {\n          return;\n        }\n\n        if (optionItem.closest('[aria-disabled=true]')) {\n          return; // Abort if the item or an ancestor is disabled\n        }\n\n        let optionIndex = optionItem.getAttribute('data-option-index');\n        if (optionIndex === null) return;\n        action(this._optionFromIndex(optionIndex), e);\n      };\n\n      this.mouseUpHandler = e => findOptionAndPerform(this.args.select.actions.choose, e);\n\n      element.addEventListener('mouseup', this.mouseUpHandler);\n\n      if (this.args.highlightOnHover) {\n        this.mouseOverHandler = e => findOptionAndPerform(this.args.select.actions.highlight, e);\n\n        element.addEventListener('mouseover', this.mouseOverHandler);\n      }\n\n      if (this.isTouchDevice) {\n        this.touchMoveHandler = _ => {\n          this.hasMoved = true;\n\n          if (element) {\n            element.removeEventListener('touchmove', this.touchMoveHandler);\n          }\n        }; // Add touch event handlers to detect taps\n\n\n        this.touchStartHandler = _ => {\n          element.addEventListener('touchmove', this.touchMoveHandler);\n        };\n\n        this.touchEndHandler = e => {\n          if (e.target === null) return;\n          let optionItem = e.target.closest('[data-option-index]');\n          if (optionItem === null) return;\n          e.preventDefault();\n\n          if (this.hasMoved) {\n            this.hasMoved = false;\n            return;\n          }\n\n          if (optionItem.closest('[aria-disabled=true]')) {\n            return; // Abort if the item or an ancestor is disabled\n          }\n\n          let optionIndex = optionItem.getAttribute('data-option-index');\n          if (optionIndex === null) return;\n          this.args.select.actions.choose(this._optionFromIndex(optionIndex), e);\n        };\n\n        element.addEventListener('touchstart', this.touchStartHandler);\n        element.addEventListener('touchend', this.touchEndHandler);\n      }\n\n      if (role !== 'group') {\n        this.args.select.actions.scrollTo(this.args.select.highlighted);\n      }\n    }\n\n    removeHandlers(element) {\n      element.removeEventListener('mouseup', this.mouseUpHandler);\n      element.removeEventListener('mouseover', this.mouseOverHandler);\n      element.removeEventListener('touchstart', this.touchStartHandler);\n      element.removeEventListener('touchmove', this.touchMoveHandler);\n      element.removeEventListener('touchend', this.touchEndHandler);\n    }\n\n    _optionFromIndex(index) {\n      let parts = index.split('.');\n      let option = this.args.options[parseInt(parts[0], 10)];\n\n      for (let i = 1; i < parts.length; i++) {\n        option = option.options[parseInt(parts[i], 10)];\n      }\n\n      return option;\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"addHandlers\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"addHandlers\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"removeHandlers\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"removeHandlers\"), _class.prototype)), _class));\n  _exports.default = Options;\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Options);\n});","define(\"ember-power-select/components/power-select/placeholder\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @placeholder}}\n    <span class=\"ember-power-select-placeholder\" ...attributes>{{@placeholder}}</span>\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"ENaHI3mw\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@placeholder\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,2,[]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"span\\\",false],[12,\\\"class\\\",\\\"ember-power-select-placeholder\\\"],[13,1],[8],[1,[23,2,[]],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/placeholder.hbs\"\n    }\n  });\n\n  var _default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n\n  _exports.default = _default;\n});","define(\"ember-power-select/components/power-select/power-select-group\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <li class=\"ember-power-select-group\" aria-disabled={{if @group.disabled \"true\"}} role=\"option\">\n    <span class=\"ember-power-select-group-name\">{{@group.groupName}}</span>\n    {{yield}}\n  </li>\n  */\n  {\n    \"id\": \"La5E7mjO\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@group\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"ember-power-select-group\\\"],[11,\\\"aria-disabled\\\",[28,\\\"if\\\",[[23,1,[\\\"disabled\\\"]],\\\"true\\\"],null]],[10,\\\"role\\\",\\\"option\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ember-power-select-group-name\\\"],[8],[1,[23,1,[\\\"groupName\\\"]],false],[9],[0,\\\"\\\\n  \\\"],[14,2],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/power-select-group.hbs\"\n    }\n  });\n\n  var _default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n\n  _exports.default = _default;\n});","define(\"ember-power-select/components/power-select/search-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <ul class=\"ember-power-select-options\" role=\"listbox\">\n    <li class=\"ember-power-select-option ember-power-select-option--search-message\" role=\"option\">\n      {{@searchMessage}}\n    </li>\n  </ul>\n  */\n  {\n    \"id\": \"R9f526S/\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@searchMessage\\\"],\\\"statements\\\":[[7,\\\"ul\\\",true],[10,\\\"class\\\",\\\"ember-power-select-options\\\"],[10,\\\"role\\\",\\\"listbox\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"ember-power-select-option ember-power-select-option--search-message\\\"],[10,\\\"role\\\",\\\"option\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/search-message.hbs\"\n    }\n  });\n\n  var _default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n\n  _exports.default = _default;\n});","define(\"ember-power-select/components/power-select/trigger\", [\"exports\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@glimmer/component\"], function (_exports, _applyDecoratedDescriptor2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class;\n\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @select.selected}}\n    {{#if @selectedItemComponent}}\n      {{component @selectedItemComponent extra=(readonly @extra) option=(readonly @select.selected) select=(readonly @select)}}\n    {{else}}\n      <span class=\"ember-power-select-selected-item\">{{yield @select.selected @select}}</span>\n    {{/if}}\n    {{#if (and @allowClear (not @select.disabled))}}\n      <span class=\"ember-power-select-clear-btn\" {{on \"mousedown\" this.clear}} {{on \"touchstart\" this.clear}}>&times;</span>\n    {{/if}}\n  {{else}}\n    {{component @placeholderComponent placeholder=@placeholder}}\n  {{/if}}\n  <span class=\"ember-power-select-status-icon\"></span>\n  \n  */\n  {\n    \"id\": \"m7rLsys/\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@select\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@selectedItemComponent\\\",\\\"@allowClear\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,3,[\\\"selected\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,6,[]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[1,[28,\\\"component\\\",[[23,6,[]]],[[\\\"extra\\\",\\\"option\\\",\\\"select\\\"],[[28,\\\"readonly\\\",[[23,5,[]]],null],[28,\\\"readonly\\\",[[23,3,[\\\"selected\\\"]]],null],[28,\\\"readonly\\\",[[23,3,[]]],null]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ember-power-select-selected-item\\\"],[8],[14,4,[[23,3,[\\\"selected\\\"]],[23,3,[]]]],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,7,[]],[28,\\\"not\\\",[[23,3,[\\\"disabled\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"span\\\",false],[12,\\\"class\\\",\\\"ember-power-select-clear-btn\\\"],[3,\\\"on\\\",[\\\"mousedown\\\",[23,0,[\\\"clear\\\"]]]],[3,\\\"on\\\",[\\\"touchstart\\\",[23,0,[\\\"clear\\\"]]]],[8],[0,\\\"×\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[1,[28,\\\"component\\\",[[23,2,[]]],[[\\\"placeholder\\\"],[[23,1,[]]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ember-power-select-status-icon\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-power-select/components/power-select/trigger.hbs\"\n    }\n  });\n\n  let Trigger = (_dec = Ember._action, (_class = class Trigger extends _component.default {\n    clear(e) {\n      e.stopPropagation();\n      this.args.select.actions.select(null);\n\n      if (e.type === 'touchstart') {\n        return false;\n      }\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clear\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"clear\"), _class.prototype)), _class));\n  _exports.default = Trigger;\n\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Trigger);\n});","define(\"ember-power-select/helpers/ember-power-select-is-group\", [\"exports\", \"ember-power-select/utils/group-utils\"], function (_exports, _groupUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.emberPowerSelectIsGroup = emberPowerSelectIsGroup;\n  _exports.default = void 0;\n\n  function emberPowerSelectIsGroup([maybeGroup]) {\n    return (0, _groupUtils.isGroup)(maybeGroup);\n  }\n\n  var _default = Ember.Helper.helper(emberPowerSelectIsGroup);\n\n  _exports.default = _default;\n});","define(\"ember-power-select/helpers/ember-power-select-is-selected\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.emberPowerSelectIsSelected = emberPowerSelectIsSelected;\n  _exports.default = void 0;\n\n  // TODO: Make it private or scoped to the component\n  function emberPowerSelectIsSelected([option, selected]) {\n    if (selected === undefined || selected === null) {\n      return false;\n    }\n\n    if (Ember.isArray(selected)) {\n      for (let i = 0; i < selected.length; i++) {\n        if (Ember.isEqual(selected[i], option)) {\n          return true;\n        }\n      }\n\n      return false;\n    } else {\n      return Ember.isEqual(option, selected);\n    }\n  }\n\n  var _default = Ember.Helper.helper(emberPowerSelectIsSelected);\n\n  _exports.default = _default;\n});","define(\"ember-power-select/utils/computed-fallback-if-undefined\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = computedFallbackIfUndefined;\n\n  function computedFallbackIfUndefined(fallback) {\n    return Ember.computed({\n      get() {\n        return fallback;\n      },\n\n      set(_, v) {\n        return v === undefined ? fallback : v;\n      }\n\n    });\n  }\n});","define(\"ember-power-select/utils/group-utils\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isGroup = isGroup;\n  _exports.countOptions = countOptions;\n  _exports.indexOfOption = indexOfOption;\n  _exports.optionAtIndex = optionAtIndex;\n  _exports.findOptionWithOffset = findOptionWithOffset;\n  _exports.filterOptions = filterOptions;\n  _exports.defaultHighlighted = defaultHighlighted;\n  _exports.advanceSelectableOption = advanceSelectableOption;\n  _exports.stripDiacritics = stripDiacritics;\n  _exports.defaultMatcher = defaultMatcher;\n  _exports.defaultTypeAheadMatcher = defaultTypeAheadMatcher;\n\n  function isGroup(entry) {\n    return !!entry && !!Ember.get(entry, 'groupName') && !!Ember.get(entry, 'options');\n  }\n\n  function countOptions(collection) {\n    let counter = 0;\n\n    (function walk(collection) {\n      if (!collection) {\n        return;\n      }\n\n      for (let i = 0; i < Ember.get(collection, 'length'); i++) {\n        let entry = collection.objectAt ? collection.objectAt(i) : collection[i];\n\n        if (isGroup(entry)) {\n          walk(Ember.get(entry, 'options'));\n        } else {\n          counter++;\n        }\n      }\n    })(collection);\n\n    return counter;\n  }\n\n  function indexOfOption(collection, option) {\n    let index = 0;\n    return function walk(collection) {\n      if (!collection) {\n        return -1;\n      }\n\n      for (let i = 0; i < Ember.get(collection, 'length'); i++) {\n        let entry = collection.objectAt ? collection.objectAt(i) : collection[i];\n\n        if (isGroup(entry)) {\n          let result = walk(Ember.get(entry, 'options'));\n\n          if (result > -1) {\n            return result;\n          }\n        } else if (entry === option) {\n          return index;\n        } else {\n          index++;\n        }\n      }\n\n      return -1;\n    }(collection);\n  }\n\n  function optionAtIndex(originalCollection, index) {\n    let counter = 0;\n    return function walk(collection, ancestorIsDisabled) {\n      if (!collection || index < 0) {\n        return {\n          disabled: false,\n          option: undefined\n        };\n      }\n\n      let localCounter = 0;\n      let length = Ember.get(collection, 'length');\n\n      while (counter <= index && localCounter < length) {\n        let entry = collection.objectAt ? collection.objectAt(localCounter) : collection[localCounter];\n\n        if (isGroup(entry)) {\n          let found = walk(Ember.get(entry, 'options'), ancestorIsDisabled || !!Ember.get(entry, 'disabled'));\n\n          if (found) {\n            return found;\n          }\n        } else if (counter === index) {\n          return {\n            disabled: ancestorIsDisabled || !!Ember.get(entry, 'disabled'),\n            option: entry\n          };\n        } else {\n          counter++;\n        }\n\n        localCounter++;\n      }\n    }(originalCollection, false) || {\n      disabled: false,\n      option: undefined\n    };\n  }\n\n  function copyGroup(group, suboptions) {\n    let groupCopy = {\n      groupName: group.groupName,\n      options: suboptions\n    };\n\n    if (group.hasOwnProperty('disabled')) {\n      groupCopy.disabled = group.disabled;\n    }\n\n    return groupCopy;\n  }\n\n  function findOptionWithOffset(options, text, matcher, offset, skipDisabled = false) {\n    let counter = 0;\n    let foundBeforeOffset;\n    let foundAfterOffset = false;\n\n    let canStop = () => !!foundAfterOffset;\n\n    (function walk(options, ancestorIsDisabled) {\n      let length = Ember.get(options, 'length');\n\n      for (let i = 0; i < length; i++) {\n        let entry = options.objectAt ? options.objectAt(i) : options[i];\n        let entryIsDisabled = !!Ember.get(entry, 'disabled');\n\n        if (!skipDisabled || !entryIsDisabled) {\n          if (isGroup(entry)) {\n            walk(Ember.get(entry, 'options'), ancestorIsDisabled || entryIsDisabled);\n\n            if (canStop()) {\n              return;\n            }\n          } else if (matcher(entry, text) >= 0) {\n            if (counter < offset) {\n              if (!foundBeforeOffset) {\n                foundBeforeOffset = entry;\n              }\n            } else {\n              foundAfterOffset = entry;\n            }\n\n            counter++;\n          } else {\n            counter++;\n          }\n\n          if (canStop()) {\n            return;\n          }\n        }\n      }\n    })(options, false);\n\n    return foundAfterOffset ? foundAfterOffset : foundBeforeOffset;\n  }\n\n  function filterOptions(options, text, matcher, skipDisabled = false) {\n    let opts = Ember.A();\n    let length = Ember.get(options, 'length');\n\n    for (let i = 0; i < length; i++) {\n      let entry = options.objectAt ? options.objectAt(i) : options[i];\n\n      if (!skipDisabled || !Ember.get(entry, 'disabled')) {\n        if (isGroup(entry)) {\n          let suboptions = filterOptions(Ember.get(entry, 'options'), text, matcher, skipDisabled);\n\n          if (Ember.get(suboptions, 'length') > 0) {\n            opts.push(copyGroup(entry, suboptions));\n          }\n        } else if (matcher(entry, text) >= 0) {\n          opts.push(entry);\n        }\n      }\n    }\n\n    return opts;\n  }\n\n  function defaultHighlighted({\n    results,\n    highlighted,\n    selected\n  }) {\n    let option = highlighted || selected;\n\n    if (option === undefined || indexOfOption(results, option) === -1) {\n      return advanceSelectableOption(results, option, 1);\n    }\n\n    return option;\n  }\n\n  function advanceSelectableOption(options, currentOption, step) {\n    let resultsLength = countOptions(options);\n    let startIndex = Math.min(Math.max(indexOfOption(options, currentOption) + step, 0), resultsLength - 1);\n    let {\n      disabled,\n      option\n    } = optionAtIndex(options, startIndex);\n\n    while (option && disabled) {\n      let next = optionAtIndex(options, startIndex += step);\n      disabled = next.disabled;\n      option = next.option;\n    }\n\n    return option;\n  }\n\n  const DIACRITICS = {\n    'Ⓐ': 'A',\n    'Ａ': 'A',\n    'À': 'A',\n    'Á': 'A',\n    'Â': 'A',\n    'Ầ': 'A',\n    'Ấ': 'A',\n    'Ẫ': 'A',\n    'Ẩ': 'A',\n    'Ã': 'A',\n    'Ā': 'A',\n    'Ă': 'A',\n    'Ằ': 'A',\n    'Ắ': 'A',\n    'Ẵ': 'A',\n    'Ẳ': 'A',\n    'Ȧ': 'A',\n    'Ǡ': 'A',\n    'Ä': 'A',\n    'Ǟ': 'A',\n    'Ả': 'A',\n    'Å': 'A',\n    'Ǻ': 'A',\n    'Ǎ': 'A',\n    'Ȁ': 'A',\n    'Ȃ': 'A',\n    'Ạ': 'A',\n    'Ậ': 'A',\n    'Ặ': 'A',\n    'Ḁ': 'A',\n    'Ą': 'A',\n    'Ⱥ': 'A',\n    'Ɐ': 'A',\n    'Ꜳ': 'AA',\n    'Æ': 'AE',\n    'Ǽ': 'AE',\n    'Ǣ': 'AE',\n    'Ꜵ': 'AO',\n    'Ꜷ': 'AU',\n    'Ꜹ': 'AV',\n    'Ꜻ': 'AV',\n    'Ꜽ': 'AY',\n    'Ⓑ': 'B',\n    'Ｂ': 'B',\n    'Ḃ': 'B',\n    'Ḅ': 'B',\n    'Ḇ': 'B',\n    'Ƀ': 'B',\n    'Ƃ': 'B',\n    'Ɓ': 'B',\n    'Ⓒ': 'C',\n    'Ｃ': 'C',\n    'Ć': 'C',\n    'Ĉ': 'C',\n    'Ċ': 'C',\n    'Č': 'C',\n    'Ç': 'C',\n    'Ḉ': 'C',\n    'Ƈ': 'C',\n    'Ȼ': 'C',\n    'Ꜿ': 'C',\n    'Ⓓ': 'D',\n    'Ｄ': 'D',\n    'Ḋ': 'D',\n    'Ď': 'D',\n    'Ḍ': 'D',\n    'Ḑ': 'D',\n    'Ḓ': 'D',\n    'Ḏ': 'D',\n    'Đ': 'D',\n    'Ƌ': 'D',\n    'Ɗ': 'D',\n    'Ɖ': 'D',\n    'Ꝺ': 'D',\n    'Ǳ': 'DZ',\n    'Ǆ': 'DZ',\n    'ǲ': 'Dz',\n    'ǅ': 'Dz',\n    'Ⓔ': 'E',\n    'Ｅ': 'E',\n    'È': 'E',\n    'É': 'E',\n    'Ê': 'E',\n    'Ề': 'E',\n    'Ế': 'E',\n    'Ễ': 'E',\n    'Ể': 'E',\n    'Ẽ': 'E',\n    'Ē': 'E',\n    'Ḕ': 'E',\n    'Ḗ': 'E',\n    'Ĕ': 'E',\n    'Ė': 'E',\n    'Ë': 'E',\n    'Ẻ': 'E',\n    'Ě': 'E',\n    'Ȅ': 'E',\n    'Ȇ': 'E',\n    'Ẹ': 'E',\n    'Ệ': 'E',\n    'Ȩ': 'E',\n    'Ḝ': 'E',\n    'Ę': 'E',\n    'Ḙ': 'E',\n    'Ḛ': 'E',\n    'Ɛ': 'E',\n    'Ǝ': 'E',\n    'Ⓕ': 'F',\n    'Ｆ': 'F',\n    'Ḟ': 'F',\n    'Ƒ': 'F',\n    'Ꝼ': 'F',\n    'Ⓖ': 'G',\n    'Ｇ': 'G',\n    'Ǵ': 'G',\n    'Ĝ': 'G',\n    'Ḡ': 'G',\n    'Ğ': 'G',\n    'Ġ': 'G',\n    'Ǧ': 'G',\n    'Ģ': 'G',\n    'Ǥ': 'G',\n    'Ɠ': 'G',\n    'Ꞡ': 'G',\n    'Ᵹ': 'G',\n    'Ꝿ': 'G',\n    'Ⓗ': 'H',\n    'Ｈ': 'H',\n    'Ĥ': 'H',\n    'Ḣ': 'H',\n    'Ḧ': 'H',\n    'Ȟ': 'H',\n    'Ḥ': 'H',\n    'Ḩ': 'H',\n    'Ḫ': 'H',\n    'Ħ': 'H',\n    'Ⱨ': 'H',\n    'Ⱶ': 'H',\n    'Ɥ': 'H',\n    'Ⓘ': 'I',\n    'Ｉ': 'I',\n    'Ì': 'I',\n    'Í': 'I',\n    'Î': 'I',\n    'Ĩ': 'I',\n    'Ī': 'I',\n    'Ĭ': 'I',\n    'İ': 'I',\n    'Ï': 'I',\n    'Ḯ': 'I',\n    'Ỉ': 'I',\n    'Ǐ': 'I',\n    'Ȉ': 'I',\n    'Ȋ': 'I',\n    'Ị': 'I',\n    'Į': 'I',\n    'Ḭ': 'I',\n    'Ɨ': 'I',\n    'Ⓙ': 'J',\n    'Ｊ': 'J',\n    'Ĵ': 'J',\n    'Ɉ': 'J',\n    'Ⓚ': 'K',\n    'Ｋ': 'K',\n    'Ḱ': 'K',\n    'Ǩ': 'K',\n    'Ḳ': 'K',\n    'Ķ': 'K',\n    'Ḵ': 'K',\n    'Ƙ': 'K',\n    'Ⱪ': 'K',\n    'Ꝁ': 'K',\n    'Ꝃ': 'K',\n    'Ꝅ': 'K',\n    'Ꞣ': 'K',\n    'Ⓛ': 'L',\n    'Ｌ': 'L',\n    'Ŀ': 'L',\n    'Ĺ': 'L',\n    'Ľ': 'L',\n    'Ḷ': 'L',\n    'Ḹ': 'L',\n    'Ļ': 'L',\n    'Ḽ': 'L',\n    'Ḻ': 'L',\n    'Ł': 'L',\n    'Ƚ': 'L',\n    'Ɫ': 'L',\n    'Ⱡ': 'L',\n    'Ꝉ': 'L',\n    'Ꝇ': 'L',\n    'Ꞁ': 'L',\n    'Ǉ': 'LJ',\n    'ǈ': 'Lj',\n    'Ⓜ': 'M',\n    'Ｍ': 'M',\n    'Ḿ': 'M',\n    'Ṁ': 'M',\n    'Ṃ': 'M',\n    'Ɱ': 'M',\n    'Ɯ': 'M',\n    'Ⓝ': 'N',\n    'Ｎ': 'N',\n    'Ǹ': 'N',\n    'Ń': 'N',\n    'Ñ': 'N',\n    'Ṅ': 'N',\n    'Ň': 'N',\n    'Ṇ': 'N',\n    'Ņ': 'N',\n    'Ṋ': 'N',\n    'Ṉ': 'N',\n    'Ƞ': 'N',\n    'Ɲ': 'N',\n    'Ꞑ': 'N',\n    'Ꞥ': 'N',\n    'Ǌ': 'NJ',\n    'ǋ': 'Nj',\n    'Ⓞ': 'O',\n    'Ｏ': 'O',\n    'Ò': 'O',\n    'Ó': 'O',\n    'Ô': 'O',\n    'Ồ': 'O',\n    'Ố': 'O',\n    'Ỗ': 'O',\n    'Ổ': 'O',\n    'Õ': 'O',\n    'Ṍ': 'O',\n    'Ȭ': 'O',\n    'Ṏ': 'O',\n    'Ō': 'O',\n    'Ṑ': 'O',\n    'Ṓ': 'O',\n    'Ŏ': 'O',\n    'Ȯ': 'O',\n    'Ȱ': 'O',\n    'Ö': 'O',\n    'Ȫ': 'O',\n    'Ỏ': 'O',\n    'Ő': 'O',\n    'Ǒ': 'O',\n    'Ȍ': 'O',\n    'Ȏ': 'O',\n    'Ơ': 'O',\n    'Ờ': 'O',\n    'Ớ': 'O',\n    'Ỡ': 'O',\n    'Ở': 'O',\n    'Ợ': 'O',\n    'Ọ': 'O',\n    'Ộ': 'O',\n    'Ǫ': 'O',\n    'Ǭ': 'O',\n    'Ø': 'O',\n    'Ǿ': 'O',\n    'Ɔ': 'O',\n    'Ɵ': 'O',\n    'Ꝋ': 'O',\n    'Ꝍ': 'O',\n    'Ƣ': 'OI',\n    'Ꝏ': 'OO',\n    'Ȣ': 'OU',\n    'Ⓟ': 'P',\n    'Ｐ': 'P',\n    'Ṕ': 'P',\n    'Ṗ': 'P',\n    'Ƥ': 'P',\n    'Ᵽ': 'P',\n    'Ꝑ': 'P',\n    'Ꝓ': 'P',\n    'Ꝕ': 'P',\n    'Ⓠ': 'Q',\n    'Ｑ': 'Q',\n    'Ꝗ': 'Q',\n    'Ꝙ': 'Q',\n    'Ɋ': 'Q',\n    'Ⓡ': 'R',\n    'Ｒ': 'R',\n    'Ŕ': 'R',\n    'Ṙ': 'R',\n    'Ř': 'R',\n    'Ȑ': 'R',\n    'Ȓ': 'R',\n    'Ṛ': 'R',\n    'Ṝ': 'R',\n    'Ŗ': 'R',\n    'Ṟ': 'R',\n    'Ɍ': 'R',\n    'Ɽ': 'R',\n    'Ꝛ': 'R',\n    'Ꞧ': 'R',\n    'Ꞃ': 'R',\n    'Ⓢ': 'S',\n    'Ｓ': 'S',\n    'ẞ': 'S',\n    'Ś': 'S',\n    'Ṥ': 'S',\n    'Ŝ': 'S',\n    'Ṡ': 'S',\n    'Š': 'S',\n    'Ṧ': 'S',\n    'Ṣ': 'S',\n    'Ṩ': 'S',\n    'Ș': 'S',\n    'Ş': 'S',\n    'Ȿ': 'S',\n    'Ꞩ': 'S',\n    'Ꞅ': 'S',\n    'Ⓣ': 'T',\n    'Ｔ': 'T',\n    'Ṫ': 'T',\n    'Ť': 'T',\n    'Ṭ': 'T',\n    'Ț': 'T',\n    'Ţ': 'T',\n    'Ṱ': 'T',\n    'Ṯ': 'T',\n    'Ŧ': 'T',\n    'Ƭ': 'T',\n    'Ʈ': 'T',\n    'Ⱦ': 'T',\n    'Ꞇ': 'T',\n    'Ꜩ': 'TZ',\n    'Ⓤ': 'U',\n    'Ｕ': 'U',\n    'Ù': 'U',\n    'Ú': 'U',\n    'Û': 'U',\n    'Ũ': 'U',\n    'Ṹ': 'U',\n    'Ū': 'U',\n    'Ṻ': 'U',\n    'Ŭ': 'U',\n    'Ü': 'U',\n    'Ǜ': 'U',\n    'Ǘ': 'U',\n    'Ǖ': 'U',\n    'Ǚ': 'U',\n    'Ủ': 'U',\n    'Ů': 'U',\n    'Ű': 'U',\n    'Ǔ': 'U',\n    'Ȕ': 'U',\n    'Ȗ': 'U',\n    'Ư': 'U',\n    'Ừ': 'U',\n    'Ứ': 'U',\n    'Ữ': 'U',\n    'Ử': 'U',\n    'Ự': 'U',\n    'Ụ': 'U',\n    'Ṳ': 'U',\n    'Ų': 'U',\n    'Ṷ': 'U',\n    'Ṵ': 'U',\n    'Ʉ': 'U',\n    'Ⓥ': 'V',\n    'Ｖ': 'V',\n    'Ṽ': 'V',\n    'Ṿ': 'V',\n    'Ʋ': 'V',\n    'Ꝟ': 'V',\n    'Ʌ': 'V',\n    'Ꝡ': 'VY',\n    'Ⓦ': 'W',\n    'Ｗ': 'W',\n    'Ẁ': 'W',\n    'Ẃ': 'W',\n    'Ŵ': 'W',\n    'Ẇ': 'W',\n    'Ẅ': 'W',\n    'Ẉ': 'W',\n    'Ⱳ': 'W',\n    'Ⓧ': 'X',\n    'Ｘ': 'X',\n    'Ẋ': 'X',\n    'Ẍ': 'X',\n    'Ⓨ': 'Y',\n    'Ｙ': 'Y',\n    'Ỳ': 'Y',\n    'Ý': 'Y',\n    'Ŷ': 'Y',\n    'Ỹ': 'Y',\n    'Ȳ': 'Y',\n    'Ẏ': 'Y',\n    'Ÿ': 'Y',\n    'Ỷ': 'Y',\n    'Ỵ': 'Y',\n    'Ƴ': 'Y',\n    'Ɏ': 'Y',\n    'Ỿ': 'Y',\n    'Ⓩ': 'Z',\n    'Ｚ': 'Z',\n    'Ź': 'Z',\n    'Ẑ': 'Z',\n    'Ż': 'Z',\n    'Ž': 'Z',\n    'Ẓ': 'Z',\n    'Ẕ': 'Z',\n    'Ƶ': 'Z',\n    'Ȥ': 'Z',\n    'Ɀ': 'Z',\n    'Ⱬ': 'Z',\n    'Ꝣ': 'Z',\n    'ⓐ': 'a',\n    'ａ': 'a',\n    'ẚ': 'a',\n    'à': 'a',\n    'á': 'a',\n    'â': 'a',\n    'ầ': 'a',\n    'ấ': 'a',\n    'ẫ': 'a',\n    'ẩ': 'a',\n    'ã': 'a',\n    'ā': 'a',\n    'ă': 'a',\n    'ằ': 'a',\n    'ắ': 'a',\n    'ẵ': 'a',\n    'ẳ': 'a',\n    'ȧ': 'a',\n    'ǡ': 'a',\n    'ä': 'a',\n    'ǟ': 'a',\n    'ả': 'a',\n    'å': 'a',\n    'ǻ': 'a',\n    'ǎ': 'a',\n    'ȁ': 'a',\n    'ȃ': 'a',\n    'ạ': 'a',\n    'ậ': 'a',\n    'ặ': 'a',\n    'ḁ': 'a',\n    'ą': 'a',\n    'ⱥ': 'a',\n    'ɐ': 'a',\n    'ꜳ': 'aa',\n    'æ': 'ae',\n    'ǽ': 'ae',\n    'ǣ': 'ae',\n    'ꜵ': 'ao',\n    'ꜷ': 'au',\n    'ꜹ': 'av',\n    'ꜻ': 'av',\n    'ꜽ': 'ay',\n    'ⓑ': 'b',\n    'ｂ': 'b',\n    'ḃ': 'b',\n    'ḅ': 'b',\n    'ḇ': 'b',\n    'ƀ': 'b',\n    'ƃ': 'b',\n    'ɓ': 'b',\n    'ⓒ': 'c',\n    'ｃ': 'c',\n    'ć': 'c',\n    'ĉ': 'c',\n    'ċ': 'c',\n    'č': 'c',\n    'ç': 'c',\n    'ḉ': 'c',\n    'ƈ': 'c',\n    'ȼ': 'c',\n    'ꜿ': 'c',\n    'ↄ': 'c',\n    'ⓓ': 'd',\n    'ｄ': 'd',\n    'ḋ': 'd',\n    'ď': 'd',\n    'ḍ': 'd',\n    'ḑ': 'd',\n    'ḓ': 'd',\n    'ḏ': 'd',\n    'đ': 'd',\n    'ƌ': 'd',\n    'ɖ': 'd',\n    'ɗ': 'd',\n    'ꝺ': 'd',\n    'ǳ': 'dz',\n    'ǆ': 'dz',\n    'ⓔ': 'e',\n    'ｅ': 'e',\n    'è': 'e',\n    'é': 'e',\n    'ê': 'e',\n    'ề': 'e',\n    'ế': 'e',\n    'ễ': 'e',\n    'ể': 'e',\n    'ẽ': 'e',\n    'ē': 'e',\n    'ḕ': 'e',\n    'ḗ': 'e',\n    'ĕ': 'e',\n    'ė': 'e',\n    'ë': 'e',\n    'ẻ': 'e',\n    'ě': 'e',\n    'ȅ': 'e',\n    'ȇ': 'e',\n    'ẹ': 'e',\n    'ệ': 'e',\n    'ȩ': 'e',\n    'ḝ': 'e',\n    'ę': 'e',\n    'ḙ': 'e',\n    'ḛ': 'e',\n    'ɇ': 'e',\n    'ɛ': 'e',\n    'ǝ': 'e',\n    'ⓕ': 'f',\n    'ｆ': 'f',\n    'ḟ': 'f',\n    'ƒ': 'f',\n    'ꝼ': 'f',\n    'ⓖ': 'g',\n    'ｇ': 'g',\n    'ǵ': 'g',\n    'ĝ': 'g',\n    'ḡ': 'g',\n    'ğ': 'g',\n    'ġ': 'g',\n    'ǧ': 'g',\n    'ģ': 'g',\n    'ǥ': 'g',\n    'ɠ': 'g',\n    'ꞡ': 'g',\n    'ᵹ': 'g',\n    'ꝿ': 'g',\n    'ⓗ': 'h',\n    'ｈ': 'h',\n    'ĥ': 'h',\n    'ḣ': 'h',\n    'ḧ': 'h',\n    'ȟ': 'h',\n    'ḥ': 'h',\n    'ḩ': 'h',\n    'ḫ': 'h',\n    'ẖ': 'h',\n    'ħ': 'h',\n    'ⱨ': 'h',\n    'ⱶ': 'h',\n    'ɥ': 'h',\n    'ƕ': 'hv',\n    'ⓘ': 'i',\n    'ｉ': 'i',\n    'ì': 'i',\n    'í': 'i',\n    'î': 'i',\n    'ĩ': 'i',\n    'ī': 'i',\n    'ĭ': 'i',\n    'ï': 'i',\n    'ḯ': 'i',\n    'ỉ': 'i',\n    'ǐ': 'i',\n    'ȉ': 'i',\n    'ȋ': 'i',\n    'ị': 'i',\n    'į': 'i',\n    'ḭ': 'i',\n    'ɨ': 'i',\n    'ı': 'i',\n    'ⓙ': 'j',\n    'ｊ': 'j',\n    'ĵ': 'j',\n    'ǰ': 'j',\n    'ɉ': 'j',\n    'ⓚ': 'k',\n    'ｋ': 'k',\n    'ḱ': 'k',\n    'ǩ': 'k',\n    'ḳ': 'k',\n    'ķ': 'k',\n    'ḵ': 'k',\n    'ƙ': 'k',\n    'ⱪ': 'k',\n    'ꝁ': 'k',\n    'ꝃ': 'k',\n    'ꝅ': 'k',\n    'ꞣ': 'k',\n    'ⓛ': 'l',\n    'ｌ': 'l',\n    'ŀ': 'l',\n    'ĺ': 'l',\n    'ľ': 'l',\n    'ḷ': 'l',\n    'ḹ': 'l',\n    'ļ': 'l',\n    'ḽ': 'l',\n    'ḻ': 'l',\n    'ſ': 'l',\n    'ł': 'l',\n    'ƚ': 'l',\n    'ɫ': 'l',\n    'ⱡ': 'l',\n    'ꝉ': 'l',\n    'ꞁ': 'l',\n    'ꝇ': 'l',\n    'ǉ': 'lj',\n    'ⓜ': 'm',\n    'ｍ': 'm',\n    'ḿ': 'm',\n    'ṁ': 'm',\n    'ṃ': 'm',\n    'ɱ': 'm',\n    'ɯ': 'm',\n    'ⓝ': 'n',\n    'ｎ': 'n',\n    'ǹ': 'n',\n    'ń': 'n',\n    'ñ': 'n',\n    'ṅ': 'n',\n    'ň': 'n',\n    'ṇ': 'n',\n    'ņ': 'n',\n    'ṋ': 'n',\n    'ṉ': 'n',\n    'ƞ': 'n',\n    'ɲ': 'n',\n    'ŉ': 'n',\n    'ꞑ': 'n',\n    'ꞥ': 'n',\n    'ǌ': 'nj',\n    'ⓞ': 'o',\n    'ｏ': 'o',\n    'ò': 'o',\n    'ó': 'o',\n    'ô': 'o',\n    'ồ': 'o',\n    'ố': 'o',\n    'ỗ': 'o',\n    'ổ': 'o',\n    'õ': 'o',\n    'ṍ': 'o',\n    'ȭ': 'o',\n    'ṏ': 'o',\n    'ō': 'o',\n    'ṑ': 'o',\n    'ṓ': 'o',\n    'ŏ': 'o',\n    'ȯ': 'o',\n    'ȱ': 'o',\n    'ö': 'o',\n    'ȫ': 'o',\n    'ỏ': 'o',\n    'ő': 'o',\n    'ǒ': 'o',\n    'ȍ': 'o',\n    'ȏ': 'o',\n    'ơ': 'o',\n    'ờ': 'o',\n    'ớ': 'o',\n    'ỡ': 'o',\n    'ở': 'o',\n    'ợ': 'o',\n    'ọ': 'o',\n    'ộ': 'o',\n    'ǫ': 'o',\n    'ǭ': 'o',\n    'ø': 'o',\n    'ǿ': 'o',\n    'ɔ': 'o',\n    'ꝋ': 'o',\n    'ꝍ': 'o',\n    'ɵ': 'o',\n    'ƣ': 'oi',\n    'ȣ': 'ou',\n    'ꝏ': 'oo',\n    'ⓟ': 'p',\n    'ｐ': 'p',\n    'ṕ': 'p',\n    'ṗ': 'p',\n    'ƥ': 'p',\n    'ᵽ': 'p',\n    'ꝑ': 'p',\n    'ꝓ': 'p',\n    'ꝕ': 'p',\n    'ⓠ': 'q',\n    'ｑ': 'q',\n    'ɋ': 'q',\n    'ꝗ': 'q',\n    'ꝙ': 'q',\n    'ⓡ': 'r',\n    'ｒ': 'r',\n    'ŕ': 'r',\n    'ṙ': 'r',\n    'ř': 'r',\n    'ȑ': 'r',\n    'ȓ': 'r',\n    'ṛ': 'r',\n    'ṝ': 'r',\n    'ŗ': 'r',\n    'ṟ': 'r',\n    'ɍ': 'r',\n    'ɽ': 'r',\n    'ꝛ': 'r',\n    'ꞧ': 'r',\n    'ꞃ': 'r',\n    'ⓢ': 's',\n    'ｓ': 's',\n    'ß': 's',\n    'ś': 's',\n    'ṥ': 's',\n    'ŝ': 's',\n    'ṡ': 's',\n    'š': 's',\n    'ṧ': 's',\n    'ṣ': 's',\n    'ṩ': 's',\n    'ș': 's',\n    'ş': 's',\n    'ȿ': 's',\n    'ꞩ': 's',\n    'ꞅ': 's',\n    'ẛ': 's',\n    'ⓣ': 't',\n    'ｔ': 't',\n    'ṫ': 't',\n    'ẗ': 't',\n    'ť': 't',\n    'ṭ': 't',\n    'ț': 't',\n    'ţ': 't',\n    'ṱ': 't',\n    'ṯ': 't',\n    'ŧ': 't',\n    'ƭ': 't',\n    'ʈ': 't',\n    'ⱦ': 't',\n    'ꞇ': 't',\n    'ꜩ': 'tz',\n    'ⓤ': 'u',\n    'ｕ': 'u',\n    'ù': 'u',\n    'ú': 'u',\n    'û': 'u',\n    'ũ': 'u',\n    'ṹ': 'u',\n    'ū': 'u',\n    'ṻ': 'u',\n    'ŭ': 'u',\n    'ü': 'u',\n    'ǜ': 'u',\n    'ǘ': 'u',\n    'ǖ': 'u',\n    'ǚ': 'u',\n    'ủ': 'u',\n    'ů': 'u',\n    'ű': 'u',\n    'ǔ': 'u',\n    'ȕ': 'u',\n    'ȗ': 'u',\n    'ư': 'u',\n    'ừ': 'u',\n    'ứ': 'u',\n    'ữ': 'u',\n    'ử': 'u',\n    'ự': 'u',\n    'ụ': 'u',\n    'ṳ': 'u',\n    'ų': 'u',\n    'ṷ': 'u',\n    'ṵ': 'u',\n    'ʉ': 'u',\n    'ⓥ': 'v',\n    'ｖ': 'v',\n    'ṽ': 'v',\n    'ṿ': 'v',\n    'ʋ': 'v',\n    'ꝟ': 'v',\n    'ʌ': 'v',\n    'ꝡ': 'vy',\n    'ⓦ': 'w',\n    'ｗ': 'w',\n    'ẁ': 'w',\n    'ẃ': 'w',\n    'ŵ': 'w',\n    'ẇ': 'w',\n    'ẅ': 'w',\n    'ẘ': 'w',\n    'ẉ': 'w',\n    'ⱳ': 'w',\n    'ⓧ': 'x',\n    'ｘ': 'x',\n    'ẋ': 'x',\n    'ẍ': 'x',\n    'ⓨ': 'y',\n    'ｙ': 'y',\n    'ỳ': 'y',\n    'ý': 'y',\n    'ŷ': 'y',\n    'ỹ': 'y',\n    'ȳ': 'y',\n    'ẏ': 'y',\n    'ÿ': 'y',\n    'ỷ': 'y',\n    'ẙ': 'y',\n    'ỵ': 'y',\n    'ƴ': 'y',\n    'ɏ': 'y',\n    'ỿ': 'y',\n    'ⓩ': 'z',\n    'ｚ': 'z',\n    'ź': 'z',\n    'ẑ': 'z',\n    'ż': 'z',\n    'ž': 'z',\n    'ẓ': 'z',\n    'ẕ': 'z',\n    'ƶ': 'z',\n    'ȥ': 'z',\n    'ɀ': 'z',\n    'ⱬ': 'z',\n    'ꝣ': 'z',\n    'Ά': 'Α',\n    'Έ': 'Ε',\n    'Ή': 'Η',\n    'Ί': 'Ι',\n    'Ϊ': 'Ι',\n    'Ό': 'Ο',\n    'Ύ': 'Υ',\n    'Ϋ': 'Υ',\n    'Ώ': 'Ω',\n    'ά': 'α',\n    'έ': 'ε',\n    'ή': 'η',\n    'ί': 'ι',\n    'ϊ': 'ι',\n    'ΐ': 'ι',\n    'ό': 'ο',\n    'ύ': 'υ',\n    'ϋ': 'υ',\n    'ΰ': 'υ',\n    'ω': 'ω',\n    'ς': 'σ'\n  }; // Copied from Select2\n\n  function stripDiacritics(text) {\n    // Used 'uni range + named function' from http://jsperf.com/diacritics/18\n    function match(a) {\n      return DIACRITICS[a] || a;\n    }\n\n    return `${text}`.replace(/[^\\u0000-\\u007E]/g, match); // eslint-disable-line\n  }\n\n  function defaultMatcher(value, text) {\n    return stripDiacritics(value).toUpperCase().indexOf(stripDiacritics(text).toUpperCase());\n  }\n\n  function defaultTypeAheadMatcher(value, text) {\n    return stripDiacritics(value).toUpperCase().startsWith(stripDiacritics(text).toUpperCase()) ? 1 : -1;\n  }\n});","/*\n * This is a stub file, it must be on disk b/c babel-plugin-debug-macros\n * does not strip the module require when the transpiled variable usage is\n * stripped.\n */\ndefine(\"ember-resolver/features\", [], function () {\n  \"use strict\";\n});","define('ember-resolver/index', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _classic) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define('ember-resolver/resolver', ['exports', 'ember-resolver/resolvers/classic'], function (exports, _classic) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(exports, 'default', {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define('ember-resolver/resolvers/classic/container-debug-adapter', ['exports', 'ember-resolver/resolvers/classic/index'], function (exports, _index) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  function getPod(type, key, prefix) {\n    let match = key.match(new RegExp('^/?' + prefix + '/(.+)/' + type + '$'));\n    if (match !== null) {\n      return match[1];\n    }\n  }\n\n  /*\n   * This module defines a subclass of Ember.ContainerDebugAdapter that adds\n   * support for resolving from modules.\n   *\n   */\n  exports.default = Ember.ContainerDebugAdapter.extend({\n    _moduleRegistry: null,\n\n    init() {\n      this._super(...arguments);\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new _index.ModuleRegistry();\n      }\n    },\n\n    /**\n        The container of the application being debugged.\n        This property will be injected\n        on creation.\n         @property container\n        @default null\n        */\n\n    /**\n        The resolver instance of the application\n        being debugged. This property will be injected\n        on creation.\n         @property resolver\n        @default null\n        */\n\n    /**\n        Returns true if it is possible to catalog a list of available\n        classes in the resolver for a given type.\n         @method canCatalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {boolean} whether a list is available for this type.\n        */\n    canCatalogEntriesByType(type) {\n      if (type === 'model') {\n        return true;\n      }\n      return this._super(...arguments);\n    },\n\n    /**\n        Returns the available classes a given type.\n         @method catalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {Array} An array of classes.\n        */\n    catalogEntriesByType(type) {\n      let moduleNames = this._moduleRegistry.moduleNames();\n      let types = Ember.A();\n\n      let prefix = this.namespace.modulePrefix;\n\n      for (let i = 0, l = moduleNames.length; i < l; i++) {\n        let key = moduleNames[i];\n\n        if (key.indexOf(type) !== -1) {\n          // Check if it's a pod module\n          let name = getPod(type, key, this.namespace.podModulePrefix || prefix);\n          if (!name) {\n            // Not pod\n            name = key.split(type + 's/').pop();\n\n            // Support for different prefix (such as ember-cli addons).\n            // Uncomment the code below when\n            // https://github.com/ember-cli/ember-resolver/pull/80 is merged.\n\n            //let match = key.match('^/?(.+)/' + type);\n            //if (match && match[1] !== prefix) {\n            // Different prefix such as an addon\n            //name = match[1] + '@' + name;\n            //}\n          }\n          types.addObject(name);\n        }\n      }\n      return types;\n    }\n  });\n});","define('ember-resolver/resolvers/classic/index', ['exports', 'ember-resolver/utils/class-factory', 'ember-resolver/utils/make-dictionary'], function (exports, _classFactory, _makeDictionary) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.ModuleRegistry = undefined;\n\n\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\n  }\n\n  class ModuleRegistry {\n    constructor(entries) {\n      this._entries = entries || requirejs.entries;\n    }\n    moduleNames() {\n      return Object.keys(this._entries);\n    }\n    has(moduleName) {\n      return moduleName in this._entries;\n    }\n    get(moduleName) {\n      return require(moduleName);\n    }\n  }\n\n  exports.ModuleRegistry = ModuleRegistry;\n  /**\n   * This module defines a subclass of Ember.DefaultResolver that adds two\n   * important features:\n   *\n   *  1) The resolver makes the container aware of es6 modules via the AMD\n   *     output. The loader's _moduleEntries is consulted so that classes can be\n   *     resolved directly via the module loader, without needing a manual\n   *     `import`.\n   *  2) is able to provide injections to classes that implement `extend`\n   *     (as is typical with Ember).\n   */\n\n  function parseName(fullName) {\n    if (fullName.parsedName === true) {\n      return fullName;\n    }\n\n    let prefix, type, name;\n    let fullNameParts = fullName.split('@');\n\n    if (fullNameParts.length === 2) {\n      let prefixParts = fullNameParts[0].split(':');\n\n      if (prefixParts.length === 2) {\n        if (prefixParts[1].length === 0) {\n          type = prefixParts[0];\n          name = `@${fullNameParts[1]}`;\n        } else {\n          prefix = prefixParts[1];\n          type = prefixParts[0];\n          name = fullNameParts[1];\n        }\n      } else {\n        let nameParts = fullNameParts[1].split(':');\n\n        prefix = fullNameParts[0];\n        type = nameParts[0];\n        name = nameParts[1];\n      }\n\n      if (type === 'template' && prefix.lastIndexOf('components/', 0) === 0) {\n        name = `components/${name}`;\n        prefix = prefix.slice(11);\n      }\n    } else {\n      fullNameParts = fullName.split(':');\n      type = fullNameParts[0];\n      name = fullNameParts[1];\n    }\n\n    let fullNameWithoutType = name;\n    let namespace = Ember.get(this, 'namespace');\n    let root = namespace;\n\n    return {\n      parsedName: true,\n      fullName: fullName,\n      prefix: prefix || this.prefix({ type: type }),\n      type: type,\n      fullNameWithoutType: fullNameWithoutType,\n      name: name,\n      root: root,\n      resolveMethodName: \"resolve\" + Ember.String.classify(type)\n    };\n  }\n\n  function resolveOther(parsedName) {\n    (true && !(this.namespace.modulePrefix) && Ember.assert('`modulePrefix` must be defined', this.namespace.modulePrefix));\n\n\n    let normalizedModuleName = this.findModuleName(parsedName);\n\n    if (normalizedModuleName) {\n      let defaultExport = this._extractDefaultExport(normalizedModuleName, parsedName);\n\n      if (defaultExport === undefined) {\n        throw new Error(` Expected to find: '${parsedName.fullName}' within '${normalizedModuleName}' but got 'undefined'. Did you forget to 'export default' within '${normalizedModuleName}'?`);\n      }\n\n      if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n        defaultExport = (0, _classFactory.default)(defaultExport);\n      }\n\n      return defaultExport;\n    }\n  }\n\n  const Resolver = Ember.Object.extend({\n    resolveOther,\n    parseName,\n    pluralizedTypes: null,\n    moduleRegistry: null,\n\n    makeToString(factory, fullName) {\n      return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n    },\n\n    shouldWrapInClassFactory() /* module, parsedName */{\n      return false;\n    },\n\n    init() {\n      this._super();\n      this.moduleBasedResolver = true;\n\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new ModuleRegistry();\n      }\n\n      this._normalizeCache = (0, _makeDictionary.default)();\n\n      this.pluralizedTypes = this.pluralizedTypes || (0, _makeDictionary.default)();\n\n      if (!this.pluralizedTypes.config) {\n        this.pluralizedTypes.config = 'config';\n      }\n      this._deprecatedPodModulePrefix = false;\n    },\n\n    normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));\n    },\n\n    resolve(fullName) {\n      let parsedName = this.parseName(fullName);\n      let resolveMethodName = parsedName.resolveMethodName;\n      let resolved;\n\n      if (typeof this[resolveMethodName] === 'function') {\n        resolved = this[resolveMethodName](parsedName);\n      }\n\n      if (resolved == null) {\n        resolved = this.resolveOther(parsedName);\n      }\n\n      return resolved;\n    },\n\n    _normalize(fullName) {\n      // A) Convert underscores to dashes\n      // B) Convert camelCase to dash-case, except for components (their\n      //    templates) and helpers where we want to avoid shadowing camelCase\n      //    expressions\n      // C) replace `.` with `/` in order to make nested controllers work in the following cases\n      //      1. `needs: ['posts/post']`\n      //      2. `{{render \"posts/post\"}}`\n      //      3. `this.render('posts/post')` from Route\n\n      let split = fullName.split(':');\n      if (split.length > 1) {\n        let type = split[0];\n\n        if (type === 'component' || type === 'helper' || type === 'template' && split[1].indexOf('components/') === 0) {\n          return type + ':' + split[1].replace(/_/g, '-');\n        } else {\n          return type + ':' + Ember.String.dasherize(split[1].replace(/\\./g, '/'));\n        }\n      } else {\n        return fullName;\n      }\n    },\n\n    pluralize(type) {\n      return this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's');\n    },\n\n    podBasedLookupWithPrefix(podPrefix, parsedName) {\n      let fullNameWithoutType = parsedName.fullNameWithoutType;\n\n      if (parsedName.type === 'template') {\n        fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n      }\n\n      return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n    },\n\n    podBasedModuleName(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n\n      return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n    },\n\n    podBasedComponentsInSubdir(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      podPrefix = podPrefix + '/components';\n\n      if (parsedName.type === 'component' || /^components/.test(parsedName.fullNameWithoutType)) {\n        return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n      }\n    },\n\n    resolveEngine(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineModule = engineName + '/engine';\n\n      if (this._moduleRegistry.has(engineModule)) {\n        return this._extractDefaultExport(engineModule);\n      }\n    },\n\n    resolveRouteMap(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineRoutesModule = engineName + '/routes';\n\n      if (this._moduleRegistry.has(engineRoutesModule)) {\n        let routeMap = this._extractDefaultExport(engineRoutesModule);\n\n        (true && !(routeMap.isRouteMap) && Ember.assert(`The route map for ${engineName} should be wrapped by 'buildRoutes' before exporting.`, routeMap.isRouteMap));\n\n\n        return routeMap;\n      }\n    },\n\n    resolveTemplate(parsedName) {\n      let resolved = this.resolveOther(parsedName);\n      if (resolved == null) {\n        resolved = Ember.TEMPLATES[parsedName.fullNameWithoutType];\n      }\n      return resolved;\n    },\n\n    mainModuleName(parsedName) {\n      if (parsedName.fullNameWithoutType === 'main') {\n        // if router:main or adapter:main look for a module with just the type first\n        return parsedName.prefix + '/' + parsedName.type;\n      }\n    },\n\n    defaultModuleName(parsedName) {\n      return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType;\n    },\n\n    nestedColocationComponentModuleName(parsedName) {\n      if (parsedName.type === 'component') {\n        return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType + '/index';\n      }\n    },\n\n    prefix(parsedName) {\n      let tmpPrefix = this.namespace.modulePrefix;\n\n      if (this.namespace[parsedName.type + 'Prefix']) {\n        tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n      }\n\n      return tmpPrefix;\n    },\n\n    /**\n      A listing of functions to test for moduleName's based on the provided\n     `parsedName`. This allows easy customization of additional module based\n     lookup patterns.\n      @property moduleNameLookupPatterns\n     @returns {Ember.Array}\n     */\n    moduleNameLookupPatterns: Ember.computed(function () {\n      return [this.podBasedModuleName, this.podBasedComponentsInSubdir, this.mainModuleName, this.defaultModuleName, this.nestedColocationComponentModuleName];\n    }).readOnly(),\n\n    findModuleName(parsedName, loggingDisabled) {\n      let moduleNameLookupPatterns = this.get('moduleNameLookupPatterns');\n      let moduleName;\n\n      for (let index = 0, length = moduleNameLookupPatterns.length; index < length; index++) {\n        let item = moduleNameLookupPatterns[index];\n\n        let tmpModuleName = item.call(this, parsedName);\n\n        // allow treat all dashed and all underscored as the same thing\n        // supports components with dashes and other stuff with underscores.\n        if (tmpModuleName) {\n          tmpModuleName = this.chooseModuleName(tmpModuleName, parsedName);\n        }\n\n        if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n          moduleName = tmpModuleName;\n        }\n\n        if (!loggingDisabled) {\n          this._logLookup(moduleName, parsedName, tmpModuleName);\n        }\n\n        if (moduleName) {\n          return moduleName;\n        }\n      }\n    },\n\n    chooseModuleName(moduleName, parsedName) {\n      let underscoredModuleName = Ember.String.underscore(moduleName);\n\n      if (moduleName !== underscoredModuleName && this._moduleRegistry.has(moduleName) && this._moduleRegistry.has(underscoredModuleName)) {\n        throw new TypeError(`Ambiguous module names: '${moduleName}' and '${underscoredModuleName}'`);\n      }\n\n      if (this._moduleRegistry.has(moduleName)) {\n        return moduleName;\n      } else if (this._moduleRegistry.has(underscoredModuleName)) {\n        return underscoredModuleName;\n      }\n      // workaround for dasherized partials:\n      // something/something/-something => something/something/_something\n      let partializedModuleName = moduleName.replace(/\\/-([^/]*)$/, '/_$1');\n\n      if (this._moduleRegistry.has(partializedModuleName)) {\n        (true && !(false) && Ember.deprecate('Modules should not contain underscores. ' + 'Attempted to lookup \"' + moduleName + '\" which ' + 'was not found. Please rename \"' + partializedModuleName + '\" ' + 'to \"' + moduleName + '\" instead.', false, { id: 'ember-resolver.underscored-modules', until: '3.0.0' }));\n\n\n        return partializedModuleName;\n      }\n\n      if (true) {\n        let isCamelCaseHelper = parsedName.type === 'helper' && /[a-z]+[A-Z]+/.test(moduleName);\n        if (isCamelCaseHelper) {\n          this._camelCaseHelperWarnedNames = this._camelCaseHelperWarnedNames || [];\n          let alreadyWarned = this._camelCaseHelperWarnedNames.indexOf(parsedName.fullName) > -1;\n          if (!alreadyWarned && this._moduleRegistry.has(Ember.String.dasherize(moduleName))) {\n            this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            (true && Ember.warn('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + Ember.String.dasherize(moduleName) + '\" to be ' + 'returned for this camel case helper name. This has been fixed. ' + 'Use the dasherized name to resolve the module that would have been ' + 'returned in previous versions.', false, { id: 'ember-resolver.camelcase-helper-names', until: '3.0.0' }));\n          }\n        }\n      }\n    },\n\n    // used by Ember.DefaultResolver.prototype._logLookup\n    lookupDescription(fullName) {\n      let parsedName = this.parseName(fullName);\n\n      let moduleName = this.findModuleName(parsedName, true);\n\n      return moduleName;\n    },\n\n    // only needed until 1.6.0-beta.2 can be required\n    _logLookup(found, parsedName, description) {\n      if (!Ember.ENV.LOG_MODULE_RESOLVER && !parsedName.root.LOG_RESOLVER) {\n        return;\n      }\n\n      let padding;\n      let symbol = found ? '[✓]' : '[ ]';\n\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\n      }\n\n      if (!description) {\n        description = this.lookupDescription(parsedName);\n      }\n\n      /* eslint-disable no-console */\n      if (console && console.info) {\n        console.info(symbol, parsedName.fullName, padding, description);\n      }\n    },\n\n    knownForType(type) {\n      let moduleKeys = this._moduleRegistry.moduleNames();\n\n      let items = (0, _makeDictionary.default)();\n      for (let index = 0, length = moduleKeys.length; index < length; index++) {\n        let moduleName = moduleKeys[index];\n        let fullname = this.translateToContainerFullname(type, moduleName);\n\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n\n      return items;\n    },\n\n    translateToContainerFullname(type, moduleName) {\n      let prefix = this.prefix({ type });\n\n      // Note: using string manipulation here rather than regexes for better performance.\n      // pod modules\n      // '^' + prefix + '/(.+)/' + type + '$'\n      let podPrefix = prefix + '/';\n      let podSuffix = '/' + type;\n      let start = moduleName.indexOf(podPrefix);\n      let end = moduleName.indexOf(podSuffix);\n\n      if (start === 0 && end === moduleName.length - podSuffix.length && moduleName.length > podPrefix.length + podSuffix.length) {\n        return type + ':' + moduleName.slice(start + podPrefix.length, end);\n      }\n\n      // non-pod modules\n      // '^' + prefix + '/' + pluralizedType + '/(.+)$'\n      let pluralizedType = this.pluralize(type);\n      let nonPodPrefix = prefix + '/' + pluralizedType + '/';\n\n      if (moduleName.indexOf(nonPodPrefix) === 0 && moduleName.length > nonPodPrefix.length) {\n        return type + ':' + moduleName.slice(nonPodPrefix.length);\n      }\n    },\n\n    _extractDefaultExport(normalizedModuleName) {\n      let module = require(normalizedModuleName, null, null, true /* force sync */);\n\n      if (module && module['default']) {\n        module = module['default'];\n      }\n\n      return module;\n    }\n  });\n\n  Resolver.reopenClass({\n    moduleBasedResolver: true\n  });\n\n  exports.default = Resolver;\n});","define('ember-resolver/utils/class-factory', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = classFactory;\n  function classFactory(klass) {\n    return {\n      create(injections) {\n        if (typeof klass.extend === 'function') {\n          return klass.extend(injections);\n        } else {\n          return klass;\n        }\n      }\n    };\n  }\n});","define('ember-resolver/utils/make-dictionary', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeDictionary;\n  function makeDictionary() {\n    let cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n});","define('ember-searchable-select/components/searchable-select-option', ['exports', 'ember', 'ember-searchable-select/templates/components/searchable-select-option'], function (exports, _ember, _emberSearchableSelectTemplatesComponentsSearchableSelectOption) {\n  exports['default'] = _ember['default'].Component.extend({\n    layout: _emberSearchableSelectTemplatesComponentsSearchableSelectOption['default'],\n    tagName: 'li',\n    classNameBindings: [':Searchable-select__option', 'isDisabled:Searchable-select__option--disabled', 'isSelected:Searchable-select__option--selected'],\n    attributeBindings: ['tabindex'],\n\n    option: null,\n    optionLabelKey: 'title',\n    optionDisabledKey: null,\n    selected: null,\n    searchText: '',\n\n    isDisabled: _ember['default'].computed('option', 'optionDisabledKey', function () {\n      if (this.get('optionDisabledKey')) {\n        return _ember['default'].get(this.get('option'), this.get('optionDisabledKey'));\n      }\n    }),\n    isSelected: _ember['default'].computed('option', 'selected', 'selected.[]', function () {\n      if (Array.isArray(this.get('selected'))) {\n        return _ember['default'].A(this.get('selected')).contains(this.get('option'));\n      } else {\n        return this.get('selected') === this.get('option');\n      }\n    }),\n    tabindex: _ember['default'].computed('isDisabled', function () {\n      if (!this.get('isDisabled')) {\n        return -1;\n      }\n    }),\n\n    keyDown: function keyDown(event) {\n      // enter key selects item\n      if (event.keyCode === 13) {\n        this.send('selectItem');\n      }\n    },\n\n    click: function click() {\n      this.send('selectItem');\n    },\n\n    actions: {\n      selectItem: function selectItem() {\n        this.attrs['select-item'](this.get('option'));\n      }\n    }\n  });\n});","define('ember-searchable-select/components/searchable-select', ['exports', 'ember', 'ember-searchable-select/templates/components/searchable-select'], function (exports, _ember, _emberSearchableSelectTemplatesComponentsSearchableSelect) {\n  /* global $ */\n\n  exports['default'] = _ember['default'].Component.extend({\n    layout: _emberSearchableSelectTemplatesComponentsSearchableSelect['default'],\n    classNames: ['Searchable-select'],\n    classNameBindings: ['_isShowingMenu:Searchable-select--menu-open', 'multiple:Searchable-select--multiple'],\n\n    content: null,\n    selected: null,\n    optionLabelKey: 'title',\n    optionDisabledKey: null,\n    sortBy: null,\n    limitSearchToWordBoundary: false,\n    multiple: false,\n    closeOnSelection: true,\n\n    prompt: 'Select an option',\n    searchPrompt: 'Type to search',\n    noResultsMessage: 'No matching results',\n\n    isClearable: true,\n    clearLabel: 'Clear',\n\n    addLabel: 'Add',\n\n    isLoading: false,\n    loadingMessage: 'Searching...',\n\n    _searchText: '',\n    _isShowingMenu: false,\n    _hasSelection: _ember['default'].computed.notEmpty('_selected'),\n    _isShowingClear: _ember['default'].computed.and('isClearable', '_hasSelection'),\n    _hasNoResults: _ember['default'].computed.empty('_filteredContent'),\n    _hasResults: _ember['default'].computed.not('_hasNoResults'),\n    _isNotLoading: _ember['default'].computed.not('isLoading'),\n    _isSingleSelect: _ember['default'].computed.not('multiple'),\n    _hasMultipleSelection: _ember['default'].computed.and('multiple', '_hasSelection'),\n    _hasSingleSelection: _ember['default'].computed.and('_isSingleSelect', '_hasSelection'),\n    _isShowingAddNew: _ember['default'].computed.and('_canAddNew', '_hasNoMatchedKeys', '_searchText'),\n    _isShowingNoResultsMessage: _ember['default'].computed.and('_searchText', '_hasNoResults', '_isNotLoading'),\n    _canAddNew: _ember['default'].computed.bool('on-add'),\n    _hasOnSearchAction: _ember['default'].computed.bool('on-search'),\n    _isFilterActive: _ember['default'].computed.not('_hasOnSearchAction'),\n\n    'on-change': null,\n    'on-add': null,\n    'on-search': null,\n    'on-close': null,\n    'on-open': null,\n\n    // Make the passed in `selected` a one-way binding.\n    // `Ember.computed.oneWay` won't pick up on upstream\n    // changes after the prop gets set internally.\n\n    // TODO [brenna]: refactor into two CP's, one for single _selected,\n    // one for _multiselected\n    _selected: _ember['default'].computed('selected', 'selected.[]', {\n      get: function get() {\n        if (this.get('multiple') && !this.get('selected')) {\n          // coerce null multiple selections to an empty array\n          return _ember['default'].A([]);\n        } else if (this.get('multiple') && !Array.isArray(this.get('selected'))) {\n          throw new Error('Searchable select: passed in multiple selection must be an array');\n        } else {\n          return this.get('selected');\n        }\n        return this.get('selected');\n      },\n      set: function set(key, value) {\n        return value;\n      }\n    }),\n\n    _sortArray: _ember['default'].computed('sortBy', function () {\n      if (this.get('sortBy')) {\n        return this.get('sortBy').replace(' ', '').split(',');\n      }\n      return [];\n    }),\n\n    _sortedContent: _ember['default'].computed.sort('content', '_sortArray'),\n\n    _filterRegex: _ember['default'].computed('limitSearchToWordBoundary', '_searchText', function () {\n      var searchText = this.get('_searchText');\n\n      if (searchText) {\n        var regex = this.get('limitSearchToWordBoundary') ? '\\\\b' + searchText : searchText;\n        return new RegExp(regex, 'i');\n      }\n    }),\n\n    _filteredContent: _ember['default'].computed('_sortedContent.[]', 'optionLabelKey', '_filterRegex', '_isFilterActive', function () {\n      var _this = this;\n\n      var filterRegex = this.get('_filterRegex');\n      var content = this.get('_sortedContent');\n\n      if (filterRegex && this.get('_isFilterActive')) {\n        return _ember['default'].A(content.filter(function (item) {\n          return filterRegex.test(_ember['default'].get(item, _this.get('optionLabelKey')));\n        }));\n      } else {\n        return content;\n      }\n    }),\n\n    _filteredKeys: _ember['default'].computed('_filteredContent', 'optionLabelKey', function () {\n      var optKey = this.get('optionLabelKey');\n      return _ember['default'].A(this.get('_filteredContent').mapBy(optKey));\n    }),\n\n    _hasMatchedKey: _ember['default'].computed('_filteredKeys', '_searchText', function () {\n      // let regex = new RegExp('^' + this.get('_searchText') + '$', 'i');\n      var regex = new RegExp('^' + this.get('_searchText') + '$', 'i');\n\n      return this.get('_filteredKeys').filter(function (key) {\n        return regex.test(key);\n      }).length;\n    }),\n\n    _hasNoMatchedKeys: _ember['default'].computed.not('_hasMatchedKey'),\n\n    _setup: _ember['default'].on('didInsertElement', function () {\n      var _this2 = this;\n\n      // keyboard controls\n\n      this.$().on('keydown', function (e) {\n        _this2._handleKeyboardControls(e);\n      });\n    }),\n\n    _teardown: _ember['default'].on('willDestroyElement', function () {\n      this._unbindOutsideClicks();\n    }),\n\n    _bindOutsideClicks: function _bindOutsideClicks() {\n      var component = this;\n      var componentElem = this.get('element');\n      $(window).on('click.' + component.elementId, function (e) {\n        if (!$.contains(componentElem, e.target)) {\n          component.send('hideMenu');\n          component.$('.Searchable-select__label').blur();\n        }\n      });\n    },\n\n    _unbindOutsideClicks: function _unbindOutsideClicks() {\n      var component = this;\n      $(window).off('click.' + component.elementId);\n    },\n\n    _handleKeyboardControls: function _handleKeyboardControls(e) {\n      var $focussable = this.$('[tabindex]');\n      var i = $focussable.index(e.target);\n\n      if (e.keyCode === 40) {\n        // down arrow\n        e.preventDefault();\n        $focussable.eq(i + 1).focus();\n\n        if ($(e.target).is('.Searchable-select__label')) {\n          this.send('showMenu');\n        }\n      } else if (e.keyCode === 38) {\n        // up arrow\n        e.preventDefault();\n        if (i > 0) {\n          $focussable.eq(i - 1).focus();\n        }\n      } else if (e.keyCode === 27 || e.keyCode === 9) {\n        // escape key or tab key\n        this.send('hideMenu');\n      } else if (e.keyCode === 13) {\n        // enter key\n        e.preventDefault();\n        var action = $(e.target).attr('data-enter-key-action');\n\n        if (action) {\n          this.send(action);\n        }\n      }\n    },\n\n    _toggleSelection: function _toggleSelection(item) {\n      if (item === null) {\n        this.set('_selected', _ember['default'].A([]));\n      } else if (_ember['default'].A(this.get('_selected')).contains(item)) {\n        this.removeFromSelected(item);\n      } else {\n        this.addToSelected(item);\n      }\n    },\n\n    // non-mutating adding and removing to/from the _selected array\n    removeFromSelected: function removeFromSelected(item) {\n      var selected = this.get('_selected');\n      var i = selected.indexOf(item);\n      var newSelection = selected.slice(0, i).concat(selected.slice(i + 1));\n      this.set('_selected', _ember['default'].A(newSelection));\n    },\n    addToSelected: function addToSelected(item) {\n      this.set('_selected', _ember['default'].A(this.get('_selected').concat([item])));\n    },\n\n    // verify passed in functions are functions, if not use a no-op in their place\n    checkForFunction: function checkForFunction(attr) {\n      if (typeof attr === 'function') {\n        return attr;\n      } else {\n        return function () {};\n      }\n    },\n\n    actions: {\n      updateSearch: function updateSearch(text) {\n        this.set('_searchText', text);\n        this.checkForFunction(this.get('on-search')).call(this, text);\n      },\n      selectItem: function selectItem(item) {\n        var disabledKey = this.get('optionDisabledKey');\n\n        if (item && disabledKey && _ember['default'].get(item, disabledKey)) {\n          // item is disabled, do nothing\n          return;\n        }\n\n        if (this.get('multiple')) {\n          // add or remove item from selection\n          this._toggleSelection(item);\n        } else {\n          // replace selection\n          this.set('_selected', item);\n        }\n\n        this.checkForFunction(this.get('on-change')).call(this, this.get('_selected'));\n\n        if (this.get('closeOnSelection')) {\n          this.send('hideMenu');\n        }\n      },\n      toggleMenu: function toggleMenu() {\n        if (this.get('_isShowingMenu')) {\n          this.send('hideMenu');\n        } else {\n          this.send('showMenu');\n        }\n      },\n      showMenu: function showMenu() {\n        this.set('_isShowingMenu', true);\n\n        this.checkForFunction(this.get('on-open')).call(this);\n\n        _ember['default'].run.scheduleOnce('afterRender', this, function () {\n          // focus search input\n          this.$('.Searchable-select__input').focus();\n        });\n\n        _ember['default'].run.next(this, function () {\n          this._bindOutsideClicks();\n        });\n      },\n      hideMenu: function hideMenu() {\n        this.set('_isShowingMenu', false);\n        this._unbindOutsideClicks();\n        this.set('_searchText', '');\n        this.$('.Searchable-select__label').focus();\n        this.checkForFunction(this.get('on-close')).call(this);\n      },\n      clear: function clear() {\n        this.send('selectItem', null);\n      },\n      removeOption: function removeOption(option) {\n        this.removeFromSelected(option);\n        this['on-change'].call(this, this.get('_selected'));\n      },\n      addNew: function addNew() {\n        this.get('on-add')(this.get('_searchText'));\n        if (this.get('closeOnSelection')) {\n          this.send('hideMenu');\n        }\n      },\n      noop: function noop() {\n        // need an action to able to attach bubbles:false to an elem\n      }\n    }\n\n  });\n});","define('ember-searchable-select/helpers/searchable-select-get', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports.searchableSelectGet = searchableSelectGet;\n\n  function searchableSelectGet(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var object = _ref2[0];\n    var path = _ref2[1];\n\n    if (!path) {\n      return;\n    }\n\n    return _ember['default'].get(object, path);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(searchableSelectGet);\n});","define('ember-searchable-select/helpers/searchable-select-highlight-match', ['exports', 'ember'], function (exports, _ember) {\n  var _slicedToArray = (function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i['return']) _i['return'](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError('Invalid attempt to destructure non-iterable instance'); } }; })();\n\n  exports.searchableSelectHighlightMatch = searchableSelectHighlightMatch;\n\n  function searchableSelectHighlightMatch(_ref) {\n    var _ref2 = _slicedToArray(_ref, 2);\n\n    var text = _ref2[0];\n    var matchText = _ref2[1];\n\n    if (!matchText || !text) {\n      return text;\n    }\n\n    var highlightedText = text.replace(new RegExp('(' + matchText + ')', 'i'), '<span class=\"Searchable-select__matched-text\">$1</span>');\n\n    return _ember['default'].String.htmlSafe(highlightedText);\n  }\n\n  exports['default'] = _ember['default'].Helper.helper(searchableSelectHighlightMatch);\n});","define('ember-searchable-select/pods/components/options-table/component', ['exports', 'ember', 'ember-searchable-select/pods/components/options-table/template'], function (exports, _ember, _emberSearchableSelectPodsComponentsOptionsTableTemplate) {\n  exports['default'] = _ember['default'].Component.extend({\n    layout: _emberSearchableSelectPodsComponentsOptionsTableTemplate['default']\n  });\n});","define(\"ember-searchable-select/pods/components/options-table/template\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"B+unflcZ\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-searchable-select/pods/components/options-table/template.hbs\" } });\n});","define(\"ember-searchable-select/templates/components/searchable-select-option\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"WaCJee4O\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"isSelected\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__icon Searchable-select__icon--check\\\\n    Searchable-select__option-indicator--selected\\\"],[8],[0,\\\"\\\\n    ✓\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[7,\\\"span\\\",true],[11,\\\"class\\\",[29,[\\\"Searchable-select__option-label\\\\n  \\\",[28,\\\"if\\\",[[24,[\\\"isSelected\\\"]],\\\"Searchable-select__option-label--selected\\\"],null]]]],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"searchable-select-highlight-match\\\",[[28,\\\"searchable-select-get\\\",[[24,[\\\"option\\\"]],[24,[\\\"optionLabelKey\\\"]]],null],[24,[\\\"searchText\\\"]]],null],false],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-searchable-select/templates/components/searchable-select-option.hbs\" } });\n});","define(\"ember-searchable-select/templates/components/searchable-select\", [\"exports\"], function (exports) {\n  exports[\"default\"] = Ember.HTMLBars.template({ \"id\": \"ktSAsjyw\", \"block\": \"{\\\"symbols\\\":[\\\"option\\\",\\\"selectedOption\\\"],\\\"statements\\\":[[7,\\\"a\\\",false],[12,\\\"href\\\",\\\"#\\\"],[12,\\\"class\\\",[29,[\\\"Searchable-select__label\\\\n    \\\",[28,\\\"if\\\",[[24,[\\\"_isShowingMenu\\\"]],\\\"Searchable-select__label--menu-open\\\"],null],\\\"\\\\n    \\\",[28,\\\"if\\\",[[24,[\\\"multiple\\\"]],\\\"Searchable-select__label--multiple\\\"],null],\\\"\\\\n    \\\",[28,\\\"if\\\",[[24,[\\\"_hasMultipleSelection\\\"]],\\\"Searchable-select__label--multiple-selected\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],\\\"toggleMenu\\\"]],[8],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_hasSingleSelection\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__selected-label\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"searchable-select-get\\\",[[24,[\\\"_selected\\\"]],[24,[\\\"optionLabelKey\\\"]]],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_hasMultipleSelection\\\"]]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"_selected\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__selected-pill\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__selected-pill-text\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"searchable-select-get\\\",[[23,2,[]],[24,[\\\"optionLabelKey\\\"]]],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",false],[12,\\\"class\\\",\\\"Searchable-select__selected-pill-clear\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"removeOption\\\",[23,2,[]]],[[\\\"bubbles\\\"],[false]]],[8],[0,\\\"\\\\n          ×\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[24,[\\\"_hasSelection\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__prompt\\\"],[8],[1,[22,\\\"prompt\\\"],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_isShowingMenu\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"Searchable-select__menu\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"Searchable-select__search\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"noop\\\"],[[\\\"bubbles\\\"],[false]]],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"type\\\",\\\"placeholder\\\",\\\"key-up\\\",\\\"tabindex\\\",\\\"bubbles\\\"],[\\\"Searchable-select__input\\\",\\\"text\\\",[24,[\\\"searchPrompt\\\"]],\\\"updateSearch\\\",-1,false]]],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_isShowingClear\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"Searchable-select__clear\\\"],[12,\\\"tabindex\\\",\\\"-1\\\"],[12,\\\"data-enter-key-action\\\",\\\"clear\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"clear\\\"],[[\\\"bubbles\\\"],[false]]],[8],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__icon Searchable-select__icon--clear\\\"],[8],[0,\\\"\\\\n          ×\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[1,[22,\\\"clearLabel\\\"],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_isShowingAddNew\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"Searchable-select__add-new\\\"],[12,\\\"tabindex\\\",\\\"-1\\\"],[12,\\\"data-enter-key-action\\\",\\\"addNew\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"addNew\\\"],[[\\\"bubbles\\\"],[false]]],[8],[0,\\\"\\\\n      \\\"],[1,[22,\\\"addLabel\\\"],false],[0,\\\" \\\"],[7,\\\"em\\\",true],[8],[1,[22,\\\"_searchText\\\"],false],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_isShowingNoResultsMessage\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"Searchable-select__info\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[22,\\\"noResultsMessage\\\"],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"isLoading\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"Searchable-select__info\\\"],[8],[0,\\\"\\\\n        \\\"],[2,\\\" Loading SVG by Sam Herbert (@sherb), More @ http://goo.gl/7AJzbL \\\"],[0,\\\"\\\\n        \\\"],[7,\\\"svg\\\",true],[10,\\\"width\\\",\\\"12\\\"],[10,\\\"height\\\",\\\"12\\\"],[10,\\\"viewBox\\\",\\\"0 0 40 40\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[10,\\\"stroke\\\",\\\"#9a9a9a\\\"],[10,\\\"class\\\",\\\"Searchable-select__loader\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"g\\\",true],[10,\\\"fill\\\",\\\"none\\\"],[10,\\\"fill-rule\\\",\\\"evenod  d\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"g\\\",true],[10,\\\"transform\\\",\\\"translate(2 2)\\\"],[10,\\\"stroke-width\\\",\\\"4\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"circle\\\",true],[10,\\\"stroke-opacity\\\",\\\".6\\\"],[10,\\\"cx\\\",\\\"18\\\"],[10,\\\"cy\\\",\\\"18\\\"],[10,\\\"r\\\",\\\"18\\\"],[10,\\\"class\\\",\\\"Searchable-select__loader-circle\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M36 18c0-9.94-8.06-18-18-18\\\"],[10,\\\"class\\\",\\\"Searchable-select__loader-spinner\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"animateTransform\\\",true],[10,\\\"attributeName\\\",\\\"transform\\\"],[10,\\\"from\\\",\\\"0 18 18\\\"],[10,\\\"to\\\",\\\"360 18 18\\\"],[10,\\\"dur\\\",\\\"0.8s\\\"],[10,\\\"repeatCount\\\",\\\"indefinite\\\"],[10,\\\"type\\\",\\\"rotate\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"Searchable-select__loader-text\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[22,\\\"loadingMessage\\\"],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"_hasResults\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"ul\\\",true],[10,\\\"class\\\",\\\"Searchable-select__options-list\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"_filteredContent\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[1,[28,\\\"searchable-select-option\\\",null,[[\\\"option\\\",\\\"selected\\\",\\\"searchText\\\",\\\"optionLabelKey\\\",\\\"optionDisabledKey\\\",\\\"select-item\\\"],[[23,1,[]],[24,[\\\"_selected\\\"]],[24,[\\\"_searchText\\\"]],[24,[\\\"optionLabelKey\\\"]],[24,[\\\"optionDisabledKey\\\"]],[28,\\\"action\\\",[[23,0,[]],\\\"selectItem\\\"],null]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-searchable-select/templates/components/searchable-select.hbs\" } });\n});","define(\"ember-style-modifier/modifiers/style\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function isObject(o) {\n    return typeof o === 'object' && Boolean(o);\n  }\n\n  class StyleModifier extends _emberModifier.default {\n    /**\n     * Returns a two-dimensional array, like:\n     *\n     * ```js\n     * [\n     *   ['font-size', '16px'],\n     *   ['text-align', 'center'],\n     *   ['color', 'red']\n     * ]\n     * ```\n     *\n     * This data structure is slightly faster to process than an object / dictionary.\n     */\n    get styles() {\n      const {\n        positional,\n        named\n      } = this.args; // This is a workaround for the missing `Array#flat` in IE11.\n\n      return [].concat(...[...positional.filter(isObject), named].map(obj => Object.entries(obj).map(([k, v]) => [Ember.String.dasherize(k), v])));\n    }\n\n    setStyles(newStyles) {\n      const rulesToRemove = this._oldStyles || new Set();\n      newStyles.forEach(([property, value]) => {\n        (true && !(typeof value === 'undefined' || Ember.typeOf(value) === 'string') && Ember.assert(`Your given value for property '${property}' is ${value} (${Ember.typeOf(value)}). ` + 'Accepted types are string and undefined. Please change accordingly.', typeof value === 'undefined' || Ember.typeOf(value) === 'string')); // priority must be specified as separate argument\n        // value must not contain \"!important\"\n\n        let priority = '';\n\n        if (value && value.includes('!important')) {\n          priority = 'important';\n          value = value.replace('!important', '');\n        } // support camelCase property name\n\n\n        property = Ember.String.dasherize(property); // update CSSOM\n\n        this.element.style.setProperty(property, value, priority); // should not remove rules that have been updated in this cycle\n\n        rulesToRemove.delete(property);\n      }); // remove rules that were present in last cycle but aren't present in this one\n\n      rulesToRemove.forEach(rule => this.element.style.removeProperty(rule)); // cache styles that in this rendering cycle for the next one\n\n      this._oldStyles = new Set(newStyles.map(e => e[0]));\n    }\n\n    didReceiveArguments() {\n      this.setStyles(this.styles);\n    }\n\n  }\n\n  _exports.default = StyleModifier;\n});","define(\"ember-test-waiters/build-waiter\", [\"exports\", \"ember-test-waiters\", \"ember-test-waiters/noop-test-waiter\"], function (_exports, _emberTestWaiters, _noopTestWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildWaiter;\n\n  /**\n   * Builds and returns a test waiter. The type of the\n   * returned waiter is dependent on whether the app or\n   * addon is in `DEBUG` mode or not.\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {ITestWaiter}\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { buildWaiter } from 'ember-test-waiters';\n   *\n   * if (DEBUG) {\n   *   let waiter = buildWaiter('friend-waiter');\n   * }\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     let token = waiter.beginAsync(this);\n   *\n   *     someAsyncWork().then(() => {\n   *       waiter.endAsync(token);\n   *     });\n   *   }\n   * }\n   */\n  function buildWaiter(name) {\n    if (true\n    /* DEBUG */\n    ) {\n      return new _emberTestWaiters.TestWaiter(name);\n    }\n\n    return new _noopTestWaiter.default(name);\n  }\n});","define(\"ember-test-waiters/index\", [\"exports\", \"ember-test-waiters/waiter-manager\", \"ember-test-waiters/test-waiter\", \"ember-test-waiters/build-waiter\", \"ember-test-waiters/wait-for-promise\"], function (_exports, _waiterManager, _testWaiter, _buildWaiter, _waitForPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"register\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.register;\n    }\n  });\n  Object.defineProperty(_exports, \"unregister\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.unregister;\n    }\n  });\n  Object.defineProperty(_exports, \"getWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"getPendingWaiterState\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getPendingWaiterState;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPendingWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.hasPendingWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"TestWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _testWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"buildWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForPromise\", {\n    enumerable: true,\n    get: function () {\n      return _waitForPromise.default;\n    }\n  });\n});","define(\"ember-test-waiters/noop-test-waiter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * A class providing a production, noop replacement for the {TestWaiter<T>} class.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n  class NoopTestWaiter {\n    constructor(name) {\n      this.name = name;\n    }\n\n    beginAsync() {\n      return this;\n    }\n\n    endAsync() {}\n\n    waitUntil() {\n      return true;\n    }\n\n    debugInfo() {\n      return [];\n    }\n\n    reset() {}\n\n  }\n\n  _exports.default = NoopTestWaiter;\n});","define(\"ember-test-waiters/test-waiter\", [\"exports\", \"ember-test-waiters/waiter-manager\"], function (_exports, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let token = 0;\n\n  function getNextToken() {\n    return token++;\n  }\n  /**\n   * A class providing creation, registration and async waiting functionality.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n\n\n  class TestWaiter {\n    /**\n     * @public\n     * @constructor\n     * @param name {WaiterName} the name of the test waiter\n     */\n    constructor(name, nextToken) {\n      this.isRegistered = false;\n      this.items = new Map();\n      this.name = name; // @ts-ignore\n\n      this.nextToken = nextToken || getNextToken;\n    }\n    /**\n     * Will register the waiter, allowing it to be opted in to pausing async\n     * operations until they're completed within your tests. You should invoke\n     * it after instantiating your `TestWaiter` instance.\n     *\n     * **Note**, if you forget to register your waiter, it will be registered\n     * for you on the first invocation of `beginAsync`.\n     *\n     * @private\n     * @method register\n     */\n\n\n    register() {\n      if (!this.isRegistered) {\n        (0, _waiterManager.register)(this);\n        this.isRegistered = true;\n      }\n    }\n    /**\n     * Should be used to signal the beginning of an async operation that\n     * is to be waited for. Invocation of this method should be paired with a subsequent\n     * `endAsync` call to indicate to the waiter system that the async operation is completed.\n     *\n     * @public\n     * @method beginAsync\n     * @param item {T} The item to register for waiting\n     * @param label {string} An optional label to identify the item\n     */\n\n\n    beginAsync(token = this.nextToken(), label) {\n      this.register();\n\n      if (this.items.has(token)) {\n        throw new Error(`beginAsync called for ${token} but it is already pending.`);\n      }\n\n      let error = new Error();\n      this.items.set(token, {\n        get stack() {\n          return error.stack;\n        },\n\n        label\n      });\n      return token;\n    }\n    /**\n     * Should be used to signal the end of an async operation. Invocation of this\n     * method should be paired with a preceeding `beginAsync` call, which would indicate the\n     * beginning of an async operation.\n     *\n     * @public\n     * @method endAsync\n     * @param item {T} The item to that was registered for waiting\n     */\n\n\n    endAsync(token) {\n      if (!this.items.has(token)) {\n        throw new Error(`endAsync called for ${token} but it is not currently pending.`);\n      }\n\n      this.items.delete(token);\n    }\n    /**\n     * Used to determine if the waiter system should still wait for async\n     * operations to complete.\n     *\n     * @public\n     * @method waitUntil\n     * @returns {boolean}\n     */\n\n\n    waitUntil() {\n      return this.items.size === 0;\n    }\n    /**\n     * Returns the `debugInfo` for each item tracking async operations in this waiter.\n     *\n     * @public\n     * @method debugInfo\n     * @returns {ITestWaiterDebugInfo}\n     */\n\n\n    debugInfo() {\n      return [...this.items.values()];\n    }\n    /**\n     * Resets the waiter state, clearing items tracking async operations in this waiter.\n     *\n     * @public\n     * @method reset\n     */\n\n\n    reset() {\n      this.items.clear();\n    }\n\n  }\n\n  _exports.default = TestWaiter;\n});","define(\"ember-test-waiters/types/index\", [], function () {\n  \"use strict\";\n});","define(\"ember-test-waiters/wait-for-promise\", [\"exports\", \"ember-test-waiters/test-waiter\"], function (_exports, _testWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  const PROMISE_WAITER = new _testWaiter.default('promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T>} The promise to track async operations for\n   * @param label {string} An optional string to identify the promise\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { waitForPromise } from 'ember-test-waiters';\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     waitForPromise(new Promise(resolve => {\n   *       doSomeWork();\n   *       resolve();\n   *     }));\n   *   }\n   * }\n   */\n\n  function waitForPromise(promise, label) {\n    let result = promise;\n\n    if (true\n    /* DEBUG */\n    ) {\n      PROMISE_WAITER.beginAsync(promise, label);\n      result = promise.then(value => {\n        PROMISE_WAITER.endAsync(promise);\n        return value;\n      }, error => {\n        PROMISE_WAITER.endAsync(promise);\n        throw error;\n      });\n    }\n\n    return result;\n  }\n});","define(\"ember-test-waiters/waiter-manager\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.register = register;\n  _exports.unregister = unregister;\n  _exports.getWaiters = getWaiters;\n  _exports._reset = _reset;\n  _exports.getPendingWaiterState = getPendingWaiterState;\n  _exports.hasPendingWaiters = hasPendingWaiters;\n  const WAITERS = new Map();\n  /**\n   * Backwards compatibility with legacy waiters system.\n   *\n   * We want to always register a waiter using the legacy waiter system, as right\n   * now if consumers are not on the right version of @ember/test-helpers, using\n   * this addon will result in none of these waiters waiting.\n   */\n  // eslint-disable-next-line ember/new-module-imports\n\n  if (Ember.Test) {\n    Ember.Test.registerWaiter(() => !hasPendingWaiters());\n  }\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n\n\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Unregisters a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n\n\n  function unregister(waiter) {\n    WAITERS.delete(waiter.name);\n  }\n  /**\n   * Gets an array of all waiters current registered.\n   *\n   * @public\n   * @returns {IWaiter[]}\n   */\n\n\n  function getWaiters() {\n    return [...WAITERS.values()];\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @public\n   */\n\n\n  function _reset() {\n    WAITERS.clear();\n  }\n  /**\n   * Gets the current state of all waiters. Any waiters whose\n   * `waitUntil` method returns false will be considered `pending`.\n   *\n   * @returns {IPendingWaiterState} An object containing a count of all waiters\n   * pending and a `waiters` object containing the name of all pending waiters\n   * and their debug info.\n   */\n\n\n  function getPendingWaiterState() {\n    let result = {\n      pending: 0,\n      waiters: {}\n    };\n    WAITERS.forEach(waiter => {\n      if (!waiter.waitUntil()) {\n        result.pending++;\n        let debugInfo = waiter.debugInfo();\n        result.waiters[waiter.name] = debugInfo || true;\n      }\n    });\n    return result;\n  }\n  /**\n   * Determines if there are any pending waiters.\n   *\n   * @returns {boolean} `true` if there are pending waiters, otherwise `false`.\n   */\n\n\n  function hasPendingWaiters() {\n    let state = getPendingWaiterState();\n    return state.pending > 0;\n  }\n});","define(\"ember-text-measurer/services/text-measurer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n\n      this.canvas = document.createElement('canvas');\n      this.ctx = this.canvas.getContext('2d');\n    },\n\n    width(string, font = null) {\n      if (font) {\n        this.ctx.font = font;\n      }\n\n      return this.ctx.measureText(string).width;\n    },\n\n    lines(string, maxWidth, font = null) {\n      if (font) {\n        this.ctx.font = font;\n      }\n\n      let paragraphs = string.split(/\\n/);\n      let lines = paragraphs.length;\n\n      for (let i = 0; i < paragraphs.length; i++) {\n        let paragraph = paragraphs[i];\n\n        if (paragraph !== '') {\n          let words = paragraph.split(' ');\n          let widthSoFar = 0;\n          let j = 0;\n\n          for (; j < words.length - 1; j++) {\n            let wordWidth = this.ctx.measureText(words[j] + ' ').width;\n            widthSoFar = widthSoFar + wordWidth;\n\n            if (widthSoFar > maxWidth) {\n              lines++;\n              widthSoFar = wordWidth;\n            }\n          }\n\n          let wordWidth = this.ctx.measureText(words[j]).width;\n          widthSoFar = widthSoFar + wordWidth;\n\n          if (widthSoFar > maxWidth) {\n            lines++;\n            widthSoFar = wordWidth;\n          }\n        }\n      }\n\n      return lines;\n    },\n\n    fitTextSize(string, maxWidth, font = null) {\n      let width = this.width(string, font);\n      let fontSize = this.ctx.font.match(/\\d+/)[0];\n      return Math.floor(parseFloat(fontSize) * maxWidth / width);\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-tooltips/components/ember-popover\", [\"exports\", \"ember-tooltips/components/ember-tooltip-base\"], function (_exports, _emberTooltipBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _emberTooltipBase.default.extend({\n    popoverHideDelay: 250,\n    _tooltipVariantClass: 'ember-popover',\n    _isMouseInside: false,\n    actions: {\n      hide() {\n        this.set('_isMouseInside', false);\n        this.hide();\n      }\n\n    },\n\n    addTargetEventListeners() {\n      this.addTooltipTargetEventListeners();\n      this.addPopoverTargetEventListeners();\n    },\n\n    addTooltipBaseEventListeners() {\n      const {\n        target,\n        _tooltip\n      } = this.getProperties('target', '_tooltip');\n      this.addPopoverEventListeners();\n      /* If the user clicks outside the popover, hide the popover. */\n\n      this._addEventListener('click', event => {\n        const {\n          target: eventTarget\n        } = event;\n        const clickIsOnPopover = eventTarget == _tooltip.popperInstance.popper;\n        const clickIsOnTarget = eventTarget == target;\n        const hasHideOnEvent = this.get('hideOn') && this.get('hideOn') !== 'none';\n        const hideOnOutsideClick = hasHideOnEvent && !this.get('_isMouseInside') && !clickIsOnPopover && !clickIsOnTarget && this.get('isShown');\n\n        if (hideOnOutsideClick) {\n          this.hide();\n        }\n      }, document);\n    },\n\n    addPopoverTargetEventListeners() {\n      /* We must use mouseover because it correctly\n      registers hover interactivity when spacing='0'\n      */\n      this._addEventListener('mouseenter', () => {\n        this.set('_isMouseInside', true);\n      });\n\n      this._addEventListener('mouseleave', () => {\n        this.set('_isMouseInside', false);\n      });\n\n      this._addEventListener('focusout', () => {\n        if (!this.get('_isMouseInside') && this.get('hideOn') !== 'none') {\n          this.hide();\n        }\n      });\n    },\n\n    addPopoverEventListeners() {\n      const _tooltip = this.get('_tooltip');\n\n      const popover = _tooltip.popperInstance.popper;\n      /* We must use mouseover because it correctly\n      registers hover interactivity when spacing='0'\n      */\n\n      this._addEventListener('mouseenter', () => {\n        this.set('_isMouseInside', true);\n\n        if (this.get('showOn') === 'mouseenter' && !this.get('isShown')) {\n          this.show();\n        }\n      }, popover);\n\n      this._addEventListener('mouseleave', () => {\n        this.set('_isMouseInside', false);\n\n        if (this.get('hideOn') === 'mouseleave' && this.get('isShown')) {\n          this.hide();\n        }\n      }, popover);\n\n      this._addEventListener('focusout', () => {\n        if (!this.get('_isMouseInside') && this.get('isShown') && this.get('hideOn') !== 'none') {\n          this.hide();\n        }\n      }, popover);\n    },\n\n    hide() {\n      if (this.get('isDestroying')) {\n        return;\n      }\n      /* If the tooltip is about to be showed by\n      a delay, stop is being shown. */\n\n\n      Ember.run.cancel(this.get('_showTimer'));\n      Ember.run.later(() => {\n        if (!this.get('_isMouseInside') || !this.get('isShown')) {\n          this._hideTooltip();\n        }\n      }, +this.get('popoverHideDelay'));\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"ember-tooltips/components/ember-tooltip-base\", [\"exports\", \"tooltip.js\", \"ember-tooltips/templates/components/ember-tooltip-base\"], function (_exports, _tooltip2, _emberTooltipBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ANIMATION_CLASS = 'ember-tooltip-show';\n  const POPPER_DEFAULT_MODIFIERS = {\n    flip: {\n      enabled: true\n    },\n    preventOverflow: {\n      escapeWithReference: true\n    }\n  };\n\n  function getOppositeSide(placement) {\n    if (!placement) {\n      return null;\n    }\n\n    const [side] = placement.split('-');\n    let oppositeSide;\n\n    switch (side) {\n      case 'top':\n        oppositeSide = 'bottom';\n        break;\n\n      case 'right':\n        oppositeSide = 'left';\n        break;\n\n      case 'bottom':\n        oppositeSide = 'top';\n        break;\n\n      case 'left':\n        oppositeSide = 'right';\n        break;\n    }\n\n    return oppositeSide;\n  }\n\n  function cleanNumber(stringOrNumber) {\n    let cleanNumber;\n\n    if (stringOrNumber && typeof stringOrNumber === 'string') {\n      cleanNumber = parseInt(stringOrNumber, 10);\n      /* Remove invalid parseInt results */\n\n      if (isNaN(cleanNumber) || !isFinite(cleanNumber)) {\n        cleanNumber = 0;\n      }\n    } else {\n      cleanNumber = stringOrNumber;\n    }\n\n    return cleanNumber;\n  }\n\n  var _default = Ember.Component.extend({\n    classNames: ['ember-tooltip-base'],\n    delay: 0,\n    delayOnChange: true,\n    duration: 0,\n    effect: 'slide',\n    // Options: fade, slide, none // TODO - make slide work\n    event: 'hover',\n    // Options: hover, click, focus, none\n    tooltipClass: 'tooltip',\n    arrowClass: 'tooltip-arrow',\n    innerClass: 'tooltip-inner',\n    tooltipClassName: Ember.computed.deprecatingAlias('_tooltipVariantClass', {\n      id: 'EmberTooltipBase._tooltipVariantClass',\n      until: '4.0.0'\n    }),\n    isShown: false,\n    text: null,\n    side: 'top',\n    spacing: 10,\n    targetId: null,\n    layout: _emberTooltipBase.default,\n    updateFor: null,\n    popperOptions: null,\n    popperContainer: false,\n    animationDuration: 200,\n\n    /* Actions */\n    onDestroy: null,\n    onHide: null,\n    onRender: null,\n    onShow: null,\n    _hideOn: null,\n    // eslint-disable-next-line ember/require-computed-property-dependencies\n    hideOn: Ember.computed('event', {\n      get() {\n        if (this.get('_hideOn')) {\n          return this.get('_hideOn');\n        }\n\n        const event = this.get('event');\n        let hideOn;\n\n        switch (event) {\n          case 'hover':\n            hideOn = 'mouseleave';\n            break;\n\n          case 'focus':\n            hideOn = 'blur';\n            break;\n\n          case 'ready':\n            hideOn = null;\n            break;\n\n          default:\n            hideOn = event;\n            break;\n        }\n\n        return hideOn;\n      },\n\n      set(_key, value) {\n        return this._hideOn = value;\n      }\n\n    }),\n    _showOn: null,\n    // eslint-disable-next-line ember/require-computed-property-dependencies\n    showOn: Ember.computed('event', {\n      get() {\n        if (this.get('_showOn')) {\n          return this.get('_showOn');\n        }\n\n        const event = this.get('event');\n        let showOn;\n\n        switch (event) {\n          case 'hover':\n            showOn = 'mouseenter';\n            break;\n\n          default:\n            showOn = event;\n            break;\n        }\n\n        return showOn;\n      },\n\n      set(_key, value) {\n        return this._showOn = value;\n      }\n\n    }),\n    // eslint-disable-next-line ember/require-computed-property-dependencies\n    target: Ember.computed('targetId', function () {\n      const targetId = this.get('targetId');\n      let target;\n\n      if (targetId) {\n        target = document.getElementById(targetId);\n\n        if (!target) {\n          (true && Ember.warn('No target found for targetId ', targetId, {\n            id: 'ember-tooltips.no-element-with-targetId'\n          }));\n        }\n      } else {\n        target = this.element.parentNode;\n      }\n\n      return target;\n    }),\n\n    /* An ID used to identify this tooltip from other tooltips */\n    _renderElementId: Ember.computed('elementId', function () {\n      const elementId = this.get('elementId');\n\n      if (elementId) {\n        return `${elementId}-et-target`;\n      } else {\n        return null;\n      }\n    }),\n    _renderElement: Ember.computed('_renderElementId', function () {\n      const renderElementId = this.get('_renderElementId');\n\n      if (renderElementId) {\n        return document.getElementById(renderElementId);\n      } else {\n        return null;\n      }\n    }),\n    _fastboot: Ember.computed(function () {\n      let owner = Ember.getOwner(this);\n      return owner.lookup('service:fastboot');\n    }),\n    _shouldRenderContent: Ember.computed('_fastboot.isFastBoot', '_awaitingTooltipElementRendered', function () {\n      return this.get('_fastboot.isFastBoot') || !this.get('_awaitingTooltipElementRendered');\n    }),\n    _awaitingTooltipElementRendered: true,\n    _tooltipEvents: null,\n    _tooltip: null,\n    _spacingRequestId: null,\n    _animationDuration: Ember.computed('animationDuration', function () {\n      const config = Ember.getOwner(this).resolveRegistration('config:environment');\n      const inTestingMode = config.environment === 'test' || Ember.testing;\n      return inTestingMode ? 0 : this.get('animationDuration');\n    }),\n\n    init() {\n      this._super(...arguments);\n\n      this.set('_tooltipEvents', []);\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n\n      this.createTooltip();\n    },\n\n    didUpdateAttrs() {\n      this._super(...arguments);\n\n      if (this.get('isShown')) {\n        this.show();\n        /* If updateFor exists, update the tooltip incase the changed Attr affected the tooltip content's height or width */\n\n        if (this.get('updateFor') !== null && this.get('_tooltip').popperInstance) {\n          this._updatePopper();\n        }\n      } else {\n        this.hide();\n      }\n    },\n\n    willDestroyElement() {\n      this._super(...arguments);\n\n      const _tooltipEvents = this.get('_tooltipEvents');\n      /* Remove event listeners used to show and hide the tooltip */\n\n\n      _tooltipEvents.forEach(({\n        callback,\n        target,\n        eventName\n      } = {}) => {\n        target.removeEventListener(eventName, callback);\n      });\n\n      this._cleanupTimers();\n\n      this.get('_tooltip').dispose();\n\n      this._dispatchAction('onDestroy', this);\n    },\n\n    addTargetEventListeners() {\n      this.addTooltipTargetEventListeners();\n    },\n\n    addTooltipBaseEventListeners() {},\n\n    addTooltipTargetEventListeners() {\n      /* Setup event handling to hide and show the tooltip */\n      const event = this.get('event');\n      /* Setup event handling to hide and show the tooltip */\n\n      if (event === 'none') {\n        return;\n      }\n\n      const hideOn = this.get('hideOn');\n      const showOn = this.get('showOn');\n      /* If show and hide are the same (e.g. click) toggle\n      the visibility */\n\n      if (showOn === hideOn) {\n        this._addEventListener(showOn, () => {\n          this.toggle();\n        });\n      } else {\n        /* Else, add the show and hide events individually */\n        if (showOn !== 'none') {\n          this._addEventListener(showOn, () => {\n            this.show();\n          });\n        }\n\n        if (hideOn !== 'none') {\n          this._addEventListener(hideOn, () => {\n            this.hide();\n          });\n        }\n      }\n      /* Hide and show the tooltip on focus and escape\n      for accessibility */\n\n\n      if (event !== 'focus') {\n        /* If the event is click, we don't want the\n        click to also trigger focusin */\n        if (event !== 'click') {\n          this._addEventListener('focusin', () => {\n            this.show();\n          });\n        }\n\n        this._addEventListener('focusout', () => {\n          this.hide();\n        });\n      }\n\n      this._addEventListener('keydown', keyEvent => {\n        if (keyEvent.which === 27 && this.get('isShown')) {\n          this.hide();\n          keyEvent.stopImmediatePropagation();\n          /* So this callback only fires once per keydown */\n\n          keyEvent.preventDefault();\n          return false;\n        }\n      }, document);\n    },\n\n    createTooltip() {\n      const target = this.get('target');\n      const tooltipClass = this.get('tooltipClass');\n      const arrowClass = this.get('arrowClass');\n      const innerClass = this.get('innerClass');\n      const emberTooltipClass = this.get('_tooltipVariantClass');\n      const emberTooltipArrowClass = `${Ember.String.w(emberTooltipClass).join('-arrow ')}-arrow`;\n      const emberTooltipInnerClass = `${Ember.String.w(emberTooltipClass).join('-inner ')}-inner`;\n      const targetTitle = target.title;\n      target.removeAttribute('title');\n      const tooltip = new _tooltip2.default(target, {\n        container: this.get('popperContainer'),\n        html: true,\n        placement: this.get('side'),\n        title: '<span></span>',\n        trigger: 'manual',\n        arrowSelector: `.${Ember.String.w(emberTooltipArrowClass).join('.')}`,\n        innerSelector: `.${Ember.String.w(emberTooltipInnerClass).join('.')}`,\n        // eslint-disable prettier/prettier\n        // prettier-ignore\n        template: `<div\n                   class=\"${tooltipClass} ${emberTooltipClass} ember-tooltip-effect-${this.get('effect')}\"\n                   role=\"tooltip\"\n                   style=\"margin:0;margin-${getOppositeSide(this.get('side'))}:${this.get('spacing')}px;\">\n                   <div class=\"${arrowClass} ${emberTooltipArrowClass}\"></div>\n                   <div class=\"${innerClass} ${emberTooltipInnerClass}\" id=\"${this.get('_renderElementId')}\"></div>\n                 </div>`,\n        // eslint-enable prettier/prettier\n        popperOptions: {\n          modifiers: mergeModifiers(POPPER_DEFAULT_MODIFIERS, this.get('popperOptions.modifiers')),\n          onCreate: () => {\n            Ember.run(() => {\n              this._dispatchAction('onRender', this);\n\n              this.set('_awaitingTooltipElementRendered', false);\n              /* The tooltip element must exist in order to add event listeners to it */\n\n              this.addTooltipBaseEventListeners();\n              /* Once the wormhole has done it's work, we need the tooltip to be positioned again */\n\n              Ember.run.scheduleOnce('afterRender', this, this._updatePopper);\n              target.setAttribute('title', targetTitle);\n            });\n          },\n          onUpdate: () => {\n            this.setSpacing();\n          }\n        }\n      });\n      /* Add a class to the tooltip target */\n\n      target.classList.add('ember-tooltip-target');\n      this.addTargetEventListeners();\n      this.set('_tooltip', tooltip);\n      /* If user passes isShown=true, show the tooltip as soon as it's created */\n\n      if (this.get('isShown')) {\n        this.show();\n      }\n    },\n\n    _updatePopper() {\n      const {\n        popperInstance\n      } = this.get('_tooltip');\n      popperInstance.update();\n    },\n\n    setSpacing() {\n      if (!this.get('isShown') || this.get('isDestroying')) {\n        return;\n      }\n\n      this._spacingRequestId = requestAnimationFrame(() => {\n        this._spacingRequestId = null;\n\n        if (!this.get('isShown') || this.get('isDestroying')) {\n          return;\n        }\n\n        const {\n          popperInstance\n        } = this.get('_tooltip');\n        const {\n          popper\n        } = popperInstance;\n        const side = popper.getAttribute('x-placement');\n        const marginSide = getOppositeSide(side);\n        const {\n          style\n        } = popper;\n        style.marginTop = 0;\n        style.marginRight = 0;\n        style.marginBottom = 0;\n        style.marginLeft = 0;\n        popper.style[`margin${Ember.String.capitalize(marginSide)}`] = `${this.get('spacing')}px`;\n      });\n    },\n\n    hide() {\n      if (this.get('isDestroying')) {\n        return;\n      }\n      /* If the tooltip is about to be showed by\n      a delay, stop is being shown. */\n\n\n      Ember.run.cancel(this.get('_showTimer'));\n\n      this._hideTooltip();\n    },\n\n    show() {\n      if (this.get('isDestroying')) {\n        return;\n      }\n\n      const delay = this.get('delay');\n      const duration = this.get('duration');\n      Ember.run.cancel(this.get('_showTimer'));\n      Ember.run.cancel(this.get('_completeHideTimer'));\n\n      if (duration) {\n        this.setHideTimer(duration);\n      }\n\n      if (delay) {\n        this.setShowTimer(delay);\n      } else {\n        this._showTooltip();\n      }\n    },\n\n    setHideTimer(duration) {\n      duration = cleanNumber(duration);\n      Ember.run.cancel(this.get('_hideTimer'));\n\n      if (duration) {\n        /* Hide tooltip after specified duration */\n        const hideTimer = Ember.run.later(this, this.hide, duration);\n        /* Save timer ID for canceling should an event\n        hide the tooltip before the duration */\n\n        this.set('_hideTimer', hideTimer);\n      }\n    },\n\n    setShowTimer(delay) {\n      delay = cleanNumber(delay);\n\n      if (!this.get('delayOnChange')) {\n        /* If the `delayOnChange` property is set to false, we\n        don't want to delay opening this tooltip/popover if there is\n        already a tooltip/popover shown in the DOM. Check that here\n        and adjust the delay as needed. */\n        let shownTooltipsOrPopovers = document.querySelectorAll(`.${ANIMATION_CLASS}`);\n\n        if (shownTooltipsOrPopovers.length) {\n          delay = 0;\n        }\n      }\n\n      const _showTimer = Ember.run.later(this, () => {\n        this._showTooltip();\n      }, delay);\n\n      this.set('_showTimer', _showTimer);\n    },\n\n    _hideTooltip() {\n      const _tooltip = this.get('_tooltip');\n\n      if (!_tooltip || this.get('isDestroying')) {\n        return;\n      }\n\n      if (_tooltip.popperInstance) {\n        _tooltip.popperInstance.popper.classList.remove(ANIMATION_CLASS);\n      }\n\n      const _completeHideTimer = Ember.run.later(() => {\n        if (this.get('isDestroying')) {\n          return;\n        }\n\n        cancelAnimationFrame(this._spacingRequestId);\n\n        _tooltip.hide();\n\n        this.set('_isHiding', false);\n        this.set('isShown', false);\n\n        this._dispatchAction('onHide', this);\n      }, this.get('_animationDuration'));\n\n      this.set('_completeHideTimer', _completeHideTimer);\n    },\n\n    _showTooltip() {\n      if (this.get('isDestroying')) {\n        return;\n      }\n\n      const _tooltip = this.get('_tooltip');\n\n      _tooltip.show();\n\n      this.set('isShown', true);\n      Ember.run(() => {\n        if (this.get('isDestroying')) {\n          return;\n        }\n\n        _tooltip.popperInstance.popper.classList.add(ANIMATION_CLASS);\n\n        this._dispatchAction('onShow', this);\n      });\n    },\n\n    toggle() {\n      /* We don't use toggleProperty because we centralize\n      logic for showing and hiding in the show() and hide()\n      methods. */\n      if (this.get('isShown')) {\n        this.hide();\n      } else {\n        this.show();\n      }\n    },\n\n    _addEventListener(eventName, callback, element) {\n      const target = element || this.get('target');\n      /* Remember event listeners so they can removed on teardown */\n\n      const boundCallback = Ember.run.bind(this, callback);\n      this.get('_tooltipEvents').push({\n        callback: boundCallback,\n        target,\n        eventName\n      });\n      /* Add the event listeners */\n\n      target.addEventListener(eventName, boundCallback);\n    },\n\n    _dispatchAction(actionName, ...args) {\n      const action = this.get(actionName);\n\n      if (!this.isDestroying && !this.isDestroyed && action) {\n        action(...args);\n      }\n    },\n\n    _cleanupTimers() {\n      Ember.run.cancel(this.get('_showTimer'));\n      cancelAnimationFrame(this._spacingRequestId);\n    }\n\n  });\n\n  _exports.default = _default;\n\n  function mergeModifiers(defaults, overrides = {}) {\n    const defaultKeys = Object.keys(defaults);\n    const overriddenKeys = Object.keys(overrides);\n    const keys = [].concat(defaultKeys, overriddenKeys).reduce((acc, key) => {\n      if (acc.indexOf(key) === -1) acc.push(key);\n      return acc;\n    }, []);\n    const modifiers = Ember.assign({}, defaults);\n    keys.forEach(key => {\n      if (defaultKeys.indexOf(key) !== -1 && overriddenKeys.indexOf(key) !== -1) {\n        modifiers[key] = Ember.assign({}, defaults[key], overrides[key]);\n      } else if (overriddenKeys.indexOf(key) !== -1) {\n        modifiers[key] = overrides[key];\n      }\n    });\n    return modifiers;\n  }\n});","define(\"ember-tooltips/components/ember-tooltip\", [\"exports\", \"ember-tooltips/components/ember-tooltip-base\"], function (_exports, _emberTooltipBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = _emberTooltipBase.default.extend({\n    _tooltipVariantClass: 'ember-tooltip'\n  });\n\n  _exports.default = _default;\n});","define(\"ember-tooltips/templates/components/ember-tooltip-base\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"SpQL8rai\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"_awaitingTooltipElementRendered\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"_shouldRenderContent\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[25,1]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[14,1,[[23,0,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[1,[23,0,[\\\"text\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"in-element\\\",[[28,\\\"-clear-element\\\",[[23,0,[\\\"_renderElement\\\"]]],null]],[[\\\"guid\\\",\\\"guid\\\",\\\"nextSibling\\\"],[\\\"%cursor:0%\\\",\\\"%cursor:0%\\\",null]],{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[25,1]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[14,1,[[23,0,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[1,[23,0,[\\\"text\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-tooltips/templates/components/ember-tooltip-base.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"ember-tooltips/utils/ember-popover\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isElementInPopover = isElementInPopover;\n  _exports.isElementInTargetAndNotInPopover = isElementInTargetAndNotInPopover;\n  _exports.isElementElsewhere = isElementElsewhere;\n\n  /* These isElement________ functions are used to determine where an element\n  is in relation to the $popover and the $target elements. This is needed to\n  handle the visible state when a user interacts with any of these elements.\n  */\n\n  /**\n   * Determines if element is $popover or contained within $popover\n   *\n   * @method isElementInPopover\n   * @param {DOM element} element\n   * @param {jQuery element} $popover\n   * @return {boolean}\n   * @public\n   */\n  function isElementInPopover(element, popover) {\n    if (!popover) {\n      return false;\n    }\n\n    return popover === element || !!popover.querySelectorAll(element).length;\n  }\n  /**\n   * Determines if the element is $target or (in $target and not\n   * contained within $popover)\n   *\n   * @method isElementInTargetAndNotInPopover\n   * @param {DOM element} element\n   * @param {jQuery element} $target\n   * @param {jQuery element} $popover\n   * @return {boolean}\n   * @public\n   */\n\n\n  function isElementInTargetAndNotInPopover(element, target, popover) {\n    if (!target || !popover) {\n      return false;\n    }\n\n    if (target.is(element)) {\n      return true;\n    }\n\n    return !!target.querySelectorAll(element).length && !isElementInPopover(element, popover);\n  }\n  /**\n   * Determines if element is not $popover, not $target, and\n   * not contained within either.\n   *\n   * @method isElementElsewhere\n   * @param {DOM element} element\n   * @param {jQuery element} $target\n   * @param {jQuery element} $popover\n   * @return {boolean}\n   * @public\n   */\n\n\n  function isElementElsewhere(element, target, popover) {\n    const isElementOutsidePopover = !isElementInPopover(element, popover);\n    const isElementOutsideTarget = !isElementInTargetAndNotInPopover(element, target, popover);\n    return isElementOutsideTarget && isElementOutsidePopover;\n  }\n});","define('ember-truth-helpers/helpers/and', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.and = and;\n  function and(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === false) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n\n  exports.default = Ember.Helper.helper(and);\n});","define('ember-truth-helpers/helpers/equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.equal = equal;\n  function equal(params) {\n    return params[0] === params[1];\n  }\n\n  exports.default = Ember.Helper.helper(equal);\n});","define('ember-truth-helpers/helpers/gt', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.gt = gt;\n  function gt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left > right;\n  }\n\n  exports.default = Ember.Helper.helper(gt);\n});","define('ember-truth-helpers/helpers/gte', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.gte = gte;\n  function gte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left >= right;\n  }\n\n  exports.default = Ember.Helper.helper(gte);\n});","define('ember-truth-helpers/helpers/is-array', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isArray = isArray;\n  function isArray(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if (Ember.isArray(params[i]) === false) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  exports.default = Ember.Helper.helper(isArray);\n});","define('ember-truth-helpers/helpers/is-empty', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Helper.helper(function ([obj]) {\n    return Ember.isEmpty(obj);\n  });\n});","define('ember-truth-helpers/helpers/is-equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isEqual = isEqual;\n  function isEqual([a, b]) {\n    return Ember.isEqual(a, b);\n  }\n\n  exports.default = Ember.Helper.helper(isEqual);\n});","define('ember-truth-helpers/helpers/lt', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.lt = lt;\n  function lt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left < right;\n  }\n\n  exports.default = Ember.Helper.helper(lt);\n});","define('ember-truth-helpers/helpers/lte', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.lte = lte;\n  function lte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left <= right;\n  }\n\n  exports.default = Ember.Helper.helper(lte);\n});","define('ember-truth-helpers/helpers/not-equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.notEqualHelper = notEqualHelper;\n  function notEqualHelper(params) {\n    return params[0] !== params[1];\n  }\n\n  exports.default = Ember.Helper.helper(notEqualHelper);\n});","define('ember-truth-helpers/helpers/not', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.not = not;\n  function not(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  exports.default = Ember.Helper.helper(not);\n});","define('ember-truth-helpers/helpers/or', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.or = or;\n  function or(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n\n  exports.default = Ember.Helper.helper(or);\n});","define('ember-truth-helpers/helpers/xor', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.xor = xor;\n  function xor(params) {\n    return (0, _truthConvert.default)(params[0]) !== (0, _truthConvert.default)(params[1]);\n  }\n\n  exports.default = Ember.Helper.helper(xor);\n});","define('ember-truth-helpers/utils/truth-convert', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = truthConvert;\n  function truthConvert(result) {\n    const truthy = result && Ember.get(result, 'isTruthy');\n    if (typeof truthy === 'boolean') {\n      return truthy;\n    }\n\n    if (Ember.isArray(result)) {\n      return Ember.get(result, 'length') !== 0;\n    } else {\n      return !!result;\n    }\n  }\n});","define(\"ember-uuid/index\", [\"exports\", \"ember-uuid/utils/uuid-generator\"], function (_exports, _uuidGenerator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"v1\", {\n    enumerable: true,\n    get: function () {\n      return _uuidGenerator.v1;\n    }\n  });\n  Object.defineProperty(_exports, \"v4\", {\n    enumerable: true,\n    get: function () {\n      return _uuidGenerator.v4;\n    }\n  });\n  Object.defineProperty(_exports, \"parse\", {\n    enumerable: true,\n    get: function () {\n      return _uuidGenerator.parse;\n    }\n  });\n  Object.defineProperty(_exports, \"unparse\", {\n    enumerable: true,\n    get: function () {\n      return _uuidGenerator.unparse;\n    }\n  });\n});","define(\"ember-uuid/utils/browser-rng\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   * Based on code from node-uuid.\n   */\n  let rng;\n\n  if (window && window.crypto && window.crypto.getRandomValues) {\n    // WHATWG crypto-based RNG - http://wiki.whatwg.org/wiki/Crypto\n    // Moderately fast, high quality\n    let _rnds8 = new Uint8Array(16);\n\n    rng = function whatwgRNG() {\n      window.crypto.getRandomValues(_rnds8);\n      return _rnds8;\n    };\n  }\n\n  if (!rng) {\n    // Math.random()-based (RNG)\n    //\n    // If all else fails, use Math.random().  It's fast, but is of unspecified\n    // quality.\n    let _rnds = new Array(16);\n\n    rng = function () {\n      for (let i = 0, r; i < 16; i++) {\n        if ((i & 0x03) === 0) {\n          r = Math.random() * 0x100000000;\n        }\n\n        _rnds[i] = r >>> ((i & 0x03) << 3) & 0xff;\n      }\n\n      return _rnds;\n    };\n  }\n\n  var _default = rng;\n  _exports.default = _default;\n});","define(\"ember-uuid/utils/uuid-generator\", [\"exports\", \"ember-uuid/utils/browser-rng\"], function (_exports, _browserRng) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.v4 = v4;\n  _exports.v1 = v1;\n  _exports.parse = parse;\n  _exports.unparse = unparse;\n  _exports.default = void 0;\n  //     uuid.js\n  //\n  //     Copyright (c) 2010-2012 Robert Kieffer\n  //     MIT License - http://opensource.org/licenses/mit-license.php\n  // Unique ID creation requires a high quality random # generator.  We feature\n  // detect to determine the best RNG source, normalizing to a function that\n  // returns 128-bits of randomness, since that's what's usually required\n  // var _rng = require('./rng');\n  // Maps for number <-> hex string conversion\n  var _byteToHex = [];\n  var _hexToByte = {};\n\n  for (var i = 0; i < 256; i++) {\n    _byteToHex[i] = (i + 0x100).toString(16).substr(1);\n    _hexToByte[_byteToHex[i]] = i;\n  } // **`parse()` - Parse a UUID into it's component bytes**\n\n\n  function parse(s, buf, offset) {\n    var i = buf && offset || 0,\n        ii = 0;\n    buf = buf || [];\n    s.toLowerCase().replace(/[0-9a-f]{2}/g, function (oct) {\n      if (ii < 16) {\n        // Don't overflow!\n        buf[i + ii++] = _hexToByte[oct];\n      }\n    }); // Zero out remaining bytes if string was short\n\n    while (ii < 16) {\n      buf[i + ii++] = 0;\n    }\n\n    return buf;\n  } // **`unparse()` - Convert UUID byte array (ala parse()) into a string**\n\n\n  function unparse(buf, offset) {\n    var i = offset || 0,\n        bth = _byteToHex;\n    return bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]];\n  } // **`v1()` - Generate time-based UUID**\n  //\n  // Inspired by https://github.com/LiosK/UUID.js\n  // and http://docs.python.org/library/uuid.html\n  // random #'s we need to init node and clockseq\n\n\n  var _seedBytes = (0, _browserRng.default)(); // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n\n\n  var _nodeId = [_seedBytes[0] | 0x01, _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5]]; // Per 4.2.2, randomize (14 bit) clockseq\n\n  var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff; // Previous uuid creation time\n\n\n  var _lastMSecs = 0,\n      _lastNSecs = 0; // See https://github.com/broofa/node-uuid for API details\n\n  function v1(options, buf, offset) {\n    var i = buf && offset || 0;\n    var b = buf || [];\n    options = options || {};\n    var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n    // (1582-10-15 00:00).  JSNumbers aren't precise enough for this, so\n    // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n    // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n    var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n    // cycle to simulate higher resolution clock\n\n    var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n    var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n    if (dt < 0 && options.clockseq === undefined) {\n      clockseq = clockseq + 1 & 0x3fff;\n    } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n    // time interval\n\n\n    if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n      nsecs = 0;\n    } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n    if (nsecs >= 10000) {\n      throw new Error('uuid.v1(): Can\\'t create more than 10M uuids/sec');\n    }\n\n    _lastMSecs = msecs;\n    _lastNSecs = nsecs;\n    _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n    msecs += 12219292800000; // `time_low`\n\n    var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n    b[i++] = tl >>> 24 & 0xff;\n    b[i++] = tl >>> 16 & 0xff;\n    b[i++] = tl >>> 8 & 0xff;\n    b[i++] = tl & 0xff; // `time_mid`\n\n    var tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n    b[i++] = tmh >>> 8 & 0xff;\n    b[i++] = tmh & 0xff; // `time_high_and_version`\n\n    b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n    b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n    b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n    b[i++] = clockseq & 0xff; // `node`\n\n    var node = options.node || _nodeId;\n\n    for (var n = 0; n < 6; n++) {\n      b[i + n] = node[n];\n    }\n\n    return buf ? buf : unparse(b);\n  } // **`v4()` - Generate random UUID**\n  // See https://github.com/broofa/node-uuid for API details\n\n\n  function v4(options, buf, offset) {\n    // Deprecated - 'format' argument, as supported in v1.2\n    var i = buf && offset || 0;\n\n    if (typeof options === 'string') {\n      buf = options === 'binary' ? new Array(16) : null;\n      options = null;\n    }\n\n    options = options || {};\n\n    var rnds = options.random || (options.rng || _browserRng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n    rnds[6] = rnds[6] & 0x0f | 0x40;\n    rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n    if (buf) {\n      for (var ii = 0; ii < 16; ii++) {\n        buf[i + ii] = rnds[ii];\n      }\n    }\n\n    return buf || unparse(rnds);\n  }\n\n  var _default = {\n    v1: v1,\n    v4: v4,\n    parse: parse,\n    unparse: unparse\n  };\n  _exports.default = _default;\n});","define(\"ember-validators/collection\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateCollection;\n\n  /**\n   *  @class Collection\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.collection\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateCollection(value, options, model, attribute) {\n    let collection = options.collection;\n    (true && !(Ember.isPresent(collection)) && Ember.assert(`[validator:collection] [${attribute}] option 'collection' is required`, Ember.isPresent(collection)));\n\n    if (collection === true && !Ember.isArray(value)) {\n      return (0, _validationError.default)('collection', value, options);\n    }\n\n    if (collection === false && Ember.isArray(value)) {\n      return (0, _validationError.default)('singular', value, options);\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/confirmation\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateConfirmation;\n\n  /**\n   *  @class Confirmation\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {String} options.on The attribute to confirm against\n   * @param {String} options.allowBlank If true, skips validation if the value is empty\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateConfirmation(value, options, model, attribute) {\n    let on = options.on;\n    let allowBlank = options.allowBlank;\n    (true && !(Ember.isPresent(on)) && Ember.assert(`[validator:confirmation] [${attribute}] option 'on' is required`, Ember.isPresent(on)));\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    if (!Ember.isEqual(value, Ember.get(model, on))) {\n      return (0, _validationError.default)('confirmation', value, options);\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/date\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDate;\n  _exports.parseDate = parseDate;\n\n  /**\n   * @class Date\n   * @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {String|Date} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String|Date} options.before The specified date must be before this date\n   * @param {String|Date} options.onOrBefore The specified date must be on or before this date\n   * @param {String|Date} options.after The specified date must be after this date\n   * @param {String|Date} options.onOrAfter The specified date must be on or after this date\n   * @param {String} options.format Input value date format - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat\n   *  - { dateStyle: 'long' } or { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }\n   *  If you need to obtain precision (just compare years), use { year: 'numeric' }\n   * @param {String} options.errorFormat Error output date format. Defaults to options.format or { dateStyle: 'long' }\n   */\n  function validateDate(value, options) {\n    let {\n      locale = 'en-us',\n      format,\n      allowBlank\n    } = options;\n    let {\n      before,\n      onOrBefore,\n      after,\n      onOrAfter\n    } = options;\n    let errorFormat = options.errorFormat || format || {\n      dateStyle: 'long'\n    };\n\n    if (allowBlank && value === null || value === undefined || value === '') {\n      return true;\n    }\n\n    let date;\n\n    if (!value) {\n      if (format) {\n        date = new Intl.DateTimeFormat(locale, format).format(new Date());\n      }\n\n      date = new Date();\n    } else if (!isValidDate(new Date(value))) {\n      return (0, _validationError.default)('date', value, options);\n    } else {\n      date = parseAsDate(value, format, locale);\n    }\n\n    if (before) {\n      before = parseAsDate(before, format, locale);\n\n      if (!isBefore(date, before)) {\n        Ember.set(options, 'before', parseDateError(before, errorFormat, locale));\n        return (0, _validationError.default)('before', value, options);\n      }\n    }\n\n    if (onOrBefore) {\n      onOrBefore = parseAsDate(onOrBefore, format, locale);\n\n      if (!isSameOrBefore(date, onOrBefore)) {\n        Ember.set(options, 'onOrBefore', parseDateError(onOrBefore, errorFormat, locale));\n        return (0, _validationError.default)('onOrBefore', value, options);\n      }\n    }\n\n    if (after) {\n      after = parseAsDate(after, format, locale);\n\n      if (!isAfter(date, after)) {\n        Ember.set(options, 'after', parseDateError(after, errorFormat, locale));\n        return (0, _validationError.default)('after', value, options);\n      }\n    }\n\n    if (onOrAfter) {\n      onOrAfter = parseAsDate(onOrAfter, format, locale);\n\n      if (!isSameOrAfter(date, onOrAfter)) {\n        Ember.set(options, 'onOrAfter', parseDateError(onOrAfter, errorFormat, locale));\n        return (0, _validationError.default)('onOrAfter', value, options);\n      }\n    }\n\n    return true;\n  }\n  /**\n   * This is a forcing function.  If `format` provided, date and comparison date will be in String format.  Otherwise, instances of Date.\n   * I don't think there is a need to force iso8601 strings.\n   * @function parseDate\n   * @param {Date|String} date\n   * @param {Object} format - { dateStyle: 'long' } or { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }\n   * If you need to obtain precision (just compare years), use { year: 'numeric' }.\n   * @param {String} locale\n   * @returns {Date|String}\n   */\n\n\n  function parseDate(date, format, locale) {\n    if (format) {\n      // new Date(\"2015\") will give the last day in 2014.  This is problematic\n      let yearOnly = isYearFormat(format);\n\n      if (!(date instanceof Date)) {\n        // format date into string\n        // we have already checked this a valid date\n        let d = yearOnly ? new Date(date, 0) : new Date(date);\n        return new Intl.DateTimeFormat(locale, format).format(d);\n      } // format date into string\n\n\n      let d = yearOnly ? new Date(date.getFullYear(), 0) : date;\n      return new Intl.DateTimeFormat(locale, format).format(d);\n    } else {\n      // Date constructor accepts a variety of formats including properly represented strings and Date instances.\n      // However, a variety of formats return an \"Invalid Date\" literal including DD/MM/YYYY\n      return new Date(date);\n    }\n  }\n\n  function parseDateError(date, format, locale) {\n    return parseDate(date, format, locale);\n  }\n\n  function parseAsDate(date, format, locale) {\n    if (format && isYearFormat(format)) {\n      return new Date(parseDate(date, format, locale), 0);\n    }\n\n    return new Date(parseDate(date, format, locale));\n  }\n\n  function isValidDate(d) {\n    return d instanceof Date && !isNaN(d);\n  }\n\n  function isSame(date, comp) {\n    return date.getTime() === comp.getTime();\n  }\n\n  function isBefore(date, comp) {\n    return date < comp;\n  }\n\n  function isAfter(date, comp) {\n    return date > comp;\n  }\n\n  function isSameOrAfter(date, comp) {\n    return isSame(date, comp) || isAfter(date, comp);\n  }\n\n  function isSameOrBefore(date, comp) {\n    return isSame(date, comp) || isBefore(date, comp);\n  }\n\n  function isYearFormat(format) {\n    return Object.keys(format).length === 1 && format.year;\n  }\n});","define(\"ember-validators/ds-error\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDsError;\n  _exports.getPathAndKey = getPathAndKey;\n\n  /**\n   *  @class DS Error\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateDsError(value, options, model, attribute) {\n    let {\n      path,\n      key\n    } = getPathAndKey(attribute);\n    let errors = Ember.get(model, path);\n\n    if (errors && errors.has && errors.has(key)) {\n      let errorsFor = errors.errorsFor(key);\n      return (0, _validationError.default)('ds', null, options, errorsFor.length ? errorsFor[errorsFor.length - 1].message : []);\n    }\n\n    return true;\n  }\n\n  function getPathAndKey(attribute) {\n    let path = attribute.split('.');\n    let key = path.pop();\n    path.push('errors');\n    return {\n      path: path.join('.'),\n      key\n    };\n  }\n});","define(\"ember-validators/exclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateExclusion;\n\n  /**\n   *  @class Exclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute should not be\n   * @param {Array} options.range The range in which the attribute's value should not reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateExclusion(value, options, model, attribute) {\n    let array = options.in;\n    let {\n      range,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:exclusion] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    if (array && array.indexOf(value) !== -1) {\n      return (0, _validationError.default)('exclusion', value, options);\n    }\n\n    if (range && range.length === 2) {\n      let [min, max] = range;\n      let equalType = Ember.typeOf(value) === Ember.typeOf(min) && Ember.typeOf(value) === Ember.typeOf(max);\n\n      if (equalType && min <= value && value <= max) {\n        return (0, _validationError.default)('exclusion', value, options);\n      }\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/format\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateFormat;\n  _exports.regularExpressions = void 0;\n  const {\n    canInvoke\n  } = Ember;\n  /**\n   *  @class Format\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String} options.type Can be the one of the following options [`email`, `phone`, `url`]\n   * @param {String} options.inverse If true, pass if the value doesn't match the given regex / type\n   * @param {Regex} options.regex The regular expression to test against\n   * @param {Boolean} options.allowNonTld If true, the predefined regular expression `email` allows non top-level domains\n   * @param {Number} options.minTldLength The min length of the top-level domain on the predefined `email` regular expression\n   * @param {Object} model\n   * @param {String} attribute\n   */\n\n  const regularExpressions = {\n    // eslint-disable-next-line no-useless-escape\n    email: /^[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n    // eslint-disable-next-line no-useless-escape\n    phone: /^([\\+]?1\\s*[-\\/\\.]?\\s*)?(\\((\\d{3})\\)|(\\d{3}))\\s*[-\\/\\.]?\\s*(\\d{3})\\s*[-\\/\\.]?\\s*(\\d{4})\\s*(([xX]|[eE][xX][tT]?[\\.]?|extension)\\s*([#*\\d]+))*$/,\n    // eslint-disable-next-line no-useless-escape\n    url: /(?:([A-Za-z]+):)?(\\/{0,3})[a-zA-Z0-9][a-zA-Z-0-9]*(\\.[\\w-]+)+([\\w.,@?^=%&amp;:\\/~+#-{}]*[\\w@?^=%&amp;\\/~+#-{}])??/\n  };\n  _exports.regularExpressions = regularExpressions;\n\n  function validateFormat(value, options, model, attribute) {\n    let {\n      regex,\n      type,\n      inverse = false,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:format] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    if (type && !regex && regularExpressions[type]) {\n      regex = regularExpressions[type];\n    }\n\n    if (type === 'email') {\n      if (regex === regularExpressions.email) {\n        regex = formatEmailRegex(options);\n      }\n\n      Ember.set(options, 'regex', regex);\n    }\n\n    if (!canInvoke(value, 'match') || regex && Ember.isEmpty(value.match(regex)) !== inverse) {\n      return (0, _validationError.default)(type || 'invalid', value, options);\n    }\n\n    return true;\n  }\n\n  function formatEmailRegex(options) {\n    let {\n      source\n    } = regularExpressions.email;\n    let {\n      allowNonTld,\n      minTldLength\n    } = options;\n\n    if (!Ember.isNone(minTldLength) && typeof minTldLength === 'number') {\n      source = source.replace('[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$', `[a-z0-9]{${minTldLength},}(?:[a-z0-9-]*[a-z0-9])?$`);\n    }\n\n    if (allowNonTld) {\n      source = source.replace('@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.)', '@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.?)');\n    }\n\n    return new RegExp(source, 'i');\n  }\n});","define(\"ember-validators/inclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n\n  /**\n   *  @class Inclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute could be\n   * @param {Array} options.range The range in which the attribute's value should reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateInclusion(value, options, model, attribute) {\n    let array = options.in;\n    let {\n      range,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:inclusion] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    if (array && array.indexOf(value) === -1) {\n      return (0, _validationError.default)('inclusion', value, options);\n    }\n\n    if (range && range.length === 2) {\n      let [min, max] = range;\n      let equalType = Ember.typeOf(value) === Ember.typeOf(min) && Ember.typeOf(value) === Ember.typeOf(max);\n\n      if (!equalType || min > value || value > max) {\n        return (0, _validationError.default)('inclusion', value, options);\n      }\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.validate = validate;\n\n  function validate(type) {\n    let validator;\n\n    if (type === 'collection') {\n      validator = import_collection();\n    } else if (type === 'confirmation') {\n      validator = import_confirmation();\n    } else if (type === 'date') {\n      validator = import_date();\n    } else if (type === 'ds-error') {\n      validator = import_ds_error();\n    } else if (type === 'exclusion') {\n      validator = import_exclusion();\n    } else if (type === 'format') {\n      validator = import_format();\n    } else if (type === 'inclusion') {\n      validator = import_inclusion();\n    } else if (type === 'length') {\n      validator = import_length();\n    } else if (type === 'messages') {\n      validator = import_messages();\n    } else if (type === 'number') {\n      validator = import_number();\n    } else if (type === 'presence') {\n      validator = import_presence();\n    }\n\n    (true && !(Ember.isPresent(validator)) && Ember.assert(`Validator not found of type: ${type}.`, Ember.isPresent(validator)));\n\n    for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n      args[_key - 1] = arguments[_key];\n    }\n\n    return validator.default(...args);\n  }\n\n  function import_collection() {\n    return require(\"ember-validators/collection\");\n  }\n\n  function import_confirmation() {\n    return require(\"ember-validators/confirmation\");\n  }\n\n  function import_date() {\n    return require(\"ember-validators/date\");\n  }\n\n  function import_ds_error() {\n    return require(\"ember-validators/ds-error\");\n  }\n\n  function import_exclusion() {\n    return require(\"ember-validators/exclusion\");\n  }\n\n  function import_format() {\n    return require(\"ember-validators/format\");\n  }\n\n  function import_inclusion() {\n    return require(\"ember-validators/inclusion\");\n  }\n\n  function import_length() {\n    return require(\"ember-validators/length\");\n  }\n\n  function import_messages() {\n    return require(\"ember-validators/messages\");\n  }\n\n  function import_number() {\n    return require(\"ember-validators/number\");\n  }\n\n  function import_presence() {\n    return require(\"ember-validators/presence\");\n  }\n});","define(\"ember-validators/length\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateLength;\n\n  /**\n   *  @class Length\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.useBetweenMessage If true, uses the between error message when `max` and `min` are both set\n   * @param {Number} options.is The exact length the value can be\n   * @param {Number} options.min The minimum length the value can be\n   * @param {Number} options.max The maximum length the value can be\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateLength(value, options) {\n    let {\n      allowNone = true,\n      allowBlank,\n      useBetweenMessage,\n      is,\n      min,\n      max\n    } = options;\n\n    if (Ember.isNone(value)) {\n      return allowNone ? true : (0, _validationError.default)('invalid', value, options);\n    }\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    let length = value.length;\n\n    if (!Ember.isNone(is) && is !== length) {\n      return (0, _validationError.default)('wrongLength', value, options);\n    }\n\n    if (useBetweenMessage && !Ember.isNone(min) && !Ember.isNone(max) && (length < min || length > max)) {\n      return (0, _validationError.default)('between', value, options);\n    }\n\n    if (!Ember.isNone(min) && min > length) {\n      return (0, _validationError.default)('tooShort', value, options);\n    }\n\n    if (!Ember.isNone(max) && max < length) {\n      return (0, _validationError.default)('tooLong', value, options);\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/messages\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n   *  @class Messages\n   *  @module Validators\n   */\n  var _default = {\n    /**\n     * Regex for matching error message placeholders\n     * @private\n     * @property _regex\n     * @type {RegExp}\n     */\n    _regex: /\\{(\\w+)\\}/g,\n\n    /**\n     * Default attribute description if one isnt passed into a validator's options\n     * @property defaultDescription\n     * @type {String}\n     */\n    defaultDescription: 'This field',\n\n    /**\n     * Get a description for a specific attribute. This is a hook\n     * for i18n solutions to retrieve attribute descriptions from a translation\n     * @method getDescriptionFor\n     * @param  {String} attribute\n     * @param  {Object} options\n     * @return {String}\n     */\n    getDescriptionFor(attribute) {\n      let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return context.description || this.defaultDescription;\n    },\n\n    /**\n     * Get a message with a given type\n     * @method getMessageFor\n     * @param  {String} type\n     * @param  {Object} context\n     * @return {String}\n     */\n    getMessageFor(type) {\n      let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      return this.formatMessage(Ember.get(this, type), context);\n    },\n\n    /**\n     * Regex replace all placeholders with their given context\n     * @method formatMessage\n     * @param  {String} message\n     * @param  {Object} context\n     * @return {String}\n     */\n    formatMessage(message) {\n      let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      let m = message;\n\n      if (Ember.isNone(m) || typeof m !== 'string') {\n        m = this.invalid;\n      }\n\n      return m.replace(this._regex, (s, attr) => Ember.get(context, attr));\n    },\n\n    /**\n     * Default validation error message strings\n     */\n    accepted: '{description} must be accepted',\n    after: '{description} must be after {after}',\n    before: '{description} must be before {before}',\n    blank: \"{description} can't be blank\",\n    collection: '{description} must be a collection',\n    confirmation: \"{description} doesn't match {on}\",\n    date: '{description} must be a valid date',\n    email: '{description} must be a valid email address',\n    empty: \"{description} can't be empty\",\n    equalTo: '{description} must be equal to {is}',\n    even: '{description} must be even',\n    exclusion: '{description} is reserved',\n    greaterThan: '{description} must be greater than {gt}',\n    greaterThanOrEqualTo: '{description} must be greater than or equal to {gte}',\n    inclusion: '{description} is not included in the list',\n    invalid: '{description} is invalid',\n    lessThan: '{description} must be less than {lt}',\n    lessThanOrEqualTo: '{description} must be less than or equal to {lte}',\n    notAnInteger: '{description} must be an integer',\n    notANumber: '{description} must be a number',\n    odd: '{description} must be odd',\n    onOrAfter: '{description} must be on or after {onOrAfter}',\n    onOrBefore: '{description} must be on or before {onOrBefore}',\n    otherThan: '{description} must be other than {value}',\n    phone: '{description} must be a valid phone number',\n    positive: '{description} must be positive',\n    multipleOf: '{description} must be a multiple of {multipleOf}',\n    present: '{description} must be blank',\n    singular: \"{description} can't be a collection\",\n    tooLong: '{description} is too long (maximum is {max} characters)',\n    tooShort: '{description} is too short (minimum is {min} characters)',\n    between: '{description} must be between {min} and {max} characters',\n    url: '{description} must be a valid url',\n    wrongLength: '{description} is the wrong length (should be {is} characters)'\n  };\n  _exports.default = _default;\n});","define(\"ember-validators/number\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateNumber;\n\n  /**\n   *  @class Number\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowString If true, validator will accept string representation of a number\n   * @param {Boolean} options.integer Number must be an integer\n   * @param {Boolean} options.positive Number must be greater than or equal to 0\n   * @param {Boolean} options.odd Number must be odd\n   * @param {Boolean} options.even Number must be even\n   * @param {Number} options.is Number must be equal to this value\n   * @param {Number} options.lt Number must be less than this value\n   * @param {Number} options.lte Number must be less than or equal to this value\n   * @param {Number} options.gt Number must be greater than this value\n   * @param {Number} options.gte Number must be greater than or equal to this value\n   * @param {Number} options.multipleOf Number must be a multiple of this value\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateNumber(value, options) {\n    let numValue = Number(value);\n    let optionKeys = Object.keys(options);\n    let {\n      allowBlank,\n      allowNone = true,\n      allowString,\n      integer\n    } = options;\n\n    if (allowNone && Ember.isNone(value)) {\n      return true;\n    }\n\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n\n    if (Ember.isEmpty(value)) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n\n    if (typeof value === 'string' && !allowString) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n\n    if (!isNumber(numValue)) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n\n    if (integer && !isInteger(numValue)) {\n      return (0, _validationError.default)('notAnInteger', value, options);\n    }\n\n    for (let i = 0; i < optionKeys.length; i++) {\n      let type = optionKeys[i];\n\n      let returnValue = _validateType(type, options, numValue);\n\n      if (typeof returnValue !== 'boolean') {\n        return returnValue;\n      }\n    }\n\n    return true;\n  }\n\n  function _validateType(type, options, value) {\n    let expected = options[type];\n    let actual = value;\n\n    if (type === 'is' && actual !== expected) {\n      return (0, _validationError.default)('equalTo', value, options);\n    } else if (type === 'lt' && actual >= expected) {\n      return (0, _validationError.default)('lessThan', value, options);\n    } else if (type === 'lte' && actual > expected) {\n      return (0, _validationError.default)('lessThanOrEqualTo', value, options);\n    } else if (type === 'gt' && actual <= expected) {\n      return (0, _validationError.default)('greaterThan', value, options);\n    } else if (type === 'gte' && actual < expected) {\n      return (0, _validationError.default)('greaterThanOrEqualTo', value, options);\n    } else if (type === 'positive' && actual < 0) {\n      return (0, _validationError.default)('positive', value, options);\n    } else if (type === 'odd' && (!isInteger(actual) || actual % 2 === 0)) {\n      return (0, _validationError.default)('odd', value, options);\n    } else if (type === 'even' && (!isInteger(actual) || actual % 2 !== 0)) {\n      return (0, _validationError.default)('even', value, options);\n    } else if (type === 'multipleOf' && !isInteger(actual / expected)) {\n      return (0, _validationError.default)('multipleOf', value, options);\n    }\n\n    return true;\n  }\n  /*\n    Use polyfills instead of Number.isNaN or Number.isInteger to support IE & Safari\n   */\n\n\n  function isNumber(value) {\n    return typeof value === 'number' && !isNaN(value);\n  }\n\n  function isInteger(value) {\n    return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;\n  }\n});","define(\"ember-validators/presence\", [\"exports\", \"ember-validators/utils/validation-error\", \"ember-validators/utils/unwrap-proxy\"], function (_exports, _validationError, _unwrapProxy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validatePresence;\n\n  /**\n   *  @class Presence\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.presence If true validates that the given value is not empty,\n   *                                   if false, validates that the given value is empty.\n   * @param {Boolean} options.ignoreBlank If true, treats an empty or whitespace string as not present\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validatePresence(value, options, model, attribute) {\n    let {\n      presence,\n      ignoreBlank\n    } = options;\n    let v = (0, _unwrapProxy.default)(value);\n\n    let _isPresent = ignoreBlank ? Ember.isPresent(v) : !Ember.isEmpty(v);\n\n    (true && !(Ember.isPresent(presence)) && Ember.assert(`[validator:presence] [${attribute}] option 'presence' is required`, Ember.isPresent(presence)));\n\n    if (presence === true && !_isPresent) {\n      return (0, _validationError.default)('blank', value, options);\n    }\n\n    if (presence === false && _isPresent) {\n      return (0, _validationError.default)('present', value, options);\n    }\n\n    return true;\n  }\n});","define(\"ember-validators/utils/is-promise\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPromise;\n  const {\n    canInvoke\n  } = Ember;\n\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n});","define(\"ember-validators/utils/unwrap-proxy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = unwrapProxy;\n  _exports.isProxy = isProxy;\n\n  function unwrapProxy(o) {\n    return isProxy(o) ? unwrapProxy(o.content) : o;\n  }\n\n  function isProxy(o) {\n    return !!(o && (o instanceof Ember.ObjectProxy || o instanceof Ember.ArrayProxy));\n  }\n});","define(\"ember-validators/utils/validation-error\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validationError;\n\n  function validationError(type, value, context, message) {\n    return {\n      type,\n      value,\n      context,\n      message\n    };\n  }\n});","define(\"ember-welcome-page/components/welcome-page\", [\"exports\", \"ember-welcome-page/templates/components/welcome-page\"], function (_exports, _welcomePage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.Component.extend({\n    layout: _welcomePage.default,\n    emberVersion: Ember.computed(function () {\n      let [major, minor] = Ember.VERSION.split(\".\");\n      return `${major}.${minor}.0`;\n    }),\n    canAngleBracket: Ember.computed(function () {\n      return true;\n    }),\n    isModuleUnification: Ember.computed(function () {\n      const config = Ember.getOwner(this).resolveRegistration('config:environment');\n      return config && config.isModuleUnification;\n    })\n  });\n\n  _exports.default = _default;\n});","define(\"ember-welcome-page/templates/components/welcome-page\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"V/eG6mVb\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"id\\\",\\\"ember-welcome-page-id-selector\\\"],[11,\\\"data-ember-version\\\",[29,[[22,\\\"emberVersion\\\"]]]],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"columns\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"tomster\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"img\\\",true],[10,\\\"src\\\",\\\"ember-welcome-page/images/construction.png\\\"],[10,\\\"alt\\\",\\\"Under construction\\\"],[8],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"welcome\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"h2\\\",true],[10,\\\"id\\\",\\\"title\\\"],[8],[0,\\\"Congratulations, you made it!\\\"],[9],[0,\\\"\\\\n\\\\n      \\\"],[7,\\\"p\\\",true],[8],[0,\\\"You’ve officially spun up your very first Ember app :-)\\\"],[9],[0,\\\"\\\\n      \\\"],[7,\\\"p\\\",true],[8],[0,\\\"You’ve got one more decision to make: what do you want to do next? We’d suggest one of the following to help you get going:\\\"],[9],[0,\\\"\\\\n      \\\"],[7,\\\"ol\\\",true],[8],[0,\\\"\\\\n        \\\"],[7,\\\"li\\\",true],[8],[7,\\\"a\\\",true],[11,\\\"href\\\",[29,[\\\"https://guides.emberjs.com/v\\\",[22,\\\"emberVersion\\\"],\\\"/getting-started/quick-start/\\\"]]],[8],[0,\\\"Quick Start\\\"],[9],[0,\\\" - a quick introduction to how Ember works. Learn about defining your first route, writing a UI component and deploying your application.\\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"li\\\",true],[8],[7,\\\"a\\\",true],[11,\\\"href\\\",[29,[\\\"https://guides.emberjs.com/v\\\",[22,\\\"emberVersion\\\"],\\\"/tutorial/ember-cli/\\\"]]],[8],[0,\\\"Ember Guides\\\"],[9],[0,\\\" - this is our more thorough, hands-on intro to Ember. Your crash course in Ember philosophy, background and some in-depth discussion of how things work (and why they work the way they do).\\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n      \\\"],[7,\\\"p\\\",true],[8],[0,\\\"If you run into problems, you can check \\\"],[7,\\\"a\\\",true],[10,\\\"href\\\",\\\"http://stackoverflow.com/questions/tagged/ember.js\\\"],[8],[0,\\\"Stack Overflow\\\"],[9],[0,\\\" or \\\"],[7,\\\"a\\\",true],[10,\\\"href\\\",\\\"http://discuss.emberjs.com/\\\"],[8],[0,\\\"our forums\\\"],[9],[0,\\\"  for ideas and answers—someone’s probably been through the same thing and already posted an answer.  If not, you can post your \\\"],[7,\\\"strong\\\",true],[8],[0,\\\"own\\\"],[9],[0,\\\" question. People love to help new Ember developers get started, and our \\\"],[7,\\\"a\\\",true],[10,\\\"href\\\",\\\"https://emberjs.com/community/\\\"],[8],[0,\\\"Ember Community\\\"],[9],[0,\\\" is incredibly supportive.\\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"postscript\\\"],[8],[0,\\\"To remove this welcome message, remove the\\\\n    \\\"],[7,\\\"code\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"canAngleBracket\\\"]]],null,{\\\"statements\\\":[[0,\\\"        <WelcomePage />\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[0,\\\"{{welcome-page}}\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    component from your\\\\n    \\\"],[7,\\\"code\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"isModuleUnification\\\"]]],null,{\\\"statements\\\":[[0,\\\"        src/ui/routes/application/template.hbs\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        app/templates/application.hbs\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n     file.\\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"You'll see this page update soon after!\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"ember-welcome-page/templates/components/welcome-page.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define('ember-wormhole/components/ember-wormhole', ['exports', 'ember-wormhole/templates/components/ember-wormhole', 'ember-wormhole/utils/dom'], function (exports, _emberWormhole, _dom) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Component.extend({\n    layout: _emberWormhole.default,\n\n    /*\n     * Attrs\n     */\n    to: Ember.computed.alias('destinationElementId'),\n    destinationElementId: null,\n    destinationElement: null,\n\n    _destination: Ember.computed('destinationElement', 'destinationElementId', 'renderInPlace', function () {\n      let renderInPlace = this.get('renderInPlace');\n      if (renderInPlace) {\n        return this._element;\n      }\n\n      let destinationElement = this.get('destinationElement');\n      if (destinationElement) {\n        return destinationElement;\n      }\n      let destinationElementId = this.get('destinationElementId');\n      if (destinationElementId) {\n        return (0, _dom.findElementById)(this._dom, destinationElementId);\n      }\n      // no element found\n      return null;\n    }),\n\n    renderInPlace: false,\n\n    /*\n     * Lifecycle\n     */\n    init() {\n      this._super(...arguments);\n\n      this._dom = (0, _dom.getDOM)(this);\n\n      // Create text nodes used for the head, tail\n      this._wormholeHeadNode = this._dom.createTextNode('');\n      this._wormholeTailNode = this._dom.createTextNode('');\n\n      /*\n       * didInsertElement does not fire in Fastboot, so we schedule this in\n       * init to be run after render. Importantly, we want to run\n       * appendToDestination after the child nodes have rendered.\n       */\n      Ember.run.schedule('afterRender', () => {\n        if (this.isDestroyed) {\n          return;\n        }\n        this._element = this._wormholeHeadNode.parentNode;\n        if (!this._element) {\n          throw new Error('The head node of a wormhole must be attached to the DOM');\n        }\n        this._appendToDestination();\n      });\n    },\n\n    willDestroyElement: function willDestroyElement() {\n      // not called in fastboot\n      this._super(...arguments);\n      let _wormholeHeadNode = this._wormholeHeadNode,\n          _wormholeTailNode = this._wormholeTailNode;\n\n      Ember.run.schedule('render', () => {\n        this._removeRange(_wormholeHeadNode, _wormholeTailNode);\n      });\n    },\n\n    _destinationDidChange: Ember.observer('_destination', function () {\n      var destinationElement = this.get('_destination');\n      if (destinationElement !== this._wormholeHeadNode.parentNode) {\n        Ember.run.schedule('render', this, '_appendToDestination');\n      }\n    }),\n\n    _appendToDestination() {\n      var destinationElement = this.get('_destination');\n      if (!destinationElement) {\n        var destinationElementId = this.get('destinationElementId');\n        if (destinationElementId) {\n          throw new Error(`ember-wormhole failed to render into '#${destinationElementId}' because the element is not in the DOM`);\n        }\n        throw new Error('ember-wormhole failed to render content because the destinationElementId was set to an undefined or falsy value.');\n      }\n\n      let startingActiveElement = (0, _dom.getActiveElement)();\n      this._appendRange(destinationElement, this._wormholeHeadNode, this._wormholeTailNode);\n      let resultingActiveElement = (0, _dom.getActiveElement)();\n      if (startingActiveElement && resultingActiveElement !== startingActiveElement) {\n        startingActiveElement.focus();\n      }\n    },\n\n    _appendRange(destinationElement, firstNode, lastNode) {\n      while (firstNode) {\n        destinationElement.insertBefore(firstNode, null);\n        firstNode = firstNode !== lastNode ? lastNode.parentNode.firstChild : null;\n      }\n    },\n\n    _removeRange(firstNode, lastNode) {\n      var node = lastNode;\n      do {\n        var next = node.previousSibling;\n        if (node.parentNode) {\n          node.parentNode.removeChild(node);\n          if (node === firstNode) {\n            break;\n          }\n        }\n        node = next;\n      } while (node);\n    }\n  });\n});","define(\"ember-wormhole/templates/components/ember-wormhole\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.HTMLBars.template({ \"id\": \"rW/3GFKf\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[1,[28,\\\"unbound\\\",[[24,[\\\"_wormholeHeadNode\\\"]]],null],false],[14,1],[1,[28,\\\"unbound\\\",[[24,[\\\"_wormholeTailNode\\\"]]],null],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"ember-wormhole/templates/components/ember-wormhole.hbs\" } });\n});","define('ember-wormhole/utils/dom', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.getActiveElement = getActiveElement;\n  exports.findElementById = findElementById;\n  exports.getDOM = getDOM;\n  function getActiveElement() {\n    if (typeof document === 'undefined') {\n      return null;\n    } else {\n      return document.activeElement;\n    }\n  }\n\n  function childNodesOfElement(element) {\n    let children = [];\n    let child = element.firstChild;\n    while (child) {\n      children.push(child);\n      child = child.nextSibling;\n    }\n    return children;\n  }\n\n  function findElementById(doc, id) {\n    if (doc.getElementById) {\n      return doc.getElementById(id);\n    }\n\n    let nodes = childNodesOfElement(doc);\n    let node;\n\n    while (nodes.length) {\n      node = nodes.shift();\n\n      if (node.getAttribute && node.getAttribute('id') === id) {\n        return node;\n      }\n\n      nodes = childNodesOfElement(node).concat(nodes);\n    }\n  }\n\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n  function getDOM(context) {\n    let renderer = context.renderer;\n\n    if (!renderer._dom) {\n      // pre glimmer2\n      let container = Ember.getOwner ? Ember.getOwner(context) : context.container;\n      let documentService = container.lookup('service:-document');\n\n      if (documentService) {\n        return documentService;\n      }\n\n      renderer = container.lookup('renderer:-dom');\n    }\n\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    } else {\n      throw new Error('ember-wormhole could not get DOM');\n    }\n  }\n});","define(\"event-components/amplify/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@babel/runtime/helpers/esm/defineProperty\", \"@aws-amplify/core\", \"@aws-amplify/cache\", \"@aws-amplify/auth\", \"@aws-amplify/api\", \"@aws-amplify/storage\", \"@ember-decorators/object\", \"@datadog/browser-rum\", \"page-lifecycle\", \"ember-changeset\", \"ember-concurrency\", \"event-components/amplify/types\"], function (_exports, _initializerDefineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _defineProperty2, _core, _cache, _auth, _api, _storage, _object, _browserRum, _pageLifecycle, _emberChangeset, _emberConcurrency, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.SystemMessageTypes = _exports.AmplifyServiceInterface = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17;\n\n  class AmplifyServiceInterface extends Ember.Service.extend(Ember.Evented) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"clientId\", void 0);\n      (0, _defineProperty2.default)(this, \"Storage\", void 0);\n    }\n\n  }\n\n  _exports.AmplifyServiceInterface = AmplifyServiceInterface;\n  let SystemMessageTypes;\n  _exports.SystemMessageTypes = SystemMessageTypes;\n\n  (function (SystemMessageTypes) {\n    SystemMessageTypes[\"VideoChat\"] = \"VideoChat\";\n  })(SystemMessageTypes || (_exports.SystemMessageTypes = SystemMessageTypes = {}));\n\n  let AmplifyService = (_dec = Ember.inject.service('client'), _dec2 = Ember.inject.service('chatline'), _dec3 = Ember.inject.service('privatechatline'), _dec4 = Ember.inject.service('user'), _dec5 = Ember.inject.service('theme'), _dec6 = Ember.inject.service('cookies'), _dec7 = Ember.inject.service('datastore'), _dec8 = Ember.inject.service('highscore'), _dec9 = Ember.inject.service('services/auth'), _dec10 = Ember.inject.service, _dec11 = (0, _object.observes)('currentTheme.config.broadcastMessage'), _dec12 = Ember.inject.service(), _dec13 = Ember.inject.service(), _dec14 = Ember.computed.alias('userService.activeModel'), _dec15 = Ember.computed.alias('clientService.activeModel'), _dec16 = Ember.computed(\"componentname\", \"currentModule\", \"currentTheme\"), _dec17 = Ember.computed.filter('pchatlineService.models', ['currentUser'], function (chatline) {\n    if (this.currentUser) {\n      return !chatline.isRead && chatline.user?.id !== this.currentUser.id && chatline.owner === this.currentUser.username;\n    }\n\n    return false;\n  }), _dec18 = Ember.computed('chatlineService.models', 'chatlineService.models.[]', 'readMessages'), _dec19 = Ember._action, _dec20 = Ember._action, _dec21 = (0, _object.observes)('currentModule'), _dec22 = (0, _object.observes)('currentModuleItem'), _dec23 = Ember.computed('currentClient'), _dec24 = Ember.computed('currentUser', 'currentClient'), _dec25 = Ember.inject.service('chatroom'), _dec26 = Ember.inject.service('privatechatline'), (_class = class AmplifyService extends AmplifyServiceInterface {\n    onBroadcastMessage() {\n      if (!this.themeService.activeThemeConfig) {\n        return;\n      }\n\n      const config = Ember.getOwner(this).resolveRegistration('config:environment');\n      const message = this.themeService.activeThemeConfig.broadcastMessage;\n\n      if (!message || !config.isDomainAware) {\n        return;\n      }\n\n      if (message.includes('https://')) {\n        if (confirm('Der Test ist beendet, sie werden jetzt auf den Fragebogen weitergeleitet.') == true) {\n          window.location.href = message;\n        } else {}\n\n        return;\n      }\n\n      if (message !== localStorage.getItem('_broadcastMessage')) {\n        alert(this.themeService.activeThemeConfig.broadcastMessage);\n        localStorage.setItem('_broadcastMessage', message);\n      }\n    }\n\n    initClassMap() {\n      this.classMap = new Map();\n      this.classMap.set(_types.entityTypes.user, this.userService);\n      this.classMap.set(_types.entityTypes.highscore, this.highscoreService);\n      this.classMap.set(_types.entityTypes.client, this.clientService);\n      this.classMap.set(_types.entityTypes.theme, this.themeService);\n      this.up();\n    }\n\n    up() {\n      window.addEventListener('message', this.messageHandler.bind(this), false);\n    }\n\n    async messageHandler(message) {\n      // Only listen to the Messages which have the ID, Type and Entity set\n      if (message.data.id == undefined || message.data.type == undefined || message.data.entity == undefined) {\n        return;\n      } // Set the returndataObject\n\n\n      let returnData = {\n        id: message.data.id,\n        entity: message.data.entity,\n        type: message.data.type,\n        data: undefined\n      }; // Try to get the Data from the Service class\n\n      try {\n        let data = await this.classMap.get(message.data.entity)[message.data.type](message.data.data);\n\n        if (Array.isArray(data)) {\n          returnData.data = data.map(d => d.get('data'));\n        } else {\n          returnData.data = data.get('data');\n        }\n\n        this.returnData(returnData);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    returnData(data) {\n      let iframe; // Get Target Iframe\n\n      if (data.id.includes('Multiplayer')) {\n        iframe = document.getElementById('unity-iframe');\n      } else {\n        iframe = document.getElementById('videochat');\n      } // and return the data\n\n\n      iframe.contentWindow.postMessage(data, '*');\n    }\n\n    // Tries to get the config out of the current theme for the current active component\n    // For more information about that component\n    get currentModuleConfig() {\n      return this.get('currentTheme').config.moduleConfig?.find(conf => conf.componentName == this.get(\"componentName\")) ?? {\n        name: this.currentModule\n      };\n    } // Variable to open and close the Unity Iframe\n\n\n    get unreadChatMessages() {\n      const readMessages = localStorage.getItem('readMessages');\n      if (readMessages == undefined) return this.chatlineService.models;\n      const parsedMessages = JSON.parse(readMessages);\n      return this.chatlineService.models.filter(chatline => !parsedMessages.includes(chatline.id));\n    }\n\n    initState() {\n      _pageLifecycle.default.addEventListener('statechange', _ref => {\n        let {\n          oldState,\n          newState\n        } = _ref;\n        console.log(`${oldState} -> ${newState}`);\n\n        if (newState === 'active') {//this.datastoreService.startDatastore();\n        }\n\n        if (newState === 'passive') {//this.datastoreService.stopDatastore();\n        }\n      });\n    } // Variable to open and close the Videochat\n\n\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"clientService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"chatlineService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"pchatlineService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"themeService\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"cookies\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"datastoreService\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"highscoreService\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"authService\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor10, this);\n      (0, _defineProperty2.default)(this, \"_broadcastMessage\", void 0);\n      (0, _defineProperty2.default)(this, \"classMap\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"intl\", _descriptor11, this);\n      (0, _initializerDefineProperty2.default)(this, \"moment\", _descriptor12, this);\n      (0, _defineProperty2.default)(this, \"currentTheme\", null);\n      (0, _initializerDefineProperty2.default)(this, \"currentUser\", _descriptor13, this);\n      (0, _initializerDefineProperty2.default)(this, \"currentClient\", _descriptor14, this);\n      (0, _defineProperty2.default)(this, \"clientId\", void 0);\n      (0, _defineProperty2.default)(this, \"Amplify\", _core.default);\n      (0, _defineProperty2.default)(this, \"Logger\", new _core.Logger('Application'));\n      (0, _defineProperty2.default)(this, \"I18n\", _core.I18n);\n      (0, _defineProperty2.default)(this, \"Auth\", _auth.Auth);\n      (0, _defineProperty2.default)(this, \"Storage\", _storage.Storage);\n      (0, _defineProperty2.default)(this, \"Cache\", _cache.default);\n      (0, _defineProperty2.default)(this, \"queryParams\", ['user', 'token']);\n      (0, _defineProperty2.default)(this, \"user\", void 0);\n      (0, _defineProperty2.default)(this, \"token\", void 0);\n      (0, _defineProperty2.default)(this, \"logger\", void 0);\n      (0, _defineProperty2.default)(this, \"currentModule\", 'Chat');\n      (0, _defineProperty2.default)(this, \"componentName\", '');\n      (0, _defineProperty2.default)(this, \"currentModuleItem\", '');\n      (0, _defineProperty2.default)(this, \"currentModuleItem3rd\", false);\n      (0, _defineProperty2.default)(this, \"hasAppointmentNotifications\", false);\n      (0, _defineProperty2.default)(this, \"target\", void 0);\n      (0, _defineProperty2.default)(this, \"fromComponent\", \"\");\n      (0, _defineProperty2.default)(this, \"unityIframeOpen\", false);\n      (0, _initializerDefineProperty2.default)(this, \"unreadMessages\", _descriptor15, this);\n      (0, _defineProperty2.default)(this, \"readMessages\", []);\n      (0, _defineProperty2.default)(this, \"videoChatOpen\", false);\n      (0, _defineProperty2.default)(this, \"cookiedomain\", '');\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor16, this);\n      (0, _initializerDefineProperty2.default)(this, \"pService\", _descriptor17, this);\n      this.initClassMap();\n      this.initState();\n      this.logger = new _core.ConsoleLogger(`Service (AMPLIFY)`, 'INFO');\n\n      if (localStorage.getItem('readMessages') !== null) {\n        this.set('readMessages', JSON.parse(localStorage.getItem('readMessages')));\n      }\n\n      try {\n        _browserRum.datadogRum.init({\n          applicationId: '5fae835f-305d-4228-b4cf-573e1f1cf760',\n          clientToken: 'pub198e8ba51aeeb391230399dabd7e2648',\n          site: 'datadoghq.eu',\n          service: 'umotions-test',\n          // Specify a version number to identify the deployed version of your application in Datadog\n          // version: '1.0.0',\n          sampleRate: 100,\n          trackInteractions: true,\n          defaultPrivacyLevel: 'mask-user-input'\n        });\n\n        _browserRum.datadogRum.startSessionReplayRecording();\n      } catch (e) {\n        console.log('Datadig failed', e);\n      }\n    }\n\n    readChatMessage(chatline) {\n      this.set('readMessages', [...new Set([...this.get(\"readMessages\"), chatline.id])]);\n      localStorage.setItem('readMessages', JSON.stringify(this.get('readMessages')));\n    }\n\n    readMessage(chatline) {\n      if (!chatline.isRead && chatline.owner == this.currentUser.username) {\n        chatline.set(\"isRead\", true);\n        this.pService.update(chatline);\n      }\n    }\n\n    onCurrentModule() {\n      this.set('currentModuleItem', '');\n    }\n\n    onCurrentModuleItem() {\n      if (this.currentModuleItem === '') {\n        this.trigger('moduleitem:unset');\n      }\n    }\n\n    get isAnonym() {\n      return this.currentClient.loginmode === 'ANONYM';\n    }\n\n    get isAuthenticated() {\n      if (Ember.isNone(this.currentUser)) {\n        return false;\n      }\n\n      if (this.currentUser.clientID !== this.currentClient.id) {\n        this.cleanUpandLogOut();\n        return false;\n      }\n\n      return true;\n    }\n\n    // is called then the user does not match to the client or the app is in invalid State\n    async cleanUpandLogOut() {\n      await this.Auth.signOut();\n      localStorage.clear();\n      let cookies = document.cookie.split(';');\n\n      for (let i = 0; i < cookies.length; i++) {\n        let cookie = cookies[i];\n        let eqPos = cookie.indexOf('=');\n        let name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;\n        document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT';\n      }\n    }\n\n    async initAmplify() {\n      let {\n        awsmobile\n      } = Ember.getOwner(this).resolveRegistration('config:environment');\n      let root_domain;\n\n      if (location.host.includes('localhost')) {\n        let temp = location.host.split('.').reverse();\n        root_domain = 'localhost';\n      } else if (location.href.includes('192.168.8.161')) {\n        root_domain = '192.168.8.161';\n      } else {\n        let temp = location.host.split('.').reverse();\n        root_domain = '.' + temp[1] + '.' + temp[0];\n      }\n\n      if (window.location.hostname.includes('smc-opening.de')) {\n        root_domain = window.location.hostname;\n      }\n\n      awsmobile.Auth.cookieStorage.domain = `${root_domain}`;\n      this.cookiedomain = `${root_domain}`;\n\n      _core.default.configure({ ...awsmobile\n      });\n\n      _api.API.configure({ ...awsmobile\n      });\n\n      this.Storage.configure({\n        level: 'private'\n      });\n      this.initMessageHandler();\n      this.initSubscriber();\n    } // @deprecated by amplify rewrite\n\n\n    async initSubscriber() {\n      try {} catch (e) {\n        console.error(e);\n      }\n    }\n\n    initMessageHandler() {\n      addEventListener('message', event => {\n        let data;\n\n        try {\n          data = JSON.parse(event.data);\n\n          if (data.target) {\n            this.trigger(`unity:${data.target}`, data.arg);\n            Ember.run.next(this, () => {\n              this.trigger(`unity:${data.target}`, data.arg);\n            });\n          }\n        } catch (e) {//´console.error(e);\n        }\n      }, false);\n    }\n\n    async removeFavToProfile(profile) {\n      if (!this.currentUser) {\n        return false;\n      }\n\n      if (!Ember.isArray(this.currentUser.favs)) {\n        Ember.set(this.currentUser, 'favs', []);\n      }\n\n      let favs = [...this.currentUser.favs];\n      favs.removeObject(favs.findBy('id', profile.id));\n      Ember.set(this.currentUser, 'favs', favs);\n\n      try {\n        await this.userService.update(this.currentUser);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    async addFavToProfile(profile) {\n      if (!this.currentUser) {\n        return false;\n      }\n\n      if (!Ember.isArray(this.currentUser.favs)) {\n        Ember.set(this.currentUser, 'favs', []);\n      }\n\n      let favs = [...this.currentUser.favs, {\n        id: profile.id,\n        email: profile.email,\n        firstname: profile.firstname,\n        lastname: profile.lastname\n      }];\n      Ember.set(this.currentUser, 'favs', favs);\n\n      try {\n        await this.userService.update(this.currentUser);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    async loadClient(domain) {\n      const cachedClient = _cache.default.getItem(domain);\n\n      let apiName = 'umotionsboot';\n      let path = `/init`;\n      let myInit = {\n        body: {\n          domain: domain\n        },\n        headers: {\n          'Content-Type': 'application/json'\n        }\n      };\n\n      if (cachedClient) {\n        _api.API.post(apiName, path, myInit).then(client => {\n          let theme; // client was cached but is no more\n\n          if (client.client.isThemeCached === false && cachedClient.isThemeCached === true) {\n            client.client;\n            client.client.theme.config = JSON.parse(client.client.theme.config);\n            theme = (0, _emberChangeset.Changeset)(client.client.theme);\n            this.set('currentTheme', theme);\n            this.set('themeService.activeModel', theme);\n\n            _cache.default.removeItem(domain);\n          } else {}\n        });\n\n        return cachedClient;\n      }\n\n      const client = await _api.API.post(apiName, path, myInit);\n      const expiration = new Date();\n\n      if (client.client.isThemeCached) {\n        _cache.default.setItem(domain, client.client, {\n          expires: expiration.getTime() + 12 * 60 * 60 * 1000\n        });\n      } else {}\n\n      return client.client;\n    }\n\n    async initClient() {\n      let clientResp = await this.loadClient(window.location.hostname);\n      let client = clientResp;\n      client = (0, _emberChangeset.Changeset)(client);\n      client.theme.config = JSON.parse(client.theme.config);\n      let theme = (0, _emberChangeset.Changeset)(client.theme);\n      this.set('currentClient', client);\n      this.set('currentTheme', theme);\n      this.set('themeService.activeModel', theme);\n      this.datastoreService.setClientID(client.id, false, true); //localStorage.setItem('umobackend-clientid', client.id)\n\n      document.body.className += this.currentTheme?.config?.isModulesFullWidth ? ' isModulesFullWidth' : '';\n\n      if (client) {\n        this.set('clientService.activeModel', client);\n        this.set('clientId', client.id);\n        this.logger.log('client', client);\n      }\n\n      if (!client) {\n        throw Error('No Project Found');\n      } // init locale and fallback to DE\n\n\n      if (client.get('locale')) {\n        this.get('intl').setLocale([client.get('locale')]);\n        this.get('moment').setLocale(client.get('locale').split('-')[0]);\n      } else {\n        this.get('intl').setLocale(['de-de']);\n        this.get('moment').setLocale('de');\n      }\n    }\n\n    async logout() {\n      this.authService.logout();\n    }\n\n    *login(username, password) {\n      yield this.authService.login(username, password);\n    }\n\n    async loginByParams() {\n      this.loginByParams();\n    }\n\n    async isLoggedIn() {\n      try {\n        const auth = await _auth.Auth.currentAuthenticatedUser();\n        console.log(auth);\n        return true;\n      } catch {\n        return false;\n      }\n    }\n\n    async loadUser(userId) {\n      await this.authService.loadUser(userId);\n    }\n\n    async initSession() {\n      await this.authService.initSession();\n    }\n\n    async setHeadTags(model, theme) {\n      if (!theme) {\n        return;\n      }\n\n      let logopath;\n\n      if (theme.config.applogo?.key) {\n        logopath = await this.Storage.get(theme.config.applogo.key, {\n          level: 'public'\n        });\n        this.set('logoPath', logopath);\n      }\n\n      let headTags = [{\n        type: 'meta',\n        tagId: 'meta-description-tag',\n        attrs: {\n          name: 'client',\n          content: theme.config.clientName\n        }\n      }, {\n        type: 'link',\n        tagId: 'canonical-link',\n        attrs: {\n          rel: 'apple-touch-icon',\n          href: logopath\n        }\n      }, {\n        type: 'title',\n        content: theme.config.apptitle\n      }, {\n        type: 'meta',\n        attrs: {\n          name: 'apple-mobile-web-app-title',\n          content: theme.config.apptitle\n        }\n      }, {\n        type: 'meta',\n        attrs: {\n          name: 'apple-mobile-web-app-capable',\n          content: 'yes'\n        }\n      }, {\n        type: 'meta',\n        attrs: {\n          name: 'apple-mobile-web-app-status-bar-style',\n          content: 'default'\n        }\n      }, {\n        type: 'meta',\n        attrs: {\n          name: 'theme-color',\n          content: '#004080'\n        }\n      }];\n      this.set('headTags', headTags);\n      return headTags;\n    } // @deprecated by amplify\n\n\n    async findAllQuestions(client) {}\n\n    async setAppointmentNotification(user, value) {\n      if (!user) {\n        user = this.currentUser;\n      }\n\n      console.log(user.id + '(' + user.firstname + ' ' + user.lastname + ') hat eine Notification');\n\n      try {\n        this.currentUser.set('hasUnreadAppointments', value);\n        await this.userService.update(this.currentUser);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    async getAppointmentNotification() {\n      const variables = {\n        where: {\n          id: this.currentUser.id\n        }\n      };\n\n      try {} catch (e) {\n        console.error(e);\n      }\n    }\n\n    async createPrivateChatroom(target) {\n      let roomSet = this.chatService.createChangeset({\n        privateuser: [this.get('currentUser.username'), target.username],\n        name: `Privater Chat: ${this.get('currentUser.firstname')} ${this.get('currentUser.lastname')}`,\n        text: '',\n        autoEnter: false\n      });\n      let roomn = await this.chatService.create(roomSet);\n      return roomn;\n    }\n\n    async newSystemMessage(type, data) {\n      this.sendVideochatSystemMessage(data);\n    }\n\n    async sendVideochatSystemMessage(data) {\n      // Filter other Members to send the System message to\n      const otherMembers = data.members.filter(u => u.id != data.user);\n\n      for (const member of otherMembers) {\n        let room = await this.getChatroom(this.get('currentUser.username'), member.username); // Chatroom doesnt exist yet. so we have to create one\n\n        if (room == undefined) {\n          room = await this.createPrivateChatroom(member);\n        } // still undefined???? rip\n\n\n        if (room == undefined) {\n          console.error('ROOM Undefined in Systemmessage');\n          return undefined;\n        }\n\n        let duration = undefined;\n\n        if (data.duration != undefined && data.duration < 3600) {\n          duration = new Date(+data.duration * 1000).toISOString().substr(14, 5);\n        } else if (data.duration != undefined) {\n          duration = new Date(+data.duration * 1000).toISOString().substr(11, 5);\n        }\n\n        let chatline = await this.pService.createChangeset({\n          chatroomID: room.id,\n          message: data.messageType,\n          system: true,\n          owner: member.username,\n          videochatMessage: {\n            duration,\n            members: data.members,\n            sender: data.user,\n            target: member.id\n          },\n          user: this.get('currentUser')\n        });\n        await this.pService.create(chatline);\n      }\n\n      return true;\n    }\n\n    async getChatroom(sender, target) {\n      await this.chatService.findAll();\n      let room = this.chatService.models.find(room => room.privateuser?.includes(target) && room.privateuser?.includes(sender));\n\n      if (room == undefined) {\n        console.error('Room not found in private message');\n      }\n\n      return room;\n    }\n\n    async newPrivateMessage(message, target) {\n      if (message === '') {\n        return;\n      }\n\n      let room = await this.getChatroom(this.get('currentUser.username'), target);\n      let chatline = await this.pService.createChangeset({\n        chatroomID: room.id,\n        message: message,\n        owner: this.currentUser.username,\n        user: this.get('currentUser')\n      });\n      this.pService.create(chatline);\n      let chatline2 = await this.pService.createChangeset({\n        chatroomID: room.id,\n        message: message,\n        owner: target,\n        user: this.get('currentUser')\n      });\n      this.pService.create(chatline2);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clientService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chatlineService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"pchatlineService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"themeService\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cookies\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"datastoreService\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"highscoreService\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"authService\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"router\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onBroadcastMessage\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"onBroadcastMessage\"), _class.prototype), _descriptor11 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"intl\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"moment\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentUser\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentClient\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentModuleConfig\", [_dec16], Object.getOwnPropertyDescriptor(_class.prototype, \"currentModuleConfig\"), _class.prototype), _descriptor15 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"unreadMessages\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"unreadChatMessages\", [_dec18], Object.getOwnPropertyDescriptor(_class.prototype, \"unreadChatMessages\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"readChatMessage\", [_dec19], Object.getOwnPropertyDescriptor(_class.prototype, \"readChatMessage\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"readMessage\", [_dec20], Object.getOwnPropertyDescriptor(_class.prototype, \"readMessage\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onCurrentModule\", [_dec21], Object.getOwnPropertyDescriptor(_class.prototype, \"onCurrentModule\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onCurrentModuleItem\", [_dec22], Object.getOwnPropertyDescriptor(_class.prototype, \"onCurrentModuleItem\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isAnonym\", [_dec23], Object.getOwnPropertyDescriptor(_class.prototype, \"isAnonym\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isAuthenticated\", [_dec24], Object.getOwnPropertyDescriptor(_class.prototype, \"isAuthenticated\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"login\", [_emberConcurrency.task], Object.getOwnPropertyDescriptor(_class.prototype, \"login\"), _class.prototype), _descriptor16 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chatService\", [_dec25], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"pService\", [_dec26], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = AmplifyService;\n});","define(\"event-components/amplify/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.entityTypes = _exports.callTypes = void 0;\n  let callTypes;\n  _exports.callTypes = callTypes;\n\n  (function (callTypes) {\n    callTypes[\"findById\"] = \"findById\";\n    callTypes[\"findBy\"] = \"findBy\";\n    callTypes[\"findAll\"] = \"findAll\";\n    callTypes[\"create\"] = \"create\";\n    callTypes[\"createChangeset\"] = \"createChangeset\";\n  })(callTypes || (_exports.callTypes = callTypes = {}));\n\n  let entityTypes; // Message we receive from the Child\n\n  _exports.entityTypes = entityTypes;\n\n  (function (entityTypes) {\n    entityTypes[\"user\"] = \"user\";\n    entityTypes[\"theme\"] = \"theme\";\n    entityTypes[\"client\"] = \"client\";\n    entityTypes[\"highscore\"] = \"highscore\";\n  })(entityTypes || (_exports.entityTypes = entityTypes = {}));\n});","define(\"event-components/async-post/async-post.interface\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.entityTypes = _exports.callTypes = void 0;\n  // Add more for more Functions\n  let callTypes; // Add more for more Classes\n\n  _exports.callTypes = callTypes;\n\n  (function (callTypes) {\n    callTypes[\"find\"] = \"find\";\n    callTypes[\"findAll\"] = \"findAll\";\n    callTypes[\"getCurrentUser\"] = \"getCurrentUser\";\n    callTypes[\"getCurrentTheme\"] = \"getCurrentTheme\";\n    callTypes[\"getCurrentClient\"] = \"getCurrentClient\";\n    callTypes[\"getCurrentLoadedUsers\"] = \"getCurrentLoadedUsers\";\n  })(callTypes || (_exports.callTypes = callTypes = {}));\n\n  let entityTypes; // Message we receive from the Child\n\n  _exports.entityTypes = entityTypes;\n\n  (function (entityTypes) {\n    entityTypes[\"user\"] = \"user\";\n    entityTypes[\"theme\"] = \"theme\";\n    entityTypes[\"client\"] = \"client\";\n  })(entityTypes || (_exports.entityTypes = entityTypes = {}));\n\n  class UserServiceTestClass {\n    find(id) {\n      return \"test\";\n    }\n\n  }\n  /**\n   * Example how to use the Interface\n   */\n\n\n  class Example {\n    constructor() {\n      (0, _defineProperty2.default)(this, \"classMap\", [{\n        key: entityTypes.user,\n        value: new UserServiceTestClass()\n      }]);\n      (0, _defineProperty2.default)(this, \"getCurrentClient\", void 0);\n      (0, _defineProperty2.default)(this, \"getCurrentTheme\", void 0);\n      (0, _defineProperty2.default)(this, \"getCurrentUser\", void 0);\n      (0, _defineProperty2.default)(this, \"getCurrentLoadedUsers\", void 0);\n    }\n\n    // Bind this to the MessageHandler and start Listening\n    up() {\n      this.messageHandler = this.messageHandler.bind(this);\n      window.addEventListener(\"message\", this.messageHandler, false);\n    }\n\n    async messageHandler(message) {\n      // Only listen to the Messages which have the ID, Type and Entity set\n      if (message.data.id == undefined || message.data.type == undefined || message.data.entity == undefined) {\n        return;\n      } // Set the returndataObject\n\n\n      let returnData = {\n        id: message.data.id,\n        entity: message.data.entity,\n        type: message.data.type,\n        data: undefined\n      }; // Try to get the Data from the Service class\n\n      try {\n        switch (message.data.type) {\n          case callTypes.getCurrentClient:\n            returnData.data = this.getCurrentClient();\n            break;\n\n          case callTypes.getCurrentUser:\n            returnData.data = this.getCurrentUser();\n            break;\n\n          case callTypes.getCurrentTheme:\n            returnData.data = this.getCurrentTheme();\n            break;\n\n          case callTypes.getCurrentLoadedUsers:\n            returnData.data = this.getCurrentLoadedUsers();\n            break;\n\n          default:\n            returnData.data = this.getServiceClassFunction(message.data.entity, message.data.type)();\n            break;\n        }\n\n        this.returnData(returnData);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    getServiceClassFunction(entity, type) {\n      // Find the Service class from the classmap    \n      const found = this.classMap.find(e => e.key = entity);\n\n      if (found === undefined) {\n        // If we dont find it we did not setup correctly\n        throw new Error(\"Service not Set in classMap\");\n      } // Get the Function of the Service class\n\n\n      return this.getFunction(type, found.value);\n    }\n\n    getFunction(type, serviceClass) {\n      // Try to get the Functionreference from the Prototype of the Classobject\n      const fn = Object.getPrototypeOf(serviceClass)[type]; // If we dont find it the function is not defined on the service\n\n      if (fn === undefined) {\n        throw new Error(\"Function not defined in Service\");\n      } // return the functionreference\n\n\n      return fn;\n    }\n\n    returnData(data) {\n      // Get Target Iframe\n      const iframe = document.getElementById(\"1\"); // and return the data\n\n      iframe.contentWindow.postMessage(data, \"*\");\n    } // Remove the Listener\n\n\n    down() {\n      window.removeEventListener(\"message\", this.messageHandler, false);\n    }\n\n  }\n});","define(\"event-components/auth/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@aws-amplify/auth\", \"@aws-amplify/api\", \"@aws-amplify/cache\", \"@aws-amplify/core\", \"ember-uuid\", \"@datadog/browser-rum\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _auth, _api, _cache, _core, _emberUuid, _browserRum) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n\n  let AuthService = (_dec = Ember.inject.service('datastore'), _dec2 = Ember.inject.service('client'), _dec3 = Ember.inject.service('user'), _dec4 = Ember.inject.service(), _dec5 = Ember.inject.service('cookies'), _dec6 = Ember.computed.alias('userService.activeModel'), _dec7 = Ember.computed.alias('clientService.activeModel'), (_class = class AuthService extends Ember.Service.extend(Ember.Evented) {\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"datastoreService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"clientService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"intl\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"cookies\", _descriptor5, this);\n      (0, _defineProperty2.default)(this, \"Auth\", _auth.Auth);\n      (0, _defineProperty2.default)(this, \"user\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"currentUser\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"currentClient\", _descriptor7, this);\n      (0, _defineProperty2.default)(this, \"clientId\", void 0);\n      (0, _defineProperty2.default)(this, \"error\", void 0);\n      (0, _defineProperty2.default)(this, \"cookiedomain\", '');\n      (0, _defineProperty2.default)(this, \"isAuthenticated\", false);\n      console.log(\"AUTH SERVICE\");\n      let {\n        awsmobile\n      } = Ember.getOwner(this).resolveRegistration('config:environment');\n      let root_domain;\n\n      if (location.host.includes('localhost')) {\n        let temp = location.host.split('.').reverse();\n        root_domain = 'localhost';\n      } else if (location.href.includes('192.168.8.161')) {\n        root_domain = '192.168.8.161';\n      } else {\n        let temp = location.host.split('.').reverse();\n        root_domain = '.' + temp[1] + '.' + temp[0];\n      }\n\n      let temp = location.host.split('.').reverse();\n      this.cookiedomain = '.' + temp[1] + '.' + temp[0];\n      this.authEvents();\n    }\n\n    async login(username, password) {\n      let kuerzel = this.currentClient.kuerzel;\n\n      if (!kuerzel) {\n        kuerzel = '';\n      }\n\n      const ExtUsername = `${kuerzel}${username.toLowerCase().trim()}`;\n      const Auth = this.Auth;\n\n      try {\n        await Auth.signIn(ExtUsername, password);\n        await Auth.currentSession();\n        await Auth.currentAuthenticatedUser({\n          bypassCache: false\n        });\n      } catch (e) {\n        console.log(e);\n\n        switch (e.code) {\n          case 'UserNotFoundException':\n            this.set('error', this.intl.t('ts.user_not_found'));\n            break;\n\n          case 'NotAuthorizedException':\n            if (e.message == 'Incorrect username or password.') {\n              this.set('error', this.intl.t('ts.wrong_password'));\n            } else if (e.message == 'Password attempts exceeded') {\n              this.set('error', this.intl.t('ts.too_many_retries'));\n            } else {\n              this.set('error', this.intl.t('ts.reset_your_pw'));\n            }\n\n            break;\n\n          case 'UserNotConfirmedException':\n            this.set('error', this.intl.t('ts.user_not_found2'));\n            break;\n\n          default:\n            this.set('error', this.intl.t('ts.login_error'));\n        }\n      }\n    }\n\n    async loadUser(userId) {\n      const cachedUSer = _cache.default.getItem(userId);\n\n      if (cachedUSer) {\n        console.log(`Return cached User`, cachedUSer);\n        return cachedUSer;\n      }\n\n      let apiName = 'umotionsboot';\n      let path = `/inituser`;\n      let myInit = {\n        body: {\n          userid: userId\n        },\n        headers: {\n          'Content-Type': 'application/json'\n        }\n      };\n      const user = await _api.API.post(apiName, path, myInit);\n      const expiration = new Date();\n\n      _cache.default.setItem(userId, user.user, {\n        expires: expiration.getTime() + 12 * 60 * 60 * 1000\n      });\n\n      return user.user;\n    }\n\n    async currentAuthenticatedUser() {\n      try {\n        await _auth.Auth.currentAuthenticatedUser();\n        return true;\n      } catch {\n        return false;\n      }\n    }\n\n    async initSession() {\n      try {\n        const Auth = this.Auth;\n        let userId;\n        let client = this.get('currentClient');\n        let isLoggedIn = this.get('isAuthenticated');\n        let currentAuthenticatedUser = await this.currentAuthenticatedUser();\n\n        if (client?.loginmode === 'ANONYM' && !currentAuthenticatedUser) {\n          await this.generateAnonymUser(client);\n        }\n\n        const userParam = this.get('router._router.currentState.routerJsState.queryParams');\n\n        if (userParam) {\n          await this.loginByParams();\n        }\n\n        const session = await Auth.currentSession();\n        const creds = await Auth.currentUserCredentials();\n\n        if (!creds) {\n          console.log('no valid user session found');\n        } else {\n          let idToken = session.getIdToken();\n          userId = idToken.payload['custom:userid'];\n          let user = await this.loadUser(userId);\n          let userT = user;\n          localStorage.setItem('session', userT.username); // createdAt is read-only.\n\n          delete user.createdAt; // updatedAt is read-only.\n\n          delete user.updatedAt;\n\n          if (user) {\n            _browserRum.datadogRum.addRumGlobalContext('user', user.username);\n\n            _browserRum.datadogRum.addRumGlobalContext('user', user.id);\n\n            _browserRum.datadogRum.setUser({\n              id: user.id,\n              name: user.username\n            });\n\n            const fire = String.fromCodePoint(0x1f525);\n            console.log(`%c ${fire} ${user.username} ${fire} %c Init User-Session for ${client?.name}`, 'color: #fff; padding: 10px; margin: 10px 0 10px 10px; border-radius: 10px 0 0 10px; background: #ff8800; font-size: 14px; border-right: 1px solid #fff;', 'color: #fff; padding: 10px; margin: 10px 10px 10px 0; border-radius: 0 10px 10px 0; background: #ffaa88; font-size: 14px;');\n            this.set('userService.activeModel', user);\n            console.log('currentUser', user);\n            this.get('cookies').write('session', user.id, {\n              domain: this.cookiedomain\n            });\n          }\n        }\n      } catch (e) {\n        console.error(e);\n      } //his.set('currentTheme', this.currentClient.get('theme'));\n\n    }\n\n    async loginByParams() {\n      let {\n        user,\n        token\n      } = this.get('router._router.currentState.routerJsState.queryParams');\n      await this.login(user, token);\n    }\n\n    async logout() {\n      this.cleanupSession();\n      const Auth = this.Auth;\n\n      try {\n        await Auth.signOut();\n        await this.datastoreService.restartDatastore(true);\n        return window.location.reload();\n      } catch (e) {\n        console.log(e);\n      }\n    }\n\n    cleanupSession() {\n      let cookies = document.cookie.split(';');\n\n      for (let i = 0; i < cookies.length; i++) {\n        let cookie = cookies[i];\n        let eqPos = cookie.indexOf('=');\n        let name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;\n        document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:00 GMT';\n      }\n\n      localStorage.clear();\n      sessionStorage.clear();\n    }\n\n    async generateAnonymUser(client) {\n      let randomcode = Math.random().toString(36);\n      let username = (0, _emberUuid.v4)();\n      let userChangeset = await this.userService.createChangeset({\n        username: username,\n        firstname: 'Anonym',\n        lastname: 'Anonym',\n        email: 'anonym@eventinfo.app',\n        owner: username,\n        invitecode: randomcode,\n        clientID: client.id,\n        publicprofile: true,\n        notifications: true,\n        isCommunicationVisible: true\n      });\n      localStorage.setItem('session', username);\n      let user = await this.userService.create(userChangeset);\n\n      try {\n        console.log(\"signin anonym user first try\");\n        await this.Auth.signIn(username, randomcode);\n      } catch (e) {\n        console.log(\"signin anonym user second try\");\n        const secuser = await this.Auth.signIn(username, randomcode);\n      }\n\n      this.get('cookies').write('session', user.id, {\n        domain: this.cookiedomain\n      });\n      this.set('userService.activeModel', user);\n      await this.datastoreService.restartDatastore(true);\n    }\n\n    authEvents() {\n      const logger = new _core.ConsoleLogger('Auth');\n\n      const listener = data => {\n        switch (data.payload.event) {\n          case 'configured':\n            logger.info('the Auth module is configured');\n            break;\n\n          case 'signIn':\n            logger.info('user signed in');\n            this.set('isAuthenticated', true);\n            break;\n\n          case 'signIn_failure':\n            logger.error('user sign in failed');\n            break;\n\n          case 'signUp':\n            logger.info('user signed up');\n            break;\n\n          case 'signUp_failure':\n            logger.error('user sign up failed');\n            break;\n\n          case 'confirmSignUp':\n            logger.info('user confirmation successful');\n            break;\n\n          case 'completeNewPassword_failure':\n            logger.error('user did not complete new password flow');\n            break;\n\n          case 'autoSignIn':\n            logger.info('auto sign in successful');\n            break;\n\n          case 'autoSignIn_failure':\n            logger.error('auto sign in failed');\n            break;\n\n          case 'forgotPassword':\n            logger.info('password recovery initiated');\n            break;\n\n          case 'forgotPassword_failure':\n            logger.error('password recovery failed');\n            break;\n\n          case 'forgotPasswordSubmit':\n            logger.info('password confirmation successful');\n            break;\n\n          case 'forgotPasswordSubmit_failure':\n            logger.error('password confirmation failed');\n            break;\n\n          case 'tokenRefresh':\n            logger.info('token refresh succeeded');\n            break;\n\n          case 'tokenRefresh_failure':\n            logger.error('token refresh failed');\n            break;\n\n          case 'cognitoHostedUI':\n            logger.info('Cognito Hosted UI sign in successful');\n            break;\n\n          case 'cognitoHostedUI_failure':\n            logger.error('Cognito Hosted UI sign in failed');\n            break;\n\n          case 'customOAuthState':\n            logger.info('custom state returned from CognitoHosted UI');\n            break;\n\n          case 'customState_failure':\n            logger.error('custom state failure');\n            break;\n\n          case 'parsingCallbackUrl':\n            logger.info('Cognito Hosted UI OAuth url parsing initiated');\n            break;\n\n          case 'userDeleted':\n            logger.info('user deletion successful');\n            break;\n\n          case 'signOut':\n            logger.info('user signed out');\n            break;\n        }\n      };\n\n      _core.Hub.listen('auth', listener);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"datastoreService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clientService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"intl\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cookies\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentUser\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentClient\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class));\n  _exports.default = AuthService;\n});","define(\"event-components/components/active-users/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/active-users/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2;\n\n  let ActiveUsers = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('user'), _dec3 = Ember._action, _dec4 = Ember.computed('userService.models.[]', 'userService.models.@each.lastactive', 'userService.models.@each.publicprofile', 'userService.models.@each.isCommunicationVisible'), _dec5 = Ember._action, _dec6 = Ember._action, (_class = class ActiveUsers extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    willDestroy() {\n      try {\n        this.amplify.off('nav:goback', this, 'onHistoryBack');\n      } catch (e) {}\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"_subscriber\", void 0);\n      this.amplify.on('nav:goback', this, 'onHistoryBack');\n    }\n\n    onHistoryBack() {\n      this.set('currentChatroom', null);\n      this.set('target', null);\n    }\n\n    addFavToProfil(user) {\n      this.amplify.addFavToProfile(user);\n    }\n\n    get users() {\n      return this.userService.models.filter(u => {\n        return u.lastactive > parseInt(Date.now() / 1000) - 1000 && u.id !== this.amplify.currentUser.id;\n      });\n    }\n\n    inviteUserToVideoChat(userId) {\n      this.amplify.trigger('videochat:invite', userId);\n    }\n\n    videocall(profile) {\n      const iframe = document.getElementById('videochat');\n      console.log(iframe);\n\n      if (iframe != null) {\n        this.amplify.set('videoChatOpen', true);\n        iframe.contentWindow.postMessage({\n          type: 'invite',\n          data: profile.id\n        }, '*');\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"addFavToProfil\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"addFavToProfil\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"users\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"users\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"inviteUserToVideoChat\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"inviteUserToVideoChat\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"videocall\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"videocall\"), _class.prototype)), _class));\n  _exports.default = ActiveUsers;\n});","define(\"event-components/components/active-users/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"tKrFtN8Y\",\n    \"block\": \"{\\\"symbols\\\":[\\\"users\\\",\\\"user\\\",\\\"&default\\\"],\\\"statements\\\":[[14,3],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"target\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"app-chat-private\\\",[],[[\\\"@currentChatroom\\\",\\\"@target\\\"],[[22,\\\"currentChatroom\\\"],[22,\\\"target\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"async-await\\\",[[23,0,[\\\"users\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"avatars\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"profilelist\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,1,[]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"profile-thumb\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"activeUser\\\"]]],null],[23,2,[]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,2,[\\\"avatarthumb\\\"]]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"thumb-avatar\\\"],[8],[0,\\\"\\\\n                \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\"],[[23,2,[\\\"avatarthumb\\\"]]]]],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"profil-thumb__noavatar\\\"],[8],[0,\\\"\\\\n                \\\"],[1,[28,\\\"firstletter\\\",[[23,2,[\\\"firstname\\\"]]],null],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"firstletter\\\",[[23,2,[\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null],[0,\\\"      \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"activeUser\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-container\\\"],[8],[0,\\\"\\\\n          \\\"],[5,\\\"user-card\\\",[],[[\\\"@user\\\",\\\"@privateMessage\\\",\\\"@videochat\\\"],[[22,\\\"activeUser\\\"],[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"target\\\"]]],null],[24,[\\\"activeUser\\\"]]],null],[28,\\\"action\\\",[[23,0,[]],\\\"inviteUserToVideoChat\\\",[24,[\\\"activeUser\\\",\\\"id\\\"]]],null]]]],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/active-users/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-agenda-appointment-owner/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-agenda-appointment-owner/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2;\n\n  let AppAgendaAppointmentOwner = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('appointment'), _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, (_class = class AppAgendaAppointmentOwner extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"appointmentService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"editor\", false);\n      (0, _defineProperty2.default)(this, \"errorMsg\", null);\n      (0, _defineProperty2.default)(this, \"isLoading\", false);\n    }\n\n    async deleteAppointment(id) {\n      let appointment = this.appointmentService.models.findBy('id', id);\n\n      if (appointment) {\n        return this.appointmentService.delete(appointment);\n      }\n    }\n\n    async updateAppointment(id) {\n      if (parseInt(this.model.startAt.replace(':', '')) >= parseInt(this.model.endAt.replace(':', ''))) {\n        this.set('errorMsg', this.intl.t('appointment.zeit_validierung'));\n      } else {\n        this.set('isLoading', true);\n\n        try {\n          await this.appointmentService.update(this.model);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          if (!this.isDestroying || !this.isDestroyed) {\n            this.set('errorMsg', null);\n            this.set('isLoading', false);\n            this.set('editor', false);\n          }\n        }\n      }\n    }\n\n    async denyAppointment(appointment) {\n      this.set('isLoading', true);\n      this.set('user', this.amplify.currentUser);\n      this.amplify.setAppointmentNotification(appointment.requestUser, true);\n      fetch('https://u6laok016g.execute-api.eu-west-1.amazonaws.com/prod/order', {\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/json'\n        },\n        body: JSON.stringify({\n          email: appointment.requestUser.email,\n          emailSender: this.amplify.currentTheme.config.emailsender,\n          subject: this.get('amplify.currentTheme.config.ETADenSubject').replace(/\\n/g, ''),\n          content: 'empty',\n          emailTemplate: this.get('amplify.currentTheme.config.ETADen').replace(/\\n/g, '<br />'),\n          data: {\n            owner: appointment.data.user,\n            appointment: { ...appointment.data,\n              approved: false\n            }\n          }\n        })\n      }).then(response => response.json());\n\n      if (appointment.type === this.intl.t('appointment.terminanfrage')) {\n        return this.deleteAppointment(appointment.id);\n      } else {\n        try {\n          Ember.setProperties(appointment, {\n            locationSuggestion: null,\n            requestion: null,\n            requestUser: null,\n            requestUserID: null,\n            appointmentRequestUserId: null\n          });\n          await this.appointmentService.update(appointment);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          if (!this.isDestroying || !this.isDestroyed) {\n            this.set('isLoading', false);\n            this.set('editor', false);\n          }\n        }\n      }\n    }\n\n    async approveAppointment(appointment) {\n      this.set('isLoading', true);\n      this.set('user', this.amplify.currentUser);\n      this.amplify.setAppointmentNotification(appointment.requestUser, true);\n      let {\n        customEmailEndpoint\n      } = Ember.getOwner(this).resolveRegistration('config:environment');\n      fetch(customEmailEndpoint, {\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n        },\n        body: JSON.stringify({\n          email: appointment.requestUser.email,\n          emailSender: this.amplify.currentTheme.config.emailsender,\n          subject: this.get('amplify.currentTheme.config.ETAAproSubject').replace(/\\n/g, ''),\n          content: 'empty',\n          emailTemplate: this.get('amplify.currentTheme.config.ETAApro').replace(/\\n/g, '<br />'),\n          data: {\n            owner: appointment.data.user,\n            appointment: { ...appointment.data,\n              approved: true\n            }\n          }\n        })\n      }).then(response => response.json());\n\n      try {\n        Ember.setProperties(appointment, {\n          approved: true\n        });\n        await this.appointmentService.update(appointment);\n      } catch (e) {\n        console.error(e);\n      } finally {\n        if (!this.isDestroying || !this.isDestroyed) {\n          this.set('isLoading', false);\n          this.set('editor', false);\n        }\n      }\n    }\n\n    async cancelAppointment(appointment) {\n      this.set('isLoading', true);\n      this.set('user', this.amplify.currentUser);\n      this.amplify.setAppointmentNotification(appointment.user, true);\n      let {\n        customEmailEndpoint\n      } = Ember.getOwner(this).resolveRegistration('config:environment'); // mail to owner\n\n      try {\n        await fetch(customEmailEndpoint, {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n          },\n          body: JSON.stringify({\n            email: appointment.user.email,\n            emailSender: this.amplify.currentTheme.config.emailsender,\n            subject: this.get('amplify.currentTheme.config.ETADelSubject').replace(/\\n/g, ''),\n            content: 'empty',\n            emailTemplate: this.get('amplify.currentTheme.config.ETADel').replace(/\\n/g, '<br />'),\n            data: {\n              owner: appointment.data.user,\n              appointment: { ...appointment.data\n              }\n            }\n          })\n        }).then(response => response.json()); // mail to requestor\n\n        await fetch(customEmailEndpoint, {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n          },\n          body: JSON.stringify({\n            email: appointment.requestUser.email,\n            emailSender: this.amplify.currentTheme.config.emailsender,\n            subject: this.get('amplify.currentTheme.config.ETADelSubject').replace(/\\n/g, ''),\n            content: 'empty',\n            emailTemplate: this.get('amplify.currentTheme.config.ETADel').replace(/\\n/g, '<br />'),\n            data: {\n              owner: appointment.data.user,\n              appointment: { ...appointment.data\n              }\n            }\n          })\n        }).then(response => response.json());\n      } catch (e) {\n        console.log(e);\n      }\n\n      if (appointment.type === this.intl.t('appointment.terminanfrage')) {\n        return this.deleteAppointment(appointment.id);\n      } else {\n        try {\n          Ember.setProperties(appointment, {\n            locationSuggestion: null,\n            requestion: null,\n            requestUser: null,\n            requestUserID: null,\n            appointmentRequestUserId: null,\n            approved: false\n          });\n          await this.appointmentService.update(appointment);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          if (!this.isDestroying || !this.isDestroyed) {\n            this.set('isLoading', false);\n          }\n        }\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"appointmentService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"deleteAppointment\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"updateAppointment\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"updateAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"denyAppointment\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"denyAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"approveAppointment\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"approveAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cancelAppointment\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelAppointment\"), _class.prototype)), _class));\n  _exports.default = AppAgendaAppointmentOwner;\n});","define(\"event-components/components/app-agenda-appointment-owner/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"qpabEkL8\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card c-appointment\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-calendar-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"date\\\"]],\\\"DD.MM.YYYY\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-divider\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-clock-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"startAt\\\"]],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr_bis\\\"],null],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"endAt\\\"]],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-divider\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[24,[\\\"model\\\",\\\"location\\\"]],[24,[\\\"model\\\",\\\"locationSuggestion\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-map-marker\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"model\\\",\\\"location\\\"]],[24,[\\\"model\\\",\\\"locationSuggestion\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"strikethrough\\\"],[8],[1,[24,[\\\"model\\\",\\\"location\\\"]],false],[9],[0,\\\"\\\\n                    \\\"],[1,[24,[\\\"model\\\",\\\"locationSuggestion\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                    \\\"],[1,[24,[\\\"model\\\",\\\"location\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-body\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"p\\\",true],[8],[1,[24,[\\\"model\\\",\\\"description\\\"]],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestion\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"mt-2\\\"],[8],[7,\\\"i\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.anfrage\\\"],null],false],[0,\\\": \\\"],[1,[24,[\\\"model\\\",\\\"requestion\\\"]],false],[9],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestUser\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-requestor\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-requestor-user\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestUser\\\",\\\"avatar\\\"]]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"model\\\",\\\"requestUser\\\",\\\"avatar\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-avatar\\\"],[8],[0,\\\"\\\\n                            \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,1,[]]]]],[8],[9],[0,\\\"\\\\n                        \\\"],[9],[0,\\\"\\\\n                    \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"                \\\\n                \\\"],[1,[28,\\\"t\\\",[\\\"appointment.angefragt_von\\\"],null],false],[0,\\\"\\\\n                \\\"],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n                \\\"],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"lastname\\\"]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"unless\\\",[[24,[\\\"model\\\",\\\"approved\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-requestor-actions\\\"],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"approveAppointment\\\",[24,[\\\"model\\\"]]]],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-check icon-mr\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.bestaetigen\\\"],null],false],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"denyAppointment\\\",[24,[\\\"model\\\"]]]],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-ban icon-mr\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.ablehnen\\\"],null],false],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-footer\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestUser\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"approved\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"cancelAppointment\\\",[24,[\\\"model\\\"]]]],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-ban icon-mr\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_stornieren\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"tag tag-success\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-check-circle-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_wurde_bestaetigt\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"tag tag-info\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-clock-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.terminanfrage_läuft\\\"],null],false],[0,\\\" \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"deleteAppointment\\\",[24,[\\\"model\\\",\\\"id\\\"]]]],[8],[0,\\\"\\\\n                \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_loeschen\\\"],null],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"editor\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"editor\\\"]]],null],false]],[8],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"t\\\",[\\\"schliessen\\\"],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"editor\\\"]]],null],true]],[8],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_bearbeiten\\\"],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"editor\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-editor mt-2\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"flex\\\"],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-editor-date-input\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"datum\\\"],null],false],[9],[0,\\\"\\\\n                        \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"model\\\",\\\"date\\\"]],\\\"01.01.2021\\\",\\\"date\\\"]]],false],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-editor-date-input\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.von\\\"],null],false],[9],[0,\\\"\\\\n                        \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"model\\\",\\\"startAt\\\"]],\\\"09:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-editor-date-input\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.bis\\\"],null],false],[9],[0,\\\"\\\\n                        \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"model\\\",\\\"endAt\\\"]],\\\"18:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.ort\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"model\\\",\\\"location\\\"]],\\\"Ort hinzufügen (optional)\\\"]]],false],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.beschreibung\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"textarea\\\",null,[[\\\"rows\\\",\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"maxlength\\\"],[\\\"3\\\",\\\"form-control\\\",[24,[\\\"model\\\",\\\"description\\\"]],\\\"Beschreibung hinzufügen (optional) - max. 300 Zeichen\\\",\\\"300\\\"]]],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"errorMsg\\\"]]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"error-message\\\"],[8],[1,[22,\\\"errorMsg\\\"],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"updateAppointment\\\",[24,[\\\"model\\\",\\\"id\\\"]]]],[8],[1,[28,\\\"t\\\",[\\\"appointment.termin_aktualisieren\\\"],null],false],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"isLoading\\\"]]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-spinner\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-agenda-appointment-owner/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-agenda-appointment/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-agenda-appointment/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2;\n\n  let AppAgendaAppointment = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('appointment'), _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, (_class = class AppAgendaAppointment extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"appointmentService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"editor\", false);\n      (0, _defineProperty2.default)(this, \"errorMsg\", null);\n      (0, _defineProperty2.default)(this, \"isLoading\", false);\n    }\n\n    async deleteAppointment(id) {\n      let appointment = this.appointmentService.models.findBy('id', id);\n\n      if (appointment) {\n        return this.appointmentService.delete(appointment);\n      }\n    }\n\n    async requestAppointment(appointment) {\n      this.set('isLoading', true);\n      this.set('user', this.amplify.currentUser);\n      this.amplify.setAppointmentNotification(appointment.user, true);\n      fetch('https://u6laok016g.execute-api.eu-west-1.amazonaws.com/prod/order', {\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/json'\n        },\n        body: JSON.stringify({\n          email: appointment.user.email,\n          emailSender: this.amplify.currentTheme.config.emailsender,\n          subject: this.get('amplify.currentTheme.config.ETAReqSubject').replace(/\\n/g, ''),\n          content: 'empty',\n          emailTemplate: this.get('amplify.currentTheme.config.ETAReq').replace(/\\n/g, '<br />'),\n          data: {\n            owner: appointment.data.user,\n            appointment: { ...appointment.data,\n              requestUser: this.user.data,\n              requestion: this.model.requestion,\n              locationSuggestion: this.model.locationSuggestion\n            }\n          }\n        })\n      }).then(response => response.json());\n\n      try {\n        Ember.setProperties(appointment, {\n          id: appointment.id,\n          locationSuggestion: appointment.locationSuggestion,\n          requestion: appointment.requestion,\n          requestUser: this.user,\n          requestUserID: this.user.id,\n          user: appointment.user\n        });\n        await this.appointmentService.update(appointment);\n      } catch (e) {\n        console.error(e);\n      } finally {\n        if (!this.isDestroying || !this.isDestroyed) {\n          this.set('isLoading', false);\n          this.set('editor', false);\n        }\n      }\n    }\n\n    async cancelAppointment(appointment) {\n      this.set('isLoading', true);\n      this.set('user', this.amplify.currentUser);\n      this.amplify.setAppointmentNotification(appointment.user, true);\n      let {\n        customEmailEndpoint\n      } = Ember.getOwner(this).resolveRegistration('config:environment'); // mail to owner\n\n      try {\n        await fetch(customEmailEndpoint, {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n          },\n          body: JSON.stringify({\n            email: appointment.user.email,\n            emailSender: this.amplify.currentTheme.config.emailsender,\n            subject: this.get('amplify.currentTheme.config.ETADelSubject').replace(/\\n/g, ''),\n            content: 'empty',\n            emailTemplate: this.get('amplify.currentTheme.config.ETADel').replace(/\\n/g, '<br />'),\n            data: {\n              owner: appointment.data.user,\n              appointment: { ...appointment.data\n              }\n            }\n          })\n        }).then(response => response.json()); // mail to requestor\n\n        await fetch(customEmailEndpoint, {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n          },\n          body: JSON.stringify({\n            email: appointment.requestUser.email,\n            emailSender: this.amplify.currentTheme.config.emailsender,\n            subject: this.get('amplify.currentTheme.config.ETADelSubject').replace(/\\n/g, ''),\n            content: 'empty',\n            emailTemplate: this.get('amplify.currentTheme.config.ETADel').replace(/\\n/g, '<br />'),\n            data: {\n              owner: appointment.data.user,\n              appointment: { ...appointment.data\n              }\n            }\n          })\n        }).then(response => response.json());\n      } catch (e) {\n        console.log(e);\n      }\n\n      if (appointment.type === this.intl.t('appointment.terminanfrage')) {\n        return this.deleteAppointment(appointment.id);\n      } else {\n        try {\n          Ember.setProperties(appointment, {\n            locationSuggestion: null,\n            requestion: null,\n            requestUser: null,\n            requestUserID: null,\n            appointmentRequestUserId: null,\n            approved: false\n          });\n          await this.appointmentService.update(appointment);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          if (!this.isDestroying || !this.isDestroyed) {\n            this.set('isLoading', false);\n          }\n        }\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"appointmentService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"deleteAppointment\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"deleteAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"requestAppointment\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"requestAppointment\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cancelAppointment\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"cancelAppointment\"), _class.prototype)), _class));\n  _exports.default = AppAgendaAppointment;\n});","define(\"event-components/components/app-agenda-appointment/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"9Fkk5e1w\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"imagepath\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"appointmentDetails\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-details\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-details-avatars\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"user\\\",\\\"avatar\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"model\\\",\\\"user\\\",\\\"avatar\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-avatar\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,2,[]]]]],[8],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"no-avatar\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-angle-double-left\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestUser\\\",\\\"avatar\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"model\\\",\\\"requestUser\\\",\\\"avatar\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-avatar\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,1,[]]]]],[8],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"no-avatar\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[28,\\\"eq\\\",[[24,[\\\"model\\\",\\\"type\\\"]],[28,\\\"t\\\",[\\\"appointment.terminanfrage\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-details-info\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.termin_wird_angeboten_von\\\"],null],false],[0,\\\" \\\"],[7,\\\"i\\\",true],[8],[7,\\\"b\\\",true],[8],[1,[24,[\\\"model\\\",\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"user\\\",\\\"lastname\\\"]],false],[9],[9],[9],[0,\\\"\\\\n            \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.und_angefragt_von\\\"],null],false],[0,\\\" \\\"],[7,\\\"i\\\",true],[8],[7,\\\"b\\\",true],[8],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"lastname\\\"]],false],[9],[9],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-details-info\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.termin_wird_von\\\"],null],false],[0,\\\" \\\"],[7,\\\"i\\\",true],[8],[7,\\\"b\\\",true],[8],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"requestUser\\\",\\\"lastname\\\"]],false],[9],[9],[9],[0,\\\"\\\\n            \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.bei\\\"],null],false],[0,\\\" \\\"],[7,\\\"i\\\",true],[8],[7,\\\"b\\\",true],[8],[1,[24,[\\\"model\\\",\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"user\\\",\\\"lastname\\\"]],false],[9],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.angefragt\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card c-appointment\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-calendar-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"date\\\"]],\\\"DD.MM.YYYY\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-divider\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-clock-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"startAt\\\"]],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr_bis\\\"],null],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"endAt\\\"]],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-divider\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[24,[\\\"model\\\",\\\"location\\\"]],[24,[\\\"model\\\",\\\"locationSuggestion\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-header-col\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-map-marker\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"model\\\",\\\"location\\\"]],[24,[\\\"model\\\",\\\"locationSuggestion\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"strikethrough\\\"],[8],[1,[24,[\\\"model\\\",\\\"location\\\"]],false],[9],[0,\\\"\\\\n                    \\\"],[1,[24,[\\\"model\\\",\\\"locationSuggestion\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                    \\\"],[1,[24,[\\\"model\\\",\\\"location\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n\\\\n        \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-body\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"p\\\",true],[8],[1,[24,[\\\"model\\\",\\\"description\\\"]],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestion\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"mt-2\\\"],[8],[7,\\\"i\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.anfrage\\\"],null],false],[0,\\\": \\\"],[1,[24,[\\\"model\\\",\\\"requestion\\\"]],false],[9],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-footer\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"requestUser\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"approved\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"cancelAppointment\\\",[24,[\\\"model\\\"]]]],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-ban icon-mr\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_stornieren\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"tag tag-success\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-check-circle-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_wurde_bestaetigt\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"tag tag-info\\\"],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-clock-o\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.terminanfrage_läuft\\\"],null],false],[0,\\\" \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"editor\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"label\\\",true],[10,\\\"style\\\",\\\"margin-right: auto;\\\"],[8],[1,[28,\\\"t\\\",[\\\"appointment.anfrage\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-danger\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"editor\\\"]]],null],false]],[8],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"t\\\",[\\\"schliessen\\\"],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-sm btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"editor\\\"]]],null],true]],[8],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"t\\\",[\\\"appointment.termin_anfragen\\\"],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"editor\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"c-editor\\\"],[8],[0,\\\"\\\\n                \\\\n                \\\"],[1,[28,\\\"textarea\\\",null,[[\\\"rows\\\",\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"maxlength\\\"],[\\\"3\\\",\\\"form-control\\\",[24,[\\\"model\\\",\\\"requestion\\\"]],\\\"Beschreibung hinzufügen (optional) - max. 300 Zeichen\\\",\\\"300\\\"]]],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"model\\\",\\\"locationSuggestion\\\"]],\\\"Anderen Ort vorschlagen (optional)\\\"]]],false],[0,\\\"\\\\n                \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"requestAppointment\\\",[24,[\\\"model\\\"]]]],[8],[1,[28,\\\"t\\\",[\\\"appointment.termin_anfragen\\\"],null],false],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"isLoading\\\"]]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-spinner\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-agenda-appointment/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-agenda-item/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"graphql-tag\", \"event-components/components/app-agenda-item/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _graphqlTag, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2;\n\n  const mutation = (0, _graphqlTag.default)`\n  mutation deleteAgendaItem($where: AgendaItemWhereUniqueInput!) {\n    deleteAgendaItem(where: $where) {\n      id\n    }\n  }\n`;\n  let AppAgendaItem = (_dec = (0, _component.classNames)('agenda-item'), _dec2 = Ember.inject.service('agenda'), _dec3 = Ember.inject.service('program'), _dec4 = Ember.computed('model.fullpage'), _dec5 = Ember.computed('model.floatright'), _dec6 = Ember.computed('model.date', 'model.programmItem.date'), _dec7 = Ember.computed('model'), _dec8 = Ember._action, _dec(_class = (_class2 = class AppAgendaItem extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"agendaService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"programService\", _descriptor2, this);\n    }\n\n    get fullpage() {\n      return this.get('model.fullpage') ? 'fullpage' : 'no-fullpage';\n    }\n\n    get floatright() {\n      return this.get('model.floatright') ? 'floatright' : 'no-floatright';\n    }\n\n    get date() {\n      let temp;\n\n      if (Ember.isEmpty(this.get('model.programmItem.date'))) {\n        temp = this.get('model.date');\n      } else {\n        temp = this.get('model.programmItem.date');\n      }\n\n      console.log(temp);\n      return temp;\n    }\n\n    get programItem() {\n      const items = this.programService.models;\n      return items.findBy('id', this.model.programItem.id);\n    }\n\n    async removeItemToAgenda(item) {\n      let resp = await this.agendaService.delete(item);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"agendaService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"programService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"fullpage\", [_component.className, _dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"fullpage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"floatright\", [_component.className, _dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"floatright\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"date\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"date\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"programItem\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"programItem\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"removeItemToAgenda\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"removeItemToAgenda\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppAgendaItem;\n});","define(\"event-components/components/app-agenda-item/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"31ZrAgdR\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[2,\\\" item \\\"],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"inner\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"programItem\\\",\\\"image\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header\\\"],[11,\\\"id\\\",[29,[\\\"h-\\\",[24,[\\\"programItem\\\",\\\"id\\\"]]]]],[8],[0,\\\"\\\\n            \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"programItem\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n                    #h-\\\"],[1,[24,[\\\"programItem\\\",\\\"id\\\"]],false],[0,\\\" {\\\\n                        background-image: url(\\\"],[1,[23,1,[]],false],[0,\\\");\\\\n                        background-repeat: no-repeat;\\\\n                        width: 100%;\\\\n                        background-size: cover;\\\\n                        min-height: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmImageHeight\\\"]],[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmImageHeight\\\"]],100],null],false],[0,\\\"px;\\\\n                    }\\\\n                \\\"],[9],[0,\\\"\\\\n            \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"wrapper\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"meta\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmTitleCloseToTime\\\"]]],null,{\\\"statements\\\":[[0,\\\"                        \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"programItem\\\",\\\"date\\\"]],\\\"H:mm\\\"],null],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"programItem\\\",\\\"title\\\"]],false],[9],[0,\\\"  \\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                        \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"programItem\\\",\\\"date\\\"]],\\\"H:mm\\\"],null],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[9],[0,\\\"\\\\n                        \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmBeaconCloseToTime\\\"]]],null,{\\\"statements\\\":[[0,\\\"                                \\\"],[1,[24,[\\\"model\\\",\\\"programItem\\\",\\\"beacon\\\",\\\"title\\\"]],false],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"programItem\\\",\\\"beacon\\\",\\\"icon\\\"]]],null,{\\\"statements\\\":[[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[\\\"/icons/\\\",[24,[\\\"model\\\",\\\"programItem\\\",\\\"beacon\\\",\\\"icon\\\"]],\\\".svg\\\"]]],[8],[9]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"                        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"devider\\\"],[8],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"headline\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmTitleCloseToTime\\\"]]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[1,[24,[\\\"model\\\",\\\"programItem\\\",\\\"title\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body-text\\\"],[8],[0,\\\"\\\\n                \\\"],[1,[24,[\\\"model\\\",\\\"programItem\\\",\\\"text\\\"]],true],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[2,\\\" agenda check \\\"],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"agenda-button\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"button\\\",true],[10,\\\"class\\\",\\\"checked\\\"],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],\\\"removeItemToAgenda\\\",[24,[\\\"model\\\"]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"svg\\\",true],[10,\\\"width\\\",\\\"24\\\"],[10,\\\"height\\\",\\\"24\\\"],[10,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[10,\\\"fill\\\",\\\"none\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M5 13L9 17L19 7\\\"],[10,\\\"stroke\\\",\\\"white\\\"],[10,\\\"stroke-width\\\",\\\"2\\\"],[10,\\\"stroke-linecap\\\",\\\"round\\\"],[10,\\\"stroke-linejoin\\\",\\\"round\\\"],[8],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"span\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"removeItemToAgenda\\\",[24,[\\\"model\\\"]]]],[8],[1,[28,\\\"t\\\",[\\\"agenda.meine_agenda\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[14,2],[0,\\\"\\\\n\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-agenda-item/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-agenda/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-agenda/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n\n  const sortAppointment = (a, b) => {\n    let asort = parseInt(a.date.replace(/-/g, '') + a.startAt.replace(/:/g, ''));\n    let bsort = parseInt(b.date.replace(/-/g, '') + b.startAt.replace(/:/g, ''));\n    console.log(asort, bsort);\n    return asort - bsort;\n  };\n\n  const sortAgendaItem = (a, b) => {\n    let asort = null;\n    let bsort = null;\n\n    if (a.isAppointment) {\n      asort = parseInt(a.sortingDate.replace(/-|T|:/g, ''));\n    } else {\n      asort = parseInt(a.programItem.date.replace(/-|T|:/g, ''));\n    }\n\n    if (b.isAppointment) {\n      bsort = parseInt(b.sortingDate.replace(/-|T|:/g, ''));\n    } else {\n      bsort = parseInt(b.programItem.date.replace(/-|T|:/g, ''));\n    }\n\n    return asort - bsort;\n  };\n\n  let AppAgenda = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('appointment'), _dec3 = Ember.inject.service('program'), _dec4 = Ember.inject.service('agenda'), _dec5 = Ember.computed('owningAppointments.@each.requestUser', 'owningAppointments.@each.approved'), _dec6 = Ember.computed.alias('amplify.currentUser'), _dec7 = Ember.computed.alias('amplify.currentClient'), _dec8 = Ember.computed.alias('programService.models.[]'), _dec9 = Ember.computed.filter('appointmentService.models.[]', function (appointment) {\n    return appointment.owner === this.amplify.currentUser.id;\n  }), _dec10 = Ember.computed.sort('agendaService.models.[]', sortAgendaItem), _dec11 = Ember.computed.filter('appointmentService.models.[]', function (appointment) {\n    return appointment.requestUser?.id === this.amplify.currentUser.id && appointment.approved === false;\n  }), _dec12 = Ember.computed.sort('_pendingAppointments.[]', sortAppointment), _dec13 = Ember.computed.filter('appointmentService.models.[]', function (appointment) {\n    console.log('CORR LOG', appointment.approved);\n    return appointment.requestUser?.id === this.amplify.currentUser.id && appointment.approved === true;\n  }), _dec14 = Ember.computed.sort('_approvedAppointments.[]', sortAppointment), _dec15 = Ember.computed('programItems.[]'), _dec16 = Ember._action, _dec17 = Ember._action, (_class = class AppAgenda extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"appointmentService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"programService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"agendaService\", _descriptor4, this);\n      (0, _defineProperty2.default)(this, \"isLoading\", false);\n      (0, _defineProperty2.default)(this, \"errorMsg\", null);\n      (0, _defineProperty2.default)(this, \"model\", void 0);\n      (0, _defineProperty2.default)(this, \"date\", '');\n      (0, _defineProperty2.default)(this, \"startAt\", '');\n      (0, _defineProperty2.default)(this, \"endAt\", '');\n      (0, _defineProperty2.default)(this, \"location\", '');\n      (0, _defineProperty2.default)(this, \"description\", '');\n      (0, _initializerDefineProperty2.default)(this, \"user\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"client\", _descriptor6, this);\n      (0, _defineProperty2.default)(this, \"tabsActive\", true);\n      (0, _initializerDefineProperty2.default)(this, \"programItems\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"owningAppointments\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"agendaItems\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"_pendingAppointments\", _descriptor10, this);\n      (0, _initializerDefineProperty2.default)(this, \"pendingAppointments\", _descriptor11, this);\n      (0, _initializerDefineProperty2.default)(this, \"_approvedAppointments\", _descriptor12, this);\n      (0, _initializerDefineProperty2.default)(this, \"approvedAppointments\", _descriptor13, this);\n    }\n\n    get badgeCounter() {\n      return this.owningAppointments.reduce((accumulator, currentValue) => {\n        if (currentValue.requestUser != null) {\n          return accumulator + 1;\n        }\n      }, 0);\n    }\n\n    get tabs() {\n      let programItems = this.programItems;\n      let tabs = [];\n      programItems = programItems.map(p => {\n        p.sorting = parseInt(p.sorting);\n        return p;\n      });\n      programItems.sort((a, b) => {\n        return a.sorting - b.sorting;\n      });\n      programItems.forEach(element => {\n        tabs.pushObject(moment(element.date, moment.ISO_8601).format('dd DD.MM.YYYY'));\n      }); // create another tab if no agenda items\n\n      tabs = tabs.uniq();\n\n      if (tabs[0] == null) {\n        tabs.push('Bestätigte Termine');\n      }\n\n      return tabs;\n    }\n\n    sortAppointment(a) {\n      a.sort((a, b) => {\n        let asort = parseInt(a.date.replace(/-/g, '') + a.startAt.replace(/:/g, ''));\n        let bsort = parseInt(b.date.replace(/-/g, '') + b.startAt.replace(/:/g, ''));\n        console.log(asort, bsort);\n        return asort - bsort;\n      });\n      return a;\n    }\n\n    sortAgendaItem(a) {\n      a.sort((a, b) => {\n        let asort = null;\n        let bsort = null;\n\n        if (a.isAppointment) {\n          asort = parseInt(a.sortingDate.replace(/-|T|:/g, ''));\n        } else {\n          asort = parseInt(a.programItem.date.replace(/-|T|:/g, ''));\n        }\n\n        if (b.isAppointment) {\n          bsort = parseInt(b.sortingDate.replace(/-|T|:/g, ''));\n        } else {\n          bsort = parseInt(b.programItem.date.replace(/-|T|:/g, ''));\n        }\n\n        return asort - bsort;\n      });\n      return a;\n    }\n\n    openAgenda() {\n      this.set('tabsActive', !this.tabsActive);\n      this.amplify.setAppointmentNotification(null, false);\n    }\n\n    async createAppointment() {\n      if (parseInt(this.startAt.replace(':', '')) >= parseInt(this.endAt.replace(':', ''))) {\n        this.set('errorMsg', this.intl.t('appointment.zeit_validierung'));\n      } else {\n        this.set('isLoading', true);\n\n        try {\n          let changeset = await this.appointmentService.createChangeset({\n            user: this.amplify.currentUser,\n            owner: this.amplify.currentUser.get('id'),\n            date: this.date,\n            startAt: this.startAt,\n            endAt: this.endAt,\n            location: this.location,\n            description: this.description,\n            type: this.intl.t('appointment.freier_termin'),\n            approved: false\n          });\n          this.appointmentService.create(changeset);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          this.set('errorMsg', null);\n          this.set('isLoading', false);\n          this.set('appointmentModal', false);\n        }\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"appointmentService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"programService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"agendaService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"badgeCounter\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"badgeCounter\"), _class.prototype), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"user\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"client\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"programItems\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"owningAppointments\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"agendaItems\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_pendingAppointments\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"pendingAppointments\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_approvedAppointments\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"approvedAppointments\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"tabs\", [_dec15], Object.getOwnPropertyDescriptor(_class.prototype, \"tabs\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"openAgenda\", [_dec16], Object.getOwnPropertyDescriptor(_class.prototype, \"openAgenda\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"createAppointment\", [_dec17], Object.getOwnPropertyDescriptor(_class.prototype, \"createAppointment\"), _class.prototype)), _class));\n  _exports.default = AppAgenda;\n});","define(\"event-components/components/app-agenda/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"n51NsciS\",\n    \"block\": \"{\\\"symbols\\\":[\\\"appointment\\\",\\\"appointment\\\",\\\"appointment\\\",\\\"tabs\\\",\\\"agendaItem\\\"],\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"tabsActive\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[2,\\\" original agenda \\\"],[0,\\\"\\\\n    \\\"],[5,\\\"app-tabs\\\",[],[[\\\"@tabs\\\"],[[22,\\\"tabs\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"openAgenda\\\"]],[8],[1,[28,\\\"t\\\",[\\\"agenda.termine_verwalten\\\"],null],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"hasUnreadAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"btn-badge ml-2\\\"],[8],[0,\\\"!\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[9],[0,\\\"\\\\n      \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.meine_agenda\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"agendaItems\\\"]]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"agendaItems\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,5,[\\\"isAppointment\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[2,\\\" is agenda item \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[28,\\\"eq\\\",[[23,4,[\\\"active\\\"]],[28,\\\"moment-format\\\",[[23,5,[\\\"sortingDate\\\"]],\\\"dd DD.MM.YYYY\\\"],null]],null],[28,\\\"eq\\\",[[23,4,[\\\"active\\\"]],\\\"Bestätigte Termine\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[5,\\\"app-agenda-appointment\\\",[],[[\\\"@appointmentDetails\\\",\\\"@model\\\"],[true,[23,5,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"           \\\"],[2,\\\" is programm item \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[28,\\\"eq\\\",[[23,4,[\\\"active\\\"]],[28,\\\"moment-format\\\",[[23,5,[\\\"programItem\\\",\\\"date\\\"]],\\\"dd DD.MM.YYYY\\\"],null]],null],[28,\\\"eq\\\",[[23,4,[\\\"active\\\"]],[28,\\\"moment-format\\\",[[23,5,[\\\"date\\\"]],\\\"dd DD.MM.YYYY\\\"],null]],null]],null]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[5,\\\"app-agenda-item\\\",[],[[\\\"@model\\\"],[[23,5,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[5]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"no-agenda-items\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"agenda.no_appointments_agenda_message\\\"],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"]],\\\"parameters\\\":[4]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"magic-container\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-card rounded-top-0\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"tabsActive\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"tabsActive\\\"]]],null]]],[8],[1,[28,\\\"t\\\",[\\\"agenda.zueruck_zur_agenda\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[2,\\\" header \\\"],[0,\\\"\\\\n        \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.termin_anbieten\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[2,\\\" create appointment form \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"appointmentModal\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card card-appointment\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"h4\\\",true],[10,\\\"class\\\",\\\"\\\"],[8],[1,[28,\\\"t\\\",[\\\"agenda.termin\\\"],null],false],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"flex\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"datum\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"date\\\"]],\\\"01.01.2021\\\",\\\"date\\\"]]],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.von\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"startAt\\\"]],\\\"09:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.bis\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"endAt\\\"]],\\\"18:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.ort\\\"],null],false],[9],[0,\\\"\\\\n            \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"location\\\"]],\\\"Ort hinzufügen (optional)\\\"]]],false],[0,\\\"\\\\n            \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.beschreibung\\\"],null],false],[9],[0,\\\"\\\\n            \\\"],[1,[28,\\\"textarea\\\",null,[[\\\"rows\\\",\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"maxlength\\\"],[\\\"3\\\",\\\"form-control\\\",[24,[\\\"description\\\"]],\\\"Beschreibung hinzufügen (optional) - max. 300 Zeichen\\\",\\\"300\\\"]]],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"errorMsg\\\"]]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"error-message\\\"],[8],[1,[22,\\\"errorMsg\\\"],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"            \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"createAppointment\\\"]],[8],[1,[28,\\\"t\\\",[\\\"agenda.uebernehmen\\\"],null],false],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"appointmentModal\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"appointmentModal\\\"]]],null]]],[8],[1,[28,\\\"t\\\",[\\\"agenda.termine_anbieten\\\"],null],false],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"isLoading\\\"]]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-spinner\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n      \\\\n      \\\"],[2,\\\" my pending appointments \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"pendingAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.laufende_terminanfragen\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"pendingAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[5,\\\"app-agenda-appointment\\\",[],[[\\\"@appointmentDetails\\\",\\\"@model\\\"],[true,[23,3,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]},null]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n      \\\"],[2,\\\" my approved appointments \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"approvedAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.akzeptierte_terminanfragen\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"approvedAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[5,\\\"app-agenda-appointment\\\",[],[[\\\"@appointmentDetails\\\",\\\"@model\\\"],[true,[23,2,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n      \\\\n      \\\"],[2,\\\" my own appointments \\\"],[0,\\\"\\\\n      \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.meine_termine\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"owningAppointments\\\"]]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"owningAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[5,\\\"app-agenda-appointment-owner\\\",[],[[\\\"@model\\\"],[[23,1,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"no-agenda-items\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"agenda.no_appointments_message\\\"],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-agenda/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-appointments/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-appointments/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n\n  const sortAppointment = (a, b) => {\n    let asort = parseInt(a.date.replace(/-/g, '') + a.startAt.replace(/:/g, ''));\n    let bsort = parseInt(b.date.replace(/-/g, '') + b.startAt.replace(/:/g, ''));\n    console.log(asort, bsort);\n    return asort - bsort;\n  };\n\n  let AppAppointments = (_dec = Ember.inject.service('appointment'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.computed.alias('amplify.currentUser'), _dec4 = Ember.computed.filter('appointmentService.models', function (appointment) {\n    return appointment.owner === this.target.id && appointment.requestUser === null;\n  }), _dec5 = Ember.computed.sort('_openAppointments', sortAppointment), _dec6 = Ember.computed.filter('appointmentService.models', function (appointment) {\n    return appointment.owner === this.target.id && appointment.requestUser?.id === this.amplify.currentUser?.id;\n  }), _dec7 = Ember.computed.sort('_pendingAppointments', sortAppointment), _dec8 = Ember._action, (_class = class AppAppointments extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"appointmentService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"user\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"isLoading\", false);\n      (0, _defineProperty2.default)(this, \"target\", void 0);\n      (0, _defineProperty2.default)(this, \"appointmentModal\", false);\n      (0, _defineProperty2.default)(this, \"date\", '');\n      (0, _defineProperty2.default)(this, \"startAt\", '');\n      (0, _defineProperty2.default)(this, \"endAt\", '');\n      (0, _defineProperty2.default)(this, \"location\", '');\n      (0, _defineProperty2.default)(this, \"description\", '');\n      (0, _initializerDefineProperty2.default)(this, \"_openAppointments\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"openAppointments\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"_pendingAppointments\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"pendingAppointments\", _descriptor7, this);\n    }\n\n    compareDate(a, b) {\n      if (a > b) {\n        return -1;\n      }\n\n      if (a <= b) {\n        return 1;\n      }\n\n      return 0;\n    }\n\n    async createAppointment() {\n      this.amplify.setAppointmentNotification(this.target, true);\n      let {\n        customEmailEndpoint\n      } = Ember.getOwner(this).resolveRegistration('config:environment');\n      fetch(customEmailEndpoint, {\n        method: 'POST',\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n        },\n        body: JSON.stringify({\n          email: this.target.email,\n          emailSender: this.amplify.currentTheme.config.emailsender,\n          subject: this.get('amplify.currentTheme.config.ETAReqSubject').replace(/\\n/g, ''),\n          content: 'empty',\n          emailTemplate: this.get('amplify.currentTheme.config.ETAReq').replace(/\\n/g, '<br />'),\n          data: {\n            owner: this.target,\n            appointment: {\n              user: this.target,\n              requestUser: this.amplify.currentUser.data,\n              date: this.date,\n              startAt: this.startAt,\n              endAt: this.endAt,\n              location: this.location,\n              description: this.description,\n              type: 'Terminanfrage',\n              approved: false\n            }\n          }\n        })\n      }).then(response => response.json());\n\n      if (parseInt(this.startAt.replace(':', '')) >= parseInt(this.endAt.replace(':', ''))) {\n        this.set('errorMsg', this.intl.t('appointment.zeit_validierung'));\n      } else {\n        this.set('isLoading', true);\n\n        try {\n          let changeset = await this.appointmentService.createChangeset({\n            user: this.target,\n            owner: this.target.id,\n            date: this.date,\n            startAt: this.startAt,\n            endAt: this.endAt,\n            location: this.location,\n            description: \"\",\n            type: this.intl.t('appointment.terminanfrage'),\n            approved: false,\n            requestUser: this.amplify.currentUser,\n            requestUserID: this.amplify.currentUser.get('id'),\n            requestion: this.description\n          });\n          this.appointmentService.create(changeset);\n        } catch (e) {\n          console.error(e);\n        } finally {\n          this.set('errorMsg', null);\n          this.set('isLoading', false);\n          this.set('appointmentModal', false);\n        }\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"appointmentService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"user\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_openAppointments\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"openAppointments\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_pendingAppointments\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"pendingAppointments\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"createAppointment\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"createAppointment\"), _class.prototype)), _class));\n  _exports.default = AppAppointments;\n});","define(\"event-components/components/app-appointments/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"50kAwknC\",\n    \"block\": \"{\\\"symbols\\\":[\\\"appointment\\\",\\\"appointment\\\",\\\"imagepath\\\"],\\\"statements\\\":[[2,\\\" profil \\\"],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card profil\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"target\\\",\\\"avatarthumb\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"target\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"profil-image\\\"],[11,\\\"src\\\",[29,[[23,3,[]]]]],[8],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[3]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"profil-image\\\"],[8],[0,\\\"\\\\n            \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"target\\\",\\\"firstname\\\"]]],null],false],[0,\\\" \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"target\\\",\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"profil-name\\\"],[8],[0,\\\"\\\\n        \\\"],[1,[24,[\\\"target\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"target\\\",\\\"lastname\\\"]],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[2,\\\" header \\\"],[0,\\\"\\\\n\\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"appointment.terminanfrage\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[2,\\\" individual appointment \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"appointmentModal\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card card-appointment mb-8\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card-header\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"h4\\\",true],[10,\\\"class\\\",\\\"\\\"],[8],[1,[28,\\\"t\\\",[\\\"agenda.termin\\\"],null],false],[9],[0,\\\"\\\\n            \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-action\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"appointmentModal\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"appointmentModal\\\"]]],null]]],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-close\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"flex\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"datum\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"date\\\"]],\\\"01.01.2021\\\",\\\"date\\\"]]],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.von\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"startAt\\\"]],\\\"09:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"appointment-date-input\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.bis\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"type\\\"],[\\\"form-control\\\",[24,[\\\"endAt\\\"]],\\\"18:00\\\",\\\"time\\\"]]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.ort\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"location\\\"]],\\\"Ort hinzufügen (optional)\\\"]]],false],[0,\\\"\\\\n        \\\"],[7,\\\"label\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.beschreibung\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[1,[28,\\\"textarea\\\",null,[[\\\"rows\\\",\\\"class\\\",\\\"value\\\",\\\"placeholder\\\",\\\"maxlength\\\"],[\\\"3\\\",\\\"form-control\\\",[24,[\\\"description\\\"]],\\\"Beschreibung hinzufügen (optional) - max. 300 Zeichen\\\",\\\"300\\\"]]],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"errorMsg\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"error-message\\\"],[8],[1,[22,\\\"errorMsg\\\"],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"createAppointment\\\"]],[8],[1,[28,\\\"t\\\",[\\\"appointment.individuelle_terminanfrage_stellen\\\"],null],false],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"isLoading\\\"]]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-spinner\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-fullwidth btn-success mb-8\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"appointmentModal\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"appointmentModal\\\"]]],null]]],[8],[1,[28,\\\"t\\\",[\\\"appointment.individuelle_terminanfrage_stellen\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[2,\\\" appointments \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[24,[\\\"openAppointments\\\"]],[24,[\\\"pendingAppointments\\\"]]],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"openAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.offene_termine\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"openAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"app-agenda-appointment\\\",[],[[\\\"@model\\\"],[[23,2,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"pendingAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"h3\\\",true],[8],[1,[28,\\\"t\\\",[\\\"agenda.laufende_terminanfragen\\\"],null],false],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"pendingAppointments\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"app-agenda-appointment\\\",[],[[\\\"@model\\\"],[[23,1,[]]]],{\\\"statements\\\":[],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"no-appointments\\\"],[8],[1,[24,[\\\"target\\\",\\\"firstname\\\"]],false],[0,\\\" \\\"],[1,[24,[\\\"target\\\",\\\"lastname\\\"]],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.bietet_aktuell_keine_Termine_an\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-appointments/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-avatar-module/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-avatar-module/template\", \"ember-concurrency-decorators\", \"@ember-decorators/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _emberConcurrencyDecorators, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let AppAvatarModule = (_dec = (0, _component.classNames)('app-avatar-module'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('user'), _dec4 = Ember.inject.service('answer'), _dec5 = Ember.inject.service('question'), _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = (0, _emberConcurrencyDecorators.task)(), _dec(_class = (_class2 = class AppAvatarModule extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"answerService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"questionService\", _descriptor4, this);\n      (0, _defineProperty2.default)(this, \"model\", void 0);\n      (0, _defineProperty2.default)(this, \"openPhoto\", false);\n      (0, _defineProperty2.default)(this, \"user\", void 0);\n      (0, _defineProperty2.default)(this, \"isInvalid\", false);\n      this.set('model', this.loadModel());\n    }\n\n    async loadModel() {\n      const client = await this.amplify.get('currentClient');\n      const user = await this.amplify.get('currentUser');\n      const questions = await this.questionService.findAll();\n      const answers = await this.answerService.findAll();\n      const model = {\n        answers: questions.filterBy('isHiddenInProfile', false),\n        questions: answers,\n        user,\n        client\n      };\n      return model;\n    }\n\n    *createAvatar(event) {\n      try {\n        const file = event.target.files[0];\n        let reader = new FileReader();\n        reader.addEventListener('load', () => {\n          this.set('image', reader.result);\n        }, false);\n        reader.readAsDataURL(file);\n        console.log(file);\n        const filekey = `${this.amplify.currentClient.id}/${this.amplify.currentUser.id}/avatar/${file.name}`;\n        let result = yield this.get('amplify').Storage.put(filekey, file, {\n          contentType: 'image/jpg',\n          level: 'public'\n        });\n        let fileModel = {\n          key: result.key\n        };\n        this.set('amplify.currentUser.avatar', fileModel);\n        this.set('amplify.currentUser.avatarthumb', fileModel);\n        let user = yield this.submitForm2.perform(this.get('amplify.currentUser'));\n        console.log(user);\n        this.editImage();\n        return user;\n      } catch (e) {\n        this.get('amplify').Logger.error('[File Upload] ', e);\n      }\n    }\n\n    uploadImage() {\n      document.getElementById('avatar-upload')?.click();\n    }\n\n    editImage() {\n      this.set('openPhoto', true);\n    }\n\n    *submitForm2(data) {\n      let user = yield this.userService.update(data);\n      return this.userService.findById(data.id);\n    }\n\n    *submitForm(data) {\n      console.log(data);\n      let user = yield this.userService.update(data);\n      return this.userService.findById(data.id);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"answerService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"questionService\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"createAvatar\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"createAvatar\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"uploadImage\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"uploadImage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"editImage\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"editImage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"submitForm2\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"submitForm2\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"submitForm\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"submitForm\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppAvatarModule;\n});","define(\"event-components/components/app-avatar-module/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"J+TLk1LS\",\n    \"block\": \"{\\\"symbols\\\":[\\\"model\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"async-await\\\",[[23,0,[\\\"model\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-content\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"correct-margin-profil\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"row\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"col-50\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"h3\\\",true],[8],[0,\\\"\\\\n              \\\"],[1,[28,\\\"t\\\",[\\\"profil\\\"],null],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"col-50 avatar-container\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"input\\\",true],[10,\\\"id\\\",\\\"avatar-upload\\\"],[11,\\\"onchange\\\",[28,\\\"perform\\\",[[24,[\\\"createAvatar\\\"]]],null]],[10,\\\"style\\\",\\\"display:none;\\\"],[10,\\\"type\\\",\\\"file\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatar\\\"]]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"div\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"editImage\\\"]],[8],[0,\\\"\\\\n                \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@removeCache\\\",\\\"@tagless\\\"],[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatarthumb\\\"]],false,true]],{\\\"statements\\\":[[0,\\\"\\\\n                  \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"avatar-image\\\"],[11,\\\"id\\\",[29,[\\\"avatar-thumb-image-\\\\n                      \\\",[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatarthumb\\\",\\\"id\\\"]]]]],[11,\\\"src\\\",[29,[[23,2,[]]]]],[10,\\\"alt\\\",\\\"Avatar\\\"],[8],[9],[0,\\\"\\\\n                \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"no-avater\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"uploadImage\\\"]],[8],[0,\\\"\\\\n                \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-user\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"edit-avatar\\\"],[8],[0,\\\"\\\\n                  \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-pencil\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[5,\\\"app-fragebogen\\\",[],[[\\\"@showSaveButton\\\",\\\"@client\\\",\\\"@isProfile\\\"],[false,[23,1,[\\\"client\\\"]],true]]],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[4,\\\"if\\\",[[24,[\\\"openPhoto\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"app-avatar-photo-detail\\\",[],[[\\\"@onClose\\\"],[[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"openPhoto\\\"]]],null],false],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[14,3]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-avatar-module/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-avatar-photo-detail/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-avatar-photo-detail/template\", \"ember-concurrency-decorators\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _emberConcurrencyDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2;\n\n  let AppAvatarPhotoDetail = (_dec = Ember.inject.service('user'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember._action, (_class = class AppAvatarPhotoDetail extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n    }\n\n    *createAvatarFromBlob(blob) {\n      try {\n        const filekey = `${this.amplify.currentClient.id}/${this.amplify.currentUser.id}/avatar/${Date.now()}-thumb.jpg`;\n        let result = yield this.get('amplify').Storage.put(filekey, blob, {\n          contentType: 'image/jpg',\n          level: 'public'\n        });\n        let fileUrl = yield this.get('amplify').Storage.get(result.key, {\n          expires: 60,\n          level: 'public'\n        });\n        let fileModel = {\n          key: result.key\n        };\n        let user = yield this.submitThumbForm.perform({\n          file: fileModel\n        });\n        this.onClose();\n        return user;\n      } catch (e) {\n        this.get('amplify').Logger.error('[File Upload] ', e);\n      }\n    }\n\n    *submitThumbForm(data) {\n      let {\n        file\n      } = data;\n      this.amplify.set('currentUser.avatarthumb', file);\n      let user = yield this.userService.update(this.amplify.currentUser);\n      return user;\n    }\n\n    *submitForm(data) {\n      let {\n        file\n      } = data;\n      this.amplify.set('currentUser.avatar', file);\n      let user = yield this.userService.update(this.amplify.currentUser);\n      return user;\n    }\n\n    *removeImage() {\n      this.amplify.set('currentUser.avatarthumb', null);\n      this.amplify.set('currentUser.avatar', null);\n      let user = yield this.userService.update(this.amplify.get('currentUser'));\n      return user;\n    }\n\n    uploadImage() {\n      document.getElementById('avataer-upload')?.click();\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"createAvatarFromBlob\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"createAvatarFromBlob\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"submitThumbForm\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"submitThumbForm\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"submitForm\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"submitForm\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"removeImage\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"removeImage\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"uploadImage\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"uploadImage\"), _class.prototype)), _class));\n  _exports.default = AppAvatarPhotoDetail;\n});","define(\"event-components/components/app-avatar-photo-detail/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"PoV8JuPK\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatar\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatar\\\"]],true]],{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[5,\\\"app-avatar-photo\\\",[],[[\\\"@file\\\",\\\"@onDataChange\\\"],[[23,1,[]],[22,\\\"createAvatarFromBlob\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[7,\\\"button\\\",true],[10,\\\"class\\\",\\\"btn btn-primary btn-lg px-4\\\"],[11,\\\"onclick\\\",[28,\\\"perform\\\",[[24,[\\\"removeImage\\\"]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"loeschen\\\"],null],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-avatar-photo-detail/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-avatar-photo/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-cli-image-cropper/components/image-cropper\", \"@ember-decorators/component\", \"event-components/components/app-avatar-photo/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _imageCropper, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor;\n\n  let AppAvatarPhoto = (_dec = (0, _component.classNames)(\"app-avatar-photo\"), _dec2 = Ember.inject.service(), _dec3 = Ember._action, _dec(_class = (_class2 = class AppAvatarPhoto extends _imageCropper.default.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"aspectRatio\", 1);\n      (0, _defineProperty2.default)(this, \"minCropBoxWidth\", 100);\n      (0, _defineProperty2.default)(this, \"minCropBoxHeight\", 100);\n      (0, _defineProperty2.default)(this, \"cropperContainer\", \".cropper-container > img\");\n      (0, _defineProperty2.default)(this, \"previewClass\", \".img-preview\");\n      (0, _defineProperty2.default)(this, \"croppedAvatar\", null);\n      (0, _defineProperty2.default)(this, \"checkCrossOrigin\", false);\n    }\n\n    didRecieveAttr() {}\n\n    didInsertElement() {\n      this._super(...arguments);\n\n      let properties;\n      properties = this.getProperties(\"cropperContainer\", \"aspectRatio\", \"crop\", \"previewClass\", \"viewMode\", \"dragMode\", \"responsive\", \"center\", \"checkCrossOrigin\", \"toggleDragModeOnDblclick\", \"background\", \"modal\", \"guides\", \"highlight\", \"autoCrop\", \"autoCropArea\", \"dragDrop\", \"movable\", \"resizable\", \"zoomable\", \"zoomOnWheel\", \"zoomOnTouch\", \"cropBoxMovable\", \"cropBoxResizable\", \"rotateable\", \"minContainerWidth\", \"minContainerHeight\", \"minCropBoxWidth\", \"minCropBoxHeight\", \"build\", \"built\", \"dragStart\", \"dragMove\", \"dragEnd\", \"zoomin\", \"zoomout\", \"ready\", \"data\");\n      properties[\"preview\"] = properties[\"previewClass\"];\n      delete properties[\"previewClass\"];\n      let image = document.querySelector(properties[\"cropperContainer\"]);\n      const cropper = new Cropper(image, properties);\n      this.set(\"cropper\", cropper);\n      let croppedImage = cropper.getCroppedCanvas();\n      let cropping = window.localStorage.getItem(\"cropping\");\n\n      if (cropping !== null) {\n        console.log(\"set crop data\", JSON.parse(cropping));\n        this.get(\"cropper\").setCropBoxData(JSON.parse(cropping));\n      }\n\n      image.addEventListener(\"crop\", event => {\n        this.get(\"cropper\").getCroppedCanvas({\n          width: 300,\n          height: 300,\n          fillColor: '#fff',\n          imageSmoothingEnabled: true,\n          imageSmoothingQuality: 'high'\n        }).toBlob(value => {\n          this.blob = value;\n        }, 'image/jpeg', 1);\n      });\n    }\n\n    willDestroy() {\n      let cropConfig = this.get(\"cropper\").getCropBoxData();\n      window.localStorage.setItem(\"cropping\", JSON.stringify(cropConfig));\n    }\n\n    async updateImage() {\n      await this.onDataChange.perform(this.blob);\n      this.router.transitionTo(\"profil\");\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"router\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"updateImage\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateImage\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppAvatarPhoto;\n});","define(\"event-components/components/app-avatar-photo/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"rwgiJRbV\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"grid\\\"],[8],[0,\\\"\\\\n\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"cropper-container flex-centered\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"img\\\",true],[10,\\\"id\\\",\\\"avatar\\\"],[11,\\\"src\\\",[22,\\\"file\\\"]],[10,\\\"alt\\\",\\\"avatar\\\"],[10,\\\"crossorigin\\\",\\\"\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-group-lg avatar-edit-group py-4  flex-self-end\\\"],[8],[0,\\\"\\\\n    \\\"],[14,1],[0,\\\"\\\\n    \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-primary px-4\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"updateImage\\\"]],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"speichern\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-avatar-photo/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-avatar-upload/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/app-avatar-upload/template\"], function (_exports, _defineProperty2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // @ts-ignore: Ignore import of compiled template\n  class AppAvatarUpload extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n    didInsertElement() {\n      document.getElementById(\"avatar-upload\")?.click();\n    }\n\n  }\n\n  _exports.default = AppAvatarUpload;\n});","define(\"event-components/components/app-avatar-upload/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Cr2g97JO\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"label\\\",true],[8],[0,\\\"\\\\n  \\\"],[7,\\\"input\\\",true],[10,\\\"id\\\",\\\"avatar-upload\\\"],[11,\\\"onchange\\\",[28,\\\"perform\\\",[[24,[\\\"onFileChange\\\"]]],null]],[10,\\\"style\\\",\\\"display:none:\\\"],[10,\\\"type\\\",\\\"file\\\"],[8],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-avatar-upload/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-chat-pm-messages/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-chat-pm-messages/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class, _descriptor;\n\n  let AppChatPmMessages = (_dec = Ember.inject.service(\"chat\"), (_class = class AppChatPmMessages extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chatService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class));\n  _exports.default = AppChatPmMessages;\n});","define(\"event-components/components/app-chat-pm-messages/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"QW0tn+4w\",\n    \"block\": \"{\\\"symbols\\\":[\\\"message\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[14,3],[0,\\\"\\\\n\\\"],[7,\\\"style\\\",true],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"chatService\\\",\\\"unreadPmMessages\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,1,[\\\"user\\\",\\\"avatarthumb\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-avatar right private-message\\\"],[8],[0,\\\"\\\\n        \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,1,[\\\"user\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[11,\\\"src\\\",[29,[[23,2,[]]]]],[8],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card-header\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"chat.von\\\"],null],false],[0,\\\"\\\\n      \\\"],[1,[23,1,[\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n      \\\"],[1,[23,1,[\\\"user\\\",\\\"lastname\\\"]],false],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"chat.um\\\"],null],false],[0,\\\"\\\\n      \\\"],[1,[28,\\\"moment-format\\\",[[23,1,[\\\"createdAt\\\"]],\\\"H:mm\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"card-body\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"chat.nachricht\\\"],null],false],[0,\\\":\\\\n      \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n      \\\"],[1,[23,1,[\\\"message\\\"]],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"chat.no_private_message\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-chat-pm-messages/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-chat-pm/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-chat-pm/template\", \"@ember-decorators/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor;\n\n  let AppChatPm = (_dec = (0, _component.classNames)('app-chat-pm'), _dec2 = Ember.inject.service('chatroom'), _dec3 = Ember._action, _dec(_class = (_class2 = class AppChatPm extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"message\", '');\n    }\n\n    async createPm() {\n      await this.chatService.newChatline(this.message, this.target.id);\n      this.set('target', null);\n      this.set('message', '');\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"createPm\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"createPm\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppChatPm;\n});","define(\"event-components/components/app-chat-pm/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"pYndGHrs\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",false],[12,\\\"style\\\",\\\"float:right;\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"target\\\"]]],null],null]],[8],[0,\\\"\\\\n  \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-remove\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[7,\\\"label\\\",true],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"t\\\",[\\\"chat.private_nachricht\\\"],null],false],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[1,[28,\\\"textarea\\\",null,[[\\\"value\\\",\\\"class\\\"],[[24,[\\\"message\\\"]],\\\"form-control\\\"]]],false],[0,\\\"\\\\n\\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-lg btn-primary\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"createPm\\\"]],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"t\\\",[\\\"senden\\\"],null],false],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-chat-pm/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-chat-private/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-chat/component\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"event-components/components/app-chat-private/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _component2, _object, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n\n  let AppChat = (_dec = (0, _component2.classNames)('app-chat'), _dec2 = Ember.inject.service('chatroom'), _dec3 = Ember.inject.service('privatechatline'), _dec4 = Ember.inject.service('user'), _dec5 = Ember._action, _dec6 = (0, _object.observes)('currentChatroom'), _dec7 = (0, _object.observes)('amplify.unreadMessages.[]'), _dec8 = Ember._action, _dec9 = Ember._action, _dec(_class = (_class2 = class AppChat extends _component.default.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"chatIsPrivate\", true);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"chatlineService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"autoScroll\", true);\n      (0, _defineProperty2.default)(this, \"isInitialized\", true);\n    }\n\n    videocall(id) {\n      const iframe = document.getElementById('videochat');\n\n      if (iframe != null) {\n        this.amplify.set('videoChatOpen', true);\n        iframe.contentWindow.postMessage({\n          type: 'invite',\n          data: id\n        }, '*');\n      }\n    }\n\n    onCurrentChatroom() {\n      if (this.currentChatroom === null) {\n        this.autoScroll = true;\n      }\n    }\n\n    onNewChatline() {\n      if (!this.autoScroll) {\n        return;\n      }\n\n      Ember.run.later(() => {\n        window.scrollTo({\n          top: document.body.scrollHeight,\n          left: 0,\n          behavior: 'smooth'\n        });\n      }, 500);\n    }\n\n    didReceiveAttrs() {\n      this.loadChatlines.perform();\n    }\n\n    didInsertElement() {\n      if (this.amplify.target && this.amplify.target.get) {\n        this.openPrivateChat(this.amplify.target);\n        this.amplify.set(\"target\", \"\");\n      }\n\n      $('.app-chat').on('wheel', () => {\n        const appChat = document.getElementsByClassName('ember-application')[0];\n\n        if (document.documentElement.scrollHeight === window.pageYOffset + window.innerHeight) {\n          this.set('autoScroll', true);\n        } else {\n          this.set('autoScroll', false);\n        }\n      });\n    }\n\n    readMessage(chatline) {\n      this.amplify.readMessage(chatline);\n    }\n\n    scrollToBottom() {\n      console.log(this.isInitialized, this.autoScroll);\n\n      if (this.isInitialized && this.autoScroll && this.currentChatroom !== null) {\n        window.scrollTo(0, document.body.scrollHeight);\n        document.getElementsByClassName('app-chat')[0].scrollTop = document.getElementsByClassName('app-chat')[0].scrollHeight;\n      }\n    }\n\n    async newChatline(event) {\n      if (this.chatmessage === '') {\n        return;\n      }\n\n      let owner = (await this.amplify.Auth.currentSession()).getIdToken().payload['cognito:username'];\n      let chatline = await this.chatlineService.createChangeset({\n        chatroomID: this.get('currentChatroom.id'),\n        message: this.chatmessage,\n        user: this.get('amplify.currentUser')\n      });\n\n      if (this.chatIsPrivate) {\n        chatline.set('owner', this.amplify.currentUser.username);\n      }\n\n      this.chatlineService.create(chatline);\n      let target = null;\n\n      if (this.currentChatroom.privateuser[0] === this.amplify.currentUser.username) {\n        target = this.currentChatroom.privateuser[1];\n      } else {\n        target = this.currentChatroom.privateuser[0];\n      }\n\n      this.amplify.currentUser.set('lastactive', parseInt(Date.now() / 1000).toString());\n      await this.userService.update(this.amplify.currentUser);\n      let chatline2 = await this.chatlineService.createChangeset({\n        chatroomID: this.get('currentChatroom.id'),\n        message: this.chatmessage,\n        user: this.get('amplify.currentUser')\n      });\n\n      if (this.chatIsPrivate) {\n        chatline2.set('owner', target);\n      }\n\n      this.chatlineService.create(chatline2);\n      this.set('chatmessage', '');\n      Ember.run.later(() => {\n        window.scrollTo({\n          top: document.body.scrollHeight,\n          left: 0,\n          behavior: 'smooth'\n        });\n      }, 500); //this.set(\"chatmessage\", \"\");\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatlineService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"videocall\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"videocall\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onCurrentChatroom\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"onCurrentChatroom\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onNewChatline\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"onNewChatline\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"readMessage\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"readMessage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"newChatline\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"newChatline\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppChat;\n});","define(\"event-components/components/app-chat-private/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Xek7XCI9\",\n    \"block\": \"{\\\"symbols\\\":[\\\"chatroom\\\",\\\"index\\\",\\\"user\\\",\\\"index\\\",\\\"imagepath\\\",\\\"chatline\\\",\\\"imagepath\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[14,9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"currentChatroom\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[10,\\\"style\\\",\\\"margin: 10px; flex: 0 1 auto\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"chat.ete_message\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"fill-avail\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"chatMessages\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,6,[\\\"system\\\"]],true],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,6,[\\\"message\\\"]],\\\"VideochatEnded\\\"],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"system-chat-box\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-phone\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n            Videocall beendet -\\\\n            \\\"],[1,[23,6,[\\\"videochatMessage\\\",\\\"duration\\\"]],false],[0,\\\"\\\\n            -\\\\n            \\\"],[1,[28,\\\"moment-from-now\\\",[[28,\\\"moment\\\",[[23,6,[\\\"createdAt\\\"]]],null]],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"system-chat-box declined\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-phone\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"videochatMessage\\\",\\\"target\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"              Nutzer beschäftigt\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              Videocall verpasst\\\\n              \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"btn btn-secondary btn-call\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"videocall\\\",[23,6,[\\\"videochatMessage\\\",\\\"target\\\"]]]],[8],[0,\\\"\\\\n                Zurückrufen\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            -\\\\n            \\\"],[1,[28,\\\"moment-from-now\\\",[[28,\\\"moment\\\",[[23,6,[\\\"createdAt\\\"]]],null]],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]],[23,6,[\\\"owner\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"chat-box\\\\n            \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"user\\\",\\\"id\\\"]]],null],\\\"chat-box-right\\\",\\\"chat-box-left\\\"],null]]]],[3,\\\"did-insert\\\",[[28,\\\"fn\\\",[[23,0,[\\\"readMessage\\\"]],[23,6,[]]],null]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,6,[\\\"user\\\",\\\"avatarthumb\\\"]],[28,\\\"not-eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"user\\\",\\\"id\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"chat-box-avatar\\\\n                \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"user\\\",\\\"id\\\"]]],null],\\\"right\\\",\\\"left\\\"],null]]]],[8],[0,\\\"\\\\n              \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,6,[\\\"user\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[11,\\\"src\\\",[29,[[23,8,[]]]]],[8],[9],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[8]}],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-body\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-header\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"username\\\"],[8],[0,\\\"\\\\n                \\\"],[1,[23,6,[\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"if\\\",[[28,\\\"not-eq\\\",[[23,6,[\\\"user\\\",\\\"lastname\\\"]],\\\"Anonym\\\"],null],[23,6,[\\\"user\\\",\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n              \\\"],[5,\\\"live-datetime\\\",[],[[\\\"@timestamp\\\"],[[23,6,[\\\"createdAt\\\"]]]]],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-body\\\"],[8],[0,\\\"\\\\n              \\\"],[1,[23,6,[\\\"message\\\"]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"triangle\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,6,[\\\"user\\\",\\\"avatarthumb\\\"]],[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"user\\\",\\\"id\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"chat-box-avatar\\\\n                \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,6,[\\\"user\\\",\\\"id\\\"]]],null],\\\"right\\\",\\\"left\\\"],null]]]],[8],[0,\\\"\\\\n              \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,6,[\\\"user\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[11,\\\"src\\\",[29,[[23,7,[]]]]],[8],[9],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[7]}],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[6]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"id\\\",\\\"finale\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-input-wrapper\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[23,0,[\\\"autoScroll\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"button\\\",false],[12,\\\"id\\\",\\\"start-auto-scroll\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"enableAutoScroll\\\"]],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"chat.zurueck_nach_unten\\\"],null],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\"],[\\\"chat-input\\\",[24,[\\\"chatmessage\\\"]]]]],false],[0,\\\"\\\\n    \\\"],[7,\\\"button\\\",false],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"newChatline\\\"]],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"senden\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[10,\\\"style\\\",\\\"margin: 10px; text-align: center;\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"chat.pm_info\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"chatService\\\",\\\"models\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"and\\\",[[23,1,[\\\"privateuser\\\"]],[28,\\\"includes\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]],[23,1,[\\\"privateuser\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-headerimage\\\"],[8],[0,\\\"\\\\n          \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,1,[\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,5,[]]]]],[8],[9],[0,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card-header\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,1,[\\\"initiatorUsername\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,1,[\\\"initiatorUsername\\\"]],[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"              Privater Chat: \\\"],[1,[23,1,[\\\"targetName\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              Privater Chat: \\\"],[1,[23,1,[\\\"initiatorName\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"includes\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]],[23,1,[\\\"privateuser\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"          \\\\n\\\"],[4,\\\"each\\\",[[23,1,[\\\"privateuser\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"not-eq\\\",[[23,3,[]],[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[1,[28,\\\"t\\\",[\\\"chat.privater_chat\\\"],null],false],[0,\\\": \\\"],[1,[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]],[23,3,[]]],null],\\\"\\\",[28,\\\"replace\\\",[[23,0,[\\\"amplify\\\",\\\"currentClient\\\",\\\"kuerzel\\\"]],\\\"\\\",[23,3,[]]],null]],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"           \\\\n\\\"]],\\\"parameters\\\":[3,4]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"            nicht meiner\\\\n          \\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}],[0,\\\"        \\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"hr\\\",true],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card-body\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[23,1,[\\\"text\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@showCheck\\\",\\\"@task\\\",\\\"@args\\\"],[false,[22,\\\"joinChatroom\\\"],[23,1,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[23,0,[\\\"amplify\\\",\\\"unreadMessages\\\"]]],null],\\\"length\\\"],null],0],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[23,0,[\\\"amplify\\\",\\\"unreadMessages\\\"]]],null],\\\"length\\\"],null],99],null]],null,{\\\"statements\\\":[[0,\\\"                99+\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[1,[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[23,0,[\\\"amplify\\\",\\\"unreadMessages\\\"]]],null],\\\"length\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[1,[28,\\\"t\\\",[\\\"chat.go\\\"],null],false],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[1,2]},{\\\"statements\\\":[[0,\\\"    \\\"],[1,[28,\\\"t\\\",[\\\"chat.no_chatroom_message\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-chat-private/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-chat-profiles/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/object\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/app-chat-profiles/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _object, _component, _emberConcurrencyDecorators, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\n  let AppChatProfiles = (_dec = (0, _component.classNames)('app-chat-profiles'), _dec2 = Ember.inject.service('chatroom'), _dec3 = Ember.inject.service('user'), _dec4 = Ember.inject.service('question'), _dec5 = Ember.inject.service('services/amplify'), _dec6 = Ember.inject.service('router'), _dec7 = Ember.computed.alias('userService.models.[]'), _dec8 = Ember._action, _dec9 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, _dec15 = Ember._action, _dec16 = Ember._action, _dec17 = Ember.computed('profiles.[]'), _dec18 = (0, _object.observes)('filter', 'profiles.[]', 'profiles.@each.company', 'profiles.@each.notifications', 'profiles.@each.publicprofile', 'activeFilter', 'activeSearch', 'activeSearch2', 'onlyFavs', 'toggleList'), _dec19 = Ember.computed('filterquestions.[]'), _dec(_class = (_class2 = class AppChatProfiles extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    toggleFavFilter() {\n      this.set('activeFilter', null);\n      this.set('activeSearch', null);\n      this.set('activeSearch2', null);\n      this.toggleProperty('onlyFavs');\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"questionService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"profiles\", _descriptor6, this);\n      (0, _defineProperty2.default)(this, \"engine\", void 0);\n      (0, _defineProperty2.default)(this, \"filter\", '');\n      (0, _defineProperty2.default)(this, \"activeFilter\", null);\n      (0, _defineProperty2.default)(this, \"activeSearch\", null);\n      (0, _defineProperty2.default)(this, \"activeSearch2\", '');\n      (0, _defineProperty2.default)(this, \"activeProfile\", null);\n      (0, _defineProperty2.default)(this, \"onlyFavs\", false);\n      (0, _defineProperty2.default)(this, \"toggleList\", false);\n      (0, _defineProperty2.default)(this, \"target\", null);\n      (0, _defineProperty2.default)(this, \"appointmentTarget\", null);\n      (0, _defineProperty2.default)(this, \"filteredProfiles\", null);\n      this.amplify.on('nav:goback', this, 'onHistoryBack');\n      this.amplify.on('nav:gotoprivate', this, 'openPrivateChat');\n      this.loadProfiles.perform();\n    }\n\n    async openPrivateChat(target) {\n      this.set('amplify.componentName', \"app-chat-private\");\n      this.set('amplify.currentModule', \"Chat\");\n      this.set('amplify.target', target);\n      this.set('amplify.fromComponent', \"profiles\");\n\n      if (!this.isStreamingApp) {\n        this.router.transitionTo(\"chat.private\");\n      }\n\n      console.log(this.amplify.componentName); // let rooms = await this.chatService.findAll();\n      // let privateRooms = rooms.filter((r) => {\n      //   if (r.get('privateuser') == null) {\n      //     return false;\n      //   }\n      //   return (\n      //     r\n      //       .get('privateuser')\n      //       .includes(this.amplify.get('currentUser.username')) &&\n      //     r.get('privateuser').includes(target.username)\n      //   );\n      // });\n      // if (privateRooms.length === 0) {\n      //   let roomSet = this.chatService.createChangeset({\n      //     privateuser: [\n      //       this.amplify.get('currentUser.username'),\n      //       target.username,\n      //     ],\n      //     name: `Privater Chat: ${this.amplify.get(\n      //       'currentUser.firstname'\n      //     )} ${this.amplify.get('currentUser.lastname')}`,\n      //     text: '',\n      //     autoEnter: false,\n      //   });\n      //   let roomn = await this.chatService.create(roomSet);\n      //   this.set('currentChatroom', roomn);\n      // } else {\n      //   this.set('currentChatroom', privateRooms.firstObject);\n      // }\n    }\n\n    willDestroy() {\n      this.set('currentChatroom', null);\n      this.set('target', null);\n      this.amplify.off('nav:goback', this, 'onHistoryBack');\n      this.amplify.off('nav:gotoprivate', this, 'openPrivateChat');\n    }\n\n    onHistoryBack() {\n      this.set('currentChatroom', null);\n      this.set('target', null);\n    }\n\n    async addFav(profile) {\n      await this.amplify.addFavToProfile(profile); //await this.loadProfiles.perform();\n    }\n\n    async removeFav(profile) {\n      await this.amplify.removeFavToProfile(profile); //await this.loadProfiles.perform();\n    }\n\n    changeFilter(filter) {\n      if (filter === null) {\n        this.set('activeFilter', null);\n        return;\n      }\n\n      this.set('activeFilter', filter);\n      this.set('filter', '');\n      this.set('activeSearch', '');\n    }\n\n    changeSearchFilter(filter) {\n      if (filter === null) {\n        this.set('activeSearch', null);\n        return;\n      }\n\n      this.set('activeSearch', filter.title);\n      this.set('filter', '');\n    }\n\n    inviteUserToVideoChat(userId) {\n      this.amplify.trigger('videochat:invite', userId);\n    }\n\n    appointmentRequest(profile) {}\n\n    videocall(profile) {\n      const iframe = document.getElementById('videochat');\n\n      if (iframe != null) {\n        this.amplify.set('videoChatOpen', true);\n        iframe.contentWindow.postMessage({\n          type: 'invite',\n          data: profile.id\n        }, '*');\n      }\n    }\n\n    didReceiveAttrs() {\n      this.filteredProfilesOberserver();\n    }\n\n    get mappedProfiles() {\n      return this.get('profiles').map(p => {\n        return {\n          p: p.publicprofile,\n          u: p.username\n        };\n      });\n    }\n\n    filteredProfilesOberserver() {\n      let filter = this.activeFilter;\n      let profiles = this.profiles.filterBy('publicprofile', true);\n      let activeSearch = this.activeSearch ? this.activeSearch : this.activeSearch2;\n\n      if (activeSearch !== null) {\n        activeSearch = activeSearch.toLowerCase();\n      }\n\n      if (this.onlyFavs) {\n        let fProfiles = profiles.filter(p => {\n          if (!this.amplify.currentUser.favs) {\n            return false;\n          }\n\n          return this.amplify.currentUser.favs.findBy('id', p.id) !== undefined;\n        });\n        this.set('filteredProfiles', fProfiles.slice(0, 50));\n        return;\n      }\n\n      if (this.activeFilter !== null && !Ember.isEmpty(activeSearch) && activeSearch.length >= 2) {\n        profiles = profiles.filter(profile => {\n          // Filter out our user\n          if (profile.id == this.amplify.currentUser.id) return false;\n          let type = filter.question.get('profileFieldType');\n          let profileValue = profile.get(filter.question.get('profileField'));\n          if (!profileValue) return;\n\n          if (profileValue.toLowerCase) {\n            profileValue = profileValue.toLowerCase();\n          }\n\n          let rawIndex = filter.question.get(`values`).indexOf(activeSearch).toString();\n          if (!profileValue) return false;\n\n          if (type === 'BOOLEAN') {\n            let tValue = filter.question.get('truthyAnswer');\n            profileValue = filter.question.get(`values`).map(v => v.toLowerCase ? v.toLowerCase() : v).indexOf(activeSearch).toString().toLowerCase() === tValue.toLowerCase() === profileValue;\n            return profileValue;\n          }\n\n          if (type === 'ARRAY' || 'STRING') {\n            return profileValue.includes(activeSearch) || profileValue.includes(rawIndex);\n          }\n\n          if (type === 'NUMBER') {\n            return profileValue.toString().toLowerCase() === activeSearch;\n          }\n        });\n      }\n\n      this.set('filteredProfiles', profiles.slice(0, 50));\n    }\n\n    decodeHTMLEntities(text) {\n      var div = document.createElement('div');\n      div.innerHTML = text;\n      let value = div.textContent || div.innerText || \"\";\n      div.remove();\n      return value;\n    }\n\n    get filters() {\n      if (!this.filterquestions) {\n        return [];\n      }\n\n      return this.filterquestions.map((q, i) => {\n        return {\n          id: q.id,\n          title: this.decodeHTMLEntities(q.question),\n          question: q\n        };\n      });\n    }\n\n    *loadProfiles() {\n      try {\n        const questions = yield this.questionService.findAll();\n        this.set('filterquestions', questions.filterBy('isProfileFilter', true));\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"questionService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"router\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"profiles\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"toggleFavFilter\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleFavFilter\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"openPrivateChat\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"openPrivateChat\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"addFav\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"addFav\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"removeFav\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"removeFav\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"changeFilter\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeFilter\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"changeSearchFilter\", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeSearchFilter\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"inviteUserToVideoChat\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"inviteUserToVideoChat\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"appointmentRequest\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"appointmentRequest\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"videocall\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"videocall\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"mappedProfiles\", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, \"mappedProfiles\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"filteredProfilesOberserver\", [_dec18], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredProfilesOberserver\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"filters\", [_dec19], Object.getOwnPropertyDescriptor(_class2.prototype, \"filters\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"loadProfiles\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"loadProfiles\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppChatProfiles;\n});","define(\"event-components/components/app-chat-profiles/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"6nfRp/JQ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"profile\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"or\\\",[[24,[\\\"target\\\"]],[24,[\\\"appointmentTarget\\\"]]],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"target\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"app-chat-private\\\",[],[[\\\"@currentChatroom\\\",\\\"@target\\\"],[[22,\\\"currentChatroom\\\"],[22,\\\"target\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"app-appointments\\\",[],[[\\\"@target\\\"],[[22,\\\"appointmentTarget\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"margin: 20px 80px 0px 20px;position: relative;\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"searchable-select\\\",null,[[\\\"content\\\",\\\"prompt\\\",\\\"clearLabel\\\",\\\"searchPrompt\\\",\\\"on-change\\\"],[[24,[\\\"filters\\\"]],\\\"Filtern nach...\\\",\\\"löschen\\\",\\\"Filtern...\\\",[28,\\\"action\\\",[[23,0,[]],\\\"changeFilter\\\"],null]]]],false],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"fav-filter \\\",[28,\\\"if\\\",[[23,0,[\\\"onlyFavs\\\"]],\\\"selected\\\",\\\"\\\"],null]]]],[12,\\\"title\\\",\\\"Sie können Personen als Favoriten markieren und hier nach ihnen filtern.\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"toggleFavFilter\\\"]],[8],[0,\\\"\\\\n      \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-star\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"activeFilter\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"filter-boxen\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[28,\\\"eq\\\",[[24,[\\\"activeFilter\\\",\\\"question\\\",\\\"type\\\"]],\\\"CHECKBOX\\\"],null],[28,\\\"eq\\\",[[24,[\\\"activeFilter\\\",\\\"question\\\",\\\"type\\\"]],\\\"RADIO\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[1,[28,\\\"searchable-select\\\",null,[[\\\"content\\\",\\\"prompt\\\",\\\"clearLabel\\\",\\\"searchPrompt\\\",\\\"on-change\\\"],[[28,\\\"map-by-question\\\",[[24,[\\\"activeFilter\\\",\\\"question\\\",\\\"values\\\"]]],null],\\\"Suche nach Kategorie\\\",\\\"löschen\\\",\\\"Suchen...\\\",[28,\\\"action\\\",[[23,0,[]],\\\"changeSearchFilter\\\"],null]]]],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"activeFilter\\\",\\\"question\\\",\\\"allowcustominput\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"activeSearch2\\\"]],\\\"Suche nach Freitext\\\"]]],false],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"deleteInput\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"activeSearch2\\\"]]],null],\\\"\\\"]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-close\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"form-control\\\",[24,[\\\"activeSearch\\\"]],\\\"Suchen...\\\"]]],false],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"deleteInput\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"activeSearch\\\"]]],null],\\\"\\\"]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-close\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"margin: 0px 10px;\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"filteredProfiles\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"user-card\\\",[],[[\\\"@user\\\",\\\"@privateMessage\\\",\\\"@videochat\\\",\\\"@appointmentRequest\\\"],[[23,1,[]],[28,\\\"action\\\",[[23,0,[]],\\\"openPrivateChat\\\",[23,1,[]]],null],[28,\\\"action\\\",[[23,0,[]],\\\"inviteUserToVideoChat\\\",[23,1,[\\\"id\\\"]]],null],[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"appointmentTarget\\\"]]],null],[23,1,[]]],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"isStreamingApp\\\"]]],null,{\\\"statements\\\":[[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"link-to\\\",null,[[\\\"class\\\",\\\"route\\\"],[\\\"btn btn-lg btn-primary\\\",\\\"index\\\"]],{\\\"statements\\\":[[0,\\\"      \\\"],[1,[28,\\\"t\\\",[\\\"zurueck\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-chat-profiles/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-chat/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/app-chat/template\", \"@ember-decorators/object\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _emberConcurrencyDecorators, _template, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n\n  let AppChat = (_dec = (0, _component.classNames)('app-chat'), _dec2 = Ember.inject.service('chatroom'), _dec3 = Ember.inject.service('user'), _dec4 = Ember.inject.service('chatline'), _dec5 = Ember.inject.service('services/amplify'), _dec6 = Ember.inject.service('router'), _dec7 = Ember.computed.filter('chatlineService.models.[]', ['chatroomID', 'currentChatroom.id'], function (chatline) {\n    return chatline.get('chatroomID') == this.get('currentChatroom.id') && chatline.get('createdAt');\n  }), _dec8 = Ember.computed.sort('_chatMessages', 'sorts'), _dec9 = Ember.computed.alias('chatService.activeModel'), _dec10 = Ember._action, _dec11 = (0, _object.observes)('chatMessages.[]'), _dec12 = (0, _object.observes)('currentChatroom'), _dec13 = Ember._action, _dec14 = (0, _emberConcurrencyDecorators.task)(), _dec15 = Ember.computed(\"chatService.models\", \"chatService.models.[]\", \"chatService.models[]\", \"chatService.models.[].groupname\", \"amplify.currentUser\"), _dec16 = (0, _object.observes)(\"amplify.target\"), _dec17 = Ember._action, _dec18 = Ember._action, _dec19 = Ember._action, _dec20 = Ember._action, _dec21 = Ember._action, _dec22 = Ember._action, _dec(_class = (_class2 = class AppChat extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    // imageHeight: any = this.get(\"amplify.currentTheme.config.chatImageHeight\") + \"px\";\n    // imageStyle: string = \"height: \" + this.imageHeight + \";\";\n    unsetCurrentRoom() {\n      this.set('currentChatroom', null);\n      this.autoScroll = true;\n    }\n\n    onChatline() {\n      this.scrollToBottom();\n    }\n\n    onCurrentChatroom() {\n      if (this.currentChatroom && !this.currentChatroom.privateuser) {\n        this.amplify.set('currentModuleItem', this.currentChatroom.name);\n      } else if (this.currentChatroom && this.currentChatroom.privateuser) {\n        if (Ember.isEmpty(this.currentChatroom.initiatorUsername)) {\n          this.amplify.set('currentModuleItem', this.currentChatroom.privateuser.find(u => u !== this.amplify.currentUser.username));\n        } else if (this.currentChatroom.initiatorUsername === this.amplify.currentUser.username) {\n          this.amplify.set('currentModuleItem', this.currentChatroom.targetName);\n        } else {\n          this.amplify.set('currentModuleItem', this.currentChatroom.initiatorName);\n        }\n      }\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"chatlineService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor5, this);\n      (0, _defineProperty2.default)(this, \"chatmessage\", '');\n      (0, _initializerDefineProperty2.default)(this, \"_chatMessages\", _descriptor6, this);\n      (0, _defineProperty2.default)(this, \"sorts\", Object.freeze(['createdAt:asc']));\n      (0, _initializerDefineProperty2.default)(this, \"chatMessages\", _descriptor7, this);\n      (0, _defineProperty2.default)(this, \"chatIsPrivate\", false);\n      (0, _defineProperty2.default)(this, \"isInitialized\", false);\n      (0, _initializerDefineProperty2.default)(this, \"currentChatroom\", _descriptor8, this);\n      (0, _defineProperty2.default)(this, \"autoScroll\", true);\n      (0, _defineProperty2.default)(this, \"target\", null);\n      this.set('imageStyle', 'height: ' + this.imageHeight + '; width: auto;');\n\n      try {\n        this.get('amplify').on('moduleitem:unset', this, 'unset');\n        this.get('amplify').on('nav:gotoprivate', user => {\n          this.openPrivateChat(user);\n        });\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    removeUser() {\n      this.set('currentChatroom', null);\n    }\n\n    unset() {\n      this.set('currentChatroom', null);\n    }\n\n    willDestroyElement() {\n      this.get('amplify').off('moduleitem:unset', this, 'unset');\n    }\n\n    didReceiveAttrs() {}\n\n    didInsertElement() {\n      /*let chatroom = this.chatService.createChangeset();\n       setProperties(chatroom, {\n        name: 'Testroom',\n        text: 'Lorem Ipsum',\n        autoEnter: true,\n        chatlines: [],\n        privateuser: ['efef'],\n        clientID: this.get('amplify.currentClient.id'),\n      });\n       this.chatService.create(chatroom);\n      */\n      if (this.currentChatroom) {\n        this.joinChatroom.perform(this.currentChatroom);\n      }\n\n      $('.app-chat').on('wheel', () => {\n        const appChat = document.getElementsByClassName('app-chat')[0];\n\n        if (appChat.scrollTop + appChat.clientHeight == appChat.scrollHeight) {\n          this.set('autoScroll', true);\n        } else {\n          this.set('autoScroll', false);\n        }\n      });\n    }\n\n    videocall(id) {\n      const iframe = document.getElementById('videochat');\n\n      if (iframe != null) {\n        this.amplify.set('videoChatOpen', true);\n        iframe.contentWindow.postMessage({\n          type: 'invite',\n          data: id\n        }, '*');\n      }\n    }\n\n    *loadChatlines() {\n      if (!this.currentChatroom) {\n        return;\n      }\n\n      try {\n        let chatlines = yield this.chatlineService.findAll();\n        chatlines = chatlines.filterBy('chatroomID', this.currentChatroom.id);\n        chatlines.forEach(element => {\n          this.get('amplify').readChatMessage(element);\n        });\n        Ember.run.next(this, () => {\n          this.set('isInitialized', true);\n          this.scrollToBottom();\n        });\n      } catch (e) {//console.error(e);\n      }\n    }\n\n    get chatrooms() {\n      try {\n        var chatrooms = this.chatService.models.filter(chatroom => {\n          if (chatroom.privateuser) return true;\n          console.log(chatroom.groupname);\n          if (this.amplify.currentUser?.groups?.includes(chatroom.groupname) || Ember.isEmpty(chatroom.groupname)) return true;\n          return false;\n        });\n\n        if (!Ember.isEmpty(this.chat)) {\n          let chat = chatrooms.findBy('id', this.chat);\n          this.set('currentChatroom', chat);\n        }\n      } catch (e) {\n        console.error(e);\n      }\n\n      return chatrooms;\n    }\n\n    onAmplifyTarget() {\n      if (this.amplify.target && this.amplify.target.get) {\n        this.openPrivateChat(this.amplify.target);\n      }\n    }\n\n    async openPrivateChat(target) {\n      const targetName = `${target.get(\"firstname\")} ${target.get(\"lastname\")}`;\n      const initiatorName = `${this.amplify.get('currentUser.firstname')} ${this.amplify.get('currentUser.lastname')}`;\n      this.set('target', target);\n      let rooms = await this.chatService.findAll();\n      let privateRooms = rooms.filter(r => {\n        if (r.get('privateuser') == null) {\n          return false;\n        }\n\n        return r.get('privateuser').includes(this.amplify.get('currentUser.username')) && r.get('privateuser').includes(target.username);\n      });\n\n      if (privateRooms.length === 0) {\n        let roomSet = this.chatService.createChangeset({\n          privateuser: [this.amplify.get('currentUser.username'), target.username],\n          name: `Privater Chat: ${this.amplify.get('currentUser.firstname')} ${this.amplify.get('currentUser.lastname')}`,\n          text: '',\n          autoEnter: false,\n          targetName,\n          initiatorName,\n          initiatorUsername: this.amplify.get('currentUser.username')\n        });\n        let roomn = await this.chatService.create(roomSet);\n        this.set('currentChatroom', roomn);\n      } else {\n        this.set('currentChatroom', privateRooms.firstObject);\n      }\n    }\n\n    enableAutoScroll() {\n      this.set('autoScroll', true);\n      window.scrollTo(0, document.body.scrollHeight);\n      document.getElementsByClassName('app-chat')[0].scrollTop = document.getElementsByClassName('app-chat')[0].scrollHeight;\n    }\n\n    keyDown(event) {\n      if (event.keyCode === 13) {\n        this.send('newChatline');\n        return false;\n      }\n    }\n\n    back(event) {\n      if (this.currentChatroom) {\n        this.set('currentChatroom', null);\n        this.set('target', null);\n      } else {\n        this.set('target', null);\n        this.get('router').transitionTo('index');\n      }\n    }\n\n    scrollToBottom() {\n      Ember.run.later(() => {\n        if (this.isInitialized && this.autoScroll && this.currentChatroom !== null) {\n          window.scrollTo({\n            top: document.body.scrollHeight,\n            left: 0,\n            behavior: \"smooth\"\n          });\n          document.getElementsByClassName('app-chat')[0].scrollTop = document.getElementsByClassName('app-chat')[0].scrollHeight;\n        }\n      }, 1000);\n    }\n\n    *joinChatroom(chatroom) {\n      this.set('currentChatroom', chatroom);\n      yield this.loadChatlines.perform();\n    }\n\n    async newChatline(event) {\n      if (this.chatmessage === '') {\n        return;\n      }\n\n      let owner = (await this.amplify.Auth.currentSession()).getIdToken().payload['cognito:username'];\n      let chatline = await this.chatlineService.createChangeset({\n        chatroomID: this.get('currentChatroom.id'),\n        message: this.chatmessage,\n        user: this.get('amplify.currentUser')\n      });\n\n      if (this.chatIsPrivate) {\n        chatline.set('owner', this.amplify.currentUser.username);\n      }\n\n      Ember.set(this.amplify.currentUser, 'lastactive', parseInt(Date.now() / 1000).toString());\n      await this.userService.update(this.amplify.currentUser);\n      this.chatlineService.create(chatline);\n      this.set('chatmessage', '');\n      this.scrollToBottom(); //this.set(\"chatmessage\", \"\");\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatlineService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"router\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"_chatMessages\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatMessages\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"currentChatroom\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"unsetCurrentRoom\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"unsetCurrentRoom\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onChatline\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"onChatline\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onCurrentChatroom\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"onCurrentChatroom\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"videocall\", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"videocall\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"loadChatlines\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"loadChatlines\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatrooms\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"chatrooms\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onAmplifyTarget\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"onAmplifyTarget\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"openPrivateChat\", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, \"openPrivateChat\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"enableAutoScroll\", [_dec18], Object.getOwnPropertyDescriptor(_class2.prototype, \"enableAutoScroll\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"keyDown\", [_dec19], Object.getOwnPropertyDescriptor(_class2.prototype, \"keyDown\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"back\", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, \"back\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"scrollToBottom\", [_dec21], Object.getOwnPropertyDescriptor(_class2.prototype, \"scrollToBottom\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"joinChatroom\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"joinChatroom\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"newChatline\", [_dec22], Object.getOwnPropertyDescriptor(_class2.prototype, \"newChatline\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppChat;\n});","define(\"event-components/components/app-chat/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"2g42Prfj\",\n    \"block\": \"{\\\"symbols\\\":[\\\"chatroom\\\",\\\"index\\\",\\\"imagepath\\\",\\\"chatline\\\",\\\"imagepath\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[14,7],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"currentChatroom\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[10,\\\"style\\\",\\\"margin: 10px; flex: 0 1 auto\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"chat.ete_message\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"fill-avail\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"chatMessages\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,4,[\\\"system\\\"]],true],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,4,[\\\"message\\\"]],\\\"VideochatEnded\\\"],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"system-chat-box\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-phone\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n            Videocall beendet -\\\\n            \\\"],[1,[23,4,[\\\"videochatMessage\\\",\\\"duration\\\"]],false],[0,\\\"\\\\n            -\\\\n            \\\"],[1,[28,\\\"moment-from-now\\\",[[28,\\\"moment\\\",[[23,4,[\\\"createdAt\\\"]]],null]],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"system-chat-box declined\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-phone\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"videochatMessage\\\",\\\"target\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"              Nutzer beschäftigt\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              Videocall verpasst\\\\n              \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"btn btn-secondary btn-call\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"videocall\\\",[23,4,[\\\"videochatMessage\\\",\\\"target\\\"]]]],[8],[0,\\\"\\\\n                Zurückrufen\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            -\\\\n            \\\"],[1,[28,\\\"moment-from-now\\\",[[28,\\\"moment\\\",[[23,4,[\\\"createdAt\\\"]]],null]],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"if\\\",[[23,4,[\\\"user\\\",\\\"id\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"chat-box\\\\n \\\\n            \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"user\\\",\\\"id\\\"]]],null],\\\"chat-box-right\\\",\\\"chat-box-left\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,4,[\\\"user\\\",\\\"avatarthumb\\\"]],[28,\\\"not-eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"user\\\",\\\"id\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"chat-box-avatar\\\\n                \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"user\\\",\\\"id\\\"]]],null],\\\"right\\\",\\\"left\\\"],null]]]],[8],[0,\\\"\\\\n              \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,4,[\\\"user\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[11,\\\"src\\\",[29,[[23,6,[]]]]],[8],[9],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[6]}],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-body\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-header\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"username\\\"],[8],[0,\\\"\\\\n                \\\"],[1,[23,4,[\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"if\\\",[[28,\\\"not-eq\\\",[[23,4,[\\\"user\\\",\\\"lastname\\\"]],\\\"Anonym\\\"],null],[23,4,[\\\"user\\\",\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n              \\\"],[5,\\\"live-datetime\\\",[],[[\\\"@timestamp\\\"],[[23,4,[\\\"createdAt\\\"]]]]],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-box-body\\\"],[8],[0,\\\"\\\\n              \\\"],[1,[23,4,[\\\"message\\\"]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"triangle\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,4,[\\\"user\\\",\\\"avatarthumb\\\"]],[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"user\\\",\\\"id\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"chat-box-avatar\\\\n                \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]],[23,4,[\\\"user\\\",\\\"id\\\"]]],null],\\\"right\\\",\\\"left\\\"],null]]]],[8],[0,\\\"\\\\n              \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,4,[\\\"user\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[11,\\\"src\\\",[29,[[23,5,[]]]]],[8],[9],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[5]}],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[4]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"id\\\",\\\"finale\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chat-input-wrapper\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[24,[\\\"autoScroll\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"button\\\",false],[12,\\\"id\\\",\\\"start-auto-scroll\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"enableAutoScroll\\\"]],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"chat.zurueck_nach_unten\\\"],null],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"value\\\"],[\\\"chat-input\\\",[24,[\\\"chatmessage\\\"]]]]],false],[0,\\\"\\\\n    \\\"],[7,\\\"button\\\",false],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"newChatline\\\"]],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"senden\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"each\\\",[[23,0,[\\\"chatrooms\\\"]]],null,{\\\"statements\\\":[[4,\\\"unless\\\",[[23,1,[\\\"privateuser\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-headerimage\\\"],[8],[0,\\\"\\\\n          \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,1,[\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,3,[]]]]],[8],[9],[0,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card-header\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[23,1,[\\\"name\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"hr\\\",true],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"chatroom-card-body\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[23,1,[\\\"text\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@showCheck\\\",\\\"@task\\\",\\\"@args\\\"],[false,[22,\\\"joinChatroom\\\"],[23,1,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[24,[\\\"amplify\\\",\\\"unreadChatMessages\\\"]]],null],\\\"length\\\"],null],0],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[24,[\\\"amplify\\\",\\\"unreadChatMessages\\\"]]],null],\\\"length\\\"],null],99],null]],null,{\\\"statements\\\":[[0,\\\"                99+\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[1,[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"chatroomID\\\",[23,1,[\\\"id\\\"]],[24,[\\\"amplify\\\",\\\"unreadChatMessages\\\"]]],null],\\\"length\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[1,[28,\\\"t\\\",[\\\"chat.go\\\"],null],false],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[1,2]},{\\\"statements\\\":[[0,\\\"    \\\"],[1,[28,\\\"t\\\",[\\\"chat.no_chatroom_message\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-chat/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-css/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/app-css/template\"], function (_exports, _defineProperty2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // @ts-ignore: Ignore import of compiled template\n  class AppCss extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"theme\", void 0);\n    }\n\n    async getImagePath(file) {\n      if (!file) {\n        return '';\n      }\n\n      try {\n        let cachedUrl = this.get('amplify.Cache').getItem(file.key);\n\n        if (cachedUrl !== null) {\n          return cachedUrl;\n        }\n\n        let url = this.get('amplify').Storage.get(file.key, {\n          expires: 86400,\n          level: 'public'\n        }).then(url => {\n          if (url.includes('?')) {\n            url = url.split('?')[0];\n          }\n\n          this.get('amplify.Cache').setItem(file.key, url);\n          return url;\n        });\n        return url;\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    async didReceiveAttrs() {\n      //fallback\n      Chart.defaults.global.defaultFontColor = this.get('theme.textColorQuestion');\n      let headerdesktop = await this.getImagePath(this.get('amplify.currentTheme.config.headerdesktop'));\n      this.set('headerdesktop', headerdesktop);\n      let appbackgrounddesktop = await this.getImagePath(this.get('theme.appbackgrounddesktop'));\n      this.set('appbackgrounddesktop', appbackgrounddesktop);\n      let appbackground = await this.getImagePath(this.get('theme.appbackground'));\n      this.set('appbackground', appbackground);\n      let splashscreen = await this.getImagePath(this.get('amplify.currentTheme.config.splashscreen'));\n      this.set('splashscreen', splashscreen);\n      let headermobile = await this.getImagePath(this.get('amplify.currentTheme.config.headermobile'));\n      this.set('headermobile', headermobile);\n      let headermobile2 = await this.getImagePath(this.get('theme.headermobile2'));\n      this.set('headermobile2', headermobile2);\n    }\n\n  }\n\n  _exports.default = AppCss;\n});","define(\"event-components/components/app-css/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"6ZxV6fwT\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"style\\\",true],[8],[0,\\\"\\\\n  :root {\\\\n  --background-main: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundMain\\\"]],[24,[\\\"theme\\\",\\\"backgroundMain\\\"]],\\\"rgba(99, 87, 82, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-desktop: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundMainDesktop\\\"]],[24,[\\\"theme\\\",\\\"backgroundMainDesktop\\\"]],[24,[\\\"theme\\\",\\\"backgroundMain\\\"]]],null],false],[0,\\\"; \\\\n  --background-box: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundBox\\\"]],[24,[\\\"theme\\\",\\\"backgroundBox\\\"]],\\\"rgba(157, 143, 138, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-nav: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundNav\\\"]],[24,[\\\"theme\\\",\\\"backgroundNav\\\"]],\\\"rgba(157, 143, 138, 0.7)\\\"],null],false],[0,\\\"; \\\\n  --background-nav-2: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundNav2\\\"]],[24,[\\\"theme\\\",\\\"backgroundNav2\\\"]],\\\"rgba(157, 143, 138, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-box-dashboard: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundBoxDashboard\\\"]],[24,[\\\"theme\\\",\\\"backgroundBoxDashboard\\\"]],\\\"rgba(88, 76 ,71, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-text-box: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundTextBox\\\"]],[24,[\\\"theme\\\",\\\"backgroundTextBox\\\"]],\\\"rgba(240, 233, 230, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-twitterhead: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundTwitterhead\\\"]],[24,[\\\"theme\\\",\\\"backgroundTwitterhead\\\"]],\\\"rgba(240, 233, 230, 1)\\\"],null],false],[0,\\\"; \\\\n  --background-inputs: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundInputs\\\"]],[24,[\\\"theme\\\",\\\"backgroundInputs\\\"]],\\\"rgba(255, 255, 255, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColor\\\"]],[24,[\\\"theme\\\",\\\"textColor\\\"]],\\\"rgba(255,255,255, 1)\\\"],null],false],[0,\\\"; \\\\n  --text-color-2: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColor2\\\"]],[24,[\\\"theme\\\",\\\"textColor2\\\"]],\\\"rgba(255,255,255, 0.7)\\\"],null],false],[0,\\\"; \\\\n  --text-color-question: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorQuestion\\\"]],[24,[\\\"theme\\\",\\\"textColorQuestion\\\"]],\\\"rgba(70,59,54, 1)\\\"],null],false],[0,\\\" ; \\\\n  --text-color-timestamp: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorTimestamp\\\"]],[24,[\\\"theme\\\",\\\"textColorTimestamp\\\"]],\\\"rgba(70,59,54, 0.7)\\\"],null],false],[0,\\\"; \\\\n  --text-color-akzent: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"akzent\\\"]],[24,[\\\"theme\\\",\\\"akzent\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\"; \\\\n  --text-color-akzent2: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"akzent2\\\"]],[24,[\\\"theme\\\",\\\"akzent2\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\"; \\\\n  --text-color-action-fields: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorActionFields\\\"]],[24,[\\\"theme\\\",\\\"textColorActionFields\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color-on-hidden-bg: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorOnHiddenBg\\\"]],[24,[\\\"theme\\\",\\\"textColorOnHiddenBg\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color-on-transparent-bg: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorOnTransparent\\\"]],[24,[\\\"theme\\\",\\\"textColorOnTransparent\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color-on-answer-field: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorAnswerField\\\"]],[24,[\\\"theme\\\",\\\"textColorAnswerField\\\"]],\\\"rgba(20,192,255, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color-appointment: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorAppointment\\\"]],[24,[\\\"theme\\\",\\\"textColorAppointment\\\"]],\\\"rgba(255,255,255, 1)\\\"],null],false],[0,\\\";\\\\n  --background-appointment: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"backgroundAppointment\\\"]],[24,[\\\"theme\\\",\\\"backgroundAppointment\\\"]],\\\"rgba(30, 58, 138, 1)\\\"],null],false],[0,\\\";\\\\n  --text-color-box: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"textColorBox\\\"]],[24,[\\\"theme\\\",\\\"textColorBox\\\"]],\\\"rgba(23, 23, 23, 1)\\\"],null],false],[0,\\\"; \\\\n  --fill-navbar-icons: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"fillNavbarIcons\\\"]],[24,[\\\"theme\\\",\\\"fillNavbarIcons\\\"]],\\\"rgba(255, 255, 255, 1)\\\"],null],false],[0,\\\";\\\\n  --font: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"font\\\"]],[24,[\\\"theme\\\",\\\"font\\\"]],\\\"\\\\\\\"PT Sans\\\\\\\"\\\"],null],false],[0,\\\"; \\\\n}\\\\n\\\\n.is--desktop .app-main {\\\\n    max-width: 1024px;\\\\n    min-height: calc(65vh + (35vh - \\\"],[1,[24,[\\\"theme\\\",\\\"headerheight\\\"]],false],[0,\\\"vh));\\\\n    margin: 0 auto;\\\\n}\\\\n\\\\n.text-color-n6 {\\\\n   color: var(--text-color)!important;\\\\n}\\\\ninput.form-control {\\\\n  background: var(--background-inputs);\\\\n}\\\\n.chat-box, .chatroom-card, .card, .avatar-card {\\\\n  color: var(--text-color-question);\\\\n  background: var(--background-box)!important;\\\\n}\\\\n\\\\n.nav-main .nav-item, .schrift-15 {\\\\n  color: var(--text-color-on-transparent-bg);\\\\n}\\\\n.chart-header {\\\\n  color: var(--text-color-question)!important;\\\\n}\\\\n.welcome-message-color, p a {\\\\n  color: var(--text-color);\\\\n}\\\\n p a {\\\\n   text-decoration: underline;\\\\n }\\\\n.dashboard-label {\\\\n  color: var(--text-color-action-fields);\\\\n}\\\\n\\\\n.chat-input-wrapper {\\\\n  background: var(--background-box);\\\\n}\\\\nbody {\\\\n  color: var(--text-color);\\\\n  font-family:  var(--font);\\\\n  background: var(--background-desktop);\\\\n}\\\\n.twitter-wall-create {\\\\n  background-color: var(--background-box);\\\\n}\\\\n.btn-primary {\\\\n  background: var(--text-color-akzent);\\\\n}\\\\n.delete-tweet span {\\\\n  color: var(--text-color);\\\\n}\\\\n.app-bg {\\\\n  background: var(--background-main);\\\\n}\\\\n.app .app-frage-single a {\\\\n  color:var(--text-color-question)!important;\\\\n}\\\\n.app-header {\\\\n  background: var(--background-nav);\\\\n}\\\\n.app-header.sticky {\\\\n  background: var(--background-nav-2);\\\\n}\\\\n.app-frage-single {\\\\n  background-color: var(--background-box);\\\\n  \\\\n}\\\\n.text-color-6 {\\\\n  color:var(--text-color);\\\\n  padding: 20px;\\\\n}\\\\n.app-nav .nav-icon .stripe {\\\\n  border-color:  var(--text-color-on-transparent-bg);\\\\n}\\\\n#header-destination a {\\\\n  color: var(--text-color-on-transparent-bg);\\\\n}\\\\n\\\\n.back-icon {\\\\n  color: var(--text-color-on-transparent-bg);\\\\n  background: var(--text-color-on-transparent-bg);\\\\n}\\\\n\\\\n.agenda-item .inner, .twitter-post .inner {\\\\n  background: var(--background-box);\\\\n}\\\\n.agenda-item .agenda-time {\\\\n  color: var(--text-color-question);\\\\n}\\\\n\\\\n.app-frage-single  legend, .text-question, .app-frage-single legend p,  .app-frage-single legend p * {\\\\n  color: var(--text-color-question);\\\\n}\\\\n\\\\n.app-frage-single input {\\\\n  background: var(--background-text-box);\\\\n  color: var(--text-color-on-answer-field)\\\\n}\\\\n\\\\n.tab {\\\\n  background: var(--background-text-box);\\\\n  color: var(--text-color-timestamp);\\\\n}\\\\n.tab.active {\\\\n  background: var(--background-text-box);\\\\n  color: var(--text-color-question);\\\\n}\\\\n\\\\n.app-programm .inner, .app-wall .inner {\\\\n  background: var(--background-box);\\\\n}\\\\n.app-info-item .inner {\\\\n  background: var(--background-box);\\\\n}\\\\n.app-votescope-item .inner {\\\\n  background: var(--background-box);\\\\n}\\\\n.app-programm .meta span {\\\\n  color: var(--text-color-question);\\\\n}\\\\n.app-info-item .meta span {\\\\n  color: var(--text-color-question);\\\\n}\\\\n}\\\\n.app-votescope-item .meta span {\\\\n  color: var(--text-color-question);\\\\n}\\\\n\\\\n.container.container-checkbox, label.container {\\\\n  color: var(--text-color-on-hidden-bg);\\\\n}\\\\n\\\\n/* When the checkbox is checked, add a blue background */\\\\n.container input:checked ~ .checkmark {\\\\n  background-color: var(--background-box-dashboard);\\\\n}\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"headermobile\\\"]]],null,{\\\"statements\\\":[[0,\\\"    .header-image {\\\\n      background-image: url(\\\"],[1,[23,0,[\\\"headermobile\\\"]],false],[0,\\\");\\\\n    background-position: top;\\\\n  }\\\\n  .header-image.sticky {\\\\n      background-image: url(\\\"],[1,[23,0,[\\\"headermobile2\\\"]],false],[0,\\\");\\\\n  }\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"splashscreen\\\"]]],null,{\\\"statements\\\":[[0,\\\"    .splashscreen.dontshow {\\\\n      display:none;\\\\n    }\\\\n    .splashscreen {\\\\n    background-image: url(\\\"],[1,[23,0,[\\\"splashscreen\\\"]],false],[0,\\\");\\\\n\\\\n    background-color:\\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"splashscreenColor\\\"]],[24,[\\\"theme\\\",\\\"splashscreenColor\\\"]],\\\"rgba(0,0,0,1)\\\"],null],false],[0,\\\";\\\\n    background-size:\\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"splashscreenMode\\\"]],[24,[\\\"theme\\\",\\\"splashscreenMode\\\"]],\\\"contain\\\"],null],false],[0,\\\";\\\\n    background-position:\\\"],[1,[28,\\\"if\\\",[[24,[\\\"theme\\\",\\\"anzeigemodus\\\"]],[24,[\\\"theme\\\",\\\"anzeigemodus\\\",\\\"value\\\"]],\\\"center center\\\"],null],false],[0,\\\";\\\\n  }\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"appbackground\\\"]]],null,{\\\"statements\\\":[[0,\\\"    .app-bg, .app-avatar-photo {\\\\n    background-image: url(\\\"],[1,[23,0,[\\\"appbackground\\\"]],false],[0,\\\");\\\\n    background-size: contain;\\\\n    background-repeat: no-repeat;\\\\n    background-position-y: 0px;\\\\n    background-size: 100%;\\\\n\\\\n  }\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"appbackgrounddesktop\\\"]]],null,{\\\"statements\\\":[[0,\\\"  .is--desktop .app-bg {\\\\n    background-image: url(\\\"],[1,[23,0,[\\\"appbackgrounddesktop\\\"]],false],[0,\\\");\\\\n    max-width: 1024px;\\\\n    margin: 0 auto 0;\\\\n    left: 50%;\\\\n    margin-left: -512px;\\\\n  }\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"headerdesktop\\\"]]],null,{\\\"statements\\\":[[0,\\\"    .header-image.is--desktop {\\\\n  background-image: url(\\\"],[1,[23,0,[\\\"headerdesktop\\\"]],false],[0,\\\");\\\\n  \\\\n    }\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  .is--desktop .header-image {\\\\n\\\\n    height:\\\"],[1,[24,[\\\"theme\\\",\\\"headerheight\\\"]],false],[0,\\\"vh;\\\\n  }\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-css/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-dashboard-item/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"event-components/components/app-dashboard-item/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n\n  let AppDashboardItem = (_dec = (0, _component.tagName)('div'), _dec2 = (0, _component.classNames)('dashboard-item', 'fade-in'), _dec3 = Ember.inject.service('chatroom'), _dec4 = Ember.inject.service('vote'), _dec5 = Ember.inject.service, _dec6 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class AppDashboardItem extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"voteService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor3, this);\n    }\n\n    didInsertElement() {\n      let width = this.element.getBoundingClientRect().width; //this.element.style.height = `${width}px`;\n    }\n\n    clickHandler() {\n      if (this.isContentModule) {\n        return;\n      }\n\n      if (this.route === 'videocall') {\n        let user = this.amplify.currentUser;\n        window.open(`${this.amplify.currentTheme.config.meetingUrl}?userid=${user.id}`, '_blank');\n        return;\n      }\n\n      if (this.external) {\n        let link = this.link.replace('{{code}}', this.amplify.currentUser.invitecode).replace('{{username}}', this.amplify.currentUser.username);\n        window.open(`${link}`, '_blank');\n        return;\n      }\n\n      this.get('router').transitionTo(this.route);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"voteService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"router\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"clickHandler\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"clickHandler\"), _class2.prototype)), _class2)) || _class) || _class);\n  _exports.default = AppDashboardItem;\n});","define(\"event-components/components/app-dashboard-item/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"iTM35oZH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"clickHandler\\\"]],[8],[0,\\\"\\\\n\\\\n\\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n  .dashboard-icon-\\\"],[1,[28,\\\"css-name\\\",[[24,[\\\"title\\\"]]],null],false],[0,\\\" {\\\\n        mask-image: url(\\\\\\\"\\\"],[1,[22,\\\"icon\\\"],false],[0,\\\"\\\\\\\");\\\\n        mask-position: center;\\\\n        mask-repeat: no-repeat;\\\\n        -webkit-mask-image: url(\\\\\\\"\\\"],[1,[22,\\\"icon\\\"],false],[0,\\\"\\\\\\\");\\\\n        -webkit-mask-position: center;\\\\n        -webkit-mask-repeat: no-repeat;\\\\n        background-color: var(--text-color-action-fields);\\\\n        width: 60px;\\\\n        height: 48px;\\\\n    }\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"route\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"span\\\",true],[11,\\\"class\\\",[28,\\\"concat\\\",[\\\"dashboard-item-link-\\\",[28,\\\"css-name\\\",[[24,[\\\"title\\\"]]],null]],null]],[10,\\\"style\\\",\\\"position: relative;\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"img\\\",true],[11,\\\"class\\\",[29,[\\\"dashboard-icon dashboard-icon-\\\",[28,\\\"css-name\\\",[[24,[\\\"title\\\"]]],null]]]],[8],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"dashboard-label\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[22,\\\"title\\\"],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"chat\\\"],null],[28,\\\"gt\\\",[[23,0,[\\\"chatService\\\",\\\"unreadPublicMessages\\\",\\\"length\\\"]],0],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[1,[23,0,[\\\"chatService\\\",\\\"unreadPublicMessages\\\",\\\"length\\\"]],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"hasUnreadAppointments\\\"]],[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"agenda\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"!\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"novote\\\"],null],[28,\\\"gt\\\",[[23,0,[\\\"voteService\\\",\\\"votes\\\",\\\"length\\\"]],0],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n        .dashboard-item-link-novote::after {\\\\n                content: \\\\\\\"\\\"],[1,[23,0,[\\\"voteService\\\",\\\"votes\\\",\\\"length\\\"]],false],[0,\\\"\\\\\\\"\\\\n            }\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"img\\\",true],[11,\\\"class\\\",[29,[\\\"dashboard-icon dashboard-icon-\\\",[28,\\\"css-name\\\",[[24,[\\\"title\\\"]]],null]]]],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"dashboard-label\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[22,\\\"title\\\"],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[14,1],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-dashboard-item/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-dashboard/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"event-components/components/app-dashboard/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let AppDashboard = (_dec = (0, _component.tagName)('div'), _dec2 = (0, _component.classNames)('app-dashboard'), _dec3 = Ember.inject.service, _dec4 = Ember.inject.service('services/amplify'), _dec5 = Ember.inject.service('appointment'), _dec6 = Ember.inject.service('vote'), _dec7 = Ember.computed('amplify.currentTheme.config.moduleConfig.[]'), _dec8 = Ember.computed('modules.[]'), _dec9 = (0, _component.className)('only2'), _dec10 = Ember.computed('itemsCount'), _dec(_class = _dec2(_class = (_class2 = class AppDashboard extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    get modules() {\n      if (!this.get('amplify.currentTheme.config.moduleConfig')) {\n        return [];\n      }\n\n      let mods = this.get('amplify.currentTheme.config.moduleConfig');\n      mods = mods.filterBy('showInEvent', true);\n\n      if (this.isMobile.any) {\n        mods = mods.filterBy('showInMobile', true);\n      }\n\n      if (!this.isMobile.any) {\n        mods = mods.filterBy('showInDesktop', true);\n      }\n\n      mods.sort((a, b) => parseInt(a.sorting) > parseInt(b.sorting) ? 1 : parseInt(b.sorting) > parseInt(a.sorting) ? -1 : 0);\n      return mods;\n    }\n\n    get itemsCount() {\n      return this.get('modules.length');\n    }\n\n    get isOnlyTwo() {\n      return this.get('modules.length') == 2;\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"isMobile\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"appointmentService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"voteService\", _descriptor4, this);\n      (0, _defineProperty2.default)(this, \"appointmentNotifications\", 0);\n      this.getAppointmentNotifications();\n    }\n\n    async getAppointmentNotifications() {\n      this.set('appointmentNotifications', 0);\n\n      if (!this.amplify.isAuthenticated) {\n        return false;\n      }\n\n      let votes = await this.voteService.findAll();\n      let owningAppointments = await this.appointmentService.findAll();\n      let pendingAppointments = await this.appointmentService.findBy(a => {\n        return a.requestUser('eq', this.get('amplify.currentUser.id'));\n      });\n      owningAppointments.forEach(a => {\n        if (a.requestUser != null) {\n          this.set('appointmentNotifications', this.appointmentNotifications + 1);\n        }\n      });\n      pendingAppointments.forEach(a => {\n        if (a.approved === true) {\n          this.set('appointmentNotifications', this.appointmentNotifications + 1);\n        }\n      });\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isMobile\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"appointmentService\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"voteService\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"modules\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"modules\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"itemsCount\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"itemsCount\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isOnlyTwo\", [_dec9, _dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"isOnlyTwo\"), _class2.prototype)), _class2)) || _class) || _class);\n  _exports.default = AppDashboard;\n});","define(\"event-components/components/app-dashboard/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Ln4qznbj\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"isMobile\\\",\\\"any\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[15,\\\"dashboard/desktop\\\",[]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[15,\\\"dashboard/desktop\\\",[]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":true}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-dashboard/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-desktop-dashboard-item/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/app-dashboard-item/component\", \"@ember-decorators/component\", \"event-components/components/app-desktop-dashboard-item/template\"], function (_exports, _defineProperty2, _component, _component2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class;\n\n  let AppDesktopDashboardItem = (_dec = (0, _component2.tagName)('div'), _dec2 = (0, _component2.classNames)('dashboard-item-desktop', 'fade-in'), _dec(_class = _dec2(_class = class AppDesktopDashboardItem extends _component.default.extend({}) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n  }) || _class) || _class);\n  _exports.default = AppDesktopDashboardItem;\n});","define(\"event-components/components/app-desktop-dashboard-item/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"TheSWZRz\",\n    \"block\": \"{\\\"symbols\\\":[\\\"src\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,0,[\\\"isContentModule\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"dashboard-item-inner\\\"],[11,\\\"style\\\",[29,[\\\"color:\\\\n      \\\",[23,0,[\\\"textColor\\\"]],\\\"\\\\n       ; background-color:\\\\n      \\\",[23,0,[\\\"backgroundColor\\\"]],\\\"\\\\n       ; height: \\\",[23,0,[\\\"richTextHeight\\\"]],\\\"px; overflow: hidden;\\\"]]],[8],[0,\\\"\\\\n    \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n      \\\"],[1,[23,0,[\\\"richText\\\"]],true],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"dashboard-item-inner \\\",[28,\\\"if\\\",[[23,0,[\\\"isBackgroundCover\\\"]],\\\"isBackgroundCover\\\"],null]]]],[12,\\\"style\\\",[29,[\\\"color:\\\\n      \\\",[23,0,[\\\"textColor\\\"]],\\\"\\\\n       ; background-color:\\\\n      \\\",[23,0,[\\\"backgroundColor\\\"]],\\\"\\\\n       ;\\\"]]],[3,\\\"action\\\",[[23,0,[]],\\\"clickHandler\\\"]],[8],[0,\\\"\\\\n    \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\"],[[23,0,[\\\"background\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"dashboard-image\\\"],[11,\\\"src\\\",[23,1,[]]],[11,\\\"alt\\\",[29,[[23,0,[\\\"route\\\"]]]]],[11,\\\"style\\\",[29,[\\\"height: \\\",[28,\\\"if\\\",[[23,0,[\\\"isBackgroundCover\\\"]],[23,0,[\\\"maxBackgroundHeight\\\"]]],null],\\\"px;\\\"]]],[8],[9],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"text\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"dashboard-desktop-label\\\"],[11,\\\"style\\\",[29,[\\\"text-align: \\\",[23,0,[\\\"textAlign\\\"]],\\\";\\\"]]],[8],[0,\\\"\\\\n        \\\"],[1,[23,0,[\\\"text\\\"]],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"chat\\\"],null],[28,\\\"gt\\\",[[23,0,[\\\"chatService\\\",\\\"unreadPublicMessages\\\",\\\"length\\\"]],0],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n        \\\"],[1,[23,0,[\\\"chatService\\\",\\\"unreadPublicMessages\\\",\\\"length\\\"]],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"hasUnreadAppointments\\\"]],[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"agenda\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n        !\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"eq\\\",[[23,0,[\\\"route\\\"]],\\\"novote\\\"],null],[28,\\\"gt\\\",[[23,0,[\\\"voteService\\\",\\\"votes\\\",\\\"length\\\"]],0],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n        .dashboard-item-link-novote::after {\\\\n                content: \\\\\\\"\\\\n        \\\"],[1,[23,0,[\\\"voteService\\\",\\\"votes\\\",\\\"length\\\"]],false],[0,\\\"\\\\n        \\\\\\\"\\\\n            }\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-desktop-dashboard-item/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-frage/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-concurrency-decorators\", \"@datadog/browser-rum\", \"@ember-decorators/component\", \"event-components/components/app-frage/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberConcurrencyDecorators, _browserRum, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let AppFrage = (_dec = (0, _component.classNames)('app-frage-single'), _dec2 = Ember.inject.service('answer'), _dec3 = Ember.inject.service('user'), _dec4 = Ember.computed.alias('answerService.models.[]'), _dec5 = (0, _component.className)('invisible'), _dec6 = (0, _component.className)('isKeiner'), _dec7 = Ember.computed(), _dec8 = Ember.computed(), _dec9 = (0, _component.className)('valid', 'isRequiredAndEmpty'), _dec10 = Ember.computed('answer.values.[]', 'question.isRequired', 'answer', 'answer.values'), _dec11 = Ember.computed(), _dec12 = (0, _component.className)('isPagebreak'), _dec13 = Ember.computed(), _dec14 = Ember.computed('answerService.models.@each.values'), _dec15 = Ember.computed('answer.values.length', \"answer.values\", \"answer.values.[]\"), _dec(_class = (_class2 = class AppFrage extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    get boundComputed() {\n      return this.question.type === 'Keiner';\n    }\n\n    get inputName() {\n      return encodeURI(`q-${this.question.id}`);\n    }\n\n    get isValidAnswer() {\n      if (!this.get('question.isRequired')) {\n        return true;\n      }\n\n      return this.get('answer.values') !== undefined && this.get('answer.values.length') !== 0 && this.get('answer.values.0') !== '';\n    }\n\n    get inputType() {\n      switch (this.question.type) {\n        case 'RADIO':\n          return 'radio';\n          break;\n\n        case 'CHECKBOX':\n          return 'checkbox';\n          break;\n\n        case 'TEXT':\n          return 'text';\n          break;\n\n        default:\n          return 'keiner';\n          break;\n      }\n    }\n\n    get isPagebreak() {\n      return this.question.pagebreak;\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"question\", void 0);\n      (0, _defineProperty2.default)(this, \"customAnswer\", '');\n      (0, _initializerDefineProperty2.default)(this, \"answerService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"answers\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"maxAnswerLimitReached\", false);\n      (0, _initializerDefineProperty2.default)(this, \"doNotRender\", _descriptor4, this);\n      (0, _defineProperty2.default)(this, \"headTags\", void 0);\n      (0, _defineProperty2.default)(this, \"user\", void 0);\n    }\n\n    didReceiveAttrs() {\n      this.initAnswer();\n    }\n\n    get questionStatistics() {\n      let answers = this.answerService.get('models').filterBy('question.id', this.question.id); // the statistics are per question\n\n      if (this.question.get('type') !== 'CHECKBOX') {\n        if (this.question.get('isAnswerBasedCounting')) {\n          let ans = answers.filterBy('isParticipation');\n          return ans.reduce((acc, value, index, array) => {\n            let answerIndex = value.get('values.firstObject');\n            return acc + parseInt(this.question.get(`values.${answerIndex}`));\n          }, 0);\n        } else {\n          let ans = answers.filterBy('isParticipation').filter(a => {\n            return a.values.includes(this.question.truthyAnswer);\n          });\n          return ans.length;\n        }\n      } // the statistics are per possible value\n      //  {\n      //    0: '0'\n      //  }\n\n\n      return this.question.get('values').map((v, index) => {\n        return answers.filter(a => {\n          return a.isParticipation && a.values.includes(index.toString());\n        }).length;\n      });\n    }\n\n    get maxMultiselectReached() {\n      const length = this.answer.get('pendingData.values.length');\n\n      if (this.question.multiselectlimit > 0 && length >= this.question.multiselectlimit) {\n        return true;\n      }\n\n      return false;\n    }\n\n    getStatisticsForIndex(index) {\n      if (this.question.get('type') !== 'CHECKBOX') {\n        return this.get(`questionStatistics`);\n      }\n\n      return this.get(`questionStatistics.${index}`);\n    }\n\n    *saveAnswer(index, event) {\n      try {\n        // Delete custom input if we input by radio, checkbox or non-custom-input\n        Ember.run.next(() => {\n          // Skip for checkbox. in checkbox you have to clear it yourself\n          if (this.get(\"inputType\") == \"checkbox\") return; // Prevent race-condition\n          // If the next() isnt there the input field doesnt update its value\n          // so we wait for 1 render frame to reset the value to an empty string\n\n          this.answer.set(\"customvalue\", \"\");\n        }); //yield this.createAnswer.perform();\n\n        let value = index.toString();\n        this.set(\"maxAnswerLimitReached\", false); // we toggle the values here\n\n        if (event.target?.checked) {\n          // if the max answer count is reached we opt out of saving the value at all and reset the checkbox\n          if (this.get('maxMultiselectReached')) {\n            // const oldValues = [...this.answer.get(\"values\")];\n            // oldValues.shift();\n            // this.answer.set(\"values\",oldValues );\n            this.amplify.logger.log(`Question: ${this.question.question} max answers reached`);\n            console.log(this.answer.get(\"values\")); // TODO: Maybe display something in the template to signal max answer limit when pressing a checkbox\n\n            this.set(\"maxAnswerLimitReached\", true);\n            event.target.checked = false;\n            return true;\n          } // if `isParticipationQuestion` we have to check if max is reached is this answer would be applied\n\n\n          if (this.question.get('isParticipationQuestion')) {\n            let statistics = this.getStatisticsForIndex(index); //check for what we are counting here, answers.length or the sum of the answer values\n            // add the current answers value or otherwise we might break the limit\n\n            if (this.question.get('isAnswerBasedCounting')) {\n              statistics + parseInt(this.question.get(`values.${value}`));\n            }\n\n            if (this.question.valueLimits && this.question.valueLimits[index]) {\n              if (statistics >= this.question.valueLimits[index]) {\n                this.amplify.logger.log(`Question: ${this.question.question} max participants reached`);\n                event.target.checked = false;\n                return true;\n              }\n            } else {\n              if (statistics >= this.question.maxParticipants && this.question.maxParticipants > 0) {\n                this.amplify.logger.log(`Question: ${this.question.question} max participants reached`);\n                event.target.checked = false;\n                return true;\n              }\n            }\n          } // radios are single selelect only, so we need to replace the values instead of appending\n\n\n          let replaceExisting = this.get('inputType') === 'radio'; // if the question is of type `isParticipationQuestion` we mark the answer to later count the participants\n\n          if (this.question.get('isParticipationQuestion')) {\n            this.answer.set('isParticipation', true);\n          }\n\n          this.addValue(value, replaceExisting); // console.log(\n          //   this.question.isProfileQuestion,\n          //   'Profile Question, have to rush'\n          // );\n\n          if (this.question.isProfileQuestion) {\n            yield this.setValueToCurrentUser(value);\n          }\n        } else {\n          // remove from participants, if all answers will be unselected remove the isParticipation flag\n          if (this.question.get('isParticipationQuestion') && this.answer.get('values.length') <= 1) {\n            this.answer.set('isParticipation', false);\n          }\n\n          this.removeValue(value);\n\n          if (this.question.isProfileQuestion) {\n            yield this.setValueToCurrentUser('');\n          }\n        } // console.log(index, value, this.answer);\n\n\n        this.onSave(this.answer);\n      } catch (e) {\n        console.log(e);\n      }\n    }\n\n    async setValueToCurrentUser(value) {\n      if (this.amplify.currentClient.loginmode === 'QUESTIONNAIRE') {\n        return;\n      }\n\n      const mappedValues = this.answer.get('values').map(v => {\n        const tmp = this.question.get(`values.${v}`);\n        return tmp ? tmp : v;\n      });\n      let userValue;\n\n      switch (this.question.profileFieldType) {\n        case 'STRING':\n          if (!mappedValues.firstObject || mappedValues.firstObject === '') {\n            return;\n          }\n\n          userValue = mappedValues.firstObject;\n          break;\n\n        case 'NUMBER':\n          userValue = parseInt(mappedValues.firstObject);\n          break;\n\n        case 'ARRAY':\n          userValue = mappedValues;\n          break;\n\n        case 'BOOLEAN':\n          let truthyAnswer = this.question.get(`values.${this.question.truthyAnswer}`);\n\n          if (mappedValues.includes(truthyAnswer)) {\n            userValue = true;\n          } else {\n            userValue = false;\n          }\n\n          break;\n\n        default:\n          break;\n      }\n\n      try {\n        _browserRum.datadogRum.addAction('profilevalue', {\n          'userValue': userValue,\n          'profileField': this.question.profileField,\n          'user': this.amplify.currentUser.username\n        });\n\n        if (userValue !== undefined && userValue !== null) {\n          this.amplify.currentUser.set(this.question.profileField, userValue); // fix? only save after saveAll is called\n          //await this.userService.update(this.amplify.currentUser);\n        }\n      } catch (e) {}\n    }\n\n    removeValue(value) {\n      //workaround because values is readonly -> Datastore\n      let answers = this.answer.values.join(', '); // console.log(`remove ${value} from \"${answers}\"`);\n\n      this.answer.set('values', [...this.answer.get('values')].removeObject(value));\n    }\n\n    addValue(value) {\n      let replaceExisting = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      let newAnswerValue;\n\n      if (replaceExisting) {\n        newAnswerValue = [value];\n      } else {\n        newAnswerValue = new Set([...this.answer.get('values'), value]);\n      }\n\n      this.answer.set('values', [...newAnswerValue]); // Ember Changeset fucks up the realtionships with empty objects\n    }\n\n    *addCustomAnswer(newCustomAnswer) {\n      // Remove the currnet answer from values if empty input\n      if (newCustomAnswer == \"\") {\n        const values = [...this.answer.get(\"values\")];\n        const index = values.indexOf(this.answer.get('customvalue'));\n\n        if (index >= 0) {\n          values.removeAt(index);\n          this.answer.set(\"values\", values);\n        }\n\n        this.set(\"maxAnswerLimitReached\", false);\n        this.answer.set('customvalue', \"\");\n        return;\n      }\n\n      if (this.get(\"inputType\").toLowerCase() === \"checkbox\" && this.get(\"maxMultiselectReached\")) {\n        this.set(\"maxAnswerLimitReached\", true);\n        return;\n      }\n\n      this.answer.set('customvalue', newCustomAnswer);\n\n      if (this.questionContainsAnswer(newCustomAnswer)) {\n        newCustomAnswer = this.question.get(\"values\").findIndex(v => (v.toLowerCase ? v.toLowerCase() : v) == newCustomAnswer.toLowerCase())?.toString();\n        Ember.run.next(() => {\n          this.answer.set('customvalue', \"\");\n        });\n      }\n\n      if (this.get(\"inputType\").toLowerCase() === \"checkbox\") {\n        const oldValues = [...this.answer.get(\"values\")];\n        this.answer.set(\"values\", [...oldValues, newCustomAnswer]);\n      } else {\n        this.answer.set(\"values\", [newCustomAnswer]);\n      } // we save the custom answer in `customvalue` aswell so we can find it in the future\n\n\n      if (this.question.isProfileQuestion) {\n        yield this.setValueToCurrentUser(newCustomAnswer);\n      } // remove all other values from the answer.\n      // if we use a customvalue we dont want any other values\n\n\n      this.onSave(this.answer);\n    }\n\n    questionContainsAnswer(answer) {\n      return this.question.get(\"values\")?.some(v => (v.toLowerCase ? v.toLowerCase() : v) == answer.toLowerCase());\n    }\n\n    *loadUser() {\n      let user = this.get('amplify.currentUser');\n      this.set('user', user);\n      return user;\n    }\n\n    *loadAnswer() {}\n\n    initAnswer() {\n      try {\n        let answers = [],\n            answer,\n            userId,\n            user,\n            userAnswers = [];\n\n        if (this.amplify.currentClient.loginmode === 'QUESTIONNAIRE' && !this.amplify.isAuthenticated) {\n          user = null;\n        } else {\n          userId = this.get('amplify.currentUser.id');\n          user = this.get('amplify.currentUser');\n          answers = this.answers.filterBy('question.id', this.question.id);\n          userAnswers = answers.filterBy('user.id', userId);\n        }\n\n        if (this.answer) {\n          return;\n        }\n\n        if (userAnswers.length == 0) {\n          this.set('answerCreated', true);\n\n          if (this.question.isProfileQuestion) {\n            let transformUserFieldToAnswer = this.transformUserFieldToAnswer(this.question, this.amplify.currentUser); // console.log(\n            //   user,\n            //   this.question.get('data'),\n            //   transformUserFieldToAnswer\n            // );\n\n            if (!transformUserFieldToAnswer || transformUserFieldToAnswer[0] == null) {\n              transformUserFieldToAnswer = [\"\"];\n            }\n\n            answer = this.answerService.createChangeset({\n              question: this.question.get('data'),\n              user: user,\n              values: transformUserFieldToAnswer,\n              customvalue: transformUserFieldToAnswer[0]\n            });\n          } else {\n            answer = this.answerService.createChangeset({\n              question: this.question.get('data'),\n              user: user,\n              values: []\n            });\n          } // if isProfileQuestion we preset the uservalue to prefill the form\n\n\n          this.onSave(answer);\n          Ember.run.next(this, () => {\n            this.set('answer', answer);\n          });\n          return answer;\n        } else {\n          this.set('answer', userAnswers.firstObject);\n        }\n      } catch (e) {\n        console.log(e);\n      }\n    } // prefill answer and transform to array\n\n\n    transformUserFieldToAnswer(question, user) {\n      try {\n        if (this.amplify.currentClient.loginmode === 'QUESTIONNAIRE' && !this.amplify.isAuthenticated) {\n          console.log('Skipping Prefill since no user is detected');\n          return [];\n        }\n\n        if (question.profileFieldType === 'ARRAY') {\n          let fieldValue = user.get(question.profileField);\n          let reducedArray = fieldValue.reduce((acc, value, index, array) => {\n            let indexOfValue = question.get('values').indexOf(value);\n\n            if (indexOfValue !== -1) {\n              acc.push(indexOfValue.toString());\n            }\n\n            return acc;\n          }, []);\n          return reducedArray;\n        }\n\n        if (question.profileFieldType === 'STRING') {\n          let fieldValue = user.get(question.profileField);\n          let index = question.get('values').indexOf(fieldValue);\n\n          if (index === -1) {\n            return [fieldValue];\n          } else {\n            return [index.toString()];\n          }\n        }\n\n        if (question.profileFieldType === 'NUMBER') {\n          let fieldValue = user.get(question.profileField);\n          let index = question.get('values').indexOf(fieldValue.toString());\n          return [index.toString()];\n        }\n\n        if (question.profileFieldType === 'BOOLEAN') {\n          let fieldValue = user.get(question.profileField);\n\n          if (fieldValue) {\n            return [question.truthyAnswer];\n          } else {\n            return [(+!+question.truthyAnswer).toString()];\n          }\n        }\n\n        return [];\n      } catch (e) {\n        console.log(user, question);\n        console.error(e);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"answerService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"answers\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"doNotRender\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"boundComputed\", [_dec6, _dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"boundComputed\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"inputName\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputName\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isValidAnswer\", [_dec9, _dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"isValidAnswer\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"inputType\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputType\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isPagebreak\", [_dec12, _dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"isPagebreak\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"questionStatistics\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"questionStatistics\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"maxMultiselectReached\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"maxMultiselectReached\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"saveAnswer\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveAnswer\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"addCustomAnswer\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"addCustomAnswer\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"loadUser\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"loadUser\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"loadAnswer\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"loadAnswer\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppFrage;\n});","define(\"event-components/components/app-frage/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"6gK8ZvLE\",\n    \"block\": \"{\\\"symbols\\\":[\\\"value\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"answer\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"is-same-or-before\\\",[[28,\\\"moment\\\",[[23,0,[\\\"question\\\",\\\"until\\\"]],\\\"YYYY-MM-DD h:mm\\\"],null],[28,\\\"now\\\",null,null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"i\\\",true],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"fragebogen.frist_abgelaufen_am\\\"],null],false],[0,\\\"\\\\n          \\\"],[1,[28,\\\"moment-format\\\",[[28,\\\"moment\\\",[[23,0,[\\\"question\\\",\\\"until\\\"]],\\\"YYYY-MM-DD h:mm\\\"],null],\\\"DD.MM.YYYY h:mm\\\"],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"question\\\",\\\"type\\\"]],\\\"Keiner\\\"],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"legend\\\",true],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"link-blank\\\",[[23,0,[\\\"question\\\",\\\"question\\\"]]],null],true],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"legend\\\",true],[8],[0,\\\"\\\\n          \\\"],[1,[23,0,[\\\"question\\\",\\\"question\\\"]],true],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[23,0,[\\\"question\\\",\\\"maxParticipants\\\"]],0],null]],null,{\\\"statements\\\":[[0,\\\"            (\\\"],[1,[28,\\\"sub\\\",[[23,0,[\\\"question\\\",\\\"maxParticipants\\\"]],[23,0,[\\\"question\\\",\\\"participations\\\"]]],null],false],[0,\\\"\\\\n            \\\"],[1,[28,\\\"t\\\",[\\\"verfuegbar\\\"],null],false],[0,\\\")\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[4,\\\"if\\\",[[28,\\\"includes\\\",[[23,0,[\\\"inputType\\\"]],[28,\\\"w\\\",[\\\"checkbox\\\",\\\"radio\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"question\\\",\\\"values\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"label\\\",true],[11,\\\"class\\\",[29,[\\\"container\\\\n              \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"inputType\\\"]],\\\"checkbox\\\"],null],\\\"container-checkbox\\\",\\\"\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"inputType\\\"]],\\\"checkbox\\\"],null]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[5,\\\"input\\\",[[12,\\\"disabled\\\",[28,\\\"or\\\",[[28,\\\"and\\\",[[28,\\\"gt\\\",[[23,0,[\\\"question\\\",\\\"until\\\",\\\"length\\\"]],0],null],[28,\\\"is-same-or-before\\\",[[28,\\\"moment\\\",[[23,0,[\\\"question\\\",\\\"until\\\"]],\\\"YYYY-MM-DD h:mm\\\"],null],[28,\\\"now\\\",null,null]],null]],null],[28,\\\"and\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null],[28,\\\"gte\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"questionStatistics\\\"]],[23,2,[]]],null],[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null]],null]],null]],null]],[3,\\\"on\\\",[\\\"change\\\",[28,\\\"perform\\\",[[23,0,[\\\"saveAnswer\\\"]],[23,2,[]]],null]]]],[[\\\"@type\\\",\\\"@required\\\",\\\"@name\\\",\\\"@checked\\\"],[[23,0,[\\\"inputType\\\"]],[23,0,[\\\"question\\\",\\\"isRequired\\\"]],[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"inputType\\\"]],\\\"radio\\\"],null],[23,0,[\\\"inputName\\\"]],[28,\\\"concat\\\",[[23,0,[\\\"inputName\\\"]],\\\"-\\\",[23,2,[]]],null]],null],[28,\\\"includes\\\",[[28,\\\"to-string\\\",[[23,2,[]]],null],[28,\\\"changeset-get\\\",[[23,0,[\\\"answer\\\"]],\\\"values\\\"],null]],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"              \\\"],[5,\\\"input\\\",[[12,\\\"disabled\\\",[28,\\\"or\\\",[[28,\\\"and\\\",[[28,\\\"gt\\\",[[23,0,[\\\"question\\\",\\\"until\\\",\\\"length\\\"]],0],null],[28,\\\"is-same-or-before\\\",[[28,\\\"moment\\\",[[23,0,[\\\"question\\\",\\\"until\\\"]],\\\"YYYY-MM-DD h:mm\\\"],null],[28,\\\"now\\\",null,null]],null]],null],[28,\\\"and\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null],[28,\\\"gte\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"questionStatistics\\\"]],[23,2,[]]],null],[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null]],null]],null]],null]],[12,\\\"checked\\\",[28,\\\"includes\\\",[[28,\\\"to-string\\\",[[23,2,[]]],null],[28,\\\"changeset-get\\\",[[23,0,[\\\"answer\\\"]],\\\"values\\\"],null]],null]],[3,\\\"on\\\",[\\\"change\\\",[28,\\\"perform\\\",[[23,0,[\\\"saveAnswer\\\"]],[23,2,[]]],null]]]],[[\\\"@type\\\",\\\"@required\\\",\\\"@name\\\",\\\"@value\\\"],[[23,0,[\\\"inputType\\\"]],[23,0,[\\\"question\\\",\\\"isRequired\\\"]],[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"inputType\\\"]],\\\"radio\\\"],null],[23,0,[\\\"inputName\\\"]],[28,\\\"concat\\\",[[23,0,[\\\"inputName\\\"]],\\\"-\\\",[23,2,[]]],null]],null],[28,\\\"input-value\\\",[[28,\\\"changeset-get\\\",[[23,0,[\\\"answer\\\"]],\\\"values\\\"],null],[28,\\\"to-string\\\",[[23,2,[]]],null]],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"checkmark\\\"],[8],[9],[0,\\\"\\\\n            \\\"],[1,[23,1,[]],false],[0,\\\" \\\\n\\\"],[4,\\\"if\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"questionStatistics\\\"]],[23,2,[]]],null]],null,{\\\"statements\\\":[[0,\\\"                (\\\"],[1,[28,\\\"sub\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null],[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"questionStatistics\\\"]],[23,2,[]]],null]],null],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"t\\\",[\\\"verfuegbar\\\"],null],false],[0,\\\")\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                (\\\"],[1,[28,\\\"sub\\\",[[28,\\\"get\\\",[[23,0,[\\\"question\\\",\\\"valueLimits\\\"]],[23,2,[]]],null],0],null],false],[0,\\\"\\\\n                \\\"],[1,[28,\\\"t\\\",[\\\"verfuegbar\\\"],null],false],[0,\\\")\\\\n                \\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},null]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"or\\\",[[28,\\\"eq\\\",[[23,0,[\\\"inputType\\\"]],\\\"text\\\"],null],[23,0,[\\\"question\\\",\\\"allowcustominput\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"label\\\",true],[8],[0,\\\"\\\\n          \\\"],[5,\\\"input\\\",[[12,\\\"name\\\",[23,0,[\\\"inputName\\\"]]],[12,\\\"disabled\\\",[28,\\\"and\\\",[[28,\\\"gt\\\",[[23,0,[\\\"question\\\",\\\"until\\\",\\\"length\\\"]],0],null],[28,\\\"is-same-or-before\\\",[[28,\\\"moment\\\",[[23,0,[\\\"question\\\",\\\"until\\\"]],\\\"YYYY-MM-DD h:mm\\\"],null],[28,\\\"now\\\",null,null]],null]],null]],[12,\\\"focus-out\\\",[28,\\\"perform\\\",[[23,0,[\\\"updateAnswerWithCustom\\\"]]],null]],[12,\\\"value\\\",[28,\\\"if\\\",[[23,0,[\\\"answer\\\",\\\"customvalue\\\"]],[23,0,[\\\"answer\\\",\\\"customvalue\\\"]],\\\"\\\"],null]],[12,\\\"type\\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,0,[\\\"question\\\",\\\"profileField\\\"]],\\\"password\\\"],null],\\\"password\\\",\\\"text\\\"],null]],[3,\\\"on\\\",[\\\"change\\\",[28,\\\"perform\\\",[[23,0,[\\\"addCustomAnswer\\\"]]],[[\\\"value\\\"],[\\\"target.value\\\"]]]]]],[[\\\"@required\\\"],[[23,0,[\\\"question\\\",\\\"isRequired\\\"]]]]],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"maxAnswerLimitReached\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[8],[0,\\\"Maximale Antwortzahl erreicht. Zuerst eine Antwort Ihrer Wahl abwählen!\\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[14,3]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-frage/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-fragebogen/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-concurrency-decorators\", \"@ember-decorators/component\", \"event-components/components/app-fragebogen/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberConcurrencyDecorators, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12;\n\n  let AppFragebogen = (_dec = Ember.inject.service('notifications'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service, _dec4 = Ember.inject.service, _dec5 = Ember.inject.service('answer'), _dec6 = Ember.inject.service('question'), _dec7 = Ember.inject.service('user'), _dec8 = Ember.inject.service('datastore'), _dec9 = Ember.inject.service, _dec10 = Ember.computed.alias('answerService.models.[]'), _dec11 = Ember.computed('questionService.models.[]'), _dec12 = Ember.computed.alias(\"amplify.currentUser\"), _dec13 = Ember.computed('bufferedChanges.[]', 'answerService.models.[]', 'combinedAnswersToggle'), _dec14 = Ember._action, _dec15 = Ember.computed('questions'), _dec16 = Ember._action, _dec17 = (0, _emberConcurrencyDecorators.task)(), (_class = class AppFragebogen extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"notifications\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"intl\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"eventbus\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"answerService\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"questionService\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"datastoreService\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"answers\", _descriptor10, this);\n      (0, _defineProperty2.default)(this, \"showSaveButton\", true);\n      (0, _initializerDefineProperty2.default)(this, \"isInvalid\", _descriptor11, this);\n      (0, _initializerDefineProperty2.default)(this, \"user\", _descriptor12, this);\n      (0, _defineProperty2.default)(this, \"finished\", false);\n      (0, _defineProperty2.default)(this, \"isDisabled\", false);\n      (0, _defineProperty2.default)(this, \"isProfile\", false);\n      (0, _defineProperty2.default)(this, \"bufferedChanges\", []);\n      (0, _defineProperty2.default)(this, \"combinedAnswersToggle\", false);\n    }\n\n    get questions() {\n      let ques = this.questionService.models.sort((a, b) => a.get('sorting') - b.get('sorting'));\n\n      if (this.isProfile) {\n        return ques.filterBy('isHiddenInProfile', false);\n      }\n\n      return ques.filterBy('isHiddenInQuestionnaire', false);\n    }\n\n    get combinedAnswers() {\n      return [...new Set([...this.answerService.models, ...this.bufferedChanges])].filter(a => a.user !== undefined);\n    }\n\n    onSaveAnswer(answer) {\n      let found = this.bufferedChanges.findBy('question.id', answer.question?.id);\n\n      if (found) {\n        let index = this.bufferedChanges.indexOf(found);\n        this.bufferedChanges.replace(index, 1, [answer]);\n      } else {\n        this.bufferedChanges.push(answer);\n      }\n\n      this.toggleProperty('combinedAnswersToggle');\n    }\n\n    get groups() {\n      let groups = [];\n\n      if (!this.questions) {\n        return groups;\n      }\n\n      this.questions.forEach(element => {\n        if (!groups.includes(element.visualGrouping)) {\n          groups.pushObject(element.visualGrouping);\n        }\n      });\n      return groups;\n    }\n\n    onParticipationChange(value) {\n      if (value === '1') {\n        this.set('isDisabled', true);\n      } else {\n        this.set('isDisabled', false);\n      }\n    }\n\n    *sendNotificationEmail() {\n      try {\n        if (this.showSaveButton == false) {\n          return;\n        }\n\n        let answers = yield this.answerService.findAll();\n        let user = this.amplify.currentUser;\n        answers = answers.filter(a => {\n          return a.question !== undefined && a.question !== null;\n        });\n        let questions = answers.map(a => {\n          console.log(a);\n          return {\n            id: a.question.id,\n            answer: a.question.values[parseInt(a.value)] || a.values[0]\n          };\n        });\n        let {\n          customEmailEndpoint\n        } = Ember.getOwner(this).resolveRegistration('config:environment');\n        yield fetch(customEmailEndpoint, {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json',\n            Authorization: `${(yield this.amplify.Auth.currentSession()).getAccessToken().getJwtToken()}`\n          },\n          body: JSON.stringify({\n            email: user.email,\n            emailSender: this.amplify.currentTheme.config.emailsender,\n            subject: this.get('amplify.currentTheme.config.emailtempalteConfirmationSubject').replace(/\\n/g, ''),\n            content: 'empty',\n            emailTemplate: this.get('amplify.currentTheme.config.emailtempalteConfirmation').replace(/\\n/g, '<br />'),\n            data: { ...this.amplify.currentUser.get('data'),\n              ...this.amplify.currentUser.get('change'),\n              questions: questions\n            }\n          })\n        }).then(response => response.json());\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    async userisNotUnique(username) {\n      let users = await this.userService.findBy(u => {\n        return u.username('eq', username);\n      });\n      return users.length > 0;\n    }\n\n    *registerNewUser(email, password, firstname, lastname) {\n      let kuerzel = this.amplify.currentClient.kuerzel;\n\n      if (!kuerzel) {\n        kuerzel = '';\n      }\n\n      let username = this.usernameByKuerzel(email);\n      let isUserNotUnique = yield this.userisNotUnique(username);\n\n      if (isUserNotUnique) {\n        this.set('error', this.intl.t('ts.user_exits'));\n        return;\n      } //@ts-ignore\n\n\n      let prismaUser = yield this.userService.createChangeset({\n        username: username,\n        firstname: firstname,\n        lastname: lastname,\n        email: email.toLowerCase().trim(),\n        groups: ['default'],\n        clientID: this.amplify.currentClient.id,\n        owner: username,\n        invitecode: password\n      });\n      return this.userService.create(prismaUser);\n    }\n\n    usernameByKuerzel(email) {\n      let kuerzel = this.amplify.currentClient.kuerzel;\n\n      if (!kuerzel) {\n        kuerzel = '';\n      }\n\n      if (email.toLowerCase().includes(kuerzel)) {\n        kuerzel = '';\n      }\n\n      let username = `${kuerzel}${email.toLowerCase().trim()}`;\n      return username;\n    }\n\n    async setValueToCurrentUser(values, question) {\n      console.log(values);\n      const mappedValues = values.map(v => {\n        const tmp = Ember.get(question, `values.${v}`);\n        return tmp ? tmp : v;\n      });\n      let userValue;\n\n      switch (question.profileFieldType) {\n        case 'STRING':\n          userValue = mappedValues.firstObject;\n\n          if (question.profileField == 'username') {\n            userValue = this.usernameByKuerzel(mappedValues.firstObject);\n          }\n\n          break;\n\n        case 'NUMBER':\n          userValue = parseInt(mappedValues.firstObject);\n          break;\n\n        case 'ARRAY':\n          userValue = mappedValues;\n          break;\n\n        case 'BOOLEAN':\n          let truthyAnswer = Ember.get(question, `values.${question.truthyAnswer}`);\n          if (!truthyAnswer) truthyAnswer = `${question.truthyAnswer}`;\n\n          if (mappedValues.includes(truthyAnswer)) {\n            userValue = true;\n          } else {\n            userValue = false;\n          }\n\n          break;\n\n        default:\n          break;\n      }\n\n      if (question.profileField == 'password') {\n        return;\n      }\n\n      let truthyAnswer = Ember.get(question, `values.${question.truthyAnswer}`);\n      if (!truthyAnswer) truthyAnswer = `${question.truthyAnswer}`;\n      console.log(userValue, mappedValues, question.profileFieldType, question.profileField);\n      if (this.amplify.currentUser) this.amplify.currentUser.set(question.profileField, userValue);\n      return;\n    }\n\n    *goToStart() {\n      this.router.transitionTo('index');\n    }\n    /**\n     * Checks if a question is valid and has an answer / answers\n     * \n     * @param question The question changeset to check\n     * @returns boolean\n     */\n\n\n    isQuestionValid(question) {\n      // If the question is not required it is allways valid\n      if (!question?.get(\"isRequired\")) return true; // Get the answered values for this question\n      // For this we combine the existing answers (previous answers wich get updates)\n      // And the buffered changes wich are newly created or changed answers (changes are ALSO in .answers)\n      // As long as we find the answer it doesnt matter if it comes from .answers or .bufferedChanges\n\n      const values = [...this.answers, ...this.bufferedChanges].find(answer => answer?.get(\"question.id\") == question?.id)?.get(\"values\"); // The values have to be set for the question to be valid\n\n      return values != undefined && values != null && values != \"\" && values.length != 0 && values[0] != \"\";\n    }\n    /**\n     * checks if our MAIN form is valid by checking all questions\n     * \n     * @returns Boolean\n     */\n\n\n    isFormValid() {\n      // Native form validation to show errors\n      const formValid = document.getElementById('anmeldeform').checkValidity(); // If the native form validation returns true it will definetly be all valid\n\n      if (formValid) return true; // But the native checker does not recognise all answers correctly\n      // So for the rest we just the same checker as in the component app-frage\n\n      return this.questions.map(question => this.isQuestionValid(question)).every(result => result == true); // Check if every question is valid\n    }\n\n    *saveAll() {\n      this.set('isInvalid', false);\n\n      if (!this.isFormValid()) {\n        this.get('notifications').info(this.intl.t('fragebogen.required_fields'), {\n          autoClear: true,\n          clearDuration: 10000\n        });\n        this.set('isInvalid', true); //this.bufferedChanges = [];\n\n        return;\n      }\n\n      try {\n        let user;\n        let routeToDashboardAfterSave = false; // save all answrs currently cuffered\n\n        if (this.bufferedChanges.length > 0) {\n          // check if a user is registered, register a new user if one is missing\n          let usernameAnswer = this.bufferedChanges.find(a => {\n            return a.question?.profileField === 'username';\n          });\n          let passwordAnswer = this.bufferedChanges.find(a => {\n            return a.question?.profileField === 'password';\n          });\n          let firstnameAnswer = this.bufferedChanges.find(a => {\n            return a.question?.profileField === 'firstname';\n          });\n          let lastnameAnswer = this.bufferedChanges.find(a => {\n            return a.question?.profileField === 'lastname';\n          });\n          let passwordAnswers = this.bufferedChanges.filter(a => {\n            return a.question?.profileField === 'password';\n          });\n\n          if (passwordAnswers.length > 1) {\n            if (passwordAnswers[0].values[0] !== passwordAnswers[1].values[0]) {\n              this.get('notifications').info(\"Die Passwörter sind nicht identisch\", {\n                autoClear: true,\n                clearDuration: 10000\n              });\n              this.set('isInvalid', true);\n              return;\n            }\n          }\n\n          if (usernameAnswer?.values && passwordAnswer?.values && firstnameAnswer?.values && lastnameAnswer?.values && !this.amplify.isAuthenticated) {\n            //@ts-ignore\n            user = yield this.registerNewUser.perform(usernameAnswer?.values[0], passwordAnswer?.values[0], firstnameAnswer?.values[0], lastnameAnswer?.values[0]); // yield timeout(2000) // <- FIXME: Racecondition maybe?\n\n            yield this.amplify.Auth.signIn(this.usernameByKuerzel(usernameAnswer?.values[0]), passwordAnswer?.values[0]);\n            user.set('token', '');\n            this.bufferedChanges.forEach(a => {\n              a.set('user', user.get('data'));\n            });\n            this.set('amplify.currentUser', user);\n            routeToDashboardAfterSave = true;\n            yield this.datastoreService.restartDatastore();\n          }\n\n          if (!user) {\n            user = this.amplify.currentUser;\n          }\n\n          let savedAnswers = this.bufferedChanges.map(a => {\n            if (a.question.isProfileQuestion) {\n              // Custom value > normal values\n              console.log(a.get(\"customvalue\"), a.get(\"values\"));\n              this.setValueToCurrentUser(a.get(\"customvalue\") != \"\" && a.get(\"customvalue\") != null && a.get(\"customvalue\") != undefined ? [a.get(\"customvalue\")] : a.get('values'), a.get('data').question);\n            }\n\n            if (!a._version) {\n              return this.answerService.create(a);\n            } else {\n              return this.answerService.update(a);\n            }\n          });\n          yield Promise.all(savedAnswers);\n          yield this.userService.update(this.amplify.currentUser);\n        }\n\n        if (!this.isFormValid()) {\n          this.get('notifications').info(this.intl.t('fragebogen.required_fields'), {\n            autoClear: true,\n            clearDuration: 10000\n          });\n          this.set('isInvalid', true);\n          this.bufferedChanges = [];\n          throw 'isInvalid';\n        } else {\n          this.get('eventbus').trigger('saveanswer'); // yield timeout(2000) // FIXME: <- Maybe racecondition\n\n          this.sendNotificationEmail.perform();\n          this.amplify.currentUser.set('finished', true);\n\n          if (!this.isProfile) {\n            this.set('finished', true);\n          } else {\n            this.get('notifications').success(\"Profil gespeichert!\", {\n              autoClear: true,\n              clearDuration: 5000\n            });\n          }\n\n          yield this.userService.update(this.amplify.currentUser);\n        } // TODO: Notification for Success maybe ?\n        // this.get('notifications').success(\n        //   \"Gespeichert!\", {\n        //     autoClear: true,\n        //     clearDuration: 2000\n        //   }\n        // );\n\n\n        if (routeToDashboardAfterSave) {\n          this.router.transitionTo('index');\n        }\n\n        this.set('bufferedChanges', []);\n      } catch (e) {\n        console.error(e);\n      }\n    } // prefill answer and transform to array\n\n\n    transformUserFieldToAnswer(question) {\n      if (question.profileFieldType === 'ARRAY') {\n        let fieldValue = this.amplify.currentUser.get(question.profileField);\n        let reducedArray = fieldValue.reduce((acc, value) => {\n          let indexOfValue = question.get('values').indexOf(value);\n\n          if (indexOfValue !== -1) {\n            acc.push(indexOfValue.toString());\n          }\n\n          return acc;\n        }, []);\n        return reducedArray;\n      }\n\n      if (question.profileFieldType === 'STRING') {\n        let fieldValue = this.amplify.currentUser.get(question.profileField);\n\n        if (!fieldValue) {\n          fieldValue = '';\n        }\n\n        if (question.profileField == 'password') {\n          fieldValue = '';\n        }\n\n        return [fieldValue];\n      }\n\n      if (question.profileFieldType === 'NUMBER') {\n        let fieldValue = this.amplify.currentUser.get(question.profileField);\n        let index = question.get('values').indexOf(fieldValue.toString());\n        return [index.toString()];\n      }\n\n      if (question.profileFieldType === 'BOOLEAN') {\n        let fieldValue = this.amplify.currentUser.get(question.profileField);\n\n        if (fieldValue) {\n          return [question.truthyAnswer];\n        } else {\n          return [(+!+question.truthyAnswer).toString()];\n        }\n      }\n\n      return;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"notifications\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"intl\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"eventbus\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"answerService\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"questionService\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"datastoreService\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"router\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"answers\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"questions\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"questions\"), _class.prototype), _descriptor11 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isInvalid\", [_component.className], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor12 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"user\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"combinedAnswers\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"combinedAnswers\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onSaveAnswer\", [_dec14], Object.getOwnPropertyDescriptor(_class.prototype, \"onSaveAnswer\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"groups\", [_dec15], Object.getOwnPropertyDescriptor(_class.prototype, \"groups\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onParticipationChange\", [_dec16], Object.getOwnPropertyDescriptor(_class.prototype, \"onParticipationChange\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"sendNotificationEmail\", [_dec17], Object.getOwnPropertyDescriptor(_class.prototype, \"sendNotificationEmail\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"registerNewUser\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"registerNewUser\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"goToStart\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"goToStart\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"saveAll\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"saveAll\"), _class.prototype)), _class));\n  _exports.default = AppFragebogen;\n});","define(\"event-components/components/app-fragebogen/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"ejgVQlZK\",\n    \"block\": \"{\\\"symbols\\\":[\\\"group\\\",\\\"question\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"finished\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"success-message\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"successMessageQuestions\\\"]],true],[0,\\\"\\\\n    \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@task\\\"],[[23,0,[\\\"goToStart\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"backToHome\\\"],null],false],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"form\\\",true],[10,\\\"id\\\",\\\"anmeldeform\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"groups\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-frage\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"isProfile\\\"]]],null,{\\\"statements\\\":[[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"p\\\",true],[10,\\\"style\\\",\\\"margin-top:40px;font-size: 1.12em;font-size: 1.1rem;\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"b\\\",true],[8],[0,\\\"\\\\n              \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[4,\\\"each\\\",[[24,[\\\"questions\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,2,[\\\"visualGrouping\\\"]],[23,1,[]]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"acl-question\\\",[],[[\\\"@whitelist\\\",\\\"@answers\\\"],[[23,2,[\\\"questionWhitelist\\\"]],[23,0,[\\\"combinedAnswers\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n              \\\"],[5,\\\"acl-groups\\\",[],[[\\\"@groups\\\",\\\"@usergroups\\\"],[[23,2,[\\\"groups\\\"]],[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"groups\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[5,\\\"app-frage\\\",[[12,\\\"class\\\",[29,[[28,\\\"if\\\",[[24,[\\\"isMobile\\\",\\\"any\\\"]],\\\"is--mobile\\\",\\\"is--desktop\\\"],null],\\\"\\\\n\\\\n                    \\\",[28,\\\"if\\\",[[28,\\\"is-same-or-before\\\",[[28,\\\"moment\\\",[[23,2,[\\\"until\\\"]],\\\"DD.MM.YYYY\\\"],null],[28,\\\"now\\\",null,null]],null],\\\"isDisabled\\\"],null]]]]],[[\\\"@onParticipationChange\\\",\\\"@showSaveButton\\\",\\\"@onSave\\\",\\\"@question\\\",\\\"@client\\\",\\\"@answer\\\"],[[28,\\\"action\\\",[[23,0,[]],\\\"onParticipationChange\\\"],null],[22,\\\"showSaveButton\\\"],[22,\\\"onSaveAnswer\\\"],[23,2,[]],[22,\\\"client\\\"],[28,\\\"find-by\\\",[\\\"question.id\\\",[23,2,[\\\"id\\\"]],[23,0,[\\\"combinedAnswers\\\"]]],null]]]],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[2]},null],[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"clear\\\"],[8],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n  \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@task\\\"],[[23,0,[\\\"saveAll\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"speichern\\\"],null],false],[0,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n  \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-fragebogen/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-gallery-post/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/app-gallery-post/template\"], function (_exports, _defineProperty2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // @ts-ignore: Ignore import of compiled template\n  class AppGalleryPost extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"classNames\", ['app-gallery-post']);\n    }\n\n    click() {\n      this.onDetail(this.post);\n    }\n\n  }\n\n  _exports.default = AppGalleryPost;\n  ;\n});","define(\"event-components/components/app-gallery-post/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"oTpJyexn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-gallery-post__image\\\"],[8],[0,\\\"\\\\n  \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,0,[\\\"post\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[7,\\\"figure\\\",true],[8],[0,\\\"\\\\n      \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image fade-in\\\"],[10,\\\"loading\\\",\\\"lazy\\\"],[11,\\\"alt\\\",[29,[[23,0,[\\\"post\\\",\\\"text\\\"]]]]],[11,\\\"src\\\",[29,[[23,1,[]]]]],[8],[9],[0,\\\"\\\\n      \\\"],[7,\\\"figcaption\\\",true],[8],[0,\\\"\\\\n        \\\"],[1,[23,0,[\\\"post\\\",\\\"text\\\"]],false],[0,\\\" \\\"],[7,\\\"br\\\",true],[8],[9],[7,\\\"i\\\",true],[8],[5,\\\"live-datetime\\\",[],[[\\\"@timestamp\\\"],[[23,0,[\\\"post\\\",\\\"createdAt\\\"]]]]],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-gallery-post/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-gallery/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-gallery/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let AppGallery = (_dec = Ember.inject.service('post'), _dec2 = Ember.inject.service('wall'), _dec3 = Ember.computed.filter('postService.models.[]', ['wallId', 'postService.models'], function (post) {\n    const moderated = post.get('wall.moderated');\n    let check;\n\n    if (moderated) {\n      check = post.get('moderated') === 'Freigeschaltet';\n    } else {\n      check = true;\n    }\n\n    if (this.wallId) {\n      return check && post.get('image') && post.get('wall.id') === this.wallId;\n    }\n\n    return check && post.get('image');\n  }), _dec4 = Ember.computed.sort('_posts', \"sorting\"), (_class = class AppGallery extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"wall\", null);\n      (0, _defineProperty2.default)(this, \"wallId\", null);\n      (0, _initializerDefineProperty2.default)(this, \"postService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"wallService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"_posts\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"sorting\", [\"createdAt:desc\"]);\n      (0, _initializerDefineProperty2.default)(this, \"posts\", _descriptor4, this);\n    }\n\n    didReceiveAttrs() {\n      this.loadModel();\n    }\n\n    loadModel() {\n      if (this.wallId) {\n        this.set('wall', this.wallService.findById(this.wallId));\n      }\n\n      this.postService.findAll();\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"postService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"wallService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_posts\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"posts\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class));\n  _exports.default = AppGallery;\n  ;\n});","define(\"event-components/components/app-gallery/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"7LzbSFG3\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"post\\\",\\\"wall\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"style\\\",true],[8],[0,\\\"\\\\n  .header-image, .app-header, button, .footer-nav, .pm-messages, .app-navbar  {\\\\n      display:none!important;\\\\n    }\\\\n    .app {\\\\n      max-width: 100vw;;\\\\n\\\\n    }\\\\n    .is--desktop .app-main, .is--desktop .header-image {\\\\n      max-width: 100vw;;\\\\n      min-height: 500px;\\\\n      margin: 0 auto;\\\\n    }\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"wall\\\"]]],null,{\\\"statements\\\":[[4,\\\"async-await\\\",[[23,0,[\\\"wall\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,3,[\\\"galleryImage\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"gallery-background\\\"],[8],[0,\\\"\\\\n          \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,3,[\\\"galleryImage\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,4,[]]]]],[8],[9],[0,\\\"\\\\n          \\\"]],\\\"parameters\\\":[4]}],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[3]},null]],\\\"parameters\\\":[]},null],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"app-gallery container-fluid \\\",[28,\\\"if\\\",[[28,\\\"gte\\\",[[23,0,[\\\"posts\\\",\\\"length\\\"]],24],null],\\\"col6\\\"],null],\\\"  \\\",[28,\\\"if\\\",[[28,\\\"gte\\\",[[23,0,[\\\"posts\\\",\\\"length\\\"]],40],null],\\\"col8\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"posts\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"app-gallery-post\\\",[],[[\\\"@post\\\",\\\"@onDetail\\\"],[[23,2,[]],[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"detailImage\\\"]]],null]],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"detailImage\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"app-gallery-detailview\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"detailImage\\\"]]],null],\\\"\\\"]],[8],[0,\\\"\\\\n    \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,0,[\\\"detailImage\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[7,\\\"figure\\\",true],[8],[0,\\\"\\\\n        \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"info-image\\\"],[10,\\\"loading\\\",\\\"lazy\\\"],[11,\\\"alt\\\",[29,[[23,0,[\\\"detailImage\\\",\\\"text\\\"]]]]],[11,\\\"src\\\",[29,[[23,1,[]]]]],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"figcaption\\\",true],[8],[0,\\\"\\\\n          \\\"],[1,[23,0,[\\\"detailImage\\\",\\\"text\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[14,5]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-gallery/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-map-beacondetail/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"event-components/components/app-map-beacondetail/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _descriptor;\n\n  let AppMapBeacondetail = (_dec = (0, _component.className)(\"isOpen\", \"isClosed\"), _dec2 = Ember.computed(\"beacon\"), _dec3 = Ember._action, (_class = class AppMapBeacondetail extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"isOpen\", _descriptor, this);\n    }\n\n    get beaconClass() {\n      if (this.beacon) {\n        return `beacon-border-${this.beacon.id}`;\n      } else {\n        return \"\";\n      }\n    }\n\n    click() {\n      this.toggleProperty(\"isOpen\");\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isOpen\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"beaconClass\", [_component.className, _dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"beaconClass\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"click\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"click\"), _class.prototype)), _class));\n  _exports.default = AppMapBeacondetail;\n});","define(\"event-components/components/app-map-beacondetail/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"g9bPScqI\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"style\\\",true],[8],[0,\\\"\\\\n    .beacon-border-\\\"],[1,[24,[\\\"beacon\\\",\\\"id\\\"]],false],[0,\\\"::before {\\\\n        border-top: 10px solid \\\"],[1,[24,[\\\"beacon\\\",\\\"color\\\"]],false],[0,\\\";\\\\n    }\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"border-top border-color1\\\"],[8],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-map-beacondetail/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-map/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-concurrency-decorators\", \"@ember-decorators/object\", \"@ember-decorators/component\", \"event-components/components/app-map/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberConcurrencyDecorators, _object, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _descriptor, _descriptor2, _descriptor3;\n\n  let AppMap = (_dec = (0, _component.attribute)(\"id\"), _dec2 = Ember.inject.service('map'), _dec3 = Ember.inject.service('beacon'), _dec4 = Ember.computed(\"scaleStep\"), _dec5 = Ember.computed(\"mapHeigth\", \"mapWidth\"), _dec6 = Ember.computed(\"mapHeight\", \"currentZoomLevel\"), _dec7 = Ember.computed(\"mapWidth\", \"currentZoomLevel\"), _dec8 = Ember._action, _dec9 = Ember._action, _dec10 = Ember._action, _dec11 = (0, _object.observes)(\"mapHeight\", \"mapWidth\"), _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = (0, _emberConcurrencyDecorators.task)(), (_class = class AppMap extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"map\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"mapService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"beaconService\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"beaconDetailIsOpen\", false);\n      (0, _defineProperty2.default)(this, \"currentBeacon\", null);\n      (0, _defineProperty2.default)(this, \"mapHeight\", 0);\n      (0, _defineProperty2.default)(this, \"initialMapHeight\", void 0);\n      (0, _defineProperty2.default)(this, \"mapWidth\", 0);\n      (0, _defineProperty2.default)(this, \"zoomLevels\", [{\n        level: \"1\",\n        value: 0.5,\n        percentage: 50\n      }, {\n        level: \"2\",\n        value: 0.75,\n        percentage: 75\n      }, {\n        level: \"3\",\n        value: 1,\n        percentage: 100\n      }, {\n        level: \"4\",\n        value: 1.5,\n        percentage: 150\n      }]);\n      (0, _defineProperty2.default)(this, \"nullVar\", null);\n    }\n\n    get currentZoomLevel() {\n      return this.get(\"scaleStep.firstObject\");\n    }\n\n    get scaleStep() {\n      console.log(`im scaling and mapheight is ${this.mapHeight} and zooms: ${this.map.zooms}`);\n      const PX = this.mapHeight,\n            PY = this.mapWidth,\n            SX = window.innerHeight - 95,\n            SY = window.innerWidth,\n            STEP = this.map.zooms;\n      console.log(PX, PY, SX, SY);\n      let SCALMAX = null;\n\n      if (PX / SX > PY / SY) {\n        SCALMAX = PY / SY;\n      } else {\n        SCALMAX = PX / SX;\n      }\n\n      console.log(`SCALMAX: ${SCALMAX}`);\n      let SKALSTEP = [];\n\n      for (let i = 1; i <= STEP; i++) {\n        let newStep = Math.pow(1 + (i - 1) * (Math.sqrt(SCALMAX) - 1) / (STEP - 1), 2);\n        SKALSTEP.push(newStep / SCALMAX);\n      }\n\n      return SKALSTEP.map((i, index) => {\n        return {\n          level: (index + 1).toString(),\n          value: i,\n          percentage: i * 100\n        };\n      });\n    }\n\n    get _mapHeight() {\n      console.log(\"recompute height\");\n      return this.mapHeight * this.currentZoomLevel.value;\n    }\n\n    get _mapWidth() {\n      console.log(\"recompute width\");\n      return this.mapWidth * this.currentZoomLevel.value;\n    }\n\n    oneUp() {\n      console.log(\"oneUp\");\n      let index = this.scaleStep.indexOf(this.currentZoomLevel);\n      console.log(`index ${index}`);\n\n      if (index === -1) {\n        index = 0;\n      }\n\n      if (index + 2 > this.scaleStep.length) {\n        this.send(\"setZoom\", this.scaleStep.lastObject);\n      } else {\n        this.send(\"setZoom\", this.scaleStep.objectAt(index + 1));\n      }\n    }\n\n    oneDown() {\n      let index = this.scaleStep.indexOf(this.currentZoomLevel);\n\n      if (index - 1 < 0) {\n        this.send(\"setZoom\", this.scaleStep.firstObject);\n      } else {\n        this.send(\"setZoom\", this.scaleStep.objectAt(index - 1));\n      }\n    }\n\n    setZoom(zoom) {\n      this.scrollMagic(zoom, this.currentZoomLevel);\n\n      if (!this.initialMapHeight) {\n        this.set(\"initialMapHeight\", this.get(\"mapHeight\") * this.currentZoomLevel.value);\n      }\n\n      let factor = zoom.value - this.get(\"currentZoomLevel\").value;\n      let oldHeight = this.get(\"_mapHeight\");\n      this.set(\"currentZoomLevel\", zoom);\n      let newHeight = this.get(\"_mapHeight\");\n      let diff = (newHeight - oldHeight) / 2;\n    }\n\n    scrollMagic(newZoom, currentZoomLevel) {\n      const BX = 0;\n      const BY = 0;\n      const S1X = document.querySelector(\"#map\").scrollLeft;\n      const S1Y = document.querySelector(\"#map\").scrollTop;\n      const WX = window.innerWidth;\n      const WY = window.innerHeight - 95;\n      const ZF2 = newZoom.value / currentZoomLevel.value;\n      const S2X = BX + (S1X + WX / 2 - BX) * ZF2 - WX / 2;\n      const S2Y = BY + (S1Y + WY / 2 - BY) * ZF2 - WY / 2;\n      console.log(` \n      BX: ${BX}\n      BY: ${BY}\n      S1X: ${S1X}\n      S1Y: ${S1Y}\n      WX: ${WX}\n      WY: ${WY}\n      ZF2: ${ZF2}\n      S2X: ${S2X}\n      S2Y: ${S2Y}\n      newZoom: ${newZoom.value}\n      currentZoom: ${currentZoomLevel.value}\n    `);\n      document.querySelector(\"#map\").scrollLeft = S2X;\n      document.querySelector(\"#map\").scrollTop = S2Y;\n    }\n\n    didReceiveAttrs() {\n      this.reloadMap.perform();\n    }\n\n    initMapScroll() {\n      if (this.get(\"mapHeight\") === 0 || this.get(\"mapWidth\") === 0) {\n        return;\n      }\n\n      document.getElementById(\"map\").scrollLeft = this.mapWidth * (this.map.scrollpositionX / 100);\n      document.getElementById(\"map\").scrollTop = this.mapHeight * (this.map.scrollpositionY / 100);\n    }\n\n    onDidInsertElement() {\n      let img = document.getElementById(\"img-map\");\n      let map = new Image();\n      map.addEventListener(\"load\", () => {\n        this.set(\"mapHeight\", document.getElementById(\"img-map\").naturalHeight);\n        this.set(\"mapWidth\", document.getElementById(\"img-map\").naturalWidth);\n      });\n      map.src = img.src;\n    }\n\n    toggleBeaconDetail(beacon) {\n      if (this.currentBeacon === null) {\n        this.toggleProperty(\"beaconDetailIsOpen\");\n        this.set(\"currentBeacon\", beacon);\n        return;\n      }\n\n      if (this.currentBeacon.id === beacon.id) {\n        this.toggleProperty(\"beaconDetailIsOpen\");\n      }\n\n      this.set(\"currentBeacon\", beacon);\n    }\n\n    *reloadMap() {\n      let maps = yield this.get(\"mapService\").findAll();\n      console.log(maps);\n\n      if (maps.length > 0) {\n        this.set(\"map\", maps.firstObject.get('data'));\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"map\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"map\";\n    }\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"mapService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"beaconService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentZoomLevel\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"currentZoomLevel\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"scaleStep\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"scaleStep\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_mapHeight\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"_mapHeight\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_mapWidth\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"_mapWidth\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"oneUp\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"oneUp\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"oneDown\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"oneDown\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"setZoom\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"setZoom\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"initMapScroll\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"initMapScroll\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onDidInsertElement\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"onDidInsertElement\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"toggleBeaconDetail\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleBeaconDetail\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"reloadMap\", [_dec14], Object.getOwnPropertyDescriptor(_class.prototype, \"reloadMap\"), _class.prototype)), _class));\n  _exports.default = AppMap;\n});","define(\"event-components/components/app-map/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"odEBPQD3\",\n    \"block\": \"{\\\"symbols\\\":[\\\"beacon\\\",\\\"&default\\\"],\\\"statements\\\":[[0,\\\"\\\\n\\\"],[5,\\\"ember-wormhole\\\",[],[[\\\"@to\\\"],[\\\"map-zoom\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"tabs\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"zoom-item tab \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"currentZoomLevel\\\"]],[24,[\\\"scaleStep\\\",\\\"firstObject\\\"]]],null],\\\"active\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],\\\"setZoom\\\",[24,[\\\"scaleStep\\\",\\\"firstObject\\\"]]]],[8],[0,\\\"min\\\"],[9],[0,\\\"\\\\n\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"zoom-item tab\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"oneDown\\\"]],[8],[0,\\\"-\\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"zoom-item tab\\\"],[8],[1,[24,[\\\"currentZoomLevel\\\",\\\"level\\\"]],false],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"zoom-item tab\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"oneUp\\\"]],[8],[0,\\\"+\\\"],[9],[0,\\\"\\\\n\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"zoom-item tab \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"currentZoomLevel\\\"]],[24,[\\\"scaleStep\\\",\\\"lastObject\\\"]]],null],\\\"active\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],\\\"setZoom\\\",[24,[\\\"scaleStep\\\",\\\"lastObject\\\"]]]],[8],[0,\\\"max\\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"inner-map\\\"],[11,\\\"style\\\",[29,[\\\"height:\\\",[28,\\\"mult\\\",[[24,[\\\"mapHeight\\\"]],[24,[\\\"currentZoomLevel\\\",\\\"value\\\"]]],null],\\\"px;\\\"]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"map\\\"]]],null,{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@id\\\",\\\"@mapHeight\\\",\\\"@onDidInsertElement\\\"],[[23,0,[\\\"map\\\",\\\"image\\\"]],\\\"img-map\\\",[28,\\\"mult\\\",[[24,[\\\"mapHeight\\\"]],[24,[\\\"currentZoomLevel\\\",\\\"value\\\"]]],null],[28,\\\"action\\\",[[23,0,[]],\\\"onDidInsertElement\\\"],null]]]],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"beaconService\\\",\\\"models\\\"]]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[23,0,[\\\"beaconService\\\",\\\"models\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n                .beacon-\\\"],[1,[23,1,[\\\"id\\\"]],false],[0,\\\" .inner {\\\\n                    mask-image: url(\\\\\\\"icons/\\\"],[1,[23,1,[\\\"icon\\\"]],false],[0,\\\".svg\\\\\\\");\\\\n                    mask-position: center;\\\\n                    mask-repeat: no-repeat;\\\\n                    mask-size: 30px 30px;\\\\n                    -webkit-mask-image: url(\\\\\\\"icons/\\\"],[1,[23,1,[\\\"icon\\\"]],false],[0,\\\".svg\\\\\\\");\\\\n                    -webkit-mask-position: center;\\\\n                    -webkit-mask-repeat: no-repeat;\\\\n                    -webkit-mask-size: 30px 30px;\\\\n                    background-color: \\\"],[1,[23,1,[\\\"color\\\"]],false],[0,\\\";\\\\n                    margin-left: -15px;\\\\n                    margin-top: -15px;\\\\n                    width: 30px; \\\\n                    height: 30px;\\\\n                    border-radius: 15px;\\\\n                    \\\\n                    top: \\\"],[1,[23,1,[\\\"yPos\\\"]],false],[0,\\\"%; \\\\n                    left: \\\"],[1,[23,1,[\\\"xPos\\\"]],false],[0,\\\"%; \\\\n                    position: absolute;\\\\n                    display: block;\\\\n                }\\\\n                .beacon-\\\"],[1,[23,1,[\\\"id\\\"]],false],[0,\\\"-bg {\\\\n                    content: \\\\\\\"\\\\\\\";\\\\n                    display: block;\\\\n                    width: 30px; \\\\n                    height: 30px;\\\\n                    position: absolute;\\\\n                     margin-left: -15px;\\\\n                    margin-top: -15px;\\\\n                    top: \\\"],[1,[23,1,[\\\"yPos\\\"]],false],[0,\\\"%; \\\\n                    left: \\\"],[1,[23,1,[\\\"xPos\\\"]],false],[0,\\\"%; \\\\n                    border-radius: 15px;\\\\n                    background-color: \\\"],[1,[23,1,[\\\"backgroundcolor\\\"]],false],[0,\\\";\\\\n                }\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",[29,[\\\"beacon-\\\",[23,1,[\\\"id\\\"]],\\\" \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"currentBeacon\\\",\\\"id\\\"]],[23,1,[\\\"id\\\"]]],null],\\\"animate-bounce\\\"],null]]]],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"toggleBeaconDetail\\\",[23,1,[]]]],[8],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"beacon-\\\",[23,1,[\\\"id\\\"]],\\\"-bg\\\"]]],[8],[9],[0,\\\"\\\\n                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"inner\\\"],[8],[9],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[23,0,[\\\"beaconService\\\",\\\"models\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"app-map-beacondetail\\\",[[12,\\\"class\\\",[24,[\\\"currentBeacon\\\",\\\"icon\\\"]]]],[[\\\"@isOpen\\\",\\\"@beacon\\\"],[[22,\\\"beaconDetailIsOpen\\\"],[22,\\\"currentBeacon\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n        \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"close-beacon-detail\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"currentBeacon\\\"]]],null],[24,[\\\"nullVar\\\"]]]],[8],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-2xx fa-close\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[9],[0,\\\"\\\\n        \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n             \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n                .b-\\\"],[1,[24,[\\\"currentBeacon\\\",\\\"id\\\"]],false],[0,\\\" {\\\\n                    mask-image: url(\\\\\\\"icons/\\\"],[1,[24,[\\\"currentBeacon\\\",\\\"icon\\\"]],false],[0,\\\".svg\\\\\\\");\\\\n                    mask-position: center;\\\\n                    mask-repeat: no-repeat;\\\\n                    mask-size: 30px 30px;\\\\n                    -webkit-mask-image: url(\\\\\\\"icons/\\\"],[1,[24,[\\\"currentBeacon\\\",\\\"icon\\\"]],false],[0,\\\".svg\\\\\\\");\\\\n                    -webkit-mask-position: center;\\\\n                    -webkit-mask-repeat: no-repeat;\\\\n                    -webkit-mask-size: 30px 30px;\\\\n                    background-color: \\\"],[1,[24,[\\\"currentBeacon\\\",\\\"color\\\"]],false],[0,\\\";\\\\n                    margin-left: -15px;\\\\n                    margin-top: -15px;\\\\n                    width: 30px; \\\\n                    height: 30px;\\\\n                    float:left;\\\\n                    margin: 0px 15px 0px 0px;\\\\n                }\\\\n            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"b-\\\",[24,[\\\"currentBeacon\\\",\\\"id\\\"]]]]],[8],[9],[0,\\\"\\\\n            \\\"],[1,[24,[\\\"currentBeacon\\\",\\\"title\\\"]],true],[9],[0,\\\"\\\\n            \\\"],[7,\\\"diuv\\\",true],[10,\\\"class\\\",\\\"clear\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"p\\\",true],[8],[1,[24,[\\\"currentBeacon\\\",\\\"description\\\"]],true],[9],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n\\\\n\\\\n\\\"],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-map/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-meeting/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"event-components/components/app-meeting/template\", \"ember-concurrency-decorators\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _template, _emberConcurrencyDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _class;\n\n  let AppMeeting = (_class = class AppMeeting extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n    *joinMeeting(userId) {\n      window.open(`${this.amplify.currentTheme.config.meetingUrl}?userid=${userId}`, '_blank');\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"joinMeeting\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"joinMeeting\"), _class.prototype)), _class);\n  _exports.default = AppMeeting;\n});","define(\"event-components/components/app-meeting/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"aYjoRbKA\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-content\\\"],[10,\\\"style\\\",\\\"margin:20px;\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"meetinggroup\\\"]],[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"meetingrole\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@task\\\",\\\"@args\\\"],[[22,\\\"joinMeeting\\\"],[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"meeting.video_meeting_beitreten\\\"],null],false],[0,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"meeting.no_meeting_message\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-meeting/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-navbar/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-navbar/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _descriptor;\n\n  let AppAgenda = (_dec = Ember.inject.service(\"services/amplify\"), _dec2 = Ember._action, (_class = class AppAgenda extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    logout() {\n      this.amplify.logout();\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"logout\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"logout\"), _class.prototype)), _class));\n  _exports.default = AppAgenda;\n});","define(\"event-components/components/app-navbar/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"wQCN78xM\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"isAuthenticated\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-navbar\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"navbar-actions\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"unless\\\",[[28,\\\"eq\\\",[[24,[\\\"amplify\\\",\\\"currentClient\\\",\\\"loginmode\\\"]],\\\"ANONYM\\\"],null]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"button\\\",false],[12,\\\"title\\\",[29,[[28,\\\"t\\\",[\\\"abmelden\\\"],null]]]],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"logout\\\"]],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"svg\\\",true],[10,\\\"class\\\",\\\"logout-button\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[10,\\\"xmlns:xlink\\\",\\\"http://www.w3.org/1999/xlink\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[10,\\\"viewBox\\\",\\\"0 0 219.5 68.8\\\"],[10,\\\"xml:space\\\",\\\"preserve\\\",\\\"http://www.w3.org/XML/1998/namespace\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M215,0H4.6C3.2,0,1.9,0.5,1,1.5C0.3,2.2,0,3.1,0,4.1v60.7c0,2.2,2,4.1,4.5,4.1H215c2.5,0,4.5-1.8,4.5-4.1V4.1C219.5,1.8,217.5,0,215,0z M217.6,64.8c0,1.2-1.2,2.2-2.6,2.2H4.6c-1.5,0-2.6-1-2.6-2.2L1.9,4c0-0.6,0.2-1,0.5-1.2c0.5-0.5,1.3-0.9,2.2-0.9H215c1.5,0,2.6,1,2.6,2.1V64.8z M46.6,43.2v3.5c0,1.5-1.2,2.7-2.6,2.7H19.5c-1.5,0-2.7-1.2-2.7-2.7V22.4c0-1.5,1.2-2.6,2.7-2.6H44c1.5,0,2.6,1.2,2.6,2.6v3.5c0,0.5-0.4,1-1,1s-1-0.4-1-1v-3.5c0-0.4-0.3-0.7-0.7-0.7H19.5c-0.4,0-0.8,0.3-0.8,0.7v24.3c0,0.4,0.3,0.8,0.8,0.8H44c0.4,0,0.7-0.3,0.7-0.8v-3.5c0-0.5,0.4-1,1-1S46.6,42.6,46.6,43.2zM50.1,26.7l14.8,7.8l-14.8,7.8v-5.9H35.2v-3.8h14.9V26.7z M78.2,42.5h10.2v2.4H75.5V22h2.7V42.5z M101.7,21.5c-3.4,0-6,1-7.9,3.1c-1.9,2.1-2.8,5-2.8,8.7s1,6.6,2.8,8.7c1.9,2.1,4.5,3.1,7.9,3.1c3.3,0,5.9-1,7.8-3.1c1.9-2.1,2.8-4.9,2.8-8.6c0-3.7-1-6.5-2.8-8.8C107.6,22.5,105,21.5,101.7,21.5z M107.5,40.5c-1.3,1.6-3.2,2.4-5.8,2.4c-2.5,0-4.5-0.8-5.8-2.4c-1.3-1.6-2-4-2-7.1c0-3,0.7-5.4,2.1-7c1.3-1.6,3.2-2.4,5.8-2.4c2.6,0,4.5,0.8,5.8,2.4c1.3,1.6,1.9,3.9,1.9,7C109.5,36.5,108.8,38.9,107.5,40.5zM127.6,32.9h7.8V44c-1.2,0.4-2.5,0.7-3.7,0.9c-1.2,0.2-2.7,0.3-4.4,0.3c-3.5,0-6.2-1-8.2-3.1c-1.9-2.1-2.9-5-2.9-8.7c0-2.4,0.5-4.5,1.4-6.3c0.9-1.8,2.3-3.2,4.2-4.1c1.8-0.9,3.9-1.4,6.4-1.4c2.5,0,4.8,0.4,6.9,1.3l-1,2.3c-2.1-0.9-4.1-1.3-6-1.3c-2.8,0-5,0.8-6.6,2.5c-1.6,1.7-2.4,4-2.4,6.9c0,3.1,0.8,5.4,2.3,7s3.8,2.4,6.7,2.4c1.6,0,3.2-0.2,4.7-0.5v-7h-5.2V32.9zM150.3,21.5c-3.4,0-6,1-7.9,3.1c-1.9,2.1-2.8,5-2.8,8.7s1,6.6,2.8,8.7c1.9,2.1,4.5,3.1,7.9,3.1c3.3,0,5.9-1,7.8-3.1c1.9-2.1,2.8-4.9,2.8-8.6c0-3.7-0.9-6.5-2.8-8.8C156.2,22.5,153.6,21.5,150.3,21.5z M156.2,40.5c-1.3,1.6-3.2,2.4-5.8,2.4c-2.5,0-4.5-0.8-5.8-2.4c-1.3-1.6-2-4-2-7.1c0-3,0.6-5.4,2.1-7c1.3-1.6,3.2-2.4,5.8-2.4c2.6,0,4.5,0.8,5.8,2.4c1.3,1.6,1.9,3.9,1.9,7C158.2,36.5,157.5,38.9,156.2,40.5z M180.9,21.9h2.6V22v14.8c0,2.6-0.8,4.7-2.4,6.2c-1.6,1.5-3.8,2.2-6.5,2.2c-2.7,0-4.9-0.8-6.4-2.3s-2.3-3.6-2.3-6.2V21.9h2.7v14.9c0,1.9,0.5,3.4,1.6,4.4c1.1,1,2.6,1.5,4.6,1.5c1.9,0,3.4-0.5,4.5-1.5c1.1-1,1.6-2.5,1.6-4.4V21.9z M186.7,22H204v2.4h-7.3v20.5H194V24.4h-7.3V22z\\\"],[8],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatarthumb\\\"]]],null,{\\\"statements\\\":[[0,\\\"                \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"avatarthumb\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"avatar-image\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[23,1,[]]]]],[8],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"avatar-no-image\\\"],[8],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"firstname\\\"]]],null],false],[0,\\\"\\\\n                    \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"        \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-navbar/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-programm-item/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/app-programm-item/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _emberConcurrencyDecorators, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let AppProgrammItem = (_dec = (0, _component.classNames)('app-programm-item'), _dec2 = Ember.inject.service, _dec3 = Ember.inject.service('services/amplify'), _dec4 = Ember.inject.service('agenda'), _dec5 = (0, _component.className)('active', 'inactive'), _dec6 = Ember.computed('model.fullpage'), _dec7 = Ember.computed('model.floatright'), _dec8 = Ember.computed('agendaService.models.[]'), _dec9 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, _dec(_class = (_class2 = class AppProgrammItem extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    get fullpage() {\n      return this.get('model.fullpage') ? 'fullpage' : 'no-fullpage';\n    }\n\n    get floatright() {\n      return this.get('model.floatright') ? 'floatright' : 'no-floatright';\n    }\n\n    get agendaItem() {\n      let agendaItems = this.agendaService.get('models');\n      let items = agendaItems.filterBy('programItem.id', this.model.id);\n      items = items.filterBy('owner', this.amplify.get('currentUser.username'));\n\n      if (items.length > 0) {\n        return items.firstObject;\n      } else {\n        return null;\n      }\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"isMobile\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"agendaService\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"isDragging\", false);\n      (0, _defineProperty2.default)(this, \"isAgendaItem\", false);\n      (0, _defineProperty2.default)(this, \"touchStartPoint\", null);\n      (0, _defineProperty2.default)(this, \"offset\", 80);\n      (0, _initializerDefineProperty2.default)(this, \"isActive\", _descriptor4, this);\n    }\n\n    mouseDown(event) {\n      this.handleStart(event);\n    }\n\n    touchStart(event) {\n      this.handleStart(event);\n    }\n\n    handleStart(event) {\n      if (!this.get('amplify.currentTheme.config.modules.agenda')) {\n        return;\n      }\n\n      this.set('isDragging', true);\n\n      if (!Ember.isEmpty(event.touches)) {\n        this.set('touchStartPoint', event.touches[0].clientX);\n      }\n    }\n\n    didInsertElement() {\n      this.element.addEventListener('mousemove', this.handleMouseMove.bind(this));\n      this.element.addEventListener('touchmove', this.handleTouchMove.bind(this));\n    }\n\n    handleMouseMove(event) {\n      this.handleMove.perform(event);\n    }\n\n    handleTouchMove(event) {\n      event.stopPropagation();\n      this.handleMove.perform(event);\n    }\n\n    *handleMove(event) {\n      if (!this.get('amplify.currentTheme.config.modules.agenda')) {\n        return;\n      }\n\n      if (Ember.isEmpty(event.touches)) {\n        return;\n      }\n\n      let computedValue = (this.touchStartPoint - event.touches[0].clientX) * -1;\n\n      if (Ember.isEmpty(this.element.getElementsByClassName('inner')[0])) {\n        return;\n      }\n\n      if (computedValue < -this.offset) {\n        this.set('isActive', true);\n      }\n\n      if (computedValue > this.offset) {\n        this.set('isActive', false);\n      }\n\n      yield true; //this.element.getElementsByClassName('inner')[0].style.transform = `translateX(${computedValue}px)`;\n    }\n\n    mouseUp(event) {\n      this.handleStop(event);\n    }\n\n    touchEnd(event) {\n      this.handleStop(event);\n    }\n\n    async addItemToAgenda(item) {\n      let owner = (await this.amplify.Auth.currentSession()).getIdToken().payload['cognito:username'];\n      let agendaItem = this.agendaService.createChangeset({\n        owner: owner,\n        programItem: item\n      });\n      await this.agendaService.create(agendaItem);\n      this.set('isActive', false);\n      this.set('isAgendaItem', true);\n    }\n\n    async removeItemToAgenda(programItem, agendaItem) {\n      const aItem = agendaItem;\n      console.log(aItem);\n      await this.agendaService.delete(agendaItem);\n      this.set('isActive', false);\n      this.set('isAgendaItem', false);\n    }\n\n    handleStop(event) {\n      this.set('isDragging', false);\n      this.set('touchStartPoint', null);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isMobile\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"agendaService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isActive\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"fullpage\", [_component.className, _dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"fullpage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"floatright\", [_component.className, _dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"floatright\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"agendaItem\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"agendaItem\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"mouseDown\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"mouseDown\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"touchStart\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"touchStart\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"handleMove\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMove\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"mouseUp\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"mouseUp\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"touchEnd\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"touchEnd\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"addItemToAgenda\", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"addItemToAgenda\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"removeItemToAgenda\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"removeItemToAgenda\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AppProgrammItem;\n});","define(\"event-components/components/app-programm-item/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"lRPAx3yi\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[2,\\\" item \\\"],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"inner\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"beacon\\\",\\\"icon\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"location-bar \\\",[24,[\\\"model\\\",\\\"beacon\\\",\\\"icon\\\"]]]]],[8],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"image\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header\\\"],[11,\\\"id\\\",[29,[\\\"h-\\\",[24,[\\\"model\\\",\\\"id\\\"]]]]],[8],[0,\\\"\\\\n        \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"model\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n            \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n                #h-\\\"],[1,[24,[\\\"model\\\",\\\"id\\\"]],false],[0,\\\" {\\\\n                    background-image: url(\\\"],[1,[23,1,[]],false],[0,\\\");\\\\n                    background-repeat: no-repeat;\\\\n                    width: 100%;\\\\n                    background-size: contain;\\\\n                    min-height: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmImageHeight\\\"]],[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmImageHeight\\\"]],100],null],false],[0,\\\"px;\\\\n                }\\\\n            \\\"],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"wrapper\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"meta\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmTitleCloseToTime\\\"]]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"date\\\"]],\\\"H:mm\\\"],null],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[0,\\\" \\\"],[1,[24,[\\\"model\\\",\\\"title\\\"]],false],[9],[0,\\\"\\\\n                        \\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"span\\\",true],[8],[1,[28,\\\"moment-format\\\",[[24,[\\\"model\\\",\\\"date\\\"]],\\\"H:mm\\\"],null],false],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"appointment.uhr\\\"],null],false],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"flex flex-row\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmBeaconCloseToTime\\\"]]],null,{\\\"statements\\\":[[0,\\\"                       \\\\n                            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"mr-2\\\"],[8],[1,[24,[\\\"model\\\",\\\"beacon\\\",\\\"title\\\"]],false],[9],[0,\\\" \\\"],[4,\\\"if\\\",[[24,[\\\"model\\\",\\\"beacon\\\",\\\"icon\\\"]]],null,{\\\"statements\\\":[[0,\\\" \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@color\\\",\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[\\\"background-color: var(--text-color-question);\\\",[29,[\\\"/icons/\\\",[24,[\\\"model\\\",\\\"beacon\\\",\\\"icon\\\"]],\\\".svg\\\"]],\\\"16\\\",\\\"16\\\"]]]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"                    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"devider\\\"],[8],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"headline\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"programmTitleCloseToTime\\\"]]],null,{\\\"statements\\\":[],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                    \\\"],[1,[24,[\\\"model\\\",\\\"title\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body-text\\\"],[8],[0,\\\"\\\\n                \\\"],[1,[24,[\\\"model\\\",\\\"text\\\"]],true],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"showAgendaCheckbox\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[2,\\\" agenda check \\\"],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"agenda-button\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"or\\\",[[24,[\\\"agendaItem\\\"]],[24,[\\\"isAgendaItem\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"button\\\",true],[10,\\\"class\\\",\\\"checked\\\"],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],\\\"removeItemToAgenda\\\",[24,[\\\"model\\\"]],[24,[\\\"agendaItem\\\"]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"svg\\\",true],[10,\\\"width\\\",\\\"24\\\"],[10,\\\"height\\\",\\\"24\\\"],[10,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[10,\\\"fill\\\",\\\"none\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[8],[0,\\\"\\\\n                            \\\"],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M5 13L9 17L19 7\\\"],[10,\\\"stroke\\\",\\\"white\\\"],[10,\\\"stroke-width\\\",\\\"2\\\"],[10,\\\"stroke-linecap\\\",\\\"round\\\"],[10,\\\"stroke-linejoin\\\",\\\"round\\\"],[8],[9],[0,\\\"\\\\n                        \\\"],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"span\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"removeItemToAgenda\\\",[24,[\\\"model\\\"]],[24,[\\\"agendaItem\\\"]]]],[8],[1,[28,\\\"t\\\",[\\\"agenda.meine_agenda\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                    \\\"],[7,\\\"button\\\",true],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],\\\"addItemToAgenda\\\",[24,[\\\"model\\\"]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n                        \\\"],[7,\\\"svg\\\",true],[10,\\\"width\\\",\\\"24\\\"],[10,\\\"height\\\",\\\"24\\\"],[10,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[10,\\\"fill\\\",\\\"none\\\"],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[8],[0,\\\"\\\\n                            \\\"],[7,\\\"path\\\",true],[10,\\\"d\\\",\\\"M5 13L9 17L19 7\\\"],[10,\\\"stroke\\\",\\\"white\\\"],[10,\\\"stroke-width\\\",\\\"2\\\"],[10,\\\"stroke-linecap\\\",\\\"round\\\"],[10,\\\"stroke-linejoin\\\",\\\"round\\\"],[8],[9],[0,\\\"\\\\n                        \\\"],[9],[0,\\\"\\\\n                    \\\"],[9],[0,\\\"\\\\n                    \\\"],[7,\\\"span\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"addItemToAgenda\\\",[24,[\\\"model\\\"]]]],[8],[1,[28,\\\"t\\\",[\\\"agenda.meine_agenda\\\"],null],false],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    \\\"],[14,2],[0,\\\"\\\\n\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-programm-item/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-programm-module/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-programm-module/template\", \"moment\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _moment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\n\n  let AppProgrammModule = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('program'), _dec3 = Ember.inject.service('agenda'), (_class = class AppProgrammModule extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"programService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"agendaService\", _descriptor3, this);\n      this.loadModel();\n    }\n\n    async loadModel() {\n      let client = await this.amplify.get('currentClient');\n      let programItems = await this.programService.findAll();\n      let agendaItems = await this.agendaService.findAll();\n      let tabs = [];\n\n      if (this.amplify.currentUser !== undefined) {\n        if (Array.isArray(this.amplify.currentUser.groups)) {\n          programItems = programItems.filter(p => {\n            if (Array.isArray(p.whitelist) && p.whitelist.length > 0) {\n              console.log(this.amplify.currentUser.groups);\n\n              if (this.amplify.currentUser.groups.length == 0) {\n                return false;\n              }\n\n              return this.amplify.currentUser.groups.some(group => {\n                return p.whitelist.includes(group);\n              });\n            }\n\n            return true;\n          });\n        }\n      } else {\n        programItems = programItems.filter(p => {\n          if (Array.isArray(p.whitelist) && p.whitelist.length > 0) {\n            return false;\n          } else {\n            return true;\n          }\n        });\n      }\n\n      programItems = programItems.map(p => {\n        p.sorting = parseInt(p.sorting);\n        return p;\n      });\n      programItems.sort((a, b) => {\n        return a.sorting - b.sorting;\n      });\n      let items = programItems;\n      items = items.sortBy('sorting:asc');\n      programItems.forEach(element => {\n        tabs.pushObject((0, _moment.default)(element.date, _moment.default.ISO_8601).format('dd DD.MM.YYYY'));\n      });\n      tabs = tabs.uniq();\n      const model = Ember.RSVP.hash({\n        programItems: items,\n        agendaItems: agendaItems,\n        tabs: tabs,\n        client: client\n      });\n      this.set('model', model);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"programService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"agendaService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class));\n  _exports.default = AppProgrammModule;\n});","define(\"event-components/components/app-programm-module/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"06pRcWCE\",\n    \"block\": \"{\\\"symbols\\\":[\\\"model\\\",\\\"tabs\\\",\\\"programItem\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"async-await\\\",[[23,0,[\\\"model\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"app-tabs\\\",[],[[\\\"@tabs\\\"],[[23,1,[\\\"tabs\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"margin: 0 10px;\\\"],[8],[0,\\\"\\\\n      \\\"],[5,\\\"app-programm\\\",[],[[],[]],{\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,1,[\\\"programItems\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"eq\\\",[[23,2,[\\\"active\\\"]],[28,\\\"moment-format\\\",[[23,3,[\\\"date\\\"]],\\\"dd DD.MM.YYYY\\\",\\\"YYYY-MM-DDTHH:mm:ssZ\\\"],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[1,[28,\\\"log\\\",[[23,3,[]]],null],false],[0,\\\"\\\\n            \\\"],[5,\\\"app-programm-item\\\",[],[[\\\"@model\\\",\\\"@agendaItems\\\",\\\"@user\\\"],[[23,3,[]],[23,1,[\\\"agendaItems\\\"]],[23,1,[\\\"client\\\",\\\"user\\\"]]]]],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,3,[\\\"pagebreak\\\"]]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"break\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[3]},null],[0,\\\"      \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[14,4]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-programm-module/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-programm/component\", [\"exports\", \"@ember-decorators/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class;\n\n  let AppProgramm = (_dec = (0, _component.classNames)(\"app-programm\"), _dec(_class = class AppProgramm extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {// normal class body definition here\n  }) || _class);\n  _exports.default = AppProgramm;\n});","define(\"event-components/components/app-programm/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"mjmW50HR\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-programm/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-register/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/app-register/template\", \"ember-concurrency-decorators\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _emberConcurrencyDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\n  let AppRegister = (_dec = Ember.inject.service('user'), _dec2 = Ember.inject.service('datastore'), _dec3 = Ember.inject.service('chatroom'), _dec4 = Ember.inject.service('services/amplify'), _dec5 = Ember.inject.service('router'), _dec6 = Ember.inject.service(), (_class = class AppRegister extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"error\", '');\n      (0, _defineProperty2.default)(this, \"messageSend\", false);\n      (0, _defineProperty2.default)(this, \"accept\", false);\n      (0, _defineProperty2.default)(this, \"formTouched\", false);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"datastore\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"intl\", _descriptor6, this);\n    }\n\n    willDestroy() {\n      this._super(...arguments);\n\n      this.set('error', '');\n      this.set('messageSend', false);\n      this.set('accept', false);\n    }\n\n    scrollToTop() {\n      Ember.run.next(this, function () {\n        document.getElementsByClassName('alert')[0].scrollIntoView({\n          behavior: 'smooth'\n        });\n      });\n    }\n\n    *register() {\n      const form = document.getElementById(\"register-form\");\n      if (!form) return;\n      this.set(\"formTouched\", true);\n      form.checkValidity();\n      const res = form.reportValidity();\n      if (!res) return;\n\n      if (!this.accept) {\n        this.set('error', this.intl.t('login.register_accept_privacy'));\n        this.scrollToTop();\n        return;\n      }\n\n      if (this.password !== this.passwordwdh) {\n        this.set('error', this.intl.t('ts.pass_not_identical'));\n        this.scrollToTop();\n        return;\n      }\n\n      if (this.password?.length < 6 || !this.password) {\n        this.set('error', this.intl.t('ts.pass_too_short'));\n        this.scrollToTop();\n        return;\n      }\n\n      if (this.email == '' || !this.email || this.email.match(/^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|.(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/) === null) {\n        this.set('error', this.intl.t('ts.enter_mail'));\n        this.scrollToTop();\n        return;\n      }\n\n      try {\n        const Auth = this.amplify.Auth;\n        let kuerzel = this.amplify.currentClient.kuerzel;\n\n        if (!kuerzel) {\n          kuerzel = '';\n        }\n\n        let username = `${kuerzel}${this.email.toLowerCase().trim()}`;\n        let isUserNotUnique = yield this.userisNotUnique(username);\n\n        if (isUserNotUnique) {\n          this.set('error', this.intl.t('ts.user_exits'));\n          return;\n        }\n\n        let prismaUser = yield this.userService.createChangeset({\n          username: username,\n          firstname: this.firstname,\n          lastname: this.lastname,\n          email: this.email.toLowerCase().trim(),\n          groups: ['default'],\n          clientID: this.amplify.currentClient.id,\n          owner: username,\n          invitecode: 'nocode'\n        });\n        prismaUser = yield this.userService.create(prismaUser);\n        console.log('user', prismaUser);\n        const {\n          user\n        } = yield Auth.signUp({\n          username: username,\n          password: this.password,\n          attributes: {\n            email: this.email.toLowerCase().trim(),\n            nickname: username,\n            'custom:client': this.amplify.currentClient.id,\n            'custom:userid': prismaUser.id // optional\n\n          }\n        });\n        setTimeout(() => {\n          this.datastore.stopDatastore();\n        }, 5000);\n      } catch (error) {\n        console.log('error signing up:', error);\n\n        if (error.code == 'UsernameExistsException') {\n          this.set('error', this.intl.t('ts.user_exits_login'));\n        }\n\n        this.set('messageSend', false);\n        return;\n      }\n\n      this.set('messageSend', true);\n    }\n\n    async userisNotUnique(username) {\n      try {\n        const existingUser = await fetch(\"https://kard7f7obukivyivpkvj3ahrpq0nnako.lambda-url.eu-central-1.on.aws\", {\n          method: 'POST',\n          headers: {\n            'Content-Type': 'application/json'\n          },\n          body: JSON.stringify({\n            i: username\n          })\n        });\n        return existingUser.status === 200;\n      } catch (e) {\n        return false;\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"datastore\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chatService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"router\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"intl\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"register\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"register\"), _class.prototype)), _class));\n  _exports.default = AppRegister;\n});","define(\"event-components/components/app-register/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"xVdwY4fk\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"text-color-6\\\"],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"textKeys\\\",\\\"registertext\\\"]],[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"textKeys\\\",\\\"registertext\\\"]],\\\"Bitte registrieren Sie sich um die APP zu nutzen!\\\"],null],false],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"messageSend\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"success-message\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"login.register_conformation_message\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"text-color-6\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"form\\\",true],[10,\\\"id\\\",\\\"register-form\\\"],[11,\\\"class\\\",[29,[[28,\\\"if\\\",[[24,[\\\"formTouched\\\"]],\\\"touched\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"error\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"alert alert-danger\\\"],[10,\\\"role\\\",\\\"alert\\\"],[10,\\\"style\\\",\\\"margin-top: 10px;\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[23,0,[\\\"error\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[7,\\\"label\\\",true],[10,\\\"for\\\",\\\"register-firstname\\\"],[8],[1,[28,\\\"t\\\",[\\\"login.vorname\\\"],null],false],[9],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"id\\\",\\\"value\\\",\\\"required\\\",\\\"placeholder\\\"],[\\\"form-control mt-2\\\",\\\"register-firstname\\\",[24,[\\\"firstname\\\"]],true,[28,\\\"t\\\",[\\\"login.vorname\\\"],null]]]],false],[0,\\\"\\\\n      \\\"],[7,\\\"label\\\",true],[10,\\\"for\\\",\\\"register-lastname\\\"],[8],[1,[28,\\\"t\\\",[\\\"login.nachname\\\"],null],false],[9],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"id\\\",\\\"value\\\",\\\"required\\\",\\\"placeholder\\\"],[\\\"form-control mt-2\\\",\\\"register-lastname\\\",[24,[\\\"lastname\\\"]],true,[28,\\\"t\\\",[\\\"login.nachname\\\"],null]]]],false],[0,\\\"\\\\n      \\\"],[7,\\\"label\\\",true],[10,\\\"for\\\",\\\"register-email\\\"],[8],[1,[28,\\\"t\\\",[\\\"login.email\\\"],null],false],[9],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"class\\\",\\\"id\\\",\\\"value\\\",\\\"required\\\",\\\"type\\\",\\\"name\\\",\\\"placeholder\\\"],[\\\"form-control mt-2\\\",\\\"register-email\\\",[24,[\\\"email\\\"]],true,\\\"email\\\",\\\"email\\\",[28,\\\"t\\\",[\\\"login.email\\\"],null]]]],false],[0,\\\"\\\\n      \\\"],[7,\\\"label\\\",true],[10,\\\"for\\\",\\\"register-password\\\"],[8],[1,[28,\\\"t\\\",[\\\"login.passwort\\\"],null],false],[9],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"required\\\",\\\"id\\\",\\\"class\\\",\\\"value\\\",\\\"type\\\",\\\"name\\\",\\\"placeholder\\\"],[true,\\\"register-password\\\",\\\"form-control mt-2\\\",[23,0,[\\\"password\\\"]],\\\"password\\\",\\\"password\\\",[28,\\\"t\\\",[\\\"login.passwort\\\"],null]]]],false],[0,\\\"\\\\n      \\\"],[7,\\\"label\\\",true],[10,\\\"for\\\",\\\"register-passwordwdh\\\"],[8],[1,[28,\\\"t\\\",[\\\"login.passwort_wdh\\\"],null],false],[9],[0,\\\"\\\\n      \\\"],[1,[28,\\\"input\\\",null,[[\\\"id\\\",\\\"required\\\",\\\"class\\\",\\\"type\\\",\\\"value\\\",\\\"placeholder\\\"],[\\\"register-passwordwdh\\\",true,\\\"form-control mt-2\\\",\\\"password\\\",[23,0,[\\\"passwordwdh\\\"]],[28,\\\"t\\\",[\\\"login.passwort_wdh\\\"],null]]]],false],[0,\\\"\\\\n      \\\"],[7,\\\"label\\\",true],[10,\\\"class\\\",\\\"container\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"input\\\",true],[11,\\\"name\\\",[24,[\\\"question\\\",\\\"question\\\"]]],[11,\\\"value\\\",[23,0,[\\\"accept\\\"]]],[11,\\\"onchange\\\",[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[23,0,[\\\"accept\\\"]]],null]],[[\\\"value\\\"],[\\\"target.checked\\\"]]]],[11,\\\"checked\\\",[23,0,[\\\"accept\\\"]]],[10,\\\"type\\\",\\\"checkbox\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"checkmark\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"text-color-n6\\\"],[10,\\\"style\\\",\\\"margin-left: 25px;\\\"],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"login.register\\\"],null],true],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"br\\\",true],[8],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n      \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"],[12,\\\"type\\\",\\\"button\\\"]],[[\\\"@task\\\"],[[22,\\\"register\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"absenden\\\"],null],false],[0,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"link-to\\\",null,[[\\\"tagName\\\",\\\"route\\\"],[\\\"p\\\",\\\"login\\\"]],{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"text-align:center; padding-bottom: 20px;\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[28,\\\"t\\\",[\\\"login.already_registered_message\\\"],null],false],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]}],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-register/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-tab/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/app-tab/template\"], function (_exports, _defineProperty2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // @ts-ignore: Ignore import of compiled template\n  class AppTab extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n  }\n\n  _exports.default = AppTab;\n});","define(\"event-components/components/app-tab/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"o7Vqq5tC\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[0,\\\"Das ist ein Tab\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-tab/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-tabs/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/app-tabs/template\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _component, _emberConcurrencyDecorators, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _class2;\n\n  let AppTabs = (_dec = (0, _component.tagName)(\"nav\"), _dec2 = (0, _component.classNames)(\"app-tabs\"), _dec3 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class AppTabs extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"activeTab\", 0);\n    }\n\n    didReceiveAttrs() {\n      this.set(\"activeTab\", this.tabs.firstObject);\n    }\n\n    changeTab(tab) {\n      this.set(\"activeTab\", tab);\n    }\n\n    didInsertElement() {\n      window.addEventListener(\"scroll\", this.onScroll.bind(this), false);\n    }\n\n    *onScrollTask() {\n      let pageYOffset = window.pageYOffset;\n      let headerHeight = document.getElementById(\"header-image\").getBoundingClientRect().height;\n      let element = document.getElementById(\"tabs\");\n\n      if (pageYOffset >= headerHeight) {\n        this.set(\"sticky\", true);\n      } else {\n        this.set(\"sticky\", false);\n      }\n\n      yield true;\n    }\n\n    onScroll(event) {\n      this.onScrollTask.perform();\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"changeTab\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeTab\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onScrollTask\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"onScrollTask\"), _class2.prototype)), _class2)) || _class) || _class);\n  _exports.default = AppTabs;\n});","define(\"event-components/components/app-tabs/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"ps51M13a\",\n    \"block\": \"{\\\"symbols\\\":[\\\"tab\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"tabs tabs-count-\\\",[24,[\\\"tabs\\\",\\\"length\\\"]]]]],[10,\\\"id\\\",\\\"tabs\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"tabs\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[\\\"tab \\\",[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,1,[]],[24,[\\\"activeTab\\\"]]],null],\\\"active\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],\\\"changeTab\\\",[23,1,[]]]],[8],[0,\\\"\\\\n            \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},null],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"underline\\\"],[8],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[14,3,[[28,\\\"hash\\\",null,[[\\\"active\\\"],[[24,[\\\"activeTab\\\"]]]]]]]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-tabs/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-umfrage-vote/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-concurrency-decorators\", \"event-components/components/app-umfrage-vote/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberConcurrencyDecorators, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\n  let AppUmfrage = (_dec = Ember.inject.service('cookies'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('vote'), _dec4 = Ember.inject.service('notifications'), _dec5 = Ember.inject.service(), _dec6 = Ember.computed.alias('voteService.activeModel'), _dec7 = Ember._action, _dec8 = Ember.computed('vote.moderated'), _dec9 = Ember.computed('vote.votes.[]', 'amplify.currentUser.username'), _dec10 = Ember.computed('vote.votes.[]'), _dec11 = Ember.computed('vote.votes.[]'), (_class = class AppUmfrage extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"cookies\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"voteService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"notifications\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"intl\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"vote\", _descriptor6, this);\n      (0, _defineProperty2.default)(this, \"voteid\", null);\n      (0, _defineProperty2.default)(this, \"showChart\", false);\n      (0, _defineProperty2.default)(this, \"newAnswer\", '');\n      (0, _defineProperty2.default)(this, \"newBackendText\", 'Hier können Sie abstimmen und somit die Reihenfolge der Fragen beeinflussen.');\n      (0, _defineProperty2.default)(this, \"isSaved\", true);\n    }\n\n    didReceiveAttrs() {\n      this.set('voteid', this.get('cookies').read(`vote-${this.votescope}`));\n\n      if (this.get('showChart') === true) {\n        Ember.run.next(() => {\n          this.set('amplify.currentModuleItem3rd', true);\n        });\n      }\n    }\n\n    toggleChart() {\n      this.set('amplify.currentModuleItem3rd', true);\n    }\n\n    get votevalues() {\n      if (this.vote.moderated) {\n        return this.vote.moderatedvalues;\n      } else {\n        return this.get('vote.values');\n      }\n    }\n\n    get currentAnswers() {\n      if (this.get('vote.votes') == null) {\n        return false;\n      }\n\n      return this.get('vote.votes').filterBy('user', this.amplify.currentUser.username);\n    }\n\n    get sortedValues() {\n      return [...this.get('vote.values')].sort().reverse().sort((a, b) => {\n        let ergeb = this.get('vote.votes').filterBy('vote', a).length - this.get('vote.votes').filterBy('vote', b).length;\n        console.log(ergeb);\n        return ergeb;\n      }).reverse();\n    }\n\n    get userHasReachedVotingLimit() {\n      if (this.get('vote.votes') == null) {\n        return false;\n      }\n\n      let votes = this.get('vote.votes').filterBy('user', this.amplify.currentUser.username);\n\n      if (votes.length >= this.vote.limit) {\n        return true;\n      }\n\n      return false;\n    }\n\n    *saveVote(saveVote) {\n      try {\n        let updatedVote = yield this.voteService.update(saveVote);\n        this.get('notifications').success(\"Erfolgreich abgestimmt!\", {\n          autoClear: true,\n          clearDuration: 5000\n        });\n        this.set('isSaved', true);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    *silentSaveVote(saveVote) {\n      try {\n        let updatedVote = yield this.voteService.update(saveVote);\n        this.set('isSaved', true);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    didInsertElement() {\n      console.log('didInsertElement');\n    }\n\n    *goBackToVote() {\n      this.set('voteService.suggested', '');\n    }\n\n    *changeVote(index) {\n      let save = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n      let sorted = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n      let antwort;\n\n      if (sorted) {\n        antwort = this.get('sortedValues').objectAt(index);\n      } else {\n        antwort = this.get('vote.values').objectAt(index);\n      }\n\n      if (antwort !== null) {\n        this.set('isSaved', false); // initialize empty votes\n\n        if (!this.get('vote.votes')) {\n          Ember.set(this.vote, 'votes', []);\n        } // vote is a hash to verify who voted\n\n\n        let newVote = {\n          user: this.amplify.currentUser.username,\n          vote: antwort\n        }; // load old votes\n\n        let oldVote2 = this.get('vote.votes').find(v => {\n          return v.user === this.amplify.currentUser.username && v.vote === antwort;\n        });\n\n        if (this.get('vote.votes').indexOf(oldVote2) !== -1) {\n          this.set('vote.votes', [...this.get('vote.votes')].removeObject(oldVote2)); // check if the user reached the voting limit\n        } else if (this.get('userHasReachedVotingLimit')) {\n          // Get the oldest vote (first one we find in the array is the first one the user submited)\n          const oldestVote = this.get('vote.votes').findIndex(v => {\n            return v.user === this.amplify.currentUser.username;\n          }); // Copy so we dont get \"readonly\" error on the array\n\n          const votes = [...this.get(\"vote.votes\")]; // Remove oldest vote if it is found\n\n          if (oldestVote >= 0) {\n            votes.splice(oldestVote, 1);\n          } // Add the newly selected vote\n\n\n          this.set('vote.votes', [...votes, newVote]);\n          return;\n        } else {\n          console.log(this.get('vote.votes'));\n          this.set('vote.votes', [...this.get('vote.votes'), newVote]);\n        }\n\n        if (save) {\n          this.silentSaveVote.perform(this.vote);\n        }\n      }\n    }\n\n    *saveNewAnswer(saveVote) {\n      try {\n        saveVote.set('values', [...saveVote.get('values'), this.newAnswer]);\n        this.set('newAnswer', \"\");\n        let vote = yield this.voteService.update(saveVote);\n        this.get('notifications').info(this.intl.t('vote.neuer_vorschlag'), {\n          autoClear: true,\n          clearDuration: 10000\n        }); //this.set('vote', vote);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cookies\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"voteService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"notifications\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"intl\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"vote\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"toggleChart\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleChart\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"votevalues\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"votevalues\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentAnswers\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"currentAnswers\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"sortedValues\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"sortedValues\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userHasReachedVotingLimit\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"userHasReachedVotingLimit\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"saveVote\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"saveVote\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"silentSaveVote\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"silentSaveVote\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"goBackToVote\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"goBackToVote\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"changeVote\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"changeVote\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"saveNewAnswer\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class.prototype, \"saveNewAnswer\"), _class.prototype)), _class));\n  _exports.default = AppUmfrage;\n});","define(\"event-components/components/app-umfrage-vote/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"9aV87nBf\",\n    \"block\": \"{\\\"symbols\\\":[\\\"frage\\\",\\\"index\\\",\\\"frage\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentModuleItem3rd\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"vote-chart\\\",[],[[\\\"@voteId\\\",\\\"@vote\\\"],[[24,[\\\"vote\\\",\\\"id\\\"]],[22,\\\"vote\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-umfrage\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"active\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"toggleChart\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"vote-not-active\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"vote.vote_inactive_message\\\"],null],false],[0,\\\"\\\\n          \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"toggleChart\\\"]]],null],true]],[8],[0,\\\"\\\\n            \\\"],[1,[28,\\\"t\\\",[\\\"vote.zu_der_auswertung\\\"],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"showresult\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",false],[12,\\\"style\\\",\\\"position: absolute; right: 20px; top: 25px\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"toggleChart\\\"]],[8],[0,\\\"\\\\n        \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-bar-chart\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\\n    \\\"],[7,\\\"p\\\",true],[11,\\\"style\\\",[28,\\\"if\\\",[[24,[\\\"vote\\\",\\\"showresult\\\"]],\\\"padding-right:40px;\\\",\\\"\\\"],null]],[8],[0,\\\"\\\\n      \\\"],[7,\\\"b\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"voteService\\\",\\\"suggested\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[1,[23,0,[\\\"voteService\\\",\\\"suggested\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"          \\\"],[1,[24,[\\\"vote\\\",\\\"question\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"gt\\\",[[24,[\\\"vote\\\",\\\"limit\\\"]],1],null],[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"umfrage\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"t\\\",[\\\"vote.sie_haben\\\"],null],false],[0,\\\"\\\\n        \\\"],[1,[24,[\\\"vote\\\",\\\"limit\\\"]],false],[0,\\\"\\\\n        \\\"],[1,[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"vote\\\",\\\"limit\\\"]]],null],[28,\\\"t\\\",[\\\"vote.stimme\\\"],null],[28,\\\"t\\\",[\\\"vote.stimmen\\\"],null]],null],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"votable\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[1,[28,\\\"input\\\",null,[[\\\"placeholder\\\",\\\"value\\\"],[[24,[\\\"value\\\",\\\"defaulttext\\\"]],[24,[\\\"newAnswer\\\"]]]]],false],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,0,[\\\"voteService\\\",\\\"suggested\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@isDisabled\\\",\\\"@task\\\"],[[22,\\\"votedForThis\\\"],[22,\\\"goBackToVote\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"zurueck\\\"],null],false],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@isDisabled\\\",\\\"@task\\\",\\\"@args\\\"],[[22,\\\"votedForThis\\\"],[22,\\\"saveNewAnswer\\\"],[22,\\\"vote\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[1,[24,[\\\"vote\\\",\\\"defaulttext\\\"]],false],[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"vote.vorschlagen\\\"],null],false],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"      \\\"],[2,\\\"Es werden derzeit keine Antworten angenommen\\\"],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"clear\\\"],[8],[9],[0,\\\"\\\\n    \\\"],[2,\\\" Text für Abstimmungsmodus \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"umfrage\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"p\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"upvotemode\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[1,[28,\\\"t\\\",[\\\"ts.vote_message\\\"],null],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"gt\\\",[[24,[\\\"vote\\\",\\\"limit\\\"]],1],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n            (\\\\n            \\\"],[1,[28,\\\"t\\\",[\\\"vote.sie_haben\\\"],null],false],[0,\\\"\\\\n            \\\"],[1,[24,[\\\"vote\\\",\\\"limit\\\"]],false],[0,\\\"\\\\n            \\\"],[1,[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"vote\\\",\\\"limit\\\"]]],null],[28,\\\"t\\\",[\\\"vote.stimme\\\"],null],[28,\\\"t\\\",[\\\"vote.stimmen\\\"],null]],null],false],[0,\\\"\\\\n            )\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"vote\\\",\\\"show\\\"]],[24,[\\\"vote\\\",\\\"umfrage\\\"]]],null]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"upvotemode\\\"]]],null,{\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"sortedValues\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"and\\\",[[23,3,[]],[28,\\\"or\\\",[[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"votable\\\"]]],null],[28,\\\"includes\\\",[[23,3,[]],[24,[\\\"votevalues\\\"]]],null]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"label\\\",true],[10,\\\"class\\\",\\\"container checked\\\"],[10,\\\"style\\\",\\\"padding-left: 0px\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"input\\\",true],[11,\\\"name\\\",[24,[\\\"vote\\\",\\\"id\\\"]]],[11,\\\"disabled\\\",[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"active\\\"]]],null]],[11,\\\"onchange\\\",[28,\\\"perform\\\",[[24,[\\\"changeVote\\\"]],[23,4,[]],true,true],null]],[11,\\\"value\\\",[23,3,[]]],[11,\\\"checked\\\",[28,\\\"find-by\\\",[\\\"votes\\\",[23,3,[]],[24,[\\\"currentAnswers\\\"]]],null]],[10,\\\"type\\\",\\\"checkbox\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"upvote-indicator\\\"],[8],[0,\\\"\\\\n                \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n                  \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-long-arrow-up\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n                  \\\"],[1,[28,\\\"get\\\",[[28,\\\"filter-by\\\",[\\\"vote\\\",[23,3,[]],[24,[\\\"vote\\\",\\\"votes\\\"]]],null],\\\"length\\\"],null],false],[0,\\\"\\\\n                \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"not\\\",[[24,[\\\"userHasReachedVotingLimit\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"                  \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-plus\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n                  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"              \\\"],[9],[0,\\\"\\\\n              \\\"],[1,[23,3,[]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[3,4]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"each\\\",[[24,[\\\"vote\\\",\\\"values\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[28,\\\"and\\\",[[23,1,[]],[28,\\\"or\\\",[[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"votable\\\"]]],null],[28,\\\"includes\\\",[[23,1,[]],[24,[\\\"votevalues\\\"]]],null]],null]],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"label\\\",true],[10,\\\"class\\\",\\\"container\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"input\\\",true],[11,\\\"name\\\",[24,[\\\"vote\\\",\\\"id\\\"]]],[11,\\\"disabled\\\",[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"active\\\"]]],null]],[11,\\\"onchange\\\",[28,\\\"perform\\\",[[24,[\\\"changeVote\\\"]],[23,2,[]],false,false],null]],[11,\\\"value\\\",[23,1,[]]],[11,\\\"checked\\\",[28,\\\"find-by\\\",[\\\"vote\\\",[23,1,[]],[24,[\\\"currentAnswers\\\"]]],null]],[10,\\\"type\\\",\\\"checkbox\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"checkmark\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[1,2]},null]],\\\"parameters\\\":[]}],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"vote\\\",\\\"umfrage\\\"]],[28,\\\"eq\\\",[[24,[\\\"vote\\\",\\\"upvotemode\\\"]],false],null],[28,\\\"not\\\",[[24,[\\\"vote\\\",\\\"votable\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"]],[[\\\"@isDisabled\\\",\\\"@task\\\",\\\"@args\\\"],[[22,\\\"isSaved\\\"],[22,\\\"saveVote\\\"],[22,\\\"vote\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[1,[28,\\\"t\\\",[\\\"speichern\\\"],null],false],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"clear\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[14,5]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-umfrage-vote/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/app-umfrage/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"event-components/components/app-umfrage/template\", \"@ember-decorators/object\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _template, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class;\n\n  let AppUmfrage = (_dec = (0, _object.observes)(\"vote\", \"vote.image\"), _dec2 = Ember._action, (_class = class AppUmfrage extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"backgroundUrl\", \"\");\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n    async setBackgroundUrl() {\n      if (Ember.isEmpty(this.vote) || Ember.isEmpty(this.vote.image)) {\n        console.log(\"empty map\");\n        return;\n      }\n\n      try {\n        let cachedUrl = this.get(\"amplify.Cache\").getItem(this.vote.image.key);\n\n        if (cachedUrl !== null) {\n          this.set(\"backgroundUrl\", cachedUrl.split(\"?\")[0]);\n        }\n\n        let url = await this.get(\"amplify\").Storage.get(this.vote.image.key, {\n          expires: 86400,\n          level: \"public\"\n        }).then(url => {\n          if (url.includes(\"?\") && this.removeCache) {\n            url = url.split(\"?\")[0];\n          }\n\n          this.get(\"amplify.Cache\").setItem(this.vote.image.key, url);\n          return url;\n        });\n        this.set(\"backgroundUrl\", url);\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    click() {//this.onClickHandler(this.vote);\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"setBackgroundUrl\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"setBackgroundUrl\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"click\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"click\"), _class.prototype)), _class));\n  _exports.default = AppUmfrage;\n});","define(\"event-components/components/app-umfrage/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"u5/O18oi\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"vote\\\",\\\"image\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header\\\"],[11,\\\"id\\\",[29,[\\\"h-\\\",[24,[\\\"vote\\\",\\\"id\\\"]]]]],[8],[0,\\\"\\\\n      \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"vote\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n        \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n            #h-\\\"],[1,[24,[\\\"vote\\\",\\\"id\\\"]],false],[0,\\\" {\\\\n                background-image: url(\\\"],[1,[23,1,[]],false],[0,\\\");\\\\n                background-repeat: no-repeat;\\\\n                width: 100%;\\\\n                background-size: cover;\\\\n                min-height: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"voteImageHeight\\\"]],[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"voteImageHeight\\\"]],100],null],false],[0,\\\"px;\\\\n            }\\\\n        \\\"],[9],[0,\\\"            \\\\n      \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[14,2],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/app-umfrage/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/aws-image/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"event-components/components/aws-image/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2;\n\n  let AwsImage = (_dec = (0, _component.tagName)(\"\"), _dec2 = Ember.inject.service(\"services/amplify\"), _dec3 = Ember.inject.service, _dec4 = Ember._action, _dec5 = Ember.computed(\"file\"), _dec6 = Ember._action, _dec(_class = (_class2 = class AwsImage extends Ember.Component.extend() {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"recognizers\", \"pinch\");\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"mapHeight\", null);\n      (0, _defineProperty2.default)(this, \"show\", false);\n      (0, _defineProperty2.default)(this, \"removeCache\", true);\n      (0, _initializerDefineProperty2.default)(this, \"inViewport\", _descriptor2, this);\n    }\n\n    setupInViewport(element) {\n      const viewportTolerance = {\n        bottom: 200\n      };\n      const {\n        onEnter,\n        onExit\n      } = this.inViewport.watchElement(element, {\n        viewportTolerance\n      });\n      onEnter(this.didEnterViewport.bind(this));\n    }\n\n    didEnterViewport() {\n      if (!this.isDestroyed && !this.isDestroying) {\n        this.set(\"show\", true);\n      }\n    }\n\n    willDestroy() {\n      // need to manage cache yourself if you don't use the mixin\n      const loader = document.getElementById(\"loader\");\n      this.inViewport.stopWatching(loader);\n      super.willDestroy(...arguments);\n    }\n\n    get imagepath() {\n      if (Ember.isEmpty(this.file)) {\n        console.log(\"empty map\");\n        return;\n      }\n\n      try {\n        let cachedUrl = this.get(\"amplify.Cache\").getItem(this.file.key);\n\n        if (cachedUrl !== null) {\n          return cachedUrl.split(\"?\")[0];\n        }\n\n        let url = this.get(\"amplify\").Storage.get(this.file.key, {\n          expires: 86400,\n          level: \"public\"\n        }).then(url => {\n          if (url.includes(\"?\") && this.removeCache) {\n            url = url.split(\"?\")[0];\n          }\n\n          this.get(\"amplify.Cache\").setItem(this.file.key, url);\n          return url;\n        });\n        return url;\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    didInsertImage() {\n      console.log(this);\n\n      if (this.onDidInsertElement) {\n        this.onDidInsertElement();\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"inViewport\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"setupInViewport\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"setupInViewport\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"imagepath\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"imagepath\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"didInsertImage\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"didInsertImage\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = AwsImage;\n});","define(\"event-components/components/aws-image/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"y7VUaQiy\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[0,\\\"\\\\n\\\"],[4,\\\"async-await\\\",[[23,0,[\\\"imagepath\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[25,3]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[14,3,[[23,2,[]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[2]},null],[0,\\\"\\\\n\\\"],[4,\\\"async-await\\\",[[23,0,[\\\"imagepath\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[25,3]],null,{\\\"statements\\\":[[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"span\\\",false],[3,\\\"did-insert\\\",[[23,0,[\\\"setupInViewport\\\"]]]],[8],[9],[0,\\\"\\\\n      \\\"],[7,\\\"img\\\",false],[12,\\\"id\\\",[29,[[22,\\\"id\\\"]]]],[12,\\\"style\\\",[29,[\\\"height: \\\",[22,\\\"mapHeight\\\"],\\\"px;\\\"]]],[12,\\\"class\\\",[29,[[22,\\\"class\\\"]]]],[12,\\\"src\\\",[29,[[23,1,[]]]]],[3,\\\"action\\\",[[23,0,[]],\\\"pinchAction\\\"],[[\\\"on\\\"],[\\\"pinch\\\"]]],[3,\\\"did-insert\\\",[[28,\\\"action\\\",[[23,0,[]],\\\"didInsertImage\\\"],null]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/aws-image/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/hls-stream/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"event-components/components/hls-stream/template\", \"@ember-decorators/component\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _template, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _class2;\n\n  let HlsStream = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed(), _dec(_class = (_class2 = class HlsStream extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n    get token() {\n      const Auth = this.amplify.Auth;\n      return Auth.currentSession();\n    }\n\n    async didRender() {\n      //let token = await this.get('token');\n      if (false) {\n        videojs.Hls.xhr.beforeRequest = function (options) {\n          options.headers = options.headers || {};\n          options.headers.Authorization = `Bearer ${token.accessToken.jwtToken}`;\n          return options;\n        };\n      }\n\n      try {\n        Ember.run.next(this, async function () {\n          this.player = videojs('vid1');\n          this.player.hlsQualitySelector({\n            displayCurrentQuality: true\n          });\n          await this.player.play();\n        });\n      } catch (e) {\n        console.log(e);\n      }\n    }\n\n    willDestroy() {\n      this.player.dispose();\n      this.player = null;\n    } // normal class body definition here\n\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"token\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"token\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = HlsStream;\n});","define(\"event-components/components/hls-stream/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"0i/4zvxI\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\\n\\\"],[7,\\\"video-js\\\",true],[10,\\\"id\\\",\\\"vid1\\\"],[10,\\\"width\\\",\\\"1200\\\"],[10,\\\"height\\\",\\\"600\\\"],[10,\\\"class\\\",\\\"vjs-default-skin\\\"],[10,\\\"controls\\\",\\\"\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"source\\\",true],[11,\\\"src\\\",[22,\\\"src\\\"]],[11,\\\"type\\\",[22,\\\"mediatype\\\"]],[8],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/hls-stream/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/iframe-wrapper/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/iframe-wrapper/template\", \"@ember-decorators/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _class2, _descriptor;\n\n  let IframeWrapper = (_dec = (0, _component.tagName)(\"iframe\"), _dec2 = Ember.computed(\"src\"), _dec(_class = (_class2 = class IframeWrapper extends Ember.Component.extend({\n    // anything which *must* be merged to prototype here\n    classNameBindings: [\"multIframeOpen\"],\n    multIframeOpen: false\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"src\", _descriptor, this);\n    }\n\n    get allow() {\n      return `camera ${this.src}; microphone ${this.src}`;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"src\", [_component.attribute], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"\";\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"allow\", [_component.attribute, _dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"allow\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = IframeWrapper;\n});","define(\"event-components/components/iframe-wrapper/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"+6sRS7tu\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/iframe-wrapper/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/infinity-loader/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/infinity-loader/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _emberConcurrencyDecorators, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class, _class2, _descriptor;\n\n  let InfinityLoader = (_dec = (0, _component.tagName)(\"div\"), _dec(_class = (_class2 = class InfinityLoader extends Ember.Component.extend({}) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"id\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"isFirstRun\", true);\n    }\n\n    *interSectionObserver(entry) {\n      console.log(entry);\n\n      if (entry.isIntersecting && !this.isFirstRun) {\n        console.log(\"load more\");\n        this.onInit();\n      } else {\n        this.set(\"isFirstRun\", false);\n      }\n    }\n\n    didInsertElement() {\n      let options = {\n        root: null,\n        rootMargin: \"0px\",\n        threshold: 0.0\n      };\n      let observer = new IntersectionObserver((entries, observer) => {\n        entries.forEach(entry => {\n          this.interSectionObserver.perform(entry);\n        });\n      }, options);\n      observer.observe(this.element);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"id\", [_component.attribute], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return \"infinity-loader\";\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"interSectionObserver\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"interSectionObserver\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = InfinityLoader;\n});","define(\"event-components/components/infinity-loader/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"oM6hdAY9\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/infinity-loader/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/live-datetime/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/live-datetime/template\"], function (_exports, _defineProperty2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // @ts-ignore: Ignore import of compiled template\n  class LiveDatetime extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"text\", '');\n    }\n\n    didReceiveAttrs() {\n      this.set('text', moment(this.timestamp).fromNow());\n      setInterval(() => {\n        Ember.run.next(this, function () {\n          if (this.isDestroyed || this.isDestroying) {\n            return;\n          }\n\n          this.set('text', moment(this.timestamp).fromNow());\n          this.rerender();\n        });\n      }, 60000);\n    }\n\n  }\n\n  _exports.default = LiveDatetime;\n});","define(\"event-components/components/live-datetime/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"RatYaV85\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[22,\\\"text\\\"],false]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/live-datetime/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/module-nav/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/module-nav/template\", \"@ember-decorators/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2;\n\n  let ModuleNav = (_dec = (0, _component.tagName)('nav'), _dec2 = Ember.inject.service('chatroom'), _dec3 = Ember.inject.service('services/amplify'), _dec4 = Ember.computed('amplify.currentTheme.config.moduleConfig'), _dec5 = Ember._action, _dec6 = Ember._action, _dec(_class = (_class2 = class ModuleNav extends Ember.Component.extend() {\n    get inIframe() {\n      try {\n        return window.self !== window.top;\n      } catch (e) {\n        return true;\n      }\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"chatService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"stateName\", 'module-nav');\n      (0, _defineProperty2.default)(this, \"stateProps\", ['activeModule', '']);\n      (0, _defineProperty2.default)(this, \"preserveState\", true);\n      (0, _defineProperty2.default)(this, \"activeModule\", void 0);\n      (0, _defineProperty2.default)(this, \"privateChat\", {\n        key: 'app-chat-private',\n        header: 'Chat'\n      });\n\n      try {\n        this.amplify.on('nav:goto', this, 'goTo');\n      } catch (e) {\n        console.log(e);\n      }\n    }\n\n    willDestroy() {\n      this.amplify.off('nav:goto', this, 'goTo');\n    }\n\n    get activeModules() {\n      if (!this.get('amplify.currentTheme.config.moduleConfig')) {\n        return [];\n      }\n\n      let mods = this.get('amplify.currentTheme.config.moduleConfig');\n      let filter = this.inIframe ? 'showInMeeting' : 'showInStream';\n      mods = mods.filterBy(filter, true);\n      mods.sort((a, b) => parseInt(a.sorting) - parseInt(b.sorting));\n      return mods.map(mod => {\n        return {\n          key: mod.componentName,\n          header: mod.name,\n          icon: mod.icon,\n          iconname: mod.iconname,\n          tooltip: mod.tooltip\n        };\n      });\n    }\n\n    goTo(navItem) {\n      if (!navItem) {\n        return;\n      }\n\n      this.set('activeModule', navItem);\n      this.amplify.set('currentModule', navItem.header);\n      this.navHandler(navItem);\n    }\n\n    goBack() {\n      if (this.amplify.currentModuleItem3rd) {\n        this.set('amplify.currentModuleItem3rd', false);\n        return true;\n      }\n\n      this.amplify.trigger('nav:goback', this.amplify.get('currentModuleItem'));\n      this.amplify.set('currentModuleItem', '');\n    }\n\n    didReceiveAttrs() {\n      Ember.run.next(this, () => {\n        this.goTo(this.activeModules.firstObject);\n      });\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"chatService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"activeModules\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"activeModules\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"goTo\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"goTo\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"goBack\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"goBack\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = ModuleNav;\n});","define(\"event-components/components/module-nav/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Mh0K/xwe\",\n    \"block\": \"{\\\"symbols\\\":[\\\"navItem\\\",\\\"src\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"nav\\\",true],[10,\\\"class\\\",\\\"header-nav\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"ul\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentModuleItem\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"li\\\",false],[12,\\\"style\\\",\\\"width: 50px;\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"goBack\\\"]],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n          \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"back-icon\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\"],[\\\"Zurück\\\"]]],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"each\\\",[[24,[\\\"activeModules\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"li\\\",false],[12,\\\"class\\\",[29,[\\\"nav-\\\",[23,1,[\\\"key\\\"]]]]],[3,\\\"action\\\",[[23,0,[]],\\\"goTo\\\",[23,1,[]]]],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,1,[\\\"id\\\"]],[24,[\\\"activeModule\\\",\\\"id\\\"]]],null],\\\"active\\\"],null]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,1,[\\\"icon\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\"],[[23,1,[\\\"icon\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n              \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[[29,[[23,2,[]]]],\\\"30\\\",\\\"30\\\"]]],[0,\\\"\\\\n            \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[[29,[\\\"/icons/\\\",[23,1,[\\\"iconname\\\"]]]],\\\"30\\\",\\\"30\\\"]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\",\\\"@side\\\"],[[29,[[23,1,[\\\"tooltip\\\"]]]],[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,1,[\\\"key\\\"]],\\\"app-chat-pm-messages\\\"],null],\\\"left\\\",\\\"bottom\\\"],null]]]],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\"    \\\"],[7,\\\"li\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\"]],[28,\\\"not\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"disbaleNavEnvelope\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"pm-messages\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"goTo\\\",[24,[\\\"privateChat\\\"]]]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"notification-envelope\\\"],[8],[0,\\\"\\\\n            \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\"],[\\\"Privater Chat\\\"]]],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],0],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],99],null]],null,{\\\"statements\\\":[[0,\\\"                99+\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[1,[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,3]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/module-nav/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/pwa-message/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"event-components/components/pwa-message/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n\n  let PwaMessage = (_dec = (0, _component.classNames)(\"pwa-message\"), _dec2 = (0, _component.className)(\"isClosed\"), _dec3 = Ember.inject.service('services/amplify'), _dec4 = Ember.inject.service, _dec5 = Ember._action, _dec(_class = (_class2 = class PwaMessage extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"isClosed\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"isMobile\", _descriptor3, this);\n\n      if (window.matchMedia(\"(display-mode: standalone)\").matches || !this.get(\"isMobile.apple.device\")) {\n        this.set(\"isClosed\", true);\n      }\n\n      if (window.localStorage.getItem(\"pwa-message\") !== null) {\n        this.set(\"isClosed\", true);\n      }\n    }\n\n    close() {\n      this.set(\"isClosed\", true);\n      window.localStorage.setItem(\"pwa-message\", \"showed\");\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isClosed\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isMobile\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"close\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"close\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = PwaMessage;\n});","define(\"event-components/components/pwa-message/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"CFhR9J7F\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"id\\\",\\\"pwa-background\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"pwa-message__inner\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"ios-close\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"close\\\"]],[8],[0,\\\" \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ion-android-close\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"img\\\",true],[10,\\\"src\\\",\\\"icons/close.png\\\"],[10,\\\"width\\\",\\\"14\\\"],[8],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\" \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"description\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"text-left row\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"col app-icon\\\"],[8],[0,\\\" \\\\n            \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[[24,[\\\"amplify\\\",\\\"logoPath\\\"]]]]],[8],[9],[0,\\\" \\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"col\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"p\\\",true],[10,\\\"translate\\\",\\\"INTROSCREEN.DESCRIPTION\\\"],[8],[1,[28,\\\"t\\\",[\\\"pwa.pwa_message_1\\\"],null],false],[0,\\\" \\\"],[7,\\\"strong\\\",true],[8],[1,[28,\\\"t\\\",[\\\"pwa.pwa_message_2\\\"],null],false],[9],[0,\\\" \\\"],[1,[28,\\\"t\\\",[\\\"pwa.pwa_message_3\\\"],null],false],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"how-to-container\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"row\\\"],[8],[0,\\\"\\\\n        \\\"],[2,\\\" ngIf: ionic.Platform.isIOS() \\\"],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"col how-to\\\"],[10,\\\"ng-if\\\",\\\"ionic.Platform.isIOS()\\\"],[10,\\\"style\\\",\\\"\\\"],[8],[0,\\\" \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"text-element ng-binding\\\"],[8],[1,[28,\\\"t\\\",[\\\"pwa.gehe_zu\\\"],null],false],[9],[0,\\\"\\\\n                \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"ion-ios-upload-outline text-element big-icon\\\"],[8],[0,\\\"\\\\n                    \\\"],[7,\\\"img\\\",true],[10,\\\"src\\\",\\\"icons/link_ios.png\\\"],[10,\\\"width\\\",\\\"18\\\"],[8],[9],[0,\\\"\\\\n                \\\"],[9],[0,\\\" \\\\n            \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"text-element ng-binding\\\"],[8],[1,[28,\\\"t\\\",[\\\"pwa.und\\\"],null],false],[9],[0,\\\" \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"text-element ios-homescreen\\\"],[10,\\\"translate\\\",\\\"INTROSCREEN.HOMESCREEN_IOS\\\"],[8],[1,[28,\\\"t\\\",[\\\"pwa.zum_home_bildschirm\\\"],null],false],[9],[0,\\\" \\\"],[9],[0,\\\"\\\\n        \\\"],[2,\\\" end ngIf: ionic.Platform.isIOS() \\\"],[0,\\\"\\\\n        \\\"],[9],[0,\\\" \\\"],[2,\\\" ngIf: ionic.Platform.isAndroid() \\\"],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/pwa-message/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/splashscreen/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let Splashscreen = (_dec = (0, _component.classNames)('splashscreen'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = (0, _component.className)('isActive', 'isNotActive'), _dec4 = (0, _component.className)('isDisabled'), _dec5 = (0, _component.className)('dontshow', ''), _dec(_class = (_class2 = class Splashscreen extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"isActive\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"isDisabled\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"dontshow\", _descriptor4, this);\n      let splashScreenWasShown = window.localStorage.getItem('splashscreen');\n\n      if (splashScreenWasShown !== null) {\n        this.set('isActive', false);\n        this.set('dontshow', true);\n      }\n\n      if (this.isActive) {\n        Ember.run.later(() => {\n          this.set('isActive', false);\n          window.localStorage.setItem('splashscreen', true);\n        }, parseInt(this.get('amplify.currentTheme.config.splashscreenTime')));\n      }\n\n      if (this.get('amplify.currentTheme.config.splashscreen')) {} else {\n        this.set('isDisabled', true);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isActive\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isDisabled\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"dontshow\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  })), _class2)) || _class);\n  _exports.default = Splashscreen;\n});","define(\"event-components/components/splashscreen/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"mcIN5rJv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/splashscreen/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/svg-mask/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/svg-mask/template\", \"@ember-decorators/component\"], function (_exports, _defineProperty2, _template, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class;\n\n  let SvgMask = (_dec = (0, _component.tagName)(''), _dec(_class = class SvgMask extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"width\", 32);\n      (0, _defineProperty2.default)(this, \"height\", 32);\n      this.uniqueId = Date.now();\n    }\n\n  }) || _class);\n  _exports.default = SvgMask;\n  ;\n});","define(\"event-components/components/svg-mask/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"xUZwl0Bk\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1],[0,\\\"\\\\n\\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n  #svg-\\\"],[1,[23,0,[\\\"uniqueId\\\"]],false],[0,\\\"\\\\n  {\\\\n        -webkit-mask-image: url(\\\"],[1,[23,0,[\\\"svg\\\"]],false],[0,\\\");\\\\n        mask-image: url(\\\"],[1,[23,0,[\\\"svg\\\"]],false],[0,\\\");\\\\n        mask-size: contain;\\\\n        -webkit-mask-size: contain;\\\\n        -webkit-mask-position: center;\\\\n        mask-position: center;\\\\n        -webkit-mask-repeat: no-repeat;\\\\n        mask-repeat: no-repeat;\\\\n        width:\\\"],[1,[23,0,[\\\"width\\\"]],false],[0,\\\"px;\\\\n        height:\\\"],[1,[23,0,[\\\"height\\\"]],false],[0,\\\"px;\\\\n        \\\"],[1,[28,\\\"if\\\",[[23,0,[\\\"color\\\"]],[23,0,[\\\"color\\\"]],\\\"background: white;\\\"],null],false],[0,\\\"\\\\n        \\\\n    }\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[11,\\\"id\\\",[29,[\\\"svg-\\\",[23,0,[\\\"uniqueId\\\"]]]]],[10,\\\"class\\\",\\\"svg-mask-icon\\\"],[8],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/svg-mask/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/twitter-filter/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@ember-decorators/component\", \"event-components/components/twitter-filter/template\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _class, _class2;\n\n  let TwitterFilter = (_dec = (0, _component.tagName)(\"div\"), _dec2 = (0, _component.classNames)(\"twitter-filter\"), _dec3 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class TwitterFilter extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n    }\n\n    onFilter(filter) {\n      this.onToggleFilter(filter);\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onFilter\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"onFilter\"), _class2.prototype)), _class2)) || _class) || _class);\n  _exports.default = TwitterFilter;\n});","define(\"event-components/components/twitter-filter/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"s954vdID\",\n    \"block\": \"{\\\"symbols\\\":[\\\"singleFilter\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"text1\\\"],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"t\\\",[\\\"filtern\\\"],null],false],[0,\\\":\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"text2\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"wall.alle\\\"],null],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[23,0,[\\\"filter\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"img\\\",false],[12,\\\"src\\\",[29,[\\\"/icons/\\\",[23,1,[\\\"icon\\\"]],\\\".svg\\\"]]],[12,\\\"class\\\",[28,\\\"if\\\",[[28,\\\"includes\\\",[[23,1,[]],[23,0,[\\\"activeFilters\\\"]]],null],\\\"active\\\",\\\"inactive\\\"],null]],[3,\\\"action\\\",[[23,0,[]],\\\"onFilter\\\",[23,1,[]]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[9],[0,\\\"\\\\n\\\"],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/twitter-filter/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/twitter-module/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/twitter-module/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let TwitterModule = (_dec = Ember.inject.service('wall'), _dec2 = Ember.inject.service('post'), _dec3 = Ember.computed.filter('postService.models.[]', ['postService.models'], function (post) {\n    const moderated = post.get('wall.moderated');\n    let check;\n\n    if (moderated) {\n      check = post.get('moderated') === 'Freigeschaltet';\n    } else {\n      check = true;\n    }\n\n    return check;\n  }), _dec4 = Ember.computed.sort('_posts', \"sorting\"), _dec5 = Ember.computed('posts.[]'), _dec6 = Ember.computed('posts.[]', 'activeFilters.[]'), _dec7 = Ember._action, (_class = class TwitterModule extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"activeFilters\", []);\n      (0, _defineProperty2.default)(this, \"wallId\", void 0);\n      (0, _defineProperty2.default)(this, \"oberserverable\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"wallService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"postService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"_posts\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"sorting\", [\"createdAt:desc\"]);\n      (0, _initializerDefineProperty2.default)(this, \"posts\", _descriptor4, this);\n    }\n\n    willDestroyElement() {\n      this.get('amplify').off('moduleitem:unset', this, 'unset');\n    }\n\n    unset() {\n      this.set('wallId', null);\n    }\n\n    didReceiveAttrs() {\n      this.loadPosts();\n    }\n\n    beforeModel(model) {\n      if (this.get('amplify.currentUser') == null) {\n        this.transitionTo('landing');\n      }\n    }\n\n    async loadPosts() {\n      /**/\n      await this.postService.findAll();\n    }\n\n    get filter() {\n      if (this.model == undefined) {\n        return [];\n      }\n\n      const categories = [...new Set(this.model.posts.map(post => post.locations.firstObject))];\n      return categories.filter(i => {\n        return i !== undefined;\n      });\n    }\n\n    get filteredPosts() {\n      if (this.posts == undefined) {\n        return [];\n      }\n\n      if (this.activeFilters.length > 0) {\n        return this.posts.filterBy('wall.id', this.get('wallId')).filter(post => {\n          return this.activeFilters.includes(post.locations.firstObject);\n        });\n      }\n\n      return this.posts.filterBy('wall.id', this.get('wallId'));\n    }\n\n    toggleFilter(filter) {\n      if (this.activeFilters.includes(filter)) {\n        this.activeFilters.removeObject(filter);\n      } else {\n        this.activeFilters.addObject(filter);\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"wallService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"postService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"_posts\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"posts\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"filter\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"filter\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"filteredPosts\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"filteredPosts\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"toggleFilter\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFilter\"), _class.prototype)), _class));\n  _exports.default = TwitterModule;\n});","define(\"event-components/components/twitter-module/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"jL1mBxwG\",\n    \"block\": \"{\\\"symbols\\\":[\\\"post\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"each\\\",[[23,0,[\\\"filteredPosts\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"twitter-post\\\",[[12,\\\"class\\\",\\\"\\\"]],[[\\\"@post\\\"],[[23,1,[]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},null],[14,3]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/twitter-module/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/twitter-post-create/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"ember-concurrency-decorators\", \"event-components/components/twitter-post-create/template\", \"browser-image-resizer\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _emberConcurrencyDecorators, _template, _browserImageResizer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n\n  let TwitterPostCreate = (_dec = (0, _component.classNames)('twitter-wall-create'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('wall'), _dec4 = Ember.inject.service('beacon'), _dec5 = Ember.inject.service('post'), _dec6 = Ember.inject.service('user'), _dec7 = Ember.inject.service('client'), _dec8 = Ember.inject.service('file'), _dec9 = Ember.computed.alias('userService.activeModel'), _dec10 = Ember.computed.alias('userService.activeModel'), _dec11 = Ember.inject.service('notifications'), _dec12 = (0, _component.className)('open', 'closed'), _dec13 = (0, _component.attribute)('data-state'), _dec14 = Ember.computed.alias('beaconService.models.[]'), _dec15 = Ember._action, _dec16 = Ember._action, _dec17 = Ember._action, _dec18 = Ember._action, _dec19 = (0, _emberConcurrencyDecorators.enqueueTask)(), _dec20 = Ember._action, _dec(_class = (_class2 = class TwitterPostCreate extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"autoRotate\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"wallService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"beaconService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"postService\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor5, this);\n      (0, _initializerDefineProperty2.default)(this, \"clientService\", _descriptor6, this);\n      (0, _initializerDefineProperty2.default)(this, \"fileService\", _descriptor7, this);\n      (0, _initializerDefineProperty2.default)(this, \"user\", _descriptor8, this);\n      (0, _initializerDefineProperty2.default)(this, \"client\", _descriptor9, this);\n      (0, _initializerDefineProperty2.default)(this, \"notifications\", _descriptor10, this);\n      (0, _initializerDefineProperty2.default)(this, \"textareaIsFocused\", _descriptor11, this);\n      (0, _initializerDefineProperty2.default)(this, \"isAddingPhotos\", _descriptor12, this);\n      (0, _defineProperty2.default)(this, \"files\", []);\n      (0, _defineProperty2.default)(this, \"size\", 42.5);\n      (0, _defineProperty2.default)(this, \"text\", '');\n      (0, _initializerDefineProperty2.default)(this, \"locations\", _descriptor13, this);\n      (0, _defineProperty2.default)(this, \"postlocation\", []);\n      (0, _defineProperty2.default)(this, \"cameraAccessDenied\", false);\n      (0, _initializerDefineProperty2.default)(this, \"uploadFile\", _descriptor14, this);\n    }\n\n    didReceiveAttrs() {\n      this.loadLocations.perform();\n      this.checkCameraAccess();\n    }\n\n    checkCameraAccess() {\n      let successCallback = error => {};\n\n      let errorCallback = error => {\n        if (error.name == 'NotAllowedError') {\n          this.set('cameraAccessDenied', true);\n        }\n      };\n\n      const constraints = {\n        video: true\n      };\n    }\n\n    *uploadFiles(file) {\n      const files = file.target?.files;\n      const config = {\n        quality: 0.9,\n        maxWidth: 1920,\n        maxHeight: 1080,\n        autoRotate: true,\n        debug: false\n      };\n\n      for (let i = 0; i < files.length; i++) {\n        let compressed = yield (0, _browserImageResizer.readAndCompressImage)(files[i], config); // console.log(this.get(\"client\"), this.get(\"user\"), files[i]);\n\n        let file = yield this.get('uploadFile').perform(this.get('client'), this.get('user'), compressed);\n        this.set('files', [file, ...this.files]);\n      }\n    }\n\n    deleteImage(index) {\n      let files = this.get('files');\n\n      if (index > -1 && files) {\n        files.splice(index, 1);\n        this.set('files', [...files]);\n      }\n    }\n\n    onFocusTextarea() {\n      console.log('onFocusTextarea');\n      this.set('textareaIsFocused', true);\n      Ember.run.later(this, () => {\n        window.scroll(0, 0);\n      }, 100);\n      this.set('size', 42.5);\n    }\n\n    onFocusOutTextarea() {\n      console.log('onFocusOutTextarea');\n      this.set('textareaIsFocused', false);\n      this.set('size', 80);\n    }\n\n    addLocation(location) {\n      this.set('postlocation', location);\n    }\n\n    *loadLocations() {\n      let beacons = yield this.beaconService.findAll();\n    }\n\n    *createPost() {\n      this.send('onFocusOutTextarea');\n      let result;\n\n      try {\n        let wall = yield this.wallService.findById(this.wallId);\n        result = this.postService.createChangeset({\n          text: this.text,\n          wall: wall,\n          locations: this.postlocation.get('data'),\n          author: this.amplify.currentUser,\n          likes: []\n        });\n\n        if (this.files) {\n          let file = this.fileService.createChangeset({ ...this.files.firstObject,\n            level: 'PUBLIC'\n          });\n          let fileModel = yield this.fileService.create(file);\n          result.set('image', fileModel);\n        }\n\n        const res = yield this.postService.create(result);\n        Ember.run.later(() => {\n          if (wall.moderated) {\n            this.get('notifications').success(this.intl.t('wall.zeit_validierung'), {\n              autoClear: true\n            });\n          } else {\n            this.get('notifications').success(this.intl.t('wall.zeit_validierung2'), {\n              autoClear: true\n            });\n          }\n        }, 500);\n        this.set('files', []);\n        this.set('text', '');\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    addPhoto() {\n      this.set('isAddingPhotos', 'yes');\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"wallService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"beaconService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"postService\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"userService\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"clientService\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"fileService\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"user\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"client\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"notifications\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"textareaIsFocused\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor12 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"isAddingPhotos\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'no';\n    }\n  }), _descriptor13 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"locations\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"uploadFiles\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"uploadFiles\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"deleteImage\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"deleteImage\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onFocusTextarea\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"onFocusTextarea\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"onFocusOutTextarea\", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, \"onFocusOutTextarea\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"addLocation\", [_dec18], Object.getOwnPropertyDescriptor(_class2.prototype, \"addLocation\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"loadLocations\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"loadLocations\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"createPost\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"createPost\"), _class2.prototype), _descriptor14 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"uploadFile\", [_dec19], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return {\n        progress: 0,\n        image: '',\n        amplify: Ember.inject.service('services/amplify'),\n\n        *perform(client, user, file) {\n          try {\n            console.log(client, user);\n            let reader = new FileReader();\n            reader.addEventListener('load', () => {\n              this.set('image', reader.result);\n            }, false);\n            reader.readAsDataURL(file);\n            const filekey = `${client.id}/${user.id}/wall/${+new Date()}`;\n            let result = yield this.get('amplify').Storage.put(filekey, file, {\n              level: 'public',\n              progressCallback: event => {\n                let progress = 100 / event.total * event.loaded;\n                this.set('progress', progress);\n              }\n            });\n            let fileUrl = yield this.get('amplify').Storage.get(result.key, {\n              expires: 60,\n              level: 'public'\n            });\n            return {\n              key: result.key,\n              url: fileUrl\n            };\n          } catch (e) {\n            console.log(e);\n          }\n        }\n\n      };\n    }\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"addPhoto\", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, \"addPhoto\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = TwitterPostCreate;\n});","define(\"event-components/components/twitter-post-create/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"5A8/N1Ay\",\n    \"block\": \"{\\\"symbols\\\":[\\\"file\\\",\\\"index\\\",\\\"location\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"action-wrapper\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"close-icon\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"onFocusOutTextarea\\\"]],[8],[0,\\\"\\\\n    \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-times\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[5,\\\"x-button\\\",[[12,\\\"class\\\",\\\"btn btn-primary btn-md\\\"]],[[\\\"@task\\\"],[[22,\\\"createPost\\\"]]],{\\\"statements\\\":[[0,\\\"\\\\n    \\\"],[1,[28,\\\"t\\\",[\\\"wall.post_senden\\\"],null],false],[0,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[1,[28,\\\"textarea\\\",null,[[\\\"value\\\",\\\"focus-in\\\"],[[24,[\\\"text\\\"]],[28,\\\"action\\\",[[23,0,[]],\\\"onFocusTextarea\\\"],null]]]],false],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"wrapper\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"input\\\",true],[10,\\\"accept\\\",\\\"image/png, image/jpeg\\\"],[11,\\\"onchange\\\",[28,\\\"perform\\\",[[24,[\\\"uploadFiles\\\"]]],null]],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],\\\"onFocusTextarea\\\"],null]],[10,\\\"type\\\",\\\"file\\\"],[8],[9],[0,\\\"\\\\n  \\\"],[7,\\\"img\\\",false],[12,\\\"src\\\",\\\"icons/photo.svg\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"addPhoto\\\"]],[8],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"location-bar\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"span\\\",true],[10,\\\"style\\\",\\\"position: absolute; left: 15%;\\\"],[8],[0,\\\"\\\\n    \\\"],[1,[24,[\\\"postlocation\\\",\\\"title\\\"]],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"locations\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"img\\\",false],[12,\\\"src\\\",[29,[\\\"/icons/\\\",[23,3,[\\\"icon\\\"]],\\\".svg\\\"]]],[3,\\\"action\\\",[[23,0,[]],\\\"addLocation\\\",[23,3,[]]]],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]},null],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"files\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"preview-image\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"uploadFile\\\",\\\"last\\\",\\\"isRunning\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[5,\\\"progress-circle\\\",[],[[\\\"@progress\\\",\\\"@size\\\",\\\"@strokeWidth\\\"],[[24,[\\\"uploadFile\\\",\\\"last\\\",\\\"progress\\\"]],[22,\\\"size\\\"],\\\"4\\\"]]],[0,\\\"\\\\n      \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[24,[\\\"uploadFile\\\",\\\"last\\\",\\\"image\\\"]]],[10,\\\"width\\\",\\\"72px\\\"],[10,\\\"height\\\",\\\"72px\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"each\\\",[[24,[\\\"files\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"preview-image-single\\\"],[8],[0,\\\"\\\\n        \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[23,1,[\\\"url\\\"]]],[10,\\\"class\\\",\\\"fade-in\\\"],[10,\\\"width\\\",\\\"72px\\\"],[10,\\\"height\\\",\\\"72px\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[7,\\\"button\\\",true],[11,\\\"onclick\\\",[28,\\\"action\\\",[[23,0,[]],\\\"deleteImage\\\",[23,2,[]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"img\\\",true],[10,\\\"src\\\",\\\"icons/icon-bin-alt.svg\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[14,4]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/twitter-post-create/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/twitter-post/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"ember-concurrency-decorators\", \"@ember-decorators/component\", \"event-components/components/twitter-post/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _emberConcurrencyDecorators, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n\n  let TwitterPost = (_dec = (0, _component.classNames)('twitter-post'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('wall'), _dec4 = Ember.inject.service('post'), _dec5 = Ember._action, _dec(_class = (_class2 = class TwitterPost extends Ember.Component.extend({}) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"wallService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"postService\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"initialX\", null);\n      (0, _defineProperty2.default)(this, \"initialY\", null);\n      (0, _defineProperty2.default)(this, \"modalImage\", null);\n    }\n\n    didInsertElement() {\n      this.element.addEventListener('touchstart', Ember.run.bind(this, this.startTouch), false);\n      this.element.addEventListener('touchmove', Ember.run.bind(this, this.moveTouch), false);\n    }\n\n    startTouch(e) {\n      this.initialX = e.touches[0].clientX;\n      this.initialY = e.touches[0].clientY;\n    }\n\n    moveTouch(e) {\n      if (this.initialX === null) {\n        return;\n      }\n\n      if (this.initialY === null) {\n        return;\n      }\n\n      let currentX = e.touches[0].clientX;\n      let currentY = e.touches[0].clientY;\n      let diffX = this.initialX - currentX;\n      let diffY = this.initialY - currentY;\n\n      if (Math.abs(diffX) > Math.abs(diffY)) {\n        // sliding horizontally\n        if (diffX > 0) {\n          // swiped left\n          this.send('swipedLeft', e);\n        } else {\n          this.send('swipedRight', e);\n        }\n      } else {\n        // sliding vertically\n        if (diffY > 0) {// swiped up\n        } else {// swiped down\n        }\n      }\n\n      this.initialX = null;\n      this.initialY = null;\n    }\n\n    async like(post) {\n      let username = this.get('amplify.currentUser.username');\n      let wall = await this.wallService.findById(post.get('wall.id'));\n\n      if (post.likes.includes(username)) {\n        post.set('likes', [...post.get('likes')].removeObject(username));\n      } else {\n        post.set('likes', [...post.get('likes'), username]);\n      }\n\n      post.set('wall', wall);\n      console.log(post);\n      await this.postService.update(post);\n      return true;\n    }\n\n    *removePost(post) {\n      yield this.postService.delete(post);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"wallService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"postService\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"like\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"like\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"removePost\", [_emberConcurrencyDecorators.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"removePost\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = TwitterPost;\n});","define(\"event-components/components/twitter-post/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"NAPS4rXM\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"inner\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"location-bar \\\",[24,[\\\"model\\\",\\\"beacon\\\",\\\"icon\\\"]]]]],[8],[9],[0,\\\"\\\\n    \\\"],[2,\\\"<img class=\\\\\\\"profil-image\\\\\\\" src=\\\\\\\"/profil@2x.jpg\\\\\\\" />\\\"],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header-inner\\\"],[8],[0,\\\"\\\\n      \\\"],[2,\\\" name and time \\\"],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"nametime\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"isAnonym\\\"]]],null,{\\\"statements\\\":[],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"name\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[24,[\\\"post\\\",\\\"author\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n          \\\"],[1,[24,[\\\"post\\\",\\\"author\\\",\\\"lastname\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"time\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"moment-from-now\\\",[[28,\\\"moment\\\",[[24,[\\\"post\\\",\\\"createdAt\\\"]]],null]],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n      \\\"],[2,\\\" likes and delete \\\"],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"info-wrapper\\\"],[8],[0,\\\"\\\\n        \\\"],[2,\\\" likes \\\"],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"likes\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",[29,[\\\"btn btn-primary\\\\n              \\\",[28,\\\"if\\\",[[28,\\\"array-contains\\\",[[24,[\\\"post\\\",\\\"likes\\\"]],[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"username\\\"]]],null],\\\"btn-danger\\\"],null]]]],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"like\\\",[24,[\\\"post\\\"]]]],[8],[0,\\\"\\\\n            \\\"],[7,\\\"svg\\\",true],[10,\\\"xmlns\\\",\\\"http://www.w3.org/2000/svg\\\",\\\"http://www.w3.org/2000/xmlns/\\\"],[10,\\\"viewBox\\\",\\\"0 0 24 24\\\"],[10,\\\"class\\\",\\\"i-like\\\"],[8],[0,\\\"\\\\n              \\\"],[7,\\\"path\\\",true],[10,\\\"fill\\\",\\\"none\\\"],[10,\\\"stroke\\\",\\\"#000000\\\"],[10,\\\"stroke-width\\\",\\\"2\\\"],[10,\\\"d\\\",\\\"M12.3,5.4C13.2,4.5,14.4,4,15.7,4c3,0,5.3,2.4,5.3,5.9c0,2-1,3.8-2.9,5.6c-0.4,0.4-1.6,1.5-1.7,1.6\\\\n                c-0.2,0.2-0.4,0.3-0.6,0.5c-0.2,0.2-0.5,0.5-0.8,0.7c-0.6,0.5-1.2,0.9-1.8,1.4c-0.2,0.1-0.4,0.3-0.6,0.5c-0.1,0-0.2,0.1-0.2,0.2\\\\n                c-0.3,0.2-0.7,0.2-0.9,0c-0.1-0.1-0.2-0.1-0.2-0.2c-0.2-0.1-0.4-0.3-0.6-0.5c-0.6-0.5-1.2-0.9-1.8-1.4c-0.3-0.2-0.5-0.5-0.8-0.7\\\\n                C8,17.4,7.8,17.2,7.6,17c-0.1,0-1.3-1.1-1.7-1.6C4,13.6,3,11.9,3,9.9C3,6.4,5.3,4,8.3,4c1.3,0,2.5,0.5,3.4,1.4\\\\n                c0.1,0.1,0.2,0.2,0.3,0.3C12.1,5.6,12.2,5.5,12.3,5.4z\\\"],[8],[9],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n          \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n            \\\"],[1,[24,[\\\"post\\\",\\\"likes\\\",\\\"length\\\"]],false],[0,\\\"\\\\n            \\\"],[1,[28,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"post\\\",\\\"likes\\\",\\\"length\\\"]],1],null],\\\"Like\\\",\\\"Likes\\\"],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[2,\\\" delete post \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"eq\\\",[[24,[\\\"post\\\",\\\"author\\\",\\\"id\\\"]],[24,[\\\"amplify\\\",\\\"currentUser\\\",\\\"id\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn btn-primary btn-delete\\\"],[11,\\\"onclick\\\",[28,\\\"perform\\\",[[24,[\\\"removePost\\\"]],[24,[\\\"post\\\"]]],null]],[8],[0,\\\"\\\\n            \\\"],[1,[28,\\\"t\\\",[\\\"wall.post_loeschen\\\"],null],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"body-inner\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n        \\\"],[1,[24,[\\\"post\\\",\\\"text\\\"]],false],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n      \\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"img-post\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"img-post-inner\\\"],[12,\\\"id\\\",[29,[\\\"img-\\\",[24,[\\\"post\\\",\\\"image\\\",\\\"id\\\"]]]]],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"modalImage\\\"]]],null],[24,[\\\"post\\\",\\\"image\\\"]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"post\\\",\\\"image\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"img-post-zoom i-zoom\\\"],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-search\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"            \\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"post\\\",\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n            /* prettier-ignore */\\\\n            \\\"],[1,[28,\\\"concat\\\",[\\\"#img-\\\",[24,[\\\"post\\\",\\\"image\\\",\\\"id\\\"]]],null],false],[0,\\\"\\\\n            {\\\\n                background-image: url(\\\\n            \\\"],[1,[23,1,[]],false],[0,\\\"\\\\n            );\\\\n              }\\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"post\\\",\\\"locations\\\"]]],null,{\\\"statements\\\":[[0,\\\"    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"padder\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"locaions\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"post\\\",\\\"locations\\\",\\\"firstObject\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"img\\\",true],[11,\\\"src\\\",[29,[\\\"/icons/\\\",[24,[\\\"post\\\",\\\"locations\\\",\\\"firstObject\\\",\\\"icon\\\"]],\\\".svg\\\"]]],[10,\\\"class\\\",\\\"location\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"modalImage\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"image-modal\\\",[],[[\\\"@file\\\",\\\"@onClose\\\"],[[22,\\\"modalImage\\\"],[28,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"modalImage\\\"]]],null],null],null]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[2,\\\" yield \\\"],[0,\\\"\\\\n\\\"],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/twitter-post/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/twitter-wall/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"event-components/components/twitter-wall/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _component, _object, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3;\n\n  let TwitterWall = (_dec = Ember.inject.service('wall'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = (0, _object.observes)('currentWall'), _dec4 = (0, _object.observes)('currentWallId'), (_class = class TwitterWall extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    onCurrentWall() {\n      this.amplify.set('currentModuleItem', this.currentWall?.name); //this.set(\"currentWall\", this.model.walls.findBy(\"id\", this.currentWallId));\n    }\n\n    onCurrentWallId() {\n      Ember.run.next(this, function () {\n        this.loadWalls().then(model => {\n          let wall = model.walls.findBy('id', this.currentWallId.id);\n          this.amplify.set('currentModuleItem', wall.name);\n          this.set('currentWallId', wall.id);\n          this.set('currentWall', wall);\n        });\n      });\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"id\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"wallService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"oberserverable\", void 0);\n      (0, _defineProperty2.default)(this, \"currentWall\", false);\n      this.get('amplify').on('moduleitem:unset', this, 'unset');\n      this.loadWalls();\n      let unreadMessages = 4;\n    }\n\n    willDestroyElement() {\n      this.get('amplify').off('moduleitem:unset', this, 'unset');\n    }\n\n    unset() {\n      this.set('currentWall', null);\n    }\n\n    async loadWalls() {\n      let client = this.amplify.currentClient;\n      const walls = await this.wallService.findAll();\n      this.set('model', {\n        walls,\n        client\n      });\n\n      if (this.currentWallId) {\n        this.set('currentWall', walls.findBy('id', this.currentWallId));\n      }\n\n      return {\n        walls,\n        client\n      };\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"id\", [_component.attribute], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'wall';\n    }\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"wallService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onCurrentWall\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"onCurrentWall\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onCurrentWallId\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"onCurrentWallId\"), _class.prototype)), _class));\n  _exports.default = TwitterWall;\n});","define(\"event-components/components/twitter-wall/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Ldum0oms\",\n    \"block\": \"{\\\"symbols\\\":[\\\"model\\\",\\\"wall\\\",\\\"imagepath\\\",\\\"&default\\\"],\\\"statements\\\":[[14,4],[0,\\\"\\\\n\\\"],[4,\\\"async-await\\\",[[23,0,[\\\"model\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"currentWall\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[5,\\\"twitter-module\\\",[],[[\\\"@wallId\\\"],[[24,[\\\"currentWall\\\",\\\"id\\\"]]]]],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"isStreamingApp\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"ember-wormhole\\\",[],[[\\\"@to\\\"],[\\\"nav-slot\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[5,\\\"twitter-post-create\\\",[],[[\\\"@wallId\\\"],[[24,[\\\"currentWall\\\",\\\"id\\\"]]]]],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"         \\\"],[5,\\\"twitter-post-create\\\",[],[[\\\"@wallId\\\"],[[24,[\\\"currentWall\\\",\\\"id\\\"]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"      \\\"],[7,\\\"div\\\",true],[10,\\\"id\\\",\\\"image-modal\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[4,\\\"each\\\",[[23,1,[\\\"walls\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"twitter-wall-item\\\"],[3,\\\"action\\\",[[23,0,[]],[28,\\\"mut\\\",[[24,[\\\"currentWall\\\"]]],null],[23,2,[]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,2,[\\\"image\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"header\\\"],[11,\\\"id\\\",[29,[\\\"h-\\\",[23,2,[\\\"id\\\"]]]]],[8],[0,\\\"\\\\n              \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[23,2,[\\\"image\\\"]],\\\"true\\\"]],{\\\"statements\\\":[[0,\\\"\\\\n                \\\"],[7,\\\"style\\\",true],[8],[0,\\\"\\\\n                  #h-\\\"],[1,[23,2,[\\\"id\\\"]],false],[0,\\\"\\\\n                  {\\\\n                    background-image: url(\\\"],[1,[23,3,[]],false],[0,\\\");\\\\n                    background-repeat: no-repeat;\\\\n                    width: calc( 100% + 40px );\\\\n                    background-size: cover;\\\\n                    background-position: center;\\\\n                    margin: -20px -20px 0 -20px;\\\\n                    border-radius: 10px 10px 0 0;\\\\n                    min-height: \\\"],[1,[28,\\\"if\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"wallItemImageHeight\\\"]],[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"wallItemImageHeight\\\"]],220],null],false],[0,\\\"px;\\\\n\\\\n                }\\\\n                \\\"],[9],[0,\\\"\\\\n              \\\"]],\\\"parameters\\\":[3]}],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"twitter-wall-header\\\"],[8],[0,\\\"\\\\n            \\\"],[1,[23,2,[\\\"name\\\"]],false],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,2,[\\\"description\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"hr\\\",true],[8],[9],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"twitter-wall-body\\\"],[8],[0,\\\"\\\\n              \\\"],[1,[23,2,[\\\"description\\\"]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[7,\\\"button\\\",true],[10,\\\"style\\\",\\\"touch-action: manipulation; -ms-touch-action: manipulation; cursor: pointer;\\\"],[10,\\\"class\\\",\\\"btn btn-info btn-primary btn-fullwidth btn-lg\\\"],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n            GO\\\\n          \\\"],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]},null]],\\\"parameters\\\":[]}],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/twitter-wall/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/unity-nav/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"event-components/components/unity-nav/template\", \"@ember-decorators/component\", \"eventapp-stream/components/module-nav/component\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _template, _component, _component2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _class2;\n\n  let UnityNav = (_dec = (0, _component.tagName)(\"nav\"), _dec2 = Ember._action, _dec(_class = (_class2 = class UnityNav extends _component2.default {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"stateName\", \"unity-nav\");\n      (0, _defineProperty2.default)(this, \"navHandler\", void 0);\n      (0, _defineProperty2.default)(this, \"fullscreenItem\", {\n        id: \"99\",\n        key: \"\",\n        header: \"Fullscreen\",\n        headeritem: \"\",\n        iconname: \"icons_minimieren.svg\",\n        icon: \"\",\n        tooltip: \"Vollbild beenden\"\n      });\n    }\n\n    goTo(navItem) {\n      console.log(navItem);\n      this.set(\"activeModule\", navItem);\n      this.navHandler(navItem);\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"goTo\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"goTo\"), _class2.prototype)), _class2)) || _class);\n  _exports.default = UnityNav;\n});","define(\"event-components/components/unity-nav/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"ssJgieDv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"navItem\\\",\\\"src\\\",\\\"&default\\\"],\\\"statements\\\":[[7,\\\"nav\\\",true],[10,\\\"class\\\",\\\"header-nav\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"ul\\\",true],[8],[0,\\\"\\\\n    \\\"],[7,\\\"li\\\",true],[10,\\\"class\\\",\\\"nav-fullscreen\\\"],[8],[0,\\\"\\\\n      \\\"],[7,\\\"div\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"goTo\\\",[24,[\\\"fullscreenItem\\\"]]]],[8],[0,\\\"\\\\n        \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[[29,[\\\"/icons/\\\",[24,[\\\"fullscreenItem\\\",\\\"iconname\\\"]]]],\\\"30\\\",\\\"30\\\"]]],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n      \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\",\\\"@side\\\"],[[29,[[24,[\\\"fullscreenItem\\\",\\\"tooltip\\\"]]]],\\\"left\\\"]]],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"li\\\",true],[10,\\\"style\\\",\\\"height: 38px;\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"amplify\\\",\\\"currentUser\\\"]],[28,\\\"not\\\",[[24,[\\\"amplify\\\",\\\"currentTheme\\\",\\\"config\\\",\\\"disbaleNavEnvelope\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",\\\"pm-messages\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"goTo\\\",[24,[\\\"privateChat\\\"]]]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"notification-envelope\\\"],[8],[0,\\\"\\\\n            \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\",\\\"@side\\\"],[\\\"Privater Chat\\\",\\\"left\\\"]]],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],0],null]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"btn-notification\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"gt\\\",[[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],99],null]],null,{\\\"statements\\\":[[0,\\\"                99+\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"                \\\"],[1,[24,[\\\"amplify\\\",\\\"unreadMessages\\\",\\\"length\\\"]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"            \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"activeModules\\\"]]],null,{\\\"statements\\\":[[0,\\\"      \\\"],[7,\\\"li\\\",true],[11,\\\"class\\\",[29,[\\\"nav-\\\",[23,1,[\\\"key\\\"]]]]],[8],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",false],[12,\\\"class\\\",[29,[[28,\\\"if\\\",[[28,\\\"eq\\\",[[23,1,[\\\"id\\\"]],[24,[\\\"activeModule\\\",\\\"id\\\"]]],null],\\\"active\\\"],null]]]],[3,\\\"action\\\",[[23,0,[]],\\\"goTo\\\",[23,1,[]]]],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,1,[\\\"icon\\\"]]],null,{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\"],[[23,1,[\\\"icon\\\"]]]],{\\\"statements\\\":[[0,\\\"\\\\n              \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[[29,[[23,2,[]]]],\\\"30\\\",\\\"30\\\"]]],[0,\\\"\\\\n            \\\"]],\\\"parameters\\\":[2]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"            \\\"],[5,\\\"svg-mask\\\",[],[[\\\"@svg\\\",\\\"@width\\\",\\\"@height\\\"],[[29,[\\\"/icons/\\\",[23,1,[\\\"iconname\\\"]]]],\\\"30\\\",\\\"30\\\"]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"        \\\"],[9],[0,\\\"\\\\n        \\\"],[5,\\\"ember-tooltip\\\",[],[[\\\"@text\\\",\\\"@side\\\"],[[29,[[23,1,[\\\"tooltip\\\"]]]],\\\"left\\\"]]],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,3]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/unity-nav/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/user-card/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/user-card/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor;\n\n  let UserCard = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, (_class = class UserCard extends Ember.Component.extend({\n    classNames: ['user-card-wrapper'] // anything which *must* be merged to prototype here\n\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"privateMessage\", null);\n      (0, _defineProperty2.default)(this, \"videochat\", null);\n      (0, _defineProperty2.default)(this, \"videocall\", null);\n      (0, _defineProperty2.default)(this, \"appointmentRequest\", null);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"active\", false);\n    }\n\n    // actions\n    async addFav(user) {\n      await this.amplify.addFavToProfile(user);\n    }\n\n    async removeFav(user) {\n      await this.amplify.removeFavToProfile(user);\n    }\n\n    toggleFooter() {\n      this.toggleProperty('active');\n    }\n\n    emitPrivateMessage() {\n      this.privateMessage();\n    }\n\n    emitVideochat() {\n      this.videochat();\n    }\n\n    emitVideocall() {\n      this.videocall();\n    }\n\n    emitAppointmentRequest() {\n      this.appointmentRequest();\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"addFav\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"addFav\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"removeFav\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"removeFav\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"toggleFooter\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleFooter\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"emitPrivateMessage\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"emitPrivateMessage\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"emitVideochat\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"emitVideochat\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"emitVideocall\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"emitVideocall\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"emitAppointmentRequest\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"emitAppointmentRequest\"), _class.prototype)), _class));\n  _exports.default = UserCard;\n});","define(\"event-components/components/user-card/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"T4id/MCw\",\n    \"block\": \"{\\\"symbols\\\":[\\\"imagepath\\\"],\\\"statements\\\":[[7,\\\"div\\\",true],[11,\\\"class\\\",[29,[\\\"user-card \\\",[28,\\\"if\\\",[[24,[\\\"active\\\"]],\\\"open\\\",\\\"close\\\"],null]]]],[8],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-body\\\"],[8],[0,\\\"\\\\n    \\\"],[2,\\\" avatar \\\"],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-avatar\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"user\\\",\\\"avatarthumb\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"aws-image\\\",[],[[\\\"@file\\\",\\\"@tagless\\\"],[[24,[\\\"user\\\",\\\"avatarthumb\\\"]],true]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[7,\\\"img\\\",true],[10,\\\"class\\\",\\\"avatar-image\\\"],[11,\\\"src\\\",[23,1,[]]],[10,\\\"alt\\\",\\\"Avatar\\\"],[8],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[1]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"avatar-noimage\\\"],[8],[0,\\\"\\\\n          \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"user\\\",\\\"firstname\\\"]]],null],false],[0,\\\"\\\\n          \\\"],[1,[28,\\\"firstletter\\\",[[24,[\\\"user\\\",\\\"lastname\\\"]]],null],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    \\\"],[2,\\\" name \\\"],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-name\\\"],[8],[0,\\\"\\\\n      \\\"],[1,[24,[\\\"user\\\",\\\"firstname\\\"]],false],[0,\\\"\\\\n      \\\"],[1,[24,[\\\"user\\\",\\\"lastname\\\"]],false],[0,\\\"\\\\n      \\\"],[2,\\\" fav star \\\"],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"faved\\\",[[23,0,[\\\"amplify\\\",\\\"currentUser\\\",\\\"favs\\\"]],[24,[\\\"user\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"span\\\",false],[12,\\\"class\\\",\\\"faved\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"removeFav\\\",[24,[\\\"user\\\"]]]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-star\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"span\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"addFav\\\",[24,[\\\"user\\\"]]]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-star\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[0,\\\"      \\\"],[7,\\\"button\\\",false],[12,\\\"class\\\",\\\"user-card-action\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"toggleFooter\\\"]],[8],[0,\\\"\\\\n        \\\"],[1,[28,\\\"if\\\",[[24,[\\\"active\\\"]],[28,\\\"t\\\",[\\\"weniger\\\"],null],[28,\\\"t\\\",[\\\"mehr\\\"],null]],null],false],[0,\\\"\\\\n        \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"arrow-down-css\\\"],[8],[9],[0,\\\"\\\\n      \\\"],[9],[0,\\\"\\\\n    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n  \\\"],[2,\\\" expandable footer \\\"],[0,\\\"\\\\n  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-footer\\\"],[8],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-footer-content\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"user\\\",\\\"company\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"span\\\",true],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-building\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[1,[24,[\\\"user\\\",\\\"company\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"user\\\",\\\"phone\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"a\\\",true],[11,\\\"href\\\",[29,[\\\"tel:\\\",[24,[\\\"user\\\",\\\"phone\\\"]]]]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-phone\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[1,[24,[\\\"user\\\",\\\"phone\\\"]],false],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[28,\\\"and\\\",[[28,\\\"not\\\",[[24,[\\\"user\\\",\\\"company\\\"]]],null],[28,\\\"not\\\",[[24,[\\\"user\\\",\\\"phone\\\"]]],null]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"span\\\",true],[10,\\\"class\\\",\\\"user-card-footer-nocontent\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n    \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"user-card-footer-actions\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"user\\\",\\\"calendar\\\"]],[24,[\\\"appointmentRequest\\\"]]],null]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[7,\\\"button\\\",false],[12,\\\"title\\\",\\\"Terminanfrage stellen\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"emitAppointmentRequest\\\"]],[8],[0,\\\"\\\\n          \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-calendar\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n        \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"user\\\",\\\"notifications\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"privateMessage\\\"]]],null,{\\\"statements\\\":[[0,\\\"          \\\"],[7,\\\"button\\\",false],[12,\\\"title\\\",\\\"Privatnachricht schreiben\\\"],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"emitPrivateMessage\\\"]],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"fa fa-envelope\\\"],[8],[9],[0,\\\"\\\\n          \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"    \\\"],[9],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/user-card/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/vote-chart/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/vote-chart/template\", \"ember-concurrency-decorators\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template, _emberConcurrencyDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n\n  let VoteChart = (_dec = Ember.inject.service(), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('vote'), _dec4 = Ember.inject.service('cookies'), _dec5 = Ember.computed.alias('voteService.activeModel'), _dec6 = Ember.computed('voteService.activeModel.charttype'), _dec7 = (0, _emberConcurrencyDecorators.task)(), _dec8 = (0, _emberConcurrencyDecorators.task)(), _dec9 = Ember.computed('currentAnswer', 'voteService.activeModel.votes.[]', 'voteService.models.[]'), _dec10 = Ember.computed('voteService.activeModel.votes.[]', 'currentVote.vote.votes.[]'), (_class = class VoteChart extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"voteService\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"cookies\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"currentVote\", _descriptor5, this);\n      (0, _defineProperty2.default)(this, \"variableChartOptions\", {\n        layoutPaddingTop: 25,\n        legendDisplay: false\n      });\n    }\n\n    didInsertElement() {}\n\n    get chartoptions() {\n      return {\n        animation: {\n          duration: 0\n        },\n        aspectRatio: 1,\n        layout: {\n          padding: {\n            left: 0,\n            right: 0,\n            top: this.variableChartOptions.layoutPaddingTop,\n            bottom: 0\n          }\n        },\n        plugins: {\n          labels: [{\n            render: 'label',\n            // position: \"outside\",\n            fontSize: 14,\n            fontStyle: 'bold'\n          } // {\n          //   render: function (args) {\n          //     return ``;\n          //   },\n          //   fontSize: 14,\n          //   fontStyle: \"bold\",\n          // },\n          ]\n        },\n        tooltips: {\n          callbacks: {\n            label: function (tooltipItem, data) {\n              //get the concerned dataset\n              var dataset = data.datasets[tooltipItem.datasetIndex]; //calculate the total of this data set\n\n              var total = dataset.data.reduce(function (previousValue, currentValue, currentIndex, array) {\n                return previousValue + currentValue;\n              }); //get the current items value\n\n              var currentValue = dataset.data[tooltipItem.index]; //calculate the precentage based on the total and current item, also this does a rough rounding to give a whole number\n\n              var percentage = Math.floor(currentValue / total * 100 + 0.5);\n              return percentage + '%';\n            }\n          }\n        },\n        legend: {\n          display: this.variableChartOptions.legendDisplay,\n          // pie\n          position: 'bottom'\n        },\n        scales: {\n          yAxes: [{\n            ticks: {\n              mirror: true\n            }\n          }],\n          xAxes: [{\n            gridLines: {\n              color: 'rgba(0, 0, 0, 0)',\n              drawBorder: false,\n              display: true\n            },\n            ticks: {\n              beginAtZero: true,\n              userCallback: function (label, index, labels) {\n                // when the floored value is the same as the value we have a whole number\n                if (Math.floor(label) === label) {\n                  return label;\n                }\n              }\n            }\n          }],\n          yAxes: [{\n            ticks: {\n              display: false,\n              beginAtZero: true\n            },\n            gridLines: {\n              color: 'rgba(0, 0, 0, 0)',\n              drawBorder: false,\n              display: false\n            }\n          }]\n        }\n      };\n    }\n\n    *goBack(voteId) {\n      this.set('amplify.currentModuleItem3rd', null);\n    }\n\n    *reload(voteId) {\n      let route = Ember.getOwner(this).lookup(`route:votechart`);\n      return route.refresh();\n    }\n\n    get data() {\n      try {\n        if (!this.get('voteService.activeModel.votes')) {\n          return null;\n        }\n\n        function getSum(total, num) {\n          return total + Math.round(num);\n        }\n\n        const data = this.get('voteService.activeModel.votes').reduce((data, vote) => {\n          let index = this.get('voteService.activeModel.values').indexOf(vote.vote);\n\n          if (data[index] === undefined) {\n            data[index] = 0;\n          }\n\n          data[index] = data[index] + 1;\n          return data;\n        }, []);\n        return {\n          labels: this.get('voteService.activeModel.values').map((v, index) => {\n            let label = this.get(`voteService.activeModel.shortvalues.${index}`) || v;\n\n            if (label === undefined || label === null || label === \"\") {\n              label = v;\n            }\n\n            let all = data.reduce(getSum, 0);\n            if (data[index] === undefined) data[index] = 0;\n            return `${label} (${Math.round(data[index] / all * 100 * 100) / 100}%)`;\n          }),\n          datasets: [{\n            data: data,\n            borderSkipped: false,\n            borderColor: 'rgba(0, 0, 0, 0)',\n            backgroundColor: this.get('voteService.activeModel.colors').map(c => {\n              if (c.includes('#')) {\n                return `${c}`;\n              } else {\n                return `#${c}`;\n              }\n            })\n          }]\n        };\n      } catch (e) {\n        console.error(e);\n      }\n    }\n\n    didReceiveAttrs() {\n      this.set('voteid', this.get('cookies').read(`vote-${this.votescope}`));\n    }\n\n    get currentAnswers() {\n      if (this.get('voteService.activeModel.votes') == null) {\n        return false;\n      }\n\n      return this.get('voteService.activeModel.votes').filterBy('user', this.amplify.currentUser.id);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"router\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"voteService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"cookies\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentVote\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"chartoptions\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"chartoptions\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"goBack\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"goBack\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"reload\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"reload\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"data\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"data\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentAnswers\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"currentAnswers\"), _class.prototype)), _class));\n  _exports.default = VoteChart;\n});","define(\"event-components/components/vote-chart/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"73olFXxD\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[7,\\\"p\\\",true],[10,\\\"class\\\",\\\"chart-header\\\"],[8],[0,\\\"\\\\n  \\\"],[7,\\\"b\\\",true],[8],[0,\\\"\\\\n    \\\"],[1,[24,[\\\"currentVote\\\",\\\"question\\\"]],false],[0,\\\"\\\\n  \\\"],[9],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\\n\\\"],[4,\\\"if\\\",[[24,[\\\"data\\\"]]],null,{\\\"statements\\\":[[1,[28,\\\"ember-chart\\\",null,[[\\\"type\\\",\\\"plugins\\\",\\\"options\\\",\\\"data\\\"],[[24,[\\\"currentVote\\\",\\\"charttype\\\"]],[28,\\\"array\\\",[\\\"labels\\\"],null],[24,[\\\"chartoptions\\\"]],[24,[\\\"data\\\"]]]]],false],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\"],[7,\\\"button\\\",true],[10,\\\"class\\\",\\\"btn btn-primary btn-fullwidth btn-lg\\\"],[11,\\\"onclick\\\",[28,\\\"perform\\\",[[24,[\\\"goBack\\\"]],[24,[\\\"currentVote\\\",\\\"id\\\"]]],null]],[10,\\\"type\\\",\\\"button\\\"],[8],[0,\\\"\\\\n  \\\"],[1,[28,\\\"t\\\",[\\\"vote.zurueck_zur_umfrage\\\"],null],false],[0,\\\"\\\\n\\\"],[9],[0,\\\"\\\\n\\\"],[14,1]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/vote-chart/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/vote-list-module/component\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"event-components/components/vote-list-module/template\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n\n  let VoteListModule = (_dec = Ember.inject.service('services/amplify'), _dec2 = Ember.inject.service('vote'), _dec3 = Ember.computed.sort('voteService.models', 'voteSorting'), _dec4 = Ember.computed.alias('voteService.activeModel'), _dec5 = Ember._action, _dec6 = Ember._action, (_class = class VoteListModule extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _initializerDefineProperty2.default)(this, \"amplify\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"voteService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"voteSorting\", ['sorting:asc']);\n      (0, _initializerDefineProperty2.default)(this, \"votes\", _descriptor3, this);\n      (0, _initializerDefineProperty2.default)(this, \"currentVote\", _descriptor4, this);\n      this.amplify.on('unity:vote', this, 'voteDetail');\n      this.get('amplify').on('moduleitem:unset', this, 'unset');\n      this.set('showChart', false);\n    }\n\n    voteDetail(vote, showChart) {\n      this.amplify.set('currentModuleItem', vote.question);\n\n      if (vote.show) {\n        this.set('currentVote', vote);\n      } // show chart result if param given\n\n\n      if (showChart) {\n        this.set('showChart', showChart);\n      }\n    }\n\n    voteDetailById(voteId) {\n      this.set('currentVote', this.votes.findBy('id', voteId));\n    }\n\n    willDestroy() {\n      this.get('amplify').off('unity:vote', this, 'voteDetail');\n      this.get('amplify').off('moduleitem:unset', this, 'unset');\n    }\n\n    unset() {\n      this.set('currentVote', null);\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"voteService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"votes\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"currentVote\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"voteDetail\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"voteDetail\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"voteDetailById\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"voteDetailById\"), _class.prototype)), _class));\n  _exports.default = VoteListModule;\n});","define(\"event-components/components/vote-list-module/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"X1gpAS8E\",\n    \"block\": \"{\\\"symbols\\\":[\\\"vote\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"currentVote\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"app-umfrage-vote\\\",[],[[\\\"@model\\\",\\\"@votes\\\",\\\"@showChart\\\"],[[22,\\\"currentVote\\\"],[22,\\\"votes\\\"],[22,\\\"showChart\\\"]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[0,\\\"  \\\"],[7,\\\"div\\\",true],[10,\\\"class\\\",\\\"app-content\\\"],[10,\\\"style\\\",\\\"padding: 0px;\\\"],[8],[0,\\\"\\\\n\\\"],[4,\\\"each\\\",[[24,[\\\"votes\\\"]]],null,{\\\"statements\\\":[[4,\\\"if\\\",[[23,1,[\\\"show\\\"]]],null,{\\\"statements\\\":[[0,\\\"        \\\"],[5,\\\"app-umfrage\\\",[],[[\\\"@vote\\\"],[[23,1,[]]]],{\\\"statements\\\":[[0,\\\"\\\\n          \\\"],[7,\\\"div\\\",true],[10,\\\"style\\\",\\\"width:100%; cursor: pointer;\\\"],[10,\\\"class\\\",\\\"app-umfrage-text\\\"],[8],[0,\\\"\\\\n            \\\"],[7,\\\"div\\\",false],[3,\\\"action\\\",[[23,0,[]],\\\"voteDetail\\\",[23,1,[]],false]],[8],[0,\\\"\\\\n              \\\"],[1,[23,1,[\\\"question\\\"]],false],[0,\\\"\\\\n            \\\"],[9],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[23,1,[\\\"showresult\\\"]]],null,{\\\"statements\\\":[[0,\\\"              \\\"],[7,\\\"button\\\",false],[12,\\\"type\\\",\\\"button\\\"],[3,\\\"action\\\",[[23,0,[]],\\\"voteDetail\\\",[23,1,[]],true]],[8],[0,\\\"\\\\n                \\\"],[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-bar-chart\\\"],[10,\\\"aria-hidden\\\",\\\"true\\\"],[8],[9],[0,\\\"\\\\n              \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"          \\\"],[9],[0,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null]],\\\"parameters\\\":[1]},null],[0,\\\"  \\\"],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/vote-list-module/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/vote-module/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-components/components/vote-module/template\", \"graphql-tag\", \"event-components/gql/fragments\"], function (_exports, _defineProperty2, _template, _graphqlTag, _fragments) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // @ts-ignore: Ignore import of compiled template\n  const query = (0, _graphqlTag.default)`\n  query votes($where: VoteWhereInput!) {\n    votes(where: $where) {\n      ${_fragments.VOTE_FRAGMENT}\n    }\n  }\n`;\n\n  class VoteModule extends Ember.Component.extend({// anything which *must* be merged to prototype here\n  }) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"model\", void 0);\n      this.model = this.loadModel();\n    }\n\n    async loadModel(params) {\n      let vote, votes;\n      const client = await this.modelFor('application');\n      votes = this.get('voteService.votes');\n      vote = votes.firstObject;\n      return {\n        vote,\n        votes,\n        user: client.user,\n        client: client\n      };\n    }\n\n  }\n\n  _exports.default = VoteModule;\n});","define(\"event-components/components/vote-module/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"YraYqr45\",\n    \"block\": \"{\\\"symbols\\\":[\\\"model\\\",\\\"&default\\\"],\\\"statements\\\":[[4,\\\"async-await\\\",[[23,0,[\\\"model\\\"]]],null,{\\\"statements\\\":[[0,\\\"  \\\"],[5,\\\"app-umfrage-vote\\\",[],[[\\\"@model\\\",\\\"@vote\\\",\\\"@votes\\\"],[[23,1,[\\\"vote\\\"]],[23,1,[\\\"vote\\\"]],[23,1,[\\\"votes\\\"]]]]],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]},null],[14,2]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/vote-module/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/components/x-button/component\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@ember-decorators/component\", \"event-components/components/x-button/template\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _component, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2;\n\n  let XButton = (_dec = (0, _component.classNames)(\"btn\", \"btn-info\"), _dec2 = (0, _component.tagName)(\"button\"), _dec3 = Ember._action, _dec4 = Ember.computed(\"taskInstance.isRunning\", \"isDisabled\"), _dec5 = (0, _component.attribute)(\"disabled\"), _dec(_class = _dec2(_class = (_class2 = class XButton extends Ember.Component.extend({}) {\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"layout\", _template.default);\n      (0, _defineProperty2.default)(this, \"task\", void 0);\n      (0, _defineProperty2.default)(this, \"taskInstance\", void 0);\n      (0, _defineProperty2.default)(this, \"isDisabled\", false);\n      (0, _defineProperty2.default)(this, \"showCheck\", false);\n    }\n\n    click() {\n      Ember.set(this, \"taskInstance\", this.task.perform(this.args));\n    }\n\n    get disabled() {\n      if (this.isDisabled) {\n        return true;\n      }\n\n      if (this.taskInstance == undefined) {\n        return false;\n      }\n\n      return this.taskInstance.isRunning;\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"click\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"click\"), _class2.prototype), (0, _applyDecoratedDescriptor2.default)(_class2.prototype, \"disabled\", [_dec4, _dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"disabled\"), _class2.prototype)), _class2)) || _class) || _class);\n  _exports.default = XButton;\n});","define(\"event-components/components/x-button/template\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _default = Ember.HTMLBars.template({\n    \"id\": \"Kv/6ivMa\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[24,[\\\"taskInstance\\\",\\\"isRunning\\\"]]],null,{\\\"statements\\\":[],\\\"parameters\\\":[]},null],[14,1],[0,\\\"\\\\n\\\"],[4,\\\"if\\\",[[28,\\\"and\\\",[[24,[\\\"task\\\",\\\"last\\\",\\\"isSuccessful\\\"]],[24,[\\\"showCheck\\\"]]],null]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-check\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[4,\\\"if\\\",[[24,[\\\"task\\\",\\\"last\\\",\\\"isError\\\"]]],null,{\\\"statements\\\":[[7,\\\"i\\\",true],[10,\\\"class\\\",\\\"fa fa-remove\\\"],[8],[9],[0,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},null],[0,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false}\",\n    \"meta\": {\n      \"moduleName\": \"event-components/components/x-button/template.hbs\"\n    }\n  });\n\n  _exports.default = _default;\n});","define(\"event-components/eventbus/service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class Eventbus extends Ember.Service.extend(Ember.Evented) {// normal class body definition here\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = Eventbus;\n});","define(\"event-components/helpers/awsimage\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.awsimage = awsimage;\n  _exports.default = void 0;\n\n  function awsimage(params) {\n    const file = params[0];\n    const amplify = params[1];\n\n    if (Ember.isEmpty(file)) {\n      return \"\";\n    }\n\n    try {\n      let cachedUrl = amplify.Cache.getItem(file.key);\n\n      if (cachedUrl !== null) {\n        return cachedUrl.split(\"?\")[0];\n      }\n\n      let url = amplify.Storage.get(file.key, {\n        expires: 86400,\n        level: \"public\"\n      }).then(url => {\n        if (url.includes(\"?\")) {\n          url = url.split(\"?\")[0];\n        }\n\n        amplify.Cache.setItem(file.key, url);\n        return url;\n      });\n      return url;\n    } catch (e) {\n      console.error(e);\n    }\n\n    return \"\";\n  }\n\n  var _default = Ember.Helper.helper(awsimage);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/css-name\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cssName = cssName;\n  _exports.default = void 0;\n\n  function cssName(params\n  /*, hash*/\n  ) {\n    if (params[0]) {\n      return params[0].replace(/[\\W_]+/g, '-');\n    }\n\n    return '';\n  }\n\n  var _default = Ember.Helper.helper(cssName);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/faved\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.faved = faved;\n\n  function faved(params\n  /*, hash*/\n  ) {\n    if (params[0] === null) {\n      return false;\n    }\n\n    console.log(params[0].findBy('id', params[1].id) !== undefined);\n    return params[0].findBy('id', params[1].id) !== undefined;\n  }\n\n  var _default = Ember.Helper.helper(faved);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/findby\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.findby = findby;\n\n  function findby(params\n  /*, hash*/\n  ) {\n    console.log(params);\n    let finding = params[2].findBy(params[0], params[1]);\n    return finding !== null && finding !== undefined;\n  }\n\n  var _default = Ember.Helper.helper(findby);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/firstletter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.firstletter = firstletter;\n\n  function firstletter(params) {\n    if (params[0]) {\n      return params[0].charAt(0);\n    } else {\n      return \"A\";\n    }\n  }\n\n  var _default = Ember.Helper.helper(firstletter);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/input-value\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.inputValue = inputValue;\n\n  function inputValue(params\n  /*, hash*/\n  ) {\n    console.log(params);\n\n    if (!params[1]) {\n      return '';\n    }\n\n    try {\n      return params[0].get(params[1]);\n    } catch (e) {\n      return '';\n    }\n  }\n\n  var _default = Ember.Helper.helper(inputValue);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/link-blank\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.linkBlank = linkBlank;\n\n  function linkBlank(params) {\n    return params[0].replace(\"href\", 'target=\"_blank\" href');\n  }\n\n  var _default = Ember.Helper.helper(linkBlank);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/map-by-question\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.mapByQuestion = mapByQuestion;\n\n  function mapByQuestion(params) {\n    return params[0].map((q, i) => {\n      return {\n        id: i + 1,\n        title: q\n      };\n    });\n  }\n\n  var _default = Ember.Helper.helper(mapByQuestion);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/nl2br\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.nl2br = nl2br;\n\n  function nl2br(params) {\n    var breakTag = '<br />';\n    return Ember.String.htmlSafe(params[0].replace(/([^>\\r\\n]?)(\\r\\n|\\n\\r|\\r|\\n)/g, '$1' + breakTag + '$2') + '');\n  }\n\n  var _default = Ember.Helper.helper(nl2br);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/replace\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.replace = replace;\n\n  function replace(params\n  /*, hash*/\n  ) {\n    if (!params[2]) {\n      return \"\";\n    }\n\n    return `${params[2]}`.replace(params[0], params[1]);\n  }\n\n  var _default = Ember.Helper.helper(replace);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/special-counter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.specialCounter = specialCounter;\n\n  function specialCounter(params\n  /*, hash*/\n  ) {\n    const limit = params[0];\n    const value = params[1];\n    const answers = params[2];\n\n    if (answers === undefined) {\n      return false;\n    }\n\n    const filteredAnswers = answers.filter(item => {\n      return item.value.split(\",\").includes(value.toString());\n    });\n    return limit - filteredAnswers.length;\n  }\n\n  var _default = Ember.Helper.helper(specialCounter);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/split\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.split = split;\n\n  function split(params) {\n    if (params[0] !== undefined && params[0] !== null && Array.isArray(params[0])) {\n      return params[0].split(params[1]);\n    } else {\n      return \"\";\n    }\n  }\n\n  var _default = Ember.Helper.helper(split);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/striptags\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.striptags = striptags;\n\n  function striptags(params\n  /*, hash*/\n  ) {\n    return params;\n  }\n\n  var _default = Ember.Helper.helper(striptags);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/to-string\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.toString = toString;\n\n  function toString(params\n  /*, hash*/\n  ) {\n    try {\n      return params[0].toString();\n    } catch (e) {\n      console.error('Object has no toString Method');\n      return '';\n    }\n  }\n\n  var _default = Ember.Helper.helper(toString);\n\n  _exports.default = _default;\n});","define(\"event-components/helpers/truncate\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.truncate = truncate;\n\n  function truncate(params, hash) {\n    const [value] = params;\n    const {\n      limit\n    } = hash;\n    let text = \"\";\n\n    if (value != null && value.length > 0) {\n      text = value.substr(0, limit);\n\n      if (value.length > limit) {\n        text += \"...\";\n      }\n    }\n\n    return text;\n  }\n\n  var _default = Ember.Helper.helper(truncate);\n\n  _exports.default = _default;\n});","define(\"event-components/module/service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class Module extends Ember.Service.extend({// anything which *must* be merged to prototype here\n  }) {// normal class body definition here\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = Module;\n});","define(\"event-services/admin/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\", \"ember-changeset-validations/validators\", \"@aws-amplify/auth\", \"@aws-amplify/api\"], function (_exports, _defineProperty2, _models, _service, _validators, _auth, _api) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class AdminService extends _service.default {\n    async beforeCreate(model) {\n      if (model.get('role') != _models.Roles.CLIENT) {\n        return model;\n      }\n\n      try {\n        const res = await this.createAdminCognitoUser(model.get('pendingData'));\n\n        if (res == undefined) {\n          var _this$notificationSer;\n\n          (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError('', 'Email undefined');\n          return undefined;\n        }\n\n        const res2 = await this.addUserToGroup(model.get('pendingData'));\n\n        if (res2 == undefined) {\n          var _this$notificationSer2;\n\n          (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError('', 'Email undefined');\n          return undefined;\n        }\n\n        model.set('cognitoId', res.data.User.Attributes.find(attr => attr.Name == 'sub').Value);\n        return model;\n      } catch (e) {\n        var _this$notificationSer3;\n\n        console.error(e);\n        (_this$notificationSer3 = this.notificationService) === null || _this$notificationSer3 === void 0 ? void 0 : _this$notificationSer3.showError(e.toString(), 'Cognito Error');\n        return undefined;\n      }\n    }\n\n    async createAdminCognitoUser(admin) {\n      if (admin.email == undefined) {\n        return undefined;\n      }\n\n      let apiName = 'AdminQueries';\n      let path = `/createUser`;\n      let myInit = {\n        body: {\n          username: admin.email\n        },\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        }\n      };\n      return await _api.default.post(apiName, path, myInit);\n    }\n\n    async addUserToGroup(admin) {\n      if (admin.email == undefined) {\n        return undefined;\n      }\n\n      let apiName = 'AdminQueries';\n      let path = `/addUserToGroup`;\n      let myInit = {\n        body: {\n          username: admin.email,\n          groupname: 'Admin'\n        },\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        }\n      };\n      return await _api.default.post(apiName, path, myInit);\n    }\n\n    constructor() {\n      super('Admin', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Admin);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Admin',\n        translated: {\n          de: 'Admin',\n          en: 'Admin'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"isClientAware\", false);\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        firstname: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Vorname ist ein Pflichtfeld'\n        }),\n        lastname: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Nachname ist ein Pflichtfeld'\n        }),\n        email: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Email ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  }\n\n  _exports.default = AdminService;\n});","define(\"event-services/agenda/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class AgendaService extends _service.default {\n    constructor() {\n      super('Agenda', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.AgendaItem);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Agenda',\n        translated: {\n          de: 'Agenda',\n          en: 'Agenda'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      (0, _defineProperty2.default)(this, \"isClientAware\", true);\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = AgendaService;\n});","define(\"event-services/answer/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@netzreich/u-models/models\", \"event-services/base/service\", \"ember-concurrency-ts\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _models, _service, _emberConcurrencyTs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _descriptor, _descriptor2;\n\n  let AnswerService = (_dec = Ember.inject.service('user'), _dec2 = Ember.inject.service('question'), (_class = class AnswerService extends _service.default {\n    constructor() {\n      super('Answer', ...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"questionService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Answer);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Answer',\n        translated: {\n          de: 'Answer',\n          en: 'Answer'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"csvFields\", [{\n        field: 'id',\n        type: 'string'\n      }]);\n      (0, _defineProperty2.default)(this, \"validatorMap\", {});\n      this.initDatastoreSubscription();\n    }\n\n    async parseFromCSV(elements) {\n      const idMatcher = new RegExp(/[^\\(]+(?=\\))/g);\n      const answersToSave = [];\n\n      for (const element of elements) {\n        for (const [key, val] of Object.entries(element)) {\n          var _key$match;\n\n          const questionID = (_key$match = key.match(idMatcher)) === null || _key$match === void 0 ? void 0 : _key$match.at(0);\n          const user = await this.userService.findById(element.id);\n\n          if (questionID !== undefined && val.length > 0 && element.id !== undefined) {\n            answersToSave.push({\n              values: val.split(', '),\n              owner: user === null || user === void 0 ? void 0 : user.get('username'),\n              answerUserId: element.id,\n              answerQuestionId: questionID,\n              clientID: this.clientID\n            });\n          }\n        }\n      }\n\n      let userIDsInThisCSV = answersToSave.mapBy('user.id');\n      let answersToDelete = this.models.filter(answer => {\n        if (answer.user == null) {\n          return false;\n        }\n\n        return userIDsInThisCSV.includes(answer.get('user').id);\n      });\n      const deletes = this.buildQueries('deleteanswers', 'deleteAnswerNoSub', answersToDelete.map(m => ({\n        id: m.get('id')\n      })));\n      const inserts = this.buildQueries('answers', 'upsertAnswerNoSub', answersToSave);\n\n      try {\n        var _this$notificationSer;\n\n        this.logger.log(`Importing ${elements.length} Entrys with ${deletes.length + inserts.length} Queries`);\n        const deleteTasks = [];\n\n        for (const graphqlQuery of deletes) {\n          deleteTasks.push((0, _emberConcurrencyTs.taskFor)(this.graphqlCall).perform(graphqlQuery));\n        }\n\n        await Promise.all(deleteTasks);\n        const insertTasks = [];\n\n        for (const graphqlQuery of inserts) {\n          insertTasks.push((0, _emberConcurrencyTs.taskFor)(this.graphqlCall).perform(graphqlQuery));\n        }\n\n        await Promise.all(insertTasks);\n        await this.datastoreService.stopDatastore();\n        await this.datastoreService.startDatastore();\n        await this.findAll(true);\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showSuccess(`Erfolgreich ${this.models.length} von ${elements.length} Antworten importiert`, 'Import Erfolgreich');\n      } catch (e) {\n        var _this$notificationSer2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError(e, 'Bulk Import Error');\n      }\n\n      return;\n    }\n\n    serializeToCSV() {\n      const mappedModels = [];\n      const users = this.userService.serializeToCSV();\n\n      if (!users) {\n        return;\n      }\n\n      let tempArr = {};\n\n      for (const answer of this.models) {\n        const question = answer.get('question');\n        const user = answer.get('user');\n\n        if (question == undefined || user == undefined) {\n          // Skip answers without user or question\n          continue;\n        } // Questions without type should still be exported\n        // BBUG Question type got disabled but Users already answered\n        // if (question.type == QuestionTypes.KEINER) {\n        //   continue;\n        // }\n\n\n        if (tempArr[user.id] == undefined) {\n          tempArr[user.id] = [];\n        }\n\n        let key = `#${question.sorting} ${this.stripHtml(question.question)} (${question.id})`;\n        tempArr[user.id][`#${question.sorting} Datum`] = answer.get('createdAt');\n\n        if (question.type == _models.QuestionTypes.TEXT) {\n          tempArr[user.id][key] = answer.get('values').join(', ');\n        } else {\n          tempArr[user.id][key] = answer.get('values').map(v => {\n            const parsed = question.values.objectAt(parseInt(v));\n\n            if (parsed == '' || parsed == undefined || parsed == null) {\n              return v;\n            } else {\n              return parsed;\n            }\n          }).join(', ');\n        }\n\n        if (tempArr[user.id][key] == undefined || tempArr[user.id][key] == null || tempArr[user.id][key] == '') {\n          if (answer.value == undefined || answer.value == '' || answer.value == null) {\n            tempArr[user.id][key] = answer.get('values').join(', ');\n          } else {\n            tempArr[user.id][key] = answer.value;\n          }\n        }\n      }\n\n      for (const user of users) {\n        mappedModels.push({ ...user,\n          ...(tempArr[user.id] ?? {})\n        });\n      }\n\n      return mappedModels;\n    }\n\n    stripHtml(html) {\n      let tmp = document.createElement('DIV');\n      tmp.innerHTML = html;\n      const stripped = tmp.textContent || tmp.innerText || '';\n      tmp.remove();\n      return stripped;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"questionService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = AnswerService;\n});","define(\"event-services/appointment/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class AppointmentService extends _service.default {\n    beforeUpdate(_original, change) {\n      // if (_original.requestUser === undefined) {\n      //   change = Object.assign({}, change, { requestUser: undefined });\n      // }\n      return change;\n    }\n\n    constructor() {\n      super('Appointment', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Appointment);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Appointment',\n        translated: {\n          de: 'Appointment',\n          en: 'Appointment'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      (0, _defineProperty2.default)(this, \"mergeDirtyModels\", false);\n      (0, _defineProperty2.default)(this, \"isClientAware\", true);\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = AppointmentService;\n});","define(\"event-services/base/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@babel/runtime/helpers/esm/defineProperty\", \"@ember-decorators/object\", \"ember-changeset\", \"@aws-amplify/datastore\", \"@aws-amplify/core\", \"ember-changeset-validations\", \"@aws-amplify/auth\", \"ember-concurrency-ts\", \"ember-concurrency-decorators\"], function (_exports, _initializerDefineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _defineProperty2, _object, _emberChangeset, _datastore, _core, _emberChangesetValidations, _auth, _emberConcurrencyTs, _emberConcurrencyDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.AmplifyServiceInterface = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n\n  class AmplifyServiceInterface extends Ember.Service.extend(Ember.Evented) {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"clientId\", void 0);\n      (0, _defineProperty2.default)(this, \"currentClient\", void 0);\n      (0, _defineProperty2.default)(this, \"Storage\", void 0);\n      (0, _defineProperty2.default)(this, \"Auth\", void 0);\n    }\n\n  }\n\n  _exports.AmplifyServiceInterface = AmplifyServiceInterface;\n  let BaseService = (_dec = Ember.inject.service('event'), _dec2 = Ember.inject.service('services/amplify'), _dec3 = Ember.inject.service('datastore'), _dec4 = Ember.computed.alias('amplifyService.clientId'), _dec5 = Ember.computed.alias('amplifyService.currentClient'), _dec6 = Ember.computed('models', 'models.[]'), _dec7 = (0, _object.observes)('limit', 'page', 'filtering', 'sorting', 'models.[]', 'jsFilter'), _dec8 = Ember.computed('paginatedModels', 'paginatedModels.[]'), _dec9 = (0, _object.observes)('models.[]', 'models'), _dec10 = (0, _emberConcurrencyDecorators.task)({\n    maxConcurrency: 3,\n    enqueue: true\n  }), (_class = class BaseService extends Ember.Service {\n    // Event service for listening to events\n    // Notification Service (Optional)\n    // Alias to the current ClientID\n    // Alias to the current Client\n    // Modelclass and name as string of this service. Needs to overwritten by Parent service class\n    // The Validationmap which tells the service how to validate the Changesets\n    // The available models of this Entity. For example all Users of the Userservice as Changesets\n    // Get the Models as plain data (without the changeset wrapper)\n    get plainModels() {\n      return this.models.map(m => m.get('data'));\n    } // The current active selected Model. For example the active Client.\n    // Gets set from outside and updated here\n\n\n    // Paginated model Observer which updates the paginated Models based on page and limit\n    async paginatedModelObserver(_service = this, trigger = '') {\n      if (this.limit == 0 || this.limit == undefined) {\n        console.error('Limit is Invalid');\n        return;\n      }\n\n      this.logger.info(`Refetching Page(${this.page}) Limit(${this.limit}) TriggeredBy(${trigger})`);\n      let filter;\n\n      if (this.jsFilter !== undefined) {\n        filter = _datastore.Predicates.ALL;\n      } else {\n        filter = this.filtering == undefined ? _datastore.Predicates.ALL : this.filtering;\n      }\n\n      const pagination = {\n        page: +this.page - 1,\n        limit: +this.limit,\n        sort: this.sorting\n      };\n      const plainModels = await _datastore.DataStore.query(this.modelClass, filter, pagination);\n      let changesetModels = [];\n\n      if (this.jsFilter !== undefined) {\n        // Get all models, sort them and make changesets out of them\n        const allModelsSorted = (await _datastore.DataStore.query(this.modelClass, undefined, {\n          sort: this.sorting\n        })).map(m => (0, _emberChangeset.Changeset)(m, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap)); // Filter with js Filter\n\n        changesetModels = this.jsFilter(allModelsSorted); // Set new Modelcount\n\n        this.set('modelCount', changesetModels.length); // Implement Page & Limit by slicing the array\n\n        changesetModels = changesetModels.slice(this.page * this.limit - this.limit, this.page * this.limit);\n      } else if (filter != undefined) {\n        // Get new modelcount if we are filtering\n        changesetModels = plainModels.map(m => (0, _emberChangeset.Changeset)(m, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap));\n        this.getNewModelCount(filter);\n      }\n\n      if (this.paginatedModels.length > 0 && trigger == 'models.[]') {\n        // Not initial Pull\n        // Only Apply Changes / new Models\n        for (const model of changesetModels) {\n          const oldModelIndex = this.paginatedModels.findIndex(m => m.get('id') == model.get('id'));\n\n          if (oldModelIndex != -1) {\n            // Check if Updated\n            const oldModel = this.paginatedModels[oldModelIndex];\n\n            if (model.get('_version') != oldModel.get('_version') || oldModel.get('_version') == undefined) {\n              // Replace the old Model with the new one\n              var foundIndex = this.paginatedModels.findIndex(x => x.id == model.id); // Update model\n\n              this.paginatedModels.replace(foundIndex, 1, [model]);\n            }\n          } else {\n            // New models\n            if (this.paginatedModels.length >= this.limit) {\n              this.paginatedModels.popObject();\n            }\n\n            this.paginatedModels.unshiftObject(model); // Dirty sorting fix for field \"sorting\"\n\n            if (this.sorting) {\n              const getSortPredicateAndDir = async sort => {\n                return new Promise((resolve, reject) => {\n                  setTimeout(() => {\n                    reject();\n                  }, 1000);\n                  const predicate = {\n                    sorting: dir => {\n                      resolve([predicate, dir]);\n                      return predicate;\n                    }\n                  };\n                  sort(predicate);\n                });\n              };\n\n              try {\n                const res = await getSortPredicateAndDir(this.sorting);\n                const dir = res[1];\n\n                if (dir) {\n                  console.log(dir);\n\n                  if (dir === _datastore.SortDirection.ASCENDING) {\n                    this.set('paginatedModels', this.paginatedModels.sort((a, b) => +a.get('sorting') - +b.get('sorting')));\n                  } else {\n                    this.set('paginatedModels', this.paginatedModels.sort((a, b) => +b.get('sorting') - +a.get('sorting')));\n                  }\n                }\n              } catch (e) {}\n            }\n          }\n        }\n\n        if (this.paginatedModels.length > changesetModels.length) {\n          // Delete Models\n          const objectsToDelete = this.paginatedModels.filter(x => changesetModels.find(y => y.id == x.id) == undefined);\n\n          for (const toDelete of objectsToDelete) {\n            const modelToDelete = this.paginatedModels.findBy('id', toDelete.id);\n\n            if (modelToDelete != undefined) {\n              this.paginatedModels.removeObject(modelToDelete);\n            }\n          }\n        }\n      } else {\n        // Init\n        this.set('paginatedModels', changesetModels);\n      }\n    }\n    /**\n     * Refresh Modelcount with filter\n     */\n\n\n    async getNewModelCount(filter) {\n      const count = (await _datastore.DataStore.query(this.modelClass, filter)).length;\n      this.set('modelCount', count);\n    } // Paginated Modellist based on Limit and current Page\n\n\n    // Get the Paginated Models as plain data (without the changeset wrapper)\n    get plainPaginatedModels() {\n      return this.paginatedModels.map(m => m.get('data'));\n    } // Limit of models for paginated Models\n\n\n    // Count of all Models\n    modelCountChanged() {\n      this.set('modelCount', this.models.length);\n    }\n\n    constructor(name, ...args) {\n      super(...args);\n      (0, _initializerDefineProperty2.default)(this, \"eventService\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"notificationService\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"amplifyService\", _descriptor2, this);\n      (0, _initializerDefineProperty2.default)(this, \"datastoreService\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"logger\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"clientID\", _descriptor4, this);\n      (0, _initializerDefineProperty2.default)(this, \"client\", _descriptor5, this);\n      (0, _defineProperty2.default)(this, \"modelClass\", void 0);\n      (0, _defineProperty2.default)(this, \"modelname\", void 0);\n      (0, _defineProperty2.default)(this, \"validatorMap\", void 0);\n      (0, _defineProperty2.default)(this, \"batchQuery\", '');\n      (0, _defineProperty2.default)(this, \"csvFields\", undefined);\n      (0, _defineProperty2.default)(this, \"BATCH_SIZE\", 25);\n      (0, _defineProperty2.default)(this, \"models\", []);\n      (0, _defineProperty2.default)(this, \"activeModel\", undefined);\n      (0, _defineProperty2.default)(this, \"paginatedModels\", []);\n      (0, _defineProperty2.default)(this, \"limit\", 10);\n      (0, _defineProperty2.default)(this, \"page\", 1);\n      (0, _defineProperty2.default)(this, \"sorting\", void 0);\n      (0, _defineProperty2.default)(this, \"filtering\", void 0);\n      (0, _defineProperty2.default)(this, \"jsFilter\", undefined);\n      (0, _defineProperty2.default)(this, \"modelCount\", 0);\n      (0, _defineProperty2.default)(this, \"mergeDirtyModels\", true);\n      (0, _defineProperty2.default)(this, \"observedSubscriptions\", ['UPDATE', 'INSERT', 'DELETE']);\n      (0, _defineProperty2.default)(this, \"isClientAware\", true);\n      (0, _defineProperty2.default)(this, \"_subscription\", void 0);\n      (0, _defineProperty2.default)(this, \"modelName\", void 0);\n      (0, _defineProperty2.default)(this, \"previousVersion\", 0);\n      this.logger = new _core.ConsoleLogger(`Default`, 'INFO');\n      this.logger.name = `Service (${name})`;\n      this.modelName = name;\n      sessionStorage.setItem('datastorePartialData', 'true');\n      let config = Ember.getOwner(this).resolveRegistration('config:environment');\n\n      if (config.showNotifications) {\n        this.notificationService = Ember.getOwner(this).lookup('service:notification');\n      } else {\n        this.notificationService = undefined;\n      } // Setup Logging on Localhost and Staging\n\n\n      if (location.host.includes('localhost') || location.host.includes('stage')) {\n        window.LOG_LEVEL = 'INFO';\n      } else {\n        window.LOG_LEVEL = 'WARN';\n      }\n\n      this.eventService.on('datastore:refresh', this, 'onDatastoreRefresh');\n      this.eventService.on('datastore:start', this, 'onDatastoreRefresh');\n    }\n\n    willDestroy() {\n      var _this$_subscription;\n\n      (_this$_subscription = this._subscription) === null || _this$_subscription === void 0 ? void 0 : _this$_subscription.unsubscribe();\n      this.eventService.off('datastore:refresh', this, 'onDatastoreRefresh');\n      this.eventService.off('datastore:start', this, 'onDatastoreRefresh');\n    }\n\n    onDatastoreRefresh() {\n      this.startSub();\n      return this.findAll(true);\n    }\n    /**\n     * Hook before the base-serialization\n     *\n     * @param model model to serialize\n     * @returns serialized model\n     */\n\n\n    beforeSerialize(model) {\n      // Make new POJO (maybe was readonly)\n      model = { ...model\n      };\n      return model;\n    }\n    /**\n     * Serialize Models into a CSV String\n     */\n\n\n    serializeToCSV() {\n      if (this.csvFields == undefined) {\n        var _this$notificationSer;\n\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError('csvFields not Implemented');\n        return undefined;\n      }\n\n      const mappedModels = [];\n\n      for (const model of this.plainModels) {\n        mappedModels.push(this.serializeModel(model));\n      }\n\n      return mappedModels;\n    }\n\n    serializeModel(model) {\n      var _this$csvFields;\n\n      let serialized = this.beforeSerialize(model);\n      const keys = (_this$csvFields = this.csvFields) === null || _this$csvFields === void 0 ? void 0 : _this$csvFields.map(f => f.field);\n      Object.keys(serialized).map(value => {\n        if (!(keys !== null && keys !== void 0 && keys.includes(value))) {\n          delete serialized[value];\n        }\n      });\n      return serialized;\n    }\n    /**\n     * Hook before the base-parsing\n     *\n     * @param element element to parse\n     * @returns parsed element\n     */\n\n\n    beforeParse(_element, _index) {\n      return _element;\n    }\n    /**\n     * Parse Models from Json Objects\n     *\n     * @param elements Json Objects\n     */\n\n\n    async parseFromCSV(elements) {\n      if (this.batchQuery == '') {\n        var _this$notificationSer2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError('Batchquery not Implemented');\n        return;\n      }\n\n      if (this.csvFields == undefined) {\n        var _this$notificationSer3;\n\n        (_this$notificationSer3 = this.notificationService) === null || _this$notificationSer3 === void 0 ? void 0 : _this$notificationSer3.showError('csvFields not Implemented');\n        return;\n      }\n\n      const keys = this.csvFields.map(f => f.field);\n      const toImportElements = [];\n\n      for (const [i, elem] of elements.entries()) {\n        if (!this.beforeParse(elem, i)) {\n          console.log('Beforeparse failed at index ', i);\n          continue;\n        }\n\n        Object.keys(elem).map(value => {\n          if (!keys.includes(value) && value != 'owner') {\n            delete elem[value];\n          }\n        });\n\n        if (this.isClientAware) {\n          elem.clientID = this.clientID;\n        }\n\n        toImportElements.push(elem);\n      }\n\n      const queries = this.buildQueries(this.modelName, this.batchQuery, toImportElements);\n\n      try {\n        var _this$notificationSer4;\n\n        this.logger.log(`Importing ${toImportElements.length} Entrys with ${queries.length} Queries`);\n        const tasks = [];\n\n        for (const graphqlQuery of queries) {\n          tasks.push((0, _emberConcurrencyTs.taskFor)(this.graphqlCall).perform(graphqlQuery));\n        }\n\n        const results = await Promise.all(tasks);\n        console.log(results);\n        await this.datastoreService.stopDatastore();\n        await this.datastoreService.startDatastore();\n        await this.findAll(true);\n        (_this$notificationSer4 = this.notificationService) === null || _this$notificationSer4 === void 0 ? void 0 : _this$notificationSer4.showSuccess(``, 'Import fertig');\n      } catch (e) {\n        var _this$notificationSer5;\n\n        (_this$notificationSer5 = this.notificationService) === null || _this$notificationSer5 === void 0 ? void 0 : _this$notificationSer5.showError(e, 'Bulk Import Error');\n      }\n    }\n\n    buildQueries(name, queryName, elements) {\n      const queries = [];\n      let query = 'mutation MyMutation {';\n      let index = 1;\n\n      for (const element of elements) {\n        query += `\n      ${name}${index}: ${queryName}(input:\n        ${JSON.stringify(element).replace(/\"([^\"]+)\":/g, '$1:').replace(/\"(false)\"/g, '$1').replace(/\"(true)\"/g, '$1')}\n      ) {\n        id\n      }`;\n\n        if (index % this.BATCH_SIZE == 0) {\n          query += '}';\n          queries.push(query);\n          query = 'mutation MyMutation {';\n        }\n\n        index++;\n      }\n\n      query += '}';\n\n      if (index - 1 % this.BATCH_SIZE != 0) {\n        queries.push(query);\n      }\n\n      return queries;\n    }\n\n    *graphqlCall(query) {\n      let config = Ember.getOwner(this).resolveRegistration('config:environment');\n      const graphqlData = yield fetch(config.awsmobile.aws_appsync_graphqlEndpoint, {\n        method: 'post',\n        headers: {\n          Authorization: `${(yield _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        },\n        body: JSON.stringify({\n          query: query\n        })\n      });\n      console.log(graphqlData);\n      return graphqlData;\n    }\n    /**\n     * The Datastore Subscription Initilizer. This starts listening to the\n     * Datastore Events: \"INSERT\", \"UPDATE\" and \"DELETE\"\n     *\n     * If there is a listener Setup already this will return undefined if a new on is created\n     * it will return the listener\n     *\n     * @returns undefined | ZenObservable.Subscription\n     */\n\n\n    async startSub() {\n      await this.datastoreService.waitForReady();\n      this.logger.info('Start Subcription', this._subscription); // Check for already open Subscriptions and close them before opening a new one\n\n      if (this._subscription && !this._subscription.closed) {\n        this._subscription.unsubscribe();\n      } // Create a new Observer from the current Modelclass and Subscribe to it\n\n\n      this._subscription = _datastore.DataStore.observe(this.modelClass).subscribe(change => {\n        // Create a Changeset of the Change so we are always working with Changesets and dont get confused.\n        let model = (0, _emberChangeset.Changeset)(change.element, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap); // Check if we want to listen to this Event on the current Service\n\n        if (!this.observedSubscriptions.includes(change.opType)) {\n          this.logger.info(`-- Got ${change.opType} -- BUT NOT OBSERVED --`);\n          return;\n        }\n\n        this.logger.info(`-- Got ${change.opType} --`);\n\n        switch (change.opType) {\n          case 'UPDATE':\n            this.handleUpdate(model);\n            break;\n\n          case 'INSERT':\n            this.handleInsert(model);\n            break;\n\n          case 'DELETE':\n            this.handleDelete(model);\n            break;\n\n          default:\n            this.logger.info(`-- Unhandled Subscription Event ${change.opType} --`);\n            break;\n        }\n      }); // Return the newly created Subscription\n\n      return this._subscription;\n    }\n    /**\n     * Handle the DELETE Datastore event\n     *\n     * @param model The Model to remove from the Modellist\n     */\n\n\n    handleDelete(model) {\n      let modelToDelete = this.models.findBy('id', model.id);\n      this.models.removeObject(modelToDelete);\n    }\n    /**\n     * Handle the INSERT Datastore event\n     *\n     * @param model The model to Insert into the Modellist\n     */\n\n\n    async handleInsert(model) {\n      let newModel = await this.findById(model.get('id'));\n\n      if (newModel != undefined) {\n        this.models.pushObject(newModel);\n      } else {\n        var _this$notificationSer6;\n\n        console.error('Handle Insert failed');\n        (_this$notificationSer6 = this.notificationService) === null || _this$notificationSer6 === void 0 ? void 0 : _this$notificationSer6.showError('Couldnt find model in Datastore when inserting new Element', 'Insert failed');\n      }\n    }\n\n    /**\n     * Handle the UPDATE Datastore event\n     *\n     * @param model The model to Update in the Modellist\n     */\n    async handleUpdate(model) {\n      // Find the Current / old Model\n      let oldModel = this.models.findBy('id', model.id); // Check if the new Model has a larger Version then the old Model\n      // If not we were probably the on Updating the Model so we dont have to do anything\n\n      if (model.get('_version') > (oldModel === null || oldModel === void 0 ? void 0 : oldModel.get('_version')) || (oldModel === null || oldModel === void 0 ? void 0 : oldModel.get('_version')) == undefined) {\n        var _model2;\n\n        model = await this.findById(model.get('id'));\n        this.logger.info(`Updating Old(${oldModel === null || oldModel === void 0 ? void 0 : oldModel.get('_version')}) New(${(_model2 = model) === null || _model2 === void 0 ? void 0 : _model2.get('_version')})`);\n        /* Soooooo. there are 3 Update cycles.\n         * Local update where the datastore saves and the changes are not yet applied.\n         * Remote update where the changes got applied on the server (this is here)\n         * And we get a model with a new version with the updates.\n         * And another local update with the new Model.\n         * We want to save the previous version to check later if we are in the 3rd stage. Maybe has to change later?\n         * Example:\n         * Step 1: old(ver8) new(ver8) previousVersion(0)\n         * Step 2: old(ver8) new(ver9) previousVersion(8)\n         * Step 3: old(ver9) new(ver9) previousVersion(8) Here oldVersion is larger than previousVersion\n         */\n\n        this.previousVersion = oldModel === null || oldModel === void 0 ? void 0 : oldModel.get('_version');\n\n        if (oldModel !== null && oldModel !== void 0 && oldModel.get('isDirty') && this.mergeDirtyModels) {\n          // If the old Model is Dirty we merge the old Model into the new one\n          // This will effectivly keep changes we are currently working on instead of overwriting them\n          Ember.setProperties(model, Object.fromEntries(oldModel.changes.map(c => [c.key, c.value])));\n        } // Replace the old Model with the new one\n\n\n        var foundIndex = this.models.findIndex(x => x.id == model.id);\n\n        if (foundIndex == -1 && this.notificationService != undefined) {\n          return;\n        } // Check if the active model is the updated one\n\n\n        if (this.activeModel != undefined && this.activeModel.get('id') == model.get('id')) {\n          // And merge models if needed\n          if (this.activeModel.get('isDirty') && this.mergeDirtyModels) {\n            Ember.setProperties(model, Object.fromEntries(this.activeModel.changes.map(c => [c.key, c.value])));\n          }\n\n          this.set('activeModel', model);\n        }\n\n        this.models.replace(foundIndex, 1, [model]);\n      } else {\n        // This is for entities wich may want to rollback if there is an update but no change\n        // That will clear old .changes wich are still on the changeset but do not apply anything\n        // and just display that there are changes (but there are none)\n        if (oldModel.get('_version') > this.previousVersion && this.previousVersion != 0) {\n          this.afterNoUpdateChange(oldModel);\n          this.previousVersion = 0;\n        }\n      }\n    }\n\n    afterNoUpdateChange(_model) {}\n    /**\n     * Init all the Datastore stuff that we need executed once\n     * Dont use the Constructor because there not everything will be set\n     * because of the way abstract classes work\n     *\n     * This function should be called in the parents constructor\n     */\n\n\n    async initDatastoreSubscription() {\n      this.logger.info('Init'); // Start the Datastore Event Subscription\n\n      await this.startSub(); // Init the Datamodels so we have them ready in this.models to use in all Components\n\n      await this.findAll();\n    }\n    /**\n     * Search for a specific Model in the Datastore\n     *\n     * @param criteria Search Criteria to search the current Models\n     * @returns Found Models\n     */\n\n\n    async findBy(criteria) {\n      await this.datastoreService.waitForReady();\n      this.logger.info('findBy');\n      let plainmodels = await _datastore.DataStore.query(this.modelClass, criteria);\n      let models = plainmodels.map(m => (0, _emberChangeset.Changeset)(m, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap));\n      return models;\n    }\n    /**\n     * Find an Entity by ID\n     *\n     * @param id EntityID to search\n     * @returns Found Model\n     */\n\n\n    async findById(id) {\n      if (id == null || id == undefined || id == '') {\n        return;\n      }\n\n      this.logger.info('findById', id);\n      await this.datastoreService.waitForReady();\n      let plainmodel = await _datastore.DataStore.query(this.modelClass, id);\n      this.logger.info('findById found:', id, plainmodel);\n      if (!plainmodel) return undefined;\n      let models = (0, _emberChangeset.Changeset)(plainmodel, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap);\n      return models;\n    }\n    /**\n     * Find all models and save them in this service class\n     * This only needs to be called once in the Init function if\n     * the all Datastore subscription Events are enabled\n     *\n     * @returns All Models of this Class\n     */\n\n\n    async findAll(forceQuery = false) {\n      await this.datastoreService.waitForReady();\n\n      if (this.get('models').length > 0 && !forceQuery) {\n        const models = this.get('models');\n        this.logger.info('findAll - Existing Models First10:', models.slice(0, 10));\n        await this.startSub();\n        return models;\n      } else {\n        let plainmodels = await _datastore.DataStore.query(this.modelClass);\n        let models = plainmodels.map(m => (0, _emberChangeset.Changeset)(m, (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap));\n        this.logger.info('findAll - Datastore Models First10:', models.slice(0, 10));\n        this.set('models', models);\n        await this.startSub();\n        return models;\n      }\n    } // Before Delete hook to do something with the data to delete or implement logic\n\n\n    async beforeDelete(toDelete) {\n      return toDelete;\n    }\n\n    async deleteWithChangeset(model) {\n      this.delete(model.get('data'));\n    }\n    /**\n     * Deletes a Model\n     *\n     * @param model Model to Delete\n     */\n\n\n    async delete(model, verbose = true) {\n      let data;\n\n      if (model.get != undefined) {\n        data = model.get('data');\n      } else {\n        data = model;\n      }\n\n      await this.datastoreService.waitForReady();\n      this.logger.info('Delete', data);\n\n      try {\n        const beforeRes = await this.beforeDelete(data);\n\n        if (beforeRes === undefined) {\n          return;\n        }\n\n        data = beforeRes;\n        await _datastore.DataStore.delete(data);\n\n        if (this.notificationService != undefined && verbose) {\n          this.notificationService.showSuccess(`${this.modelname.translated.de} wurde erfolgreich gelöscht`, `${this.modelname.translated.de} gelöscht!`);\n        }\n      } catch (error) {\n        if (this.notificationService != undefined && verbose) {\n          this.notificationService.showError(error, `${this.modelname.translated.de} konnte nicht gelöscht werden`);\n        }\n\n        this.logger.info('Error saving', error);\n      }\n    }\n\n    async beforeUpdate(_original, change) {\n      return change;\n    }\n    /**\n     * Updates all the Changes in a Model\n     *\n     * @param model Model to Update\n     * @param notifications Should notifications be shown in backend\n     */\n\n\n    async update(model, notifications = true) {\n      await this.datastoreService.waitForReady();\n\n      try {\n        // Get the Original Model by Querying the id\n        let original = await _datastore.DataStore.query(this.modelClass, model.get('id'));\n        this.logger.info('Update Params', original, model.get('data').id); // Need to make a copy because of DeepMerge Error\n\n        let change = this.applyChangesToChangeset(original, model);\n        this.logger.info('POJO', JSON.parse(JSON.stringify(change))); // Preupdate not needed anymore. Would be nice if it worked but cant get it running\n        // this would need to update the _version so the onUpdate function wont update again\n        // Which would result in 2 updates on .models and some lag depending on page\n        // const index = this.models.findIndex((m) => m.get('id') == change.id);\n        //   this.models.replace(index, 1, [\n        //     Changeset(\n        //       change,\n        //       lookupValidator(this.validatorMap),\n        //       this.validatorMap\n        //     ),\n        //   ]);\n\n        change = await this.beforeUpdate(Object.fromEntries(model.changes.map(c => [c.key, c.value])), change); // Save the updated Model\n\n        let newModel = await _datastore.DataStore.save(change);\n        this.logger.info('newModel', newModel);\n\n        if (notifications) {\n          var _this$notificationSer7;\n\n          (_this$notificationSer7 = this.notificationService) === null || _this$notificationSer7 === void 0 ? void 0 : _this$notificationSer7.showSuccess(`${this.modelname.translated.de} wurde erfolgreich gespeichert`, `${this.modelname.translated.de} gespeichert!`);\n        }\n\n        return this.afterUpdate(newModel);\n      } catch (error) {\n        // Handle Errors\n        if (notifications) {\n          var _this$notificationSer8;\n\n          (_this$notificationSer8 = this.notificationService) === null || _this$notificationSer8 === void 0 ? void 0 : _this$notificationSer8.showError(error, `${this.modelname.translated.de} nicht gespeichert!`);\n        }\n\n        this.logger.error('Error saving', error);\n      }\n\n      return undefined;\n    } // After Update hook to do Something with the updated Data\n\n\n    afterUpdate(updated) {\n      return updated;\n    }\n\n    applyChangesToChangeset(original, model, ttl = false) {\n      return this.modelClass.copyOf(original, updated => {\n        const change = Object.fromEntries(model.changes.map(c => [c.key, c.value]));\n        this.logger.info('Change', change);\n        Object.assign(updated, change); // If the Models are CLientaware and the Currenty ClientID to the Model\n\n        if (this.isClientAware) {\n          updated.clientID = this.get('clientID'); // Also set the TTL of the Entity\n\n          if (ttl && this.client !== undefined && this.client.deletedate !== undefined) {\n            updated.ttl = new Date(this.client.deletedate).getTime() / 1000;\n          }\n        }\n\n        return updated;\n      });\n    }\n    /**\n     * Creates a Changeset of from the current Modelclass\n     *\n     * @returns Empty Changeset\n     */\n\n\n    createChangeset(init = {}) {\n      // Create a new empty Changeset of this modelclass.\n      // An ID and Validation handling will we set automaticly\n      return (0, _emberChangeset.Changeset)(new this.modelClass(init), (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap);\n    }\n\n    async createWithPlain(init = {}) {\n      return await this.create(this.createChangeset(init));\n    } // Before Create hook to transform / change the data which is created\n\n\n    async beforeCreate(model) {\n      return model;\n    }\n    /**\n     * Creates a new Entity from the given Changeset\n     *\n     * @param modelChangeset Model to create\n     * @returns Saved Model as Changeset or Undefined\n     */\n\n\n    async create(modelChangeset) {\n      await this.datastoreService.waitForReady();\n      this.logger.info('Create', modelChangeset);\n\n      try {\n        const model = await this.beforeCreate(modelChangeset);\n\n        if (model === undefined) {\n          return;\n        }\n\n        let change = this.applyChangesToChangeset(model.get('data'), modelChangeset, false);\n\n        if (change == undefined) {\n          var _this$notificationSer9;\n\n          (_this$notificationSer9 = this.notificationService) === null || _this$notificationSer9 === void 0 ? void 0 : _this$notificationSer9.showError('', 'Create failed');\n          return;\n        }\n\n        let saved = await _datastore.DataStore.save(change);\n        this.logger.info('Model saved successfully!', saved);\n\n        if (this.notificationService != undefined) {\n          this.notificationService.showSuccess(`${this.modelname.translated.de} wurde erfolgreich erstellt`, `${this.modelname.translated.de} erstellt!`);\n        }\n\n        return (0, _emberChangeset.Changeset)(this.afterCreate(saved), (0, _emberChangesetValidations.default)(this.validatorMap), this.validatorMap);\n      } catch (error) {\n        if (this.notificationService != undefined) {\n          this.notificationService.showError(error, `${this.modelname.translated.de} konnte nicht erstellt werden`);\n        }\n\n        this.logger.info('Error saving', error);\n      }\n\n      return undefined;\n    } // After Create hook to do Something with the saved Data\n\n\n    afterCreate(saved) {\n      return saved;\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"eventService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"amplifyService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"datastoreService\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clientID\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"client\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"plainModels\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"plainModels\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"paginatedModelObserver\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"paginatedModelObserver\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"plainPaginatedModels\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"plainPaginatedModels\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"modelCountChanged\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"modelCountChanged\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"graphqlCall\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"graphqlCall\"), _class.prototype)), _class));\n  _exports.default = BaseService;\n});","define(\"event-services/beacon/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class BeaconService extends _service.default {\n    constructor() {\n      super('Beacon', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Beacon);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Beacon',\n        translated: {\n          de: 'Beacon',\n          en: 'Beacon'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {});\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = BeaconService;\n});","define(\"event-services/chatline/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"ember-concurrency-ts\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _emberConcurrencyTs, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class ChatlineService extends _service.default {\n    constructor() {\n      super('Chatline', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Chatline);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Chatline',\n        translated: {\n          de: 'Chatline',\n          en: 'Chatline'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", null);\n      this.initDatastoreSubscription();\n    }\n\n    async clearChatlinesOfChatroom(chatlines) {\n      const queries = [];\n      let query = 'mutation MyMutation {';\n      let index = 1;\n\n      for (const line of chatlines) {\n        query += `\n      chatline${index}: deleteChatline(input: {id: \"${line.get('id')}\", _version: ${line.get('_version')}}) {\n        id\n      }`;\n\n        if (index % this.BATCH_SIZE == 0) {\n          query += '}';\n          queries.push(query);\n          query = 'mutation MyMutation {';\n        }\n\n        index++;\n      }\n\n      query += '}';\n\n      if (index - 1 % this.BATCH_SIZE != 0) {\n        queries.push(query);\n      }\n\n      try {\n        var _this$notificationSer;\n\n        const tasks = [];\n\n        for (const graphqlQuery of queries) {\n          tasks.push((0, _emberConcurrencyTs.taskFor)(this.graphqlCall).perform(graphqlQuery));\n        }\n\n        await Promise.all(tasks);\n        await this.datastoreService.stopDatastore();\n        await this.datastoreService.startDatastore();\n        await this.findAll(true);\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showSuccess(`Erfolgreich Chatlines gelöscht`, 'Chatroom Erfolgreich geleert');\n      } catch (e) {\n        var _this$notificationSer2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError(e, 'Bulk Delete Error');\n      }\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = ChatlineService;\n});","define(\"event-services/chatroom/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _validators, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class ChatroomService extends _service.default {\n    constructor() {\n      super('Chatroom', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Chatroom);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Chatroom',\n        translated: {\n          de: 'Chatroom',\n          en: 'Chatroom'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        name: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Name ist ein Pflichtfeld'\n        }),\n        text: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Text ist ein Pflichtfeld'\n        }),\n        autoEnter: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Auto Enter ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = ChatroomService;\n});","define(\"event-services/client/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _descriptor;\n\n  let ClientService = (_dec = Ember.inject.service('theme'), _dec2 = Ember.computed('clientID', 'models', 'models.[]'), (_class = class ClientService extends _service.default {\n    async create(modelChangeset) {\n      try {\n        const defaultTheme = this.themeService.createChangeset(modelChangeset.get('id'));\n        const theme = await this.themeService.create(defaultTheme);\n\n        if (theme == undefined) {\n          return undefined;\n        }\n\n        modelChangeset.set('theme', theme);\n        await super.create(modelChangeset);\n      } catch (e) {\n        var _this$notificationSer;\n\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError(e, 'Theme Creation Failed');\n        return undefined;\n      }\n\n      return undefined;\n    }\n\n    get activeClient() {\n      return this.models.find(m => m.get('id') === this.clientID);\n    }\n\n    constructor() {\n      super('Client', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Client);\n      (0, _initializerDefineProperty2.default)(this, \"themeService\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Client',\n        translated: {\n          de: 'Projekt',\n          en: 'Client'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        kuerzel: {\n          validate: (_key, newValue, _oldValue, _changes, _content) => {\n            if (newValue == '' || newValue == undefined) {\n              return 'Kürzel ist ein Pflichtfeld!';\n            }\n\n            if (newValue === newValue.toLowerCase()) {\n              return true;\n            } else {\n              return 'Kürzel muss klein geschrieben werden!';\n            }\n          }\n        }\n      });\n      (0, _defineProperty2.default)(this, \"isClientAware\", false);\n      this.set('sorting', condition => {\n        condition['updatedAt']('DESCENDING');\n        return condition;\n      });\n      this.initDatastoreSubscription();\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"themeService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"activeClient\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"activeClient\"), _class.prototype)), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = ClientService;\n});","define(\"event-services/colorconfig/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"event-services/base/service\", \"@netzreich/u-models/models\"], function (_exports, _defineProperty2, _service, _models) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  // import { ColorConfig } from '@netzreich/u-models/models';\n  class ColorConfigService extends _service.default {\n    constructor() {\n      super('ColorConfig', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.ColorConfig);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'ColorConfig',\n        translated: {\n          de: 'ColorConfig',\n          en: 'ColorConfig'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {});\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = ColorConfigService;\n});","define(\"event-services/datastore/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@aws-amplify/core\", \"@aws-amplify/datastore\", \"@netzreich/u-models/models\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _core, _datastore, _models) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _descriptor, _descriptor2, _descriptor3;\n\n  var DatastoreState;\n\n  (function (DatastoreState) {\n    DatastoreState[\"running\"] = \"running\";\n    DatastoreState[\"stopping\"] = \"stopping\";\n    DatastoreState[\"stopped\"] = \"stopped\";\n    DatastoreState[\"starting\"] = \"starting\";\n  })(DatastoreState || (DatastoreState = {}));\n\n  let DatastoreService = (_dec = Ember.inject.service('event'), _dec2 = Ember.inject.service('loading'), _dec3 = Ember.inject.service(), _dec4 = Ember.computed('state'), _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, (_class = class DatastoreService extends Ember.Service.extend(Ember.Evented) {\n    // Services\n    // List of all unnoticed Events\n    // The current Datastore state. Is undefined at the beginning but not after that\n    // The Hub eventlistener. can be closed with listener()\n    // The previous Hub event\n    // Current Client id to filter the requested Data\n    // Syncexpression for clients\n    // Timeeout we wait for the Datastore to be Ready\n    constructor() {\n      super(...arguments); // Check if there is a clientid already set. We have to use the localstorage because initilizer\n\n      (0, _initializerDefineProperty2.default)(this, \"eventService\", _descriptor, this);\n      (0, _initializerDefineProperty2.default)(this, \"loadingService\", _descriptor2, this);\n      (0, _defineProperty2.default)(this, \"notificationService\", void 0);\n      (0, _initializerDefineProperty2.default)(this, \"router\", _descriptor3, this);\n      (0, _defineProperty2.default)(this, \"datastoreObj\", _datastore.DataStore);\n      (0, _defineProperty2.default)(this, \"unreadEvents\", []);\n      (0, _defineProperty2.default)(this, \"state\", undefined);\n      (0, _defineProperty2.default)(this, \"listener\", void 0);\n      (0, _defineProperty2.default)(this, \"allSubscription\", undefined);\n      (0, _defineProperty2.default)(this, \"prevEvent\", '');\n      (0, _defineProperty2.default)(this, \"clientId\", void 0);\n      (0, _defineProperty2.default)(this, \"timerStart\", void 0);\n      (0, _defineProperty2.default)(this, \"isDomainAware\", false);\n      (0, _defineProperty2.default)(this, \"withAnswers\", false);\n      (0, _defineProperty2.default)(this, \"withPrivateChats\", false);\n      (0, _defineProperty2.default)(this, \"modelsSynced\", 0);\n      (0, _defineProperty2.default)(this, \"datastoreFirstInitDone\", false);\n      (0, _defineProperty2.default)(this, \"CONNECTIONTIMOUT\", 20000);\n      (0, _defineProperty2.default)(this, \"lastEventTime\", 0);\n      (0, _defineProperty2.default)(this, \"initialSyncIsDone\", false);\n      this.clientId = localStorage.getItem('umobackend-clientid');\n      let config = Ember.getOwner(this).resolveRegistration('config:environment');\n\n      if (config.showNotifications) {\n        this.notificationService = Ember.getOwner(this).lookup('service:notification');\n      } else {\n        this.notificationService = undefined;\n      } // Start the Hub listener on the datastore events\n\n\n      this.listener = _core.Hub.listen('datastore', async hubData => {\n        this.handleHubEvent(hubData.payload);\n      });\n    }\n    /**\n     * Cleanup of listeners etc\n     */\n\n\n    willDestroy() {\n      this.listener();\n      this.stopDatastore();\n    }\n    /**\n     * Convert a state into a color (For logging purposes)\n     */\n\n\n    stateToColor(state) {\n      switch (state) {\n        case DatastoreState.running:\n          return '#009955';\n\n        case DatastoreState.starting:\n          return '#ff8800';\n\n        case DatastoreState.stopping:\n          return '#ff8800';\n\n        case DatastoreState.stopped:\n          return '#ff2200';\n\n        default:\n          return '#ff2200';\n      }\n    }\n\n    get stateButtonColor() {\n      switch (this.state) {\n        case DatastoreState.running:\n          return 'button-green';\n\n        case DatastoreState.starting:\n          return 'button-orange';\n\n        case DatastoreState.stopping:\n          return 'button-orange';\n\n        case DatastoreState.stopped:\n          return 'button-red';\n\n        default:\n          return 'button-red';\n      }\n    }\n    /**\n     * Change the current State\n     *\n     * @param state The state to set\n     */\n\n\n    setState(state) {\n      var _this$state;\n\n      let timeSpent = '';\n\n      if (this.timerStart == undefined || this.state === DatastoreState.running) {\n        this.timerStart = new Date().getTime();\n      } else {\n        timeSpent = new Date().getTime() - this.timerStart + 'ms';\n        this.timerStart = new Date().getTime();\n      }\n\n      console.log(`%cDatastore State Change: %c${(_this$state = this.state) === null || _this$state === void 0 ? void 0 : _this$state.toUpperCase()} %c-> %c${state.toUpperCase()} %c${timeSpent}`, `color: #000;`, `color: ${this.stateToColor(this.state)}; font-weight:bold; text-transform: uppercase;`, `color: #000;`, `color: ${this.stateToColor(state)}; font-weight:bold; text-transform: uppercase;`, `font-size:8px; color: #000;`);\n      this.set('state', state);\n      this.trigger('datastore:state_change', state);\n    }\n    /**\n     * Init the Datastore\n     */\n\n\n    async initDatastore(isDomainAware = false) {\n      this.set('isDomainAware', isDomainAware);\n\n      if (isDomainAware) {\n        this.withAnswers = true;\n      } // Configure the Datastore with syncexpressions etc\n\n\n      this.configure(); // Start the Datastore\n\n      this.startDatastore();\n      await this.waitForReady();\n    }\n\n    async initAllListener() {\n      // Check for already open Subscriptions but if the subscription is closed restart it\n      if (this.allSubscription && !this.allSubscription.closed) {\n        return;\n      }\n\n      this.allSubscription = _datastore.DataStore.observe().subscribe(change => {\n        // Skip if element has client id and it does not match\n        if (change.element.clientID && change.element.clientID != this.clientId) {\n          return;\n        }\n\n        const modelName = change.model.name.toLowerCase().replace('item', '');\n        let routeName = this.router.currentRouteName.replace('client', '');\n\n        if (routeName.includes('dashboard')) {\n          // Exception for dashboard\n          routeName = 'client';\n        }\n\n        if (!routeName.includes(modelName)) {\n          this.unreadEvents.pushObject(change);\n        }\n      });\n    }\n\n    deleteUnreadEventsFor(model) {\n      const toDelete = [];\n      let index = 0;\n\n      for (const event of this.unreadEvents) {\n        if (event.model.name.toLowerCase().includes(model.toLowerCase())) {\n          toDelete.push(index);\n        }\n\n        index++;\n      }\n\n      for (const deleteIndex of toDelete.reverse()) {\n        this.unreadEvents.removeAt(deleteIndex);\n      }\n    }\n    /**\n     * Start the Datastore\n     */\n\n\n    async startDatastore() {\n      try {\n        this.setState(DatastoreState.starting);\n        await _datastore.DataStore.start(); // Query the new Data into the models by calling the datastore:refresh event. See baseservice\n\n        this.eventService.trigger('datastore:start', undefined);\n      } catch (e) {\n        if (this.notificationService != undefined) {\n          this.notificationService.showError(e, 'Datastore Start Error');\n        }\n\n        console.error(e);\n      }\n    }\n    /**\n     * Clear the Datastore\n     */\n\n\n    async clearDatastore() {\n      if (this.state === DatastoreState.starting) {\n        await this.waitForReady();\n      }\n\n      try {\n        // If starting we wait for it to be ready\n        this.setState(DatastoreState.stopping); // TODO:\n        // It seems when there is another backend open the app freezes at .clear()\n        // But it instantly continues when closing the other app. Will investigate\n\n        const datastoreClearTimeout = setTimeout(() => {\n          if (this.notificationService != undefined) {\n            this.notificationService.showInfo('Ist vielleicht ein weiteres Backend offen? Falls ja bitte schließe das andere Backend um hier weiter zu machen!', 'Etwas ist schief gelaufen?', 15000);\n          }\n\n          this.trigger('datastore:multiple_windows', undefined);\n        }, 4000); // Clear the datastore data\n\n        await _datastore.DataStore.clear(); // When finished clear the notifiation timeout\n\n        clearTimeout(datastoreClearTimeout); // Set state to stopped, after clearing the Datastore is stopped and needs to be started again\n\n        this.setState(DatastoreState.stopped);\n      } catch (e) {\n        if (this.notificationService != undefined) {\n          this.notificationService.showError(e, 'Datastore Clear Error');\n        }\n\n        console.error(e);\n      }\n    }\n    /**\n     * Stop the Datastore\n     */\n\n\n    async stopDatastore() {\n      if (this.state === DatastoreState.running) {\n        try {\n          // If starting we wait for it to be ready\n          await this.waitForReady();\n          this.setState(DatastoreState.stopping);\n          await _datastore.DataStore.stop();\n          this.setState(DatastoreState.stopped);\n        } catch (e) {\n          if (this.notificationService != undefined) {\n            this.notificationService.showError(e, 'Datastore Stop Error');\n          }\n\n          console.error(e);\n        }\n      }\n    }\n    /**\n     * Change the Current Client\n     *\n     * @param clientId Clientid to set\n     */\n\n\n    async setClientID(clientId, refresh = false) {\n      // Only if its not the same\n      if (clientId != this.clientId || refresh) {\n        localStorage.setItem('umobackend-clientid', clientId);\n        this.set('clientId', clientId);\n        await this.restartDatastore();\n      }\n    }\n    /**\n     * restarts and resets /syncs models\n     */\n\n\n    async restartDatastore(clear = true) {\n      // Configure new Syncexpressions\n      this.configure();\n\n      if (clear) {\n        // Clear the Datastore of the old Clientdata\n        await this.clearDatastore();\n      } else {\n        await this.stopDatastore();\n      } // Start the Datastore again and Sync the Data\n\n\n      await this.startDatastore(); // Wait for the Datastore to be ready\n\n      await this.waitForReady(); // Clear all Unread Events\n\n      this.unreadEvents.clear();\n    }\n    /**\n     * Wait for the datastore state to turn into ready or\n     * Timeout after X ms\n     *\n     * @returns When the Datastore state is \"ready\"\n     */\n\n\n    async waitForReady() {\n      return new Promise((resolve, reject) => {\n        if (this.state === DatastoreState.running) {\n          return resolve();\n        }\n\n        const interval = setInterval(() => {\n          if (this.state === DatastoreState.running) {\n            clearInterval(interval);\n            clearTimeout(timeout);\n            return resolve();\n          }\n        }, 25);\n        const timeout = setTimeout(() => {\n          clearTimeout(timeout);\n          clearInterval(interval);\n          console.error('Datastore waitForReady Timeout');\n          return reject(`Timeout ${this.CONNECTIONTIMOUT}`);\n        }, this.CONNECTIONTIMOUT);\n      });\n    }\n\n    /**\n     * handle the Hub events of the Datastore\n     *\n     * @param payload Datastore Event Payload\n     */\n    handleHubEvent(payload) {\n      const timeSpent = new Date().getTime() - this.timerStart - this.lastEventTime;\n      this.lastEventTime += timeSpent;\n\n      if (payload.event == 'modelSynced') {\n        if (payload.data.isDeltaSync) {\n          this.initialSyncIsDone = true;\n        }\n\n        console.log(`%cDatastore Event: %c${payload.event} %cnew(${payload.data.counts.new}) %cupdated(${payload.data.counts.updated}) %cdeleted(${payload.data.counts.deleted}) %c${payload.data.isFullsync ? 'FullSync' : ''}%c${!payload.data.isFullsync && !payload.data.isDeltaSync ? 'InitialSync' : ''}%c${payload.data.isDeltaSync ? 'DeltaSync' : ''} %cfor %c${payload.data.model.name} %c${timeSpent} ms`, `color: #000;`, `color: #009955`, `color: #009955;`, `color: #ff8800;`, `color: #ff2200;`, `color: #000;`, `color: #000;`, `color: #000;`, `color: #000;`, `color: #ff8800`, `font-size:8px; color: #000;`);\n      } else {\n        console.log(`%cDatastore Event: %c${payload.event} %c${timeSpent} ms`, `color: #000;`, `color: #009955`, `font-size:8px; color: #000;`);\n      }\n\n      switch (payload.event) {\n        case 'modelSynced':\n          this.set('modelsSynced', this.modelsSynced + 1);\n          break;\n\n        case 'subscriptionsEstablished':\n          if (this.loadingService) {\n            this.set('loadingService.progress', 10);\n          }\n\n          break;\n\n        case 'outboxMutationProcessed':\n          if (this.loadingService) {\n            this.set('loadingService.progress', 40);\n          }\n\n          break;\n\n        case 'outboxStatus':\n          if (this.prevEvent == 'outboxMutationProcessed') {\n            if (this.loadingService) {\n              this.set('loadingService.progress', 100);\n            }\n          } else {\n            if (this.loadingService) {\n              this.set('loadingService.progress', 40);\n            }\n          }\n\n          break;\n\n        case 'syncQueriesStarted':\n          if (this.loadingService) {\n            this.set('loadingService.progress', 60);\n          }\n\n          break;\n\n        case 'syncQueriesReady':\n          if (this.loadingService) {\n            this.set('loadingService.progress', 80);\n          }\n\n          break;\n\n        case 'ready':\n          if (this.loadingService) {\n            this.set('loadingService.progress', 100);\n          }\n\n          this.setState(DatastoreState.running);\n\n          if (!this.isDomainAware) {\n            this.initAllListener();\n          }\n\n          this.lastEventTime = 0;\n          break;\n\n        default:\n          break;\n      }\n\n      this.prevEvent = payload.event;\n    }\n\n    getSyncExpressions() {\n      let syncExpressions = [];\n      syncExpressions = [(0, _datastore.syncExpression)(_models.User, () => {\n        const test = model => {\n          if (this.isDomainAware) {\n            return model.clientID('eq', this.clientId).or(model => {\n              model.username('eq', localStorage.getItem('session')).and(model => {\n                return model.publicprofile('eq', true);\n              }).and(model => {\n                return model.publicprofile('eq', false);\n              });\n            });\n          } else {\n            return model.clientID('eq', this.clientId);\n          }\n        };\n\n        return test;\n      }), (0, _datastore.syncExpression)(_models.Vote, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Theme, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Chatline, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Appointment, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.ProgramItem, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Beacon, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Map, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Wall, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Post, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Highscore, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Question, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.File, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.InfoItem, () => {\n        return model => model.clientID('eq', this.clientId);\n      }), (0, _datastore.syncExpression)(_models.Chatroom, () => {\n        return model => {\n          if (this.isDomainAware) {\n            return model.clientID('eq', this.clientId);\n          } else {\n            return model.and(model2 => {\n              model2 = model2.clientID('eq', this.clientId);\n              if (this.withPrivateChats) return model2;\n              return model2.name('notContains', 'Privater Chat:');\n            });\n          }\n        };\n      })];\n      syncExpressions.push((0, _datastore.syncExpression)(_models.Answer, () => {\n        return model => model.clientID('eq', this.withAnswers ? this.clientId : 'never');\n      }));\n\n      if (this.isDomainAware) {\n        console.log('Is Domain Aware - Datastore');\n        syncExpressions.push((0, _datastore.syncExpression)(_models.Client, () => {\n          return model => {\n            return model.domain('contains', window.location.hostname);\n          };\n        }));\n      } else {\n        syncExpressions.push((0, _datastore.syncExpression)(_models.PrivateChatline, () => {\n          return model => {\n            return model.clientID('eq', this.withPrivateChats ? this.clientId : 'never');\n          };\n        }));\n      }\n\n      console.log(syncExpressions);\n      return syncExpressions;\n    }\n    /**\n     * Configure Syncexpressions\n     */\n\n\n    configure() {\n      if (this.isDomainAware) {\n        this.withAnswers = true;\n      }\n\n      _datastore.DataStore.configure({\n        maxRecordsToSync: 50000,\n        authModeStrategyType: _datastore.AuthModeStrategyType.MULTI_AUTH,\n        errorHandler: error => {\n          // this.restartDatastore();\n          console.error(error);\n\n          if (this.notificationService != undefined) {\n            this.notificationService.showError(error.message, 'Datastore Error (check console)');\n          }\n        },\n        conflictHandler: async data => {\n          // conflict detected on the remote side\n          // retry the mutation with merged votes\n          const modelConstructor = data.modelConstructor;\n\n          if (modelConstructor === _models.Vote) {\n            const remoteModel = data.remoteModel;\n            const localModel = data.localModel;\n            const newModel = modelConstructor.copyOf(remoteModel, d => {\n              //we have to diff 2 times if the remote modeels length is < local\n              // https://bobbyhadz.com/blog/javascript-get-difference-between-two-arrays-of-objects\n              const diff = [...getVoteDifference(d.votes, localModel.votes), ...getVoteDifference(localModel.votes, d.votes)];\n              d.votes = [...localModel.votes, ...diff];\n            });\n            return newModel;\n          }\n\n          return _datastore.DISCARD;\n        },\n        syncExpressions: this.getSyncExpressions()\n      });\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"eventService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"loadingService\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"router\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"stateButtonColor\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"stateButtonColor\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"startDatastore\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"startDatastore\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"clearDatastore\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"clearDatastore\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"stopDatastore\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"stopDatastore\"), _class.prototype), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"restartDatastore\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"restartDatastore\"), _class.prototype)), _class));\n  _exports.default = DatastoreService;\n\n  function getVoteDifference(array1, array2) {\n    return array1.filter(object1 => {\n      return !array2.some(object2 => {\n        return object1.user === object2.user && object1.vote === object2.vote;\n      });\n    });\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n});","define(\"event-services/event/service\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class EventService extends Ember.Service.extend(Ember.Evented) {} // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = EventService;\n});","define(\"event-services/file/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class FileService extends _service.default {\n    constructor() {\n      super('File', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.File);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'File',\n        translated: {\n          de: 'Datei',\n          en: 'File'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      this.initDatastoreSubscription();\n    }\n\n    async updateFile(model, file, level = 'public') {\n      try {\n        await this.amplifyService.Storage.put(`${this.clientID}/theme/${file.name}`, file, {\n          level\n        });\n        await this.update(model);\n      } catch (e) {\n        var _this$notificationSer;\n\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError(e, 'File Upload Error!');\n      }\n\n      return;\n    }\n\n    async createFile(file, level = 'public') {\n      try {\n        const res = await this.amplifyService.Storage.put(`${this.clientID}/theme/${file.name}`, file, {\n          level,\n          cacheControl: 'max-age=315360000',\n          contentType: file.type\n        });\n        const createSet = await this.createChangeset();\n        createSet.set('key', `${this.clientID}/theme/${file.name}`);\n        createSet.set('level', level.toUpperCase());\n        return await this.create(createSet);\n      } catch (e) {\n        var _this$notificationSer2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError(e, 'File Upload Error!');\n      }\n\n      return undefined;\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = FileService;\n});","define(\"event-services/highscore/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class HighscoreService extends _service.default {\n    constructor() {\n      super('Highscore', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Highscore);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Highscore',\n        translated: {\n          de: 'Highscore',\n          en: 'Highscore'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      (0, _defineProperty2.default)(this, \"isClientAware\", true);\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = HighscoreService;\n});","define(\"event-services/icon/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class IconService extends _service.default {\n    constructor() {\n      super('Icon', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Icon);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Icon',\n        translated: {\n          de: 'Icon',\n          en: 'Icon'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"isClientAware\", false);\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      this.initDatastoreSubscription();\n    }\n\n    async updateIcon(model, icon, level = 'public') {\n      try {\n        await this.amplifyService.Storage.put(`icon/${icon.name}`, icon, {\n          level\n        });\n        await this.update(model);\n      } catch (e) {\n        var _this$notificationSer;\n\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError(e, 'Icon Upload Error!');\n      }\n\n      return;\n    }\n\n    async createIcon(icon, level = 'public') {\n      try {\n        await this.amplifyService.Storage.put(`icon/${icon.name}`, icon, {\n          level,\n          cacheControl: 'max-age=315360000',\n          contentType: icon.type\n        });\n        const createSet = await this.createChangeset();\n        createSet.set('key', `icon/${icon.name}`);\n        createSet.set('level', level.toUpperCase());\n        return await this.create(createSet);\n      } catch (e) {\n        var _this$notificationSer2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError(e, 'Icon Upload Error!');\n      }\n\n      return undefined;\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = IconService;\n});","define(\"event-services/info/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _validators, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class InfoService extends _service.default {\n    constructor() {\n      super('Info', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.InfoItem);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Info',\n        translated: {\n          de: 'Info',\n          en: 'Info'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        title: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Titel ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = InfoService;\n});","define(\"event-services/instance-initializers/datastore\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.initialize = initialize;\n  _exports.default = void 0;\n\n  async function initialize(appInstance) {\n    let amplify = appInstance.lookup('service:services/amplify');\n\n    try {\n      await amplify.Auth.currentSession();\n      await amplify.Auth.currentAuthenticatedUser({\n        // Optional, By default is false. If set to true, this call will send a request to Cognito to get the latest user data\n        bypassCache: false\n      });\n    } catch (e) {\n      console.error(e);\n    }\n\n    let datastoreService = appInstance.lookup('service:datastore');\n    const config = appInstance.resolveRegistration('config:environment');\n    datastoreService.initDatastore(config.isDomainAware);\n  }\n\n  var _default = {\n    initialize\n  };\n  _exports.default = _default;\n});","define(\"event-services/loading/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\"], function (_exports, _defineProperty2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class LoadingService extends Ember.Service {\n    constructor(...args) {\n      super(...args);\n      (0, _defineProperty2.default)(this, \"progress\", 0);\n    }\n\n  }\n\n  _exports.default = LoadingService;\n});","define(\"event-services/logger/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@aws-amplify/core\"], function (_exports, _defineProperty2, _core) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class LoggerService extends Ember.Service {\n    // normal class body definition here\n    constructor() {\n      super(...arguments);\n      (0, _defineProperty2.default)(this, \"logger\", void 0);\n      this.logger = new _core.ConsoleLogger(`Default`, 'INFO');\n    }\n\n    setServiceName(name) {\n      this.logger.name = `Service (${name})`;\n    }\n\n    setName(name) {\n      this.logger.name = name;\n    }\n\n    log(...args) {\n      this.logger.log(...args);\n    }\n\n    error(...args) {\n      this.logger.error(...args);\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = LoggerService;\n});","define(\"event-services/map/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class MapService extends _service.default {\n    constructor() {\n      super('Map', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Map);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Map',\n        translated: {\n          de: 'Map',\n          en: 'Map'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"isClientAware\", true);\n      (0, _defineProperty2.default)(this, \"validatorMap\", {});\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = MapService;\n});","define(\"event-services/notification/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _dec2, _class, _descriptor;\n\n  let NotificationService = (_dec = Ember.inject.service, _dec2 = Ember.computed('opCounter'), (_class = class NotificationService extends Ember.Service {\n    get isBusy() {\n      return this.opCounter > 0;\n    }\n\n    constructor() {\n      super(...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"notify\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"opCounter\", 0);\n      window.XX = this;\n    }\n\n    showError(errors, title) {\n      if (errors && errors.errors) {\n        const msgs = [];\n        errors.errors.forEach(error => {\n          console.error(error, title);\n          msgs.push(error.message);\n        });\n        this.showErrors(msgs.join('\\n<br>'), title);\n      } else {\n        this.showErrors(String(errors), title);\n      }\n    }\n\n    showErrors(message, title, closeAfter = 7500) {\n      this.notify.error(message, {\n        html: title,\n        closeAfter\n      });\n    }\n\n    showSuccess(message, title, closeAfter = 4000) {\n      this.notify.success(message, {\n        html: title,\n        closeAfter\n      });\n    }\n\n    showInfo(message, title, closeAfter = 5000) {\n      this.notify.info(message, {\n        html: title,\n        closeAfter\n      });\n    }\n\n    show(_type, message, title, closeAfter = 5000) {\n      this.notify.info(message, {\n        html: title,\n        closeAfter\n      });\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"notify\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"isBusy\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"isBusy\"), _class.prototype)), _class));\n  _exports.default = NotificationService;\n});","define(\"event-services/post/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _validators, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class PostService extends _service.default {\n    // Only logic see program-table-view for visual\n    constructor() {\n      super('Post', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Post);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Post',\n        translated: {\n          de: 'Post',\n          en: 'Post'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"sorting\", condition => {\n        condition['createdAt']('DESCENDING');\n        return condition;\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        text: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Text ist ein Pflichtfeld'\n        }),\n        wall: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Wall ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = PostService;\n});","define(\"event-services/privatechatline/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class PrivatechatlineService extends _service.default {\n    constructor() {\n      super('PrivateChatline', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.PrivateChatline);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'PrivateChatline',\n        translated: {\n          de: 'PrivateChatline',\n          en: 'PrivateChatline'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", null);\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = PrivatechatlineService;\n});","define(\"event-services/program/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _validators, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class ProgramService extends _service.default {\n    // Only logic see program-table-view for visual\n    constructor() {\n      super('Program', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.ProgramItem);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Program',\n        translated: {\n          de: 'Program',\n          en: 'Program'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"sorting\", condition => {\n        condition['sorting']('ASCENDING');\n        return condition;\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        title: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Titel ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = ProgramService;\n});","define(\"event-services/question/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class QuestionService extends _service.default {\n    constructor() {\n      super('Question', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Question);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Question',\n        translated: {\n          de: 'Frage',\n          en: 'Question'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {});\n      this.initDatastoreSubscription();\n    }\n\n    afterNoUpdateChange(model) {\n      model.rollback();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = QuestionService;\n});","define(\"event-services/theme/default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const defaultTheme = {\n    authmodules: {},\n    textColorOnHiddenBg: 'rgba(255, 255, 255, 1.0)',\n    greeting: 'Herzlich willkommen {firstname} {lastname}!',\n    programmBeaconCloseToTime: false,\n    moduletitles: {\n      questions: 'Anmeldung',\n      programm: 'Programm',\n      info: 'Programm'\n    },\n    autoModerate: false,\n    backgroundMain: '#828282',\n    appPaddingTop: '8',\n    handshakeDuration: '2500',\n    ETAAproSubject: 'U-Motions | Terminanfrage bestätigt',\n    streamingGrid: '14',\n    unityUrl: '',\n    ETAApro: '{{owner.salutation}} {{owner.firstname}} {{owner.lastname}} hat den von Ihnen angefragten Termin bestätigt:  \\n\\nDatum: {{appointment.date}}\\nUhrzeit: {{appointment.startAt}} - {{appointment.endAt}} Uhr\\n{{#if appointment.description}}Beschreibung: \"{{appointment.description}}\" {{/if}}\\n\\n{{#if appointment.requestion}}Ihre Anfrage lautete: „{{appointment.requestion}}\"{{/if}}\\n\\nWenn Sie weitere Termine vereinbaren möchten, können Sie sich unter <a href=\"https://staging-projekt.preview.eventinfo.app/#/login\">https://staging-projekt.preview.eventinfo.app/#/login</a> einloggen und unter \"Matching / Terminvereinbarung\" die jeweiligen Personen kontaktieren. \\n',\n    backgroundTextBox: '#cccccc',\n    backgroundAppointment: 'rgba(25, 110, 219, 1.0)',\n    textColorActionFields: 'rgba(255, 255, 255, 1.0)',\n    textColorBox: 'rgba(44, 44, 44, 1.0)',\n    splashscreenColor: '#c83232',\n    backgroundNav: 'rgba(147, 140, 159, 0.7)',\n    emailtempalteConfirmationSubject: 'Anmeldung zur Staging-Umgebung Umo&Netzreich ',\n    emailsender: 'noreply@eventinfo.app',\n    programmTitleCloseToTime: true,\n    callDuration: '25000',\n    programmImageHeight: '80',\n    presentationLength: '68',\n    clientName: 'Staging  - Projekts',\n    ETADel: 'Einer von Ihren Terminen wurde storniert: \\n\\nTeilnehmer*innen: {{appointment.user.firstname}} {{appointment.user.lastname}},  {{appointment.requestUser.firstname}} {{appointment.requestUser.lastname}}\\nDatum: {{appointment.date}}\\nUhrzeit: {{appointment.startAt}} - {{appointment.endAt}} Uhr\\n{{#if appointment.description}}Beschreibung: \"{{appointment.description}}\" {{/if}}\\n\\n{{#if appointment.requestion}}Ihre Anfrage lautete: „{{appointment.requestion}}\"{{/if}}\\n\\nWenn Sie weitere Termine vereinbaren möchten, können Sie sich unter <a href=\"https://staging-projekt.preview.eventinfo.app/#/login\">https://staging-projekt.preview.eventinfo.app/#/login</a>  einloggen und unter \"Matching / Terminvereinbarung\" die jeweiligen Personen kontaktieren. \\n',\n    meetingdesktop: {\n      level: 'PUBLIC',\n      key: null\n    },\n    ETADen: '{{owner.salutation}} {{owner.firstname}} {{owner.lastname}} hat den von Ihnen angefragten Termin abgelehnt:  \\n\\nDatum: {{appointment.date}}\\nUhrzeit: {{appointment.startAt}} - {{appointment.endAt}} Uhr\\n{{#if appointment.description}}Beschreibung: \"{{appointment.description}}\" {{/if}}\\n\\n{{#if appointment.requestion}}Ihre Anfrage lautete: „{{appointment.requestion}}\"{{/if}}\\n\\nWenn Sie weitere Termine vereinbaren möchten, können Sie sich unter <a href=\"https://staging-projekt.preview.eventinfo.app/#/login\">https://staging-projekt.preview.eventinfo.app/#/login</a>  einloggen und unter \"Matching / Terminvereinbarung\" die jeweiligen Personen kontaktieren. \\n',\n    'groupColors[0]': {\n      group: 'ad'\n    },\n    gapRight: '2',\n    headerdesktop: {\n      level: 'public',\n      key: '0a5c574c-75ea-4864-84e8-07bb50a25236/theme/u-motions-background.jpg'\n    },\n    streamingHeight: '85',\n    textColorBigButtons: 'rgba(255, 255, 255, 1.0)',\n    backgroundTwitterhead: '#9e9e9e',\n    streamingMargin: '10',\n    chatImageHeight: '',\n    groupColors: [{\n      color: '#FF8800',\n      group: 'netz'\n    }, {\n      color: '#00F1F1',\n      group: 'umo'\n    }, {\n      color: '#00F108',\n      group: 'info'\n    }, {\n      color: '#DEF100',\n      group: 'bewerbung'\n    }, {\n      color: '#ea06b8',\n      group: 'kappee'\n    }, {\n      color: '#47433e',\n      group: 'super'\n    }],\n    textColorQuestion: '#e0e0e0',\n    apptitle: 'Staging - Projekt',\n    appbackgrounddesktop: {\n      level: 'public',\n      key: '0a5c574c-75ea-4864-84e8-07bb50a25236/theme/wallpaper_streaming_umgebung2.jpg'\n    },\n    emailtempalteConfirmation: \"Sehr {{#if (eq salutation 'Frau')}}geehrte{{else}}geehrter{{/if}} {{salutation}} {{lastname}},\\n\\n{{#if (question 1 'ja')}} geschafft! Ihre Anmeldung zum On-Motions Onboarding ist nun erfolgreich abgeschlossen! {{/if}} {{#if (question 1 'nein')}} wir haben Ihre Absage erhalten. {{/if}}\\n\\nHerzliche Grüße,\\n\\nIhr Team von On-Motions\\n\\n\\nFür den technischen Support stehen wir Ihnen unter folgender E-Mail-Adresse zur Verfügung:\\ninfo@u-motions.de\",\n    showAgendaCheckbox: true,\n    textColor2: 'rgba(255, 255, 255, 0.7)',\n    navigationPosition: 'left',\n    headerheight: 35,\n    font: 'Times, \"Times New Roman\", serif',\n    anzeigemodi: {},\n    emailtempalteRegister: 'Herzlich willkommen, \\n\\nder erste Schritt ist getan - Ihre Registrierung zum Portal war erfolgreich! \\n\\nBitte aktivieren  Sie Ihr Konto einmalig:  <a href=\"{{link}}\">hier klicken</a>\\nDanach können SIe sich unter: <a href=\"https://staging-projekt.preview.eventinfo.app/#/login\">https://staging-projekt.preview.eventinfo.app/#/login</a> Einloggen und die Anmeldung ausfüllen. \\n\\nWir freuen uns auf Ihre Teilnahme!\\n\\n\\n',\n    successMessageQuestions: '<p>Vielen Dank für Ihre Anmeldung zur Veranstaltung, Sie erhalten in Kürze eine Bestätigungs-E-Mail.</p>',\n    akzent2: '#475558',\n    anzeigemodus: {\n      value: 'center center',\n      key: 'Center'\n    },\n    splashscreenTime: '',\n    headerImage: {},\n    presentationRatio: '0.6',\n    backgroundBox: '#616161',\n    backgroundMainDesktop: '#4f4f4f',\n    ETADenSubject: 'KIT NEULAND Innovationstag | Terminanfrage abgelehnt',\n    ETADelSubject: 'U-Motions | Terminanfrage storniert',\n    moderatorSlotAmount: '12',\n    textColor: 'rgba(255, 255, 255, 1.0)',\n    modules: {\n      maps: true,\n      profil: true,\n      profiles: true,\n      theme: false,\n      chatrooms: true,\n      program: true,\n      posts: true,\n      agenda: true,\n      vote: true,\n      users: true,\n      info: true\n    },\n    backgroundNav2: '#c4ab73',\n    ETAReq: '{{#if (eq appointment.type \"Freier Termin\")}}{{appointment.requestUser.salutation}} {{appointment.requestUser.firstname}} {{appointment.requestUser.lastname}} möchte einen von Ihnen erstellten Termin anfragen:  {{else}}{{appointment.requestUser.salutation}} {{appointment.requestUser.firstname}} {{appointment.requestUser.lastname}} möchte einen Individuellen Termin:{{/if}}\\n\\nDatum: {{appointment.date}}\\nUhrzeit: {{appointment.startAt}} - {{appointment.endAt}} Uhr\\n{{#if appointment.description}}Beschreibung: \"{{appointment.description}}\" {{/if}}\\n\\n{{#if appointment.requestion}}Die Anfrage lautet: „{{appointment.requestion}}\"{{/if}}\\n\\nBeantworten Sie jetzt die Anfrage, indem Sie sich unter <a href=\"https://staging-projekt.preview.eventinfo.app/#/login\">https://staging-projekt.preview.eventinfo.app/#/login</a> einloggen und unter \"Meine Agenda / Terminverwaltung\" die Anfrage annehmen oder ablehnen.',\n    fillNavbarIcons: '#0d0d0d',\n    loginText: '<p>Herzlich willkommen</p><p>Zur Nutzung der Plattform müssen Sie über eine aktuelle Version von Firefox, Google Chrome oder Windows Edge verfügen,<br>bei anderen Browsern kann es zu Problemen kommen.<br>Die Nutzung eines VPN-Tunnels kann die Leistungsfähigkeit innerhalb des Rundgangs beeinträchtigen,<br>Sie sollten besser einen Zugang ohne VPN wählen.<br>Bei Problemen mit der APP helfen wir Ihnen gerne weiter, Sie erreichen uns unter 0721-915 778 743<br>oder per Mail <a href=\"max@mustermann.de\" target=\"_blank\" rel=\"noopener noreferrer\">max@mustermann.de</a>.&nbsp;</p>',\n    successText: 'Vielen Dank, wir haben Ihre Einträge gespeichert.',\n    ETAReqSubject: 'U-Motions | Terminanfrage erhalten',\n    textColorAppointment: '#696969',\n    appPadding: '20',\n    backgroundMainBox: 'rgba(255, 255, 255, 1.0)',\n    backgroundInputs: '#ffffff',\n    streamConfig: [{\n      sorting: '1',\n      name: 'Stream',\n      tooltip: 'Test',\n      type: 'Live-Stream',\n      mediatype: 'application/x-mpegURL',\n      url: ''\n    }, {\n      sorting: '2',\n      name: 'Stream-Übersicht ',\n      tooltip: 'Stream-Übersicht ',\n      type: 'Link',\n      url: 'https://eventinfo.app'\n    }],\n    color: {\n      group: 'admin'\n    },\n    splashscreen: {\n      level: 'public',\n      key: '0a5c574c-75ea-4864-84e8-07bb50a25236/theme/3D-Rundgang-SDA-2020.jpg'\n    },\n    moduleGrid: '6',\n    textColorOnTransparent: 'rgba(255, 255, 255, 1.0)',\n    streamingWidth: '86',\n    textColorTimestamp: '#000000',\n    gapTop: '2',\n    appPaddingLeft: '4',\n    emailtempalteCode: 'Hallo,\\n\\nwir haben Ihr Passwort zum Portal \"On-motions\" zurück gesetzt.\\n\\nGerne können Sie nun ein neues Passwort unter folgendem <a href=\"{{link}}\">Link</a> vergeben. \\n\\nHerzliche Grüße!\\n\\nFür den technischen Teilnehmer-Support steht Ihnen Frau Clara Walczuch von u-motions GmbH zur Verfügung:\\n\\nMontag - Donnerstag, 10:00 - 15:00 Uhr:\\nE-Mail: info@u-motions.de\\nTelefon: 0721-915778-743\\n\\n',\n    hlsStreamUrl: 'https://umotions-media-package.s3.eu-central-1.amazonaws.com/museum/index.m3u8',\n    handleColorOnChange: '#ffffff',\n    textKeys: {\n      password: 'Password',\n      logintext: 'Das ist der editierbare Login-Text.',\n      registertext: 'Das ist der editierbare Register-Text.',\n      username: 'E-Mail-Adressen'\n    },\n    streamingAppAllowAnonymUsers: true,\n    meetingUrl: 'https://staging-projekt.meeting.eventinfo.app',\n    presentationHeight: '750',\n    textColorAnswerField: 'rgba(0, 0, 0, 1.0)',\n    talkRequestSlots: '12',\n    layout: '2',\n    moduleConfig: [{\n      showInMeeting: false,\n      link: 'https://staging-projekt.stream.preview.eventinfo.app',\n      tooltip: 'Stream',\n      needsAuth: true,\n      routeName: 'fragebogen',\n      showInEvent: false,\n      external: true,\n      showInMobile: true,\n      sorting: '1',\n      name: 'Stream',\n      showInStream: true,\n      isDraggingObject: false,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat-profiles'\n    }, {\n      showInMeeting: false,\n      link: 'https://bbug.stream.eventinfo.app/#/i/{{code}}/{{username}}',\n      tooltip: 'Registration',\n      needsAuth: true,\n      iconname: 'App-Icon-Anmeldung.svg',\n      routeName: 'fragebogen',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '2',\n      name: 'Registration',\n      showInStream: false,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-programm-module'\n    }, {\n      showInMeeting: true,\n      link: '',\n      tooltip: 'Profil',\n      needsAuth: true,\n      groups: [],\n      iconname: 'App-Icon-Profil.svg',\n      routeName: 'profil',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '3',\n      name: 'Profil',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat-profiles'\n    }, {\n      showInMeeting: false,\n      link: '',\n      tooltip: 'Programm2',\n      needsAuth: true,\n      iconname: 'App-Icon-Program.svg',\n      routeName: 'programm',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '4',\n      name: 'Programm2',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-programm-module'\n    }, {\n      showInMeeting: false,\n      link: '',\n      tooltip: 'Active Users',\n      needsAuth: true,\n      groups: ['Gruppe1', 'Neuer Testerferf'],\n      iconname: 'App-Icon-Info.svg',\n      routeName: 'agenda',\n      showInEvent: false,\n      external: false,\n      showInMobile: true,\n      sorting: '5',\n      name: 'Aktive Benutzer',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'active-users'\n    }, {\n      showInMeeting: true,\n      link: 'https://staging-projekt.stream.preview.eventinfo.app/#/?event3d=open',\n      tooltip: 'Streaming/3D',\n      groups: [],\n      needsAuth: true,\n      iconname: 'App-Icon-Streaming.svg',\n      routeName: 'fragebogen',\n      showInEvent: true,\n      external: true,\n      showInMobile: true,\n      sorting: '6',\n      name: 'Streaming/3D',\n      showInStream: false,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat'\n    }, {\n      showInMeeting: false,\n      link: '',\n      tooltip: 'Chat groups',\n      needsAuth: true,\n      iconname: 'App-Icon-Chat.svg',\n      routeName: 'chat',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '7',\n      name: 'Chat groups',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat'\n    }, {\n      showInMeeting: false,\n      link: 'https://www.u-motions.de/',\n      tooltip: 'Test Gruppe 1',\n      needsAuth: true,\n      groups: ['Test Gruppe 1'],\n      iconname: '',\n      routeName: 'fragebogen',\n      showInEvent: true,\n      external: true,\n      showInMobile: true,\n      sorting: '8',\n      name: 'Test Gruppe 1',\n      showInStream: false,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat'\n    }, {\n      showInMeeting: true,\n      link: '',\n      tooltip: 'Votings',\n      groups: [],\n      needsAuth: true,\n      iconname: 'App-Icon-Vote.svg',\n      routeName: 'novote',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '9',\n      name: 'Votings',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'vote-list-module'\n    }, {\n      showInMeeting: true,\n      link: '',\n      tooltip: 'Meine Agenda / Terminvereinbarung',\n      needsAuth: true,\n      iconname: 'App-Icon-Agenda.svg',\n      routeName: 'agenda',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '10',\n      name: 'Meine Agenda / Terminvereinbarung',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-agenda'\n    }, {\n      showInMeeting: false,\n      link: '',\n      tooltip: 'Information',\n      needsAuth: true,\n      iconname: 'App-Icon-Info.svg',\n      routeName: 'info',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '11',\n      name: 'Information',\n      showInStream: false,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat-pm-messages'\n    }, {\n      showInMeeting: false,\n      link: '',\n      tooltip: 'Matching',\n      needsAuth: true,\n      iconname: 'App-Icon-Matching.svg',\n      routeName: 'chat.profiles',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '12',\n      name: 'Matching',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat-profiles'\n    }, {\n      showInMeeting: true,\n      link: '',\n      tooltip: 'Wall',\n      needsAuth: true,\n      iconname: 'App-Icon-Wall.svg',\n      routeName: 'wall',\n      showInEvent: true,\n      external: false,\n      showInMobile: true,\n      sorting: '13',\n      name: 'Wall',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'twitter-wall'\n    }, {\n      showInMeeting: true,\n      link: '',\n      needsAuth: true,\n      iconname: 'App-Icon-Chat.svg',\n      routeName: 'meeting',\n      showInEvent: true,\n      external: true,\n      showInMobile: true,\n      sorting: '14',\n      name: 'netzreich Board',\n      showInStream: true,\n      showInDesktop: true,\n      textColor: '#000',\n      componentName: 'app-chat-pm-messages'\n    }],\n    callFeedbackDuration: '10000',\n    disbaleNavEnvelope: false,\n    headermobile: {\n      level: 'public',\n      key: '0a5c574c-75ea-4864-84e8-07bb50a25236/theme/u-motions-background.jpg'\n    },\n    akzent: 'rgba(71, 85, 88, 1.0)',\n    backgroundBoxDashboard: '#a80000',\n    impress: '<p><strong>Impressum</strong></p><p><br></p><p>Angaben gem&auml;&szlig; &sect; 5 TMG:</p><p>u-motions GmbH</p><p>Schauenburgstra&szlig;e 17</p><p>76135 Karlsruhe<br><br></p><p>Vertreten durch: Herr Dr. Nikolaus K&ouml;rner</p><p><br></p><p><strong>Kontakt</strong>:</p><p>Telefon: +49 721 915 778 700</p><p>Telefax: +49 721 915 778 799</p><p>E-Mail: info@u-motions.de</p><p><br></p><p>Registereintrag:</p><p>Eintragung im Handelsregister.</p><p>Registergericht:Amtsgericht Mannheim</p><p>Registernummer: HRB 106156</p><p><br></p><p><strong>Umsatzsteuer</strong></p><p><br></p><p>Umsatzsteuer-Identifikationsnummer gem&auml;&szlig; &sect;27 a Umsatzsteuergesetz: DE152565074</p><p><br></p><p>Mit freundlicher Unterst&uuml;tzung durch die Webagentur smarteins.</p><p><br></p><p>Streitschlichtung:</p><p>Wir sind nicht bereit oder verpflichtet, an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen.</p><p><br></p><p><strong>Haftung f&uuml;r Inhalte</strong></p><p><br></p><p>Als Diensteanbieter sind wir gem&auml;&szlig; &sect; 7 Abs.1 TMG f&uuml;r eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen verantwortlich. Nach &sect;&sect; 8 bis 10 TMG sind wir als Diensteanbieter jedoch nicht verpflichtet, &uuml;bermittelte oder gespeicherte fremde Informationen zu &uuml;berwachen oder nach Umst&auml;nden zu forschen, die auf eine rechtswidrige T&auml;tigkeit hinweisen.</p><p><br></p><p>Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den allgemeinen Gesetzen bleiben hiervon unber&uuml;hrt. Eine diesbez&uuml;gliche Haftung ist jedoch erst ab dem Zeitpunkt der Kenntnis einer konkreten Rechtsverletzung m&ouml;glich. Bei Bekanntwerden von entsprechenden Rechtsverletzungen werden wir diese Inhalte umgehend entfernen.</p><p><br></p><p><strong>Haftung f&uuml;r Links</strong></p><p><br></p><p>Unser Angebot enth&auml;lt Links zu externen Websites Dritter, auf deren Inhalte wir keinen Einfluss haben. Deshalb k&ouml;nnen wir f&uuml;r diese fremden Inhalte auch keine Gew&auml;hr &uuml;bernehmen. F&uuml;r die Inhalte der verlinkten Seiten ist stets der jeweilige Anbieter oder Betreiber der Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf m&ouml;gliche Rechtsverst&ouml;&szlig;e &uuml;berpr&uuml;ft. Rechtswidrige Inhalte waren zum Zeitpunkt der Verlinkung nicht erkennbar.</p><p><br></p><p>Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch ohne konkrete Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Links umgehend entfernen.</p><p><br></p><p><strong>Urheberrecht</strong></p><p><br></p><p>Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen dem deutschen Urheberrecht. Die Vervielf&auml;ltigung, Bearbeitung, Verbreitung und jede Art der Verwertung au&szlig;erhalb der Grenzen des Urheberrechtes bed&uuml;rfen der schriftlichen Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite sind nur f&uuml;r den privaten, nicht kommerziellen Gebrauch gestattet.</p><p><br></p><p>Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden, werden die Urheberrechte Dritter beachtet. Insbesondere werden Inhalte Dritter als solche gekennzeichnet. Sollten Sie trotzdem auf eine Urheberrechtsverletzung aufmerksam werden, bitten wir um einen entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Inhalte umgehend entfernen.</p>',\n    privacy: `<p><strong><span>Datenschutzrechtliche Einwilligung</span></strong></p><p><strong><span>&nbsp;</span></strong></p><p><strong><span>Hinweise zum Datenschutz</span></strong></p><p><strong><span>Was sind personenbezogene Daten im Rahmen der Plattform on-motions?</span></strong></p><p ><span>Personenbezogene Daten sind im Bundesdatenschutzgesetz (BDSG) sowie in der EU-Datenschutzgrundverordnung (EU-DSGVO) als &ldquo;alle Informationen, die sich auf eine identifizierte oder identifizierbare nat&uuml;rliche Person beziehen; als identifizierbar wird eine nat&uuml;rliche Person angesehen, die direkt oder indirekt, insbesondere mittels Zuordnung zu einer Kennung wie einem Namen, zu einer Kennnummer, zu Standortdaten, zu einer Online-Kennung oder zu einem oder mehreren besonderen Merkmalen identifiziert werden kann, die Ausdruck der physischen, physiologischen, genetischen, psychischen, wirtschaftlichen, kulturellen oder sozialen Identit&auml;t dieser nat&uuml;rlichen Person sind&rdquo; definiert (vgl. Art. 4 Nr. 1 EU-DSGVO). Damit gemeint sind zum Beispiel Ihr Name, Ihre E-Mail-Adresse, Ihre Telefonnummer oder Ihre Postanschrift &ndash; zusammengefasst also alle Angaben, die Ihre Person identifizierbar machen.</span></p><p><strong><span>Grundsatz</span></strong></p><p ><span>Der Schutz Ihrer personenbezogenen Daten hat bei der u-motions GmbH einen besonderen Stellenwert.</span></p><p ><span>Eine Datenerhebung, -verarbeitung und -nutzung Ihrer personenbezogenen Daten erfolgt nur, soweit dies im Zusammenhang mit der on-motions Plattform erforderlich ist und eine legitimierende Rechtsgrundlage existiert.&nbsp;</span></p><p><strong><span>Welche personenbezogenen Daten werden zu welchem Zweck erhoben, verarbeitet und genutzt?</span></strong></p><p ><span>Im Zusammenhang mit der Teilnahme an <span>LIVE Events vs. Digital Events</span> werden folgende personenbezogene Daten von Ihnen erhoben, verarbeitet und genutzt, um die Teilnahme in Form eines Online-Events zu erm&ouml;glichen. Hierzu werden diese Daten an u-motions GmbH weitergeleitet.</span></p><p ><span>Aufgrund Ihrer Anmeldung und Einwilligung werden bei der Registrierung folgende personenbezogenen Daten erhoben: <span>Anrede, Name, Vorname, E-Mail-Adresse, Firmenname, PLZ und Ort.</span></span></p><p><span>&nbsp;</span></p><p><strong><span>Datenschutzrechtliche Einwilligungserkl&auml;rung</span></strong></p><p><span>&nbsp;</span></p><p ><span >Mit Ihrer f&uuml;r die Anmeldung/Registrierung erforderlichen Zustimmung willigen Sie uns gegen&uuml;ber in die beschriebene Erhebung, Verarbeitung und Nutzung Ihrer personenbezogenen Daten ein, die im Zusammenhang mit der Begr&uuml;ndung, der Durchf&uuml;hrung und der Abwicklung Ihrer Teilnahme auf der Plattform on-motions &nbsp; erfolgt.</span></p><p><span>Diese Einwilligungserkl&auml;rung k&ouml;nnen Sie jederzeit mit Wirkung f&uuml;r die Zukunft gegen&uuml;ber u-motions GmbH widerrufen. Ihr Widerruf hat die Sperrung Ihres Zugangs zum <u>Online-Event</u> zur Folge.</span></p><p><span>&nbsp;</span></p><p><strong><span>&nbsp;</span></strong></p><p><strong><span>Datenweitergabe</span></strong></p><p><span>&nbsp;</span></p><p><span>Ohne Ihre ausdr&uuml;ckliche Einwilligung oder ohne eine rechtliche Verpflichtung &uuml;bermitteln wir Ihre personenbezogenen Daten <strong><span >nicht</span></strong> an Dritte.</span></p><p><strong><span>&nbsp;</span></strong></p><p><strong><span>Ihre Rechte:</span></strong></p><p><strong><span>&nbsp;</span></strong></p><p><strong><span>Welche Datenschutzrechte habe ich?</span></strong></p><p ><span>Jede betroffene Person, also jeder Teilnehmer des Fachforums, hat das Recht auf Auskunft nach Artikel 15 DSGVO, das Recht auf Berichtigung nach Artikel 16 DSGVO, das Recht auf L&ouml;schung nach Artikel 17 DSGVO, das Recht auf Einschr&auml;nkung der Verarbeitung nach Artikel 18 DSGVO, das Recht auf Widerspruch aus Artikel 21 DSGVO sowie das Recht auf Daten&uuml;bertragbarkeit aus Artikel 20 DSGVO. Beim Auskunftsrecht und beim L&ouml;schungsrecht gelten die Einschr&auml;nkungen nach &sect;34 und &sect;35 BDSG. Dar&uuml;ber hinaus besteht ein Beschwerderecht bei einer Datenschutzbeh&ouml;rde (Artikel 77 DSGVO i.V.m &sect;19 BDSG).</span></p><p ><span>Eine erteilte Einwilligung in die Verarbeitung personenbezogener Daten k&ouml;nnen Sie jederzeit uns gegen&uuml;ber widerrufen. Verarbeitungen, die vor dem Widerruf erfolgt sind, sind davon nicht betroffen.</span></p><p><strong><span>Kontakt</span></strong></p><p ><span>Wenn Sie Fragen hinsichtlich der Verarbeitung, &Uuml;bermittlung und Nutzung Ihrer Daten haben, k&ouml;nnen Sie sich schriftlich an unseren Datenschutzbeauftragten wenden. Die Kontaktdaten sind auf unserer Homepage&nbsp;</span><span><a href=\"http://www.u-motions.de\"><span>www.u-motions.de</span></a>&nbsp;</span><span>hinterlegt.</span></p><p><span>Die Datenschutzhinweise der u-motions GmbH finden Sie unter&nbsp;</span><span><a href=\"http://www.u-motions.de/datenschutzerklaerung/\"><span>www.u-motions.de/datenschutzerklaerung/</span></a></span><span>.</span></p><p><span>&nbsp;</span></p><p><span>Allgemeine Hinweise</span></p><p><span>&nbsp;</span></p><p><span>Die folgenden Hinweise geben einen einfachen &Uuml;berblick dar&uuml;ber, was mit Ihren personenbezogenen Daten passiert, wenn Sie unsere Website besuchen. Personenbezogene Daten sind alle Daten, mit denen Sie pers&ouml;nlich identifiziert werden k&ouml;nnen. Ausf&uuml;hrliche Informationen zum Thema Datenschutz entnehmen Sie unserer unter diesem Text aufgef&uuml;hrten Datenschutzerkl&auml;rung.</span></p><p><span>&nbsp;</span></p><p><span>Datenerfassung auf unserer Website</span></p><p><span>&nbsp;</span></p><p><span>Wer ist verantwortlich f&uuml;r die Datenerfassung auf dieser Website?</span></p><p><span>&nbsp;</span></p><p><span>Die Datenverarbeitung auf dieser Website erfolgt durch den Websitebetreiber. Dessen Kontaktdaten k&ouml;nnen Sie dem Impressum dieser Website entnehmen.</span></p><p><span>&nbsp;</span></p><p><span>Wie erfassen wir Ihre Daten?</span></p><p><span>&nbsp;</span></p><p><span>Ihre Daten werden zum einen dadurch erhoben, dass Sie uns diese mitteilen. Hierbei kann es sich z.B. um Daten handeln, die Sie in ein Kontaktformular eingeben.</span></p><p><span>&nbsp;</span></p><p><span>Andere Daten werden automatisch beim Besuch der Website durch unsere IT-Systeme erfasst. Das sind vor allem technische Daten (z.B. Internetbrowser, Betriebssystem oder Uhrzeit des Seitenaufrufs). Die Erfassung dieser Daten erfolgt automatisch, sobald Sie unsere Website betreten.</span></p><p><span>&nbsp;</span></p><p><span>Wof&uuml;r nutzen wir Ihre Daten?</span></p><p><span>&nbsp;</span></p><p><span>Ein Teil der Daten wird erhoben, um eine fehlerfreie Bereitstellung der Website zu gew&auml;hrleisten. Andere Daten k&ouml;nnen zur Analyse Ihres Nutzerverhaltens verwendet werden.</span></p><p><span>&nbsp;</span></p><p><span>Welche Rechte haben Sie bez&uuml;glich Ihrer Daten?</span></p><p><span>&nbsp;</span></p><p><span>Sie haben jederzeit das Recht unentgeltlich Auskunft &uuml;ber Herkunft, Empf&auml;nger und Zweck Ihrer gespeicherten personenbezogenen Daten zu erhalten. Sie haben au&szlig;erdem ein Recht, die Berichtigung, Sperrung oder L&ouml;schung dieser Daten zu verlangen. Hierzu sowie zu weiteren Fragen zum Thema Datenschutz k&ouml;nnen Sie sich jederzeit unter der im Impressum angegebenen Adresse an uns wenden. Des Weiteren steht Ihnen ein Beschwerderecht bei der zust&auml;ndigen Aufsichtsbeh&ouml;rde zu.</span></p><p><span>&nbsp;</span></p><p><span>Analyse-Tools und Tools von Drittanbietern</span></p><p><span>&nbsp;</span></p><p><span>Beim Besuch unserer Website kann Ihr Surf-Verhalten statistisch ausgewertet werden. Das geschieht vor allem mit Cookies und mit sogenannten Analyseprogrammen. Die Analyse Ihres Surf-Verhaltens erfolgt in der Regel anonym; das Surf-Verhalten kann nicht zu Ihnen zur&uuml;ckverfolgt werden. Sie k&ouml;nnen dieser Analyse widersprechen oder sie durch die Nichtbenutzung bestimmter Tools verhindern. Detaillierte Informationen dazu finden Sie in der folgenden Datenschutzerkl&auml;rung.</span></p><p><span>&nbsp;</span></p><p><span>Sie k&ouml;nnen dieser Analyse widersprechen. &Uuml;ber die Widerspruchsm&ouml;glichkeiten werden wir Sie in dieser Datenschutzerkl&auml;rung informieren.</span></p><p><span>&nbsp;</span></p><p><span>Allgemeine Hinweise und Pflichtinformationen</span></p><p><span>&nbsp;</span></p><p><span>Datenschutz</span></p><p><span>&nbsp;</span></p><p ><span>Die Betreiber dieser Seiten nehmen den Schutz Ihrer pers&ouml;nlichen Daten sehr ernst. Wir behandeln Ihre personenbezogenen Daten vertraulich und entsprechend der gesetzlichen Datenschutzvorschriften sowie dieser Datenschutzerkl&auml;rung.</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn Sie diese Website benutzen, werden verschiedene personenbezogene Daten erhoben. Personenbezogene Daten sind Daten, mit denen Sie pers&ouml;nlich identifiziert werden k&ouml;nnen. Die vorliegende Datenschutzerkl&auml;rung erl&auml;utert, welche Daten wir erheben und wof&uuml;r wir sie nutzen. Sie erl&auml;utert auch, wie und zu welchem Zweck das geschieht.</span></p><p ><span>&nbsp;</span></p><p ><span>Wir weisen darauf hin, dass die Daten&uuml;bertragung im Internet (z.B. bei der Kommunikation per E-Mail) Sicherheitsl&uuml;cken aufweisen kann. Ein l&uuml;ckenloser Schutz der Daten vor dem Zugriff durch Dritte ist nicht m&ouml;glich.</span></p><p ><span>&nbsp;</span></p><p ><span>Hinweis zur verantwortlichen Stelle</span></p><p ><span>&nbsp;</span></p><p ><span>Die verantwortliche Stelle f&uuml;r die Datenverarbeitung auf dieser Website ist:</span></p><p ><span>&nbsp;</span></p><p ><span>u-motions GmbH</span></p><p ><span>&nbsp;</span></p><p ><span>Schauenburgstrasse 17</span></p><p ><span>&nbsp;</span></p><p ><span>76135 Karlsruhe</span></p><p ><span>&nbsp;</span></p><p ><span>Telefon: 0721-915-778-700</span></p><p ><span>&nbsp;</span></p><p ><span>E-Mail: info@u-motions.de</span></p><p ><span>&nbsp;</span></p><p ><span>Verantwortliche Stelle ist die nat&uuml;rliche oder juristische Person, die allein oder gemeinsam mit anderen &uuml;ber die Zwecke und Mittel der Verarbeitung von personenbezogenen Daten (z.B. Namen, E-Mail-Adressen o. &Auml;.) entscheidet.</span></p><p ><span>&nbsp;</span></p><p ><span>Widerruf Ihrer Einwilligung zur Datenverarbeitung</span></p><p ><span>&nbsp;</span></p><p ><span>Viele Datenverarbeitungsvorg&auml;nge sind nur mit Ihrer ausdr&uuml;cklichen Einwilligung m&ouml;glich. Sie k&ouml;nnen eine bereits erteilte Einwilligung jederzeit widerrufen. Dazu reicht eine formlose Mitteilung per E-Mail an uns. Die Rechtm&auml;&szlig;igkeit der bis zum Widerruf erfolgten Datenverarbeitung bleibt vom Widerruf unber&uuml;hrt.</span></p><p ><span>&nbsp;</span></p><p ><span>Beschwerderecht bei der zust&auml;ndigen Aufsichtsbeh&ouml;rde</span></p><p ><span>&nbsp;</span></p><p ><span>Im Falle datenschutzrechtlicher Verst&ouml;&szlig;e steht dem Betroffenen ein Beschwerderecht bei der zust&auml;ndigen Aufsichtsbeh&ouml;rde zu. Zust&auml;ndige Aufsichtsbeh&ouml;rde in datenschutzrechtlichen Fragen ist der Landesdatenschutzbeauftragte des Bundeslandes, in dem unser Unternehmen seinen Sitz hat. Eine Liste der Datenschutzbeauftragten sowie deren Kontaktdaten k&ouml;nnen folgendem Link entnommen werden: https://www.bfdi.bund.de/DE/Infothek/Anschriften_Links/anschriften_links-node.html.</span></p><p ><span>&nbsp;</span></p><p ><span>Recht auf Daten&uuml;bertragbarkeit</span></p><p ><span>&nbsp;</span></p><p ><span>Sie haben das Recht, Daten, die wir auf Grundlage Ihrer Einwilligung oder in Erf&uuml;llung eines Vertrags automatisiert verarbeiten, an sich oder an einen Dritten in einem g&auml;ngigen, maschinenlesbaren Format aush&auml;ndigen zu lassen. Sofern Sie die direkte &Uuml;bertragung der Daten an einen anderen Verantwortlichen verlangen, erfolgt dies nur, soweit es technisch machbar ist.</span></p><p ><span>&nbsp;</span></p><p ><span>SSL- bzw. TLS-Verschl&uuml;sselung</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Seite nutzt aus Sicherheitsgr&uuml;nden und zum Schutz der &Uuml;bertragung vertraulicher Inhalte, wie zum Beispiel Bestellungen oder Anfragen, die Sie an uns als Seitenbetreiber senden, eine SSL-bzw. TLS-Verschl&uuml;sselung. Eine verschl&uuml;sselte Verbindung erkennen Sie daran, dass die Adresszeile des Browsers von &ldquo;http://&rdquo; auf &ldquo;https://&rdquo; wechselt und an dem Schloss-Symbol in Ihrer Browserzeile.</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn die SSL- bzw. TLS-Verschl&uuml;sselung aktiviert ist, k&ouml;nnen die Daten, die Sie an uns &uuml;bermitteln, nicht von Dritten mitgelesen werden.</span></p><p ><span>&nbsp;</span></p><p ><span>Auskunft, Sperrung, L&ouml;schung</span></p><p ><span>&nbsp;</span></p><p ><span>Sie haben im Rahmen der geltenden gesetzlichen Bestimmungen jederzeit das Recht auf unentgeltliche Auskunft &uuml;ber Ihre gespeicherten personenbezogenen Daten, deren Herkunft und Empf&auml;nger und den Zweck der Datenverarbeitung und ggf. ein Recht auf Berichtigung, Sperrung oder L&ouml;schung dieser Daten. Hierzu sowie zu weiteren Fragen zum Thema personenbezogene Daten k&ouml;nnen Sie sich jederzeit unter der im Impressum angegebenen Adresse an uns wenden.</span></p><p ><span>&nbsp;</span></p><p ><span>Widerspruch gegen Werbe-Mails</span></p><p ><span>&nbsp;</span></p><p ><span>Der Nutzung von im Rahmen der Impressumspflicht ver&ouml;ffentlichten Kontaktdaten zur &Uuml;bersendung von nicht ausdr&uuml;cklich angeforderter Werbung und Informationsmaterialien wird hiermit widersprochen. Die Betreiber der Seiten behalten sich ausdr&uuml;cklich rechtliche Schritte im Falle der unverlangten Zusendung von Werbeinformationen, etwa durch Spam-E-Mails, vor.</span></p><p ><span>&nbsp;</span></p><p ><span>Datenschutzbeauftragter</span></p><p ><span>&nbsp;</span></p><p ><span>Gesetzlich vorgeschriebener Datenschutzbeauftragter</span></p><p ><span>&nbsp;</span></p><p ><span>Wir haben f&uuml;r unser Unternehmen einen Datenschutzbeauftragten bestellt.</span></p><p ><span>&nbsp;</span></p><p ><span>Dennis Kurz &amp; Knut Oeder</span></p><p ><span>&nbsp;</span></p><p ><span>Schauenburgstra&szlig;e 17</span></p><p ><span>&nbsp;</span></p><p ><span>76135 karlsruhe</span></p><p ><span>&nbsp;</span></p><p ><span>Telefon: 0721-915-778-700</span></p><p ><span>&nbsp;</span></p><p ><span>E-Mail: datenschutz@u-motions.de</span></p><p ><span>&nbsp;</span></p><p ><span>Datenerfassung auf unserer Website</span></p><p ><span>&nbsp;</span></p><p ><span>Cookies</span></p><p ><span>&nbsp;</span></p><p ><span>Die Internetseiten verwenden teilweise so genannte Cookies. Cookies richten auf Ihrem Rechner keinen Schaden an und enthalten keine Viren. Cookies dienen dazu, unser Angebot nutzerfreundlicher, effektiver und sicherer zu machen. Cookies sind kleine Textdateien, die auf Ihrem Rechner abgelegt werden und die Ihr Browser speichert.</span></p><p ><span>&nbsp;</span></p><p ><span>Die meisten der von uns verwendeten Cookies sind so genannte &ldquo;Session-Cookies&rdquo;. Sie werden nach Ende Ihres Besuchs automatisch gel&ouml;scht. Andere Cookies bleiben auf Ihrem Endger&auml;t gespeichert bis Sie diese l&ouml;schen. Diese Cookies erm&ouml;glichen es uns, Ihren Browser beim n&auml;chsten Besuch wiederzuerkennen.</span></p><p ><span>&nbsp;</span></p><p ><span>Sie k&ouml;nnen Ihren Browser so einstellen, dass Sie &uuml;ber das Setzen von Cookies informiert werden und Cookies nur im Einzelfall erlauben, die Annahme von Cookies f&uuml;r bestimmte F&auml;lle oder generell ausschlie&szlig;en sowie das automatische L&ouml;schen der Cookies beim Schlie&szlig;en des Browser aktivieren. Bei der Deaktivierung von Cookies kann die Funktionalit&auml;t dieser Website eingeschr&auml;nkt sein.</span></p><p ><span>&nbsp;</span></p><p ><span>Cookies, die zur Durchf&uuml;hrung des elektronischen Kommunikationsvorgangs oder zur Bereitstellung bestimmter, von Ihnen erw&uuml;nschter Funktionen (z.B. Warenkorbfunktion) erforderlich sind, werden auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO gespeichert. Der Websitebetreiber hat ein berechtigtes Interesse an der Speicherung von Cookies zur technisch fehlerfreien und optimierten Bereitstellung seiner Dienste. Soweit andere Cookies (z.B. Cookies zur Analyse Ihres Surfverhaltens) gespeichert werden, werden diese in dieser Datenschutzerkl&auml;rung gesondert behandelt.</span></p><p ><span>&nbsp;</span></p><p ><span>Server-Log-Dateien</span></p><p ><span>&nbsp;</span></p><p ><span>Der Provider der Seiten erhebt und speichert automatisch Informationen in so genannten Server-Log-Dateien, die Ihr Browser automatisch an uns &uuml;bermittelt. Dies sind:</span></p><p ><span>&nbsp;</span></p><p ><span>Browsertyp und Browserversion</span></p><p ><span>&nbsp;</span></p><p ><span>verwendetes Betriebssystem</span></p><p ><span>&nbsp;</span></p><p ><span>Referrer URL</span></p><p ><span>&nbsp;</span></p><p ><span>Hostname des zugreifenden Rechners</span></p><p ><span>&nbsp;</span></p><p ><span>Uhrzeit der Serveranfrage</span></p><p ><span>&nbsp;</span></p><p ><span>IP-Adresse</span></p><p ><span>&nbsp;</span></p><p ><span>Eine Zusammenf&uuml;hrung dieser Daten mit anderen Datenquellen wird nicht vorgenommen.</span></p><p ><span>&nbsp;</span></p><p ><span>Grundlage f&uuml;r die Datenverarbeitung ist Art. 6 Abs. 1 lit. b DSGVO, der die Verarbeitung von Daten zur Erf&uuml;llung eines Vertrags oder vorvertraglicher Ma&szlig;nahmen gestattet.</span></p><p ><span>&nbsp;</span></p><p ><span>Kontaktformular</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn Sie uns per Kontaktformular Anfragen zukommen lassen, werden Ihre Angaben aus dem Anfrageformular inklusive der von Ihnen dort angegebenen Kontaktdaten zwecks Bearbeitung der Anfrage und f&uuml;r den Fall von Anschlussfragen bei uns gespeichert. Diese Daten geben wir nicht ohne Ihre Einwilligung weiter.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Verarbeitung der in das Kontaktformular eingegebenen Daten erfolgt somit ausschlie&szlig;lich auf Grundlage Ihrer Einwilligung (Art. 6 Abs. 1 lit. a DSGVO). Sie k&ouml;nnen diese Einwilligung jederzeit widerrufen. Dazu reicht eine formlose Mitteilung per E-Mail an uns. Die Rechtm&auml;&szlig;igkeit der bis zum Widerruf erfolgten Datenverarbeitungsvorg&auml;nge bleibt vom Widerruf unber&uuml;hrt.</span></p><p ><span>&nbsp;</span></p><p ><span>Die von Ihnen im Kontaktformular eingegebenen Daten verbleiben bei uns, bis Sie uns zur L&ouml;schung auffordern, Ihre Einwilligung zur Speicherung widerrufen oder der Zweck f&uuml;r die Datenspeicherung entf&auml;llt (z.B. nach abgeschlossener Bearbeitung Ihrer Anfrage). Zwingende gesetzliche Bestimmungen &ndash; insbesondere Aufbewahrungsfristen &ndash; bleiben unber&uuml;hrt.</span></p><p ><span>&nbsp;</span></p><p ><span>Analyse Tools und Werbung</span></p><p ><span>&nbsp;</span></p><p ><span>Google Analytics</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Website nutzt Funktionen des Webanalysedienstes Google Analytics.&nbsp;Anbieter ist die Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.</span></p><p ><span>&nbsp;</span></p><p ><span>Google Analytics verwendet so genannte &quot;Cookies&quot;. Das sind Textdateien, die auf Ihrem Computer gespeichert werden und die eine Analyse der Benutzung der Website durch Sie erm&ouml;glichen. Die durch den Cookie erzeugten Informationen &uuml;ber Ihre Benutzung dieser Website werden in der Regel an einen Server von Google in den USA &uuml;bertragen und dort gespeichert.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Speicherung von Google-Analytics-Cookies erfolgt auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO. Der Websitebetreiber hat ein berechtigtes Interesse an der Analyse des Nutzerverhaltens, um sowohl sein Webangebot als auch seine Werbung zu optimieren.</span></p><p ><span>&nbsp;</span></p><p ><span>IP Anonymisierung</span></p><p ><span>&nbsp;</span></p><p ><span>Wir haben auf dieser Website die Funktion IP-Anonymisierung aktiviert. Dadurch wird Ihre IP-Adresse von Google innerhalb von Mitgliedstaaten der Europ&auml;ischen Union oder in anderen Vertragsstaaten des Abkommens &uuml;ber den Europ&auml;ischen Wirtschaftsraum vor der &Uuml;bermittlung in die USA gek&uuml;rzt. Nur in Ausnahmef&auml;llen wird die volle IP-Adresse an einen Server von Google in den USA &uuml;bertragen und dort gek&uuml;rzt. Im Auftrag des Betreibers dieser Website wird Google diese Informationen benutzen, um Ihre Nutzung der Website auszuwerten, um Reports &uuml;ber die Websiteaktivit&auml;ten zusammenzustellen und um weitere mit der Websitenutzung und der Internetnutzung verbundene Dienstleistungen gegen&uuml;ber dem Websitebetreiber zu erbringen. Die im Rahmen von Google Analytics von Ihrem Browser &uuml;bermittelte IP-Adresse wird nicht mit anderen Daten von Google zusammengef&uuml;hrt.</span></p><p ><span>&nbsp;</span></p><p ><span>Browser Plugin</span></p><p ><span>&nbsp;</span></p><p ><span>Sie k&ouml;nnen die Speicherung der Cookies durch eine entsprechende Einstellung Ihrer Browser-Software verhindern; wir weisen Sie jedoch darauf hin, dass Sie in diesem Fall gegebenenfalls nicht s&auml;mtliche Funktionen dieser Website vollumf&auml;nglich werden nutzen k&ouml;nnen. Sie k&ouml;nnen dar&uuml;ber hinaus die Erfassung der durch den Cookie erzeugten und auf Ihre Nutzung der Website bezogenen Daten (inkl. Ihrer IP-Adresse) an Google sowie die Verarbeitung dieser Daten durch Google verhindern, indem Sie das unter dem folgenden Link verf&uuml;gbare Browser-Plugin herunterladen und installieren: https://tools.google.com/dlpage/gaoptout?hl=de.</span></p><p ><span>&nbsp;</span></p><p ><span>Widerspruch gegen Datenerfassung</span></p><p ><span>&nbsp;</span></p><p ><span>Sie k&ouml;nnen die Erfassung Ihrer Daten durch Google Analytics verhindern, indem Sie auf folgenden Link klicken. Es wird ein Opt-Out-Cookie gesetzt, der die Erfassung Ihrer Daten bei zuk&uuml;nftigen Besuchen dieser Website verhindert: Google Analytics deaktivieren.</span></p><p ><span>&nbsp;</span></p><p ><span>Mehr Informationen zum Umgang mit Nutzerdaten bei Google Analytics finden Sie in der Datenschutzerkl&auml;rung von Google: https://support.google.com/analytics/answer/6004245?hl=de.</span></p><p ><span>&nbsp;</span></p><p ><span>Auftragsdatenverarbeitung</span></p><p ><span>&nbsp;</span></p><p ><span>Wir haben mit Google einen Vertrag zur Auftragsdatenverarbeitung abgeschlossen und setzen die strengen Vorgaben der deutschen Datenschutzbeh&ouml;rden bei der Nutzung von Google Analytics vollst&auml;ndig um.</span></p><p ><span>&nbsp;</span></p><p ><span>Demografische Merkmale bei Google Analytics</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Website nutzt die Funktion &ldquo;demografische Merkmale&rdquo; von Google Analytics. Dadurch k&ouml;nnen Berichte erstellt werden, die Aussagen zu Alter, Geschlecht und Interessen der Seitenbesucher enthalten. Diese Daten stammen aus interessenbezogener Werbung von Google sowie aus Besucherdaten von Drittanbietern. Diese Daten k&ouml;nnen keiner bestimmten Person zugeordnet werden. Sie k&ouml;nnen diese Funktion jederzeit &uuml;ber die Anzeigeneinstellungen in Ihrem Google-Konto deaktivieren oder die Erfassung Ihrer Daten durch Google Analytics wie im Punkt &ldquo;Widerspruch gegen Datenerfassung&rdquo; dargestellt generell untersagen.</span></p><p ><span>&nbsp;</span></p><p ><span>Google Analytics Remarketing</span></p><p ><span>&nbsp;</span></p><p ><span>Unsere Websites nutzen die Funktionen von Google Analytics Remarketing in Verbindung mit den ger&auml;te&uuml;bergreifenden Funktionen von Google AdWords und Google DoubleClick.&nbsp;Anbieter ist die Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Funktion erm&ouml;glicht es die mit Google Analytics Remarketing erstellten Werbe-Zielgruppen mit den ger&auml;te&uuml;bergreifenden Funktionen von Google AdWords und Google DoubleClick zu verkn&uuml;pfen. Auf diese Weise k&ouml;nnen interessenbezogene, personalisierte Werbebotschaften, die in Abh&auml;ngigkeit Ihres fr&uuml;heren Nutzungs- und Surfverhaltens auf einem Endger&auml;t (z.B. Handy) an Sie angepasst wurden auch auf einem anderen Ihrer Endger&auml;te (z.B. Tablet oder PC) angezeigt werden.</span></p><p ><span>&nbsp;</span></p><p ><span>Haben Sie eine entsprechende Einwilligung erteilt, verkn&uuml;pft Google zu diesem Zweck Ihren Web- und App-Browserverlauf mit Ihrem Google-Konto. Auf diese Weise k&ouml;nnen auf jedem Endger&auml;t auf dem Sie sich mit Ihrem Google-Konto anmelden, dieselben personalisierten Werbebotschaften geschaltet werden.</span></p><p ><span>&nbsp;</span></p><p ><span>Zur Unterst&uuml;tzung dieser Funktion erfasst Google Analytics google-authentifizierte IDs der Nutzer, die vor&uuml;bergehend mit unseren Google-Analytics-Daten verkn&uuml;pft werden, um Zielgruppen f&uuml;r die ger&auml;te&uuml;bergreifende Anzeigenwerbung zu definieren und zu erstellen.</span></p><p ><span>&nbsp;</span></p><p ><span>Sie k&ouml;nnen dem ger&auml;te&uuml;bergreifenden Remarketing/Targeting dauerhaft widersprechen, indem Sie personalisierte Werbung in Ihrem Google-Konto deaktivieren; folgen Sie hierzu diesem Link: https://www.google.com/settings/ads/onweb/.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Zusammenfassung der erfassten Daten in Ihrem Google-Konto erfolgt ausschlie&szlig;lich auf Grundlage Ihrer Einwilligung, die Sie bei Google abgeben oder widerrufen k&ouml;nnen (Art. 6 Abs. 1 lit. a DSGVO). Bei Datenerfassungsvorg&auml;ngen, die nicht in Ihrem Google-Konto zusammengef&uuml;hrt werden (z.B. weil Sie kein Google-Konto haben oder der Zusammenf&uuml;hrung widersprochen haben) beruht die Erfassung der Daten auf Art. 6 Abs. 1 lit. f DSGVO. Das berechtigte Interesse ergibt sich daraus, dass der Websitebetreiber ein Interesse an der anonymisierten Analyse der Websitebesucher zu Werbezwecken hat.</span></p><p ><span>&nbsp;</span></p><p ><span>Weitergehende Informationen und die Datenschutzbestimmungen finden Sie in der Datenschutzerkl&auml;rung von Google unter: https://www.google.com/policies/technologies/ads/.</span></p><p ><span>&nbsp;</span></p><p ><span>Google AdWords und Google Conversion-Tracking</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Website verwendet Google AdWords.&nbsp;AdWords ist ein Online-Werbeprogramm der Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States (&ldquo;Google&rdquo;).</span></p><p ><span>&nbsp;</span></p><p ><span>Im Rahmen von Google AdWords nutzen wir das so genannte Conversion-Tracking. Wenn Sie auf eine von Google geschaltete Anzeige klicken wird ein Cookie f&uuml;r das Conversion-Tracking gesetzt. Bei Cookies handelt es sich um kleine Textdateien, die der Internet-Browser auf dem Computer des Nutzers ablegt. Diese Cookies verlieren nach 30 Tagen ihre G&uuml;ltigkeit und dienen nicht der pers&ouml;nlichen Identifizierung der Nutzer. Besucht der Nutzer bestimmte Seiten dieser Website und das Cookie ist noch nicht abgelaufen, k&ouml;nnen Google und wir erkennen, dass der Nutzer auf die Anzeige geklickt hat und zu dieser Seite weitergeleitet wurde.</span></p><p ><span>&nbsp;</span></p><p ><span>Jeder Google AdWords-Kunde erh&auml;lt ein anderes Cookie. Die Cookies k&ouml;nnen nicht &uuml;ber die Websites von AdWords-Kunden nachverfolgt werden. Die mithilfe des Conversion-Cookies eingeholten Informationen dienen dazu, Conversion-Statistiken f&uuml;r AdWords-Kunden zu erstellen, die sich f&uuml;r Conversion-Tracking entschieden haben. Die Kunden erfahren die Gesamtanzahl der Nutzer, die auf ihre Anzeige geklickt haben und zu einer mit einem Conversion-Tracking-Tag versehenen Seite weitergeleitet wurden. Sie erhalten jedoch keine Informationen, mit denen sich Nutzer pers&ouml;nlich identifizieren lassen. Wenn Sie nicht am Tracking teilnehmen m&ouml;chten, k&ouml;nnen Sie dieser Nutzung widersprechen, indem Sie das Cookie des Google Conversion-Trackings &uuml;ber ihren Internet-Browser unter Nutzereinstellungen leicht deaktivieren. Sie werden sodann nicht in die Conversion-Tracking Statistiken aufgenommen.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Speicherung von &ldquo;Conversion-Cookies&rdquo; erfolgt auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO. Der Websitebetreiber hat ein berechtigtes Interesse an der Analyse des Nutzerverhaltens, um sowohl sein Webangebot als auch seine Werbung zu optimieren.</span></p><p ><span>&nbsp;</span></p><p ><span>Mehr Informationen zu Google AdWords und Google Conversion-Tracking finden Sie in den Datenschutzbestimmungen von Google: https://www.google.de/policies/privacy/.</span></p><p ><span>&nbsp;</span></p><p ><span>Sie k&ouml;nnen Ihren Browser so einstellen, dass Sie &uuml;ber das Setzen von Cookies informiert werden und Cookies nur im Einzelfall erlauben, die Annahme von Cookies f&uuml;r bestimmte F&auml;lle oder generell ausschlie&szlig;en sowie das automatische L&ouml;schen der Cookies beim Schlie&szlig;en des Browser aktivieren. Bei der Deaktivierung von Cookies kann die Funktionalit&auml;t dieser Website eingeschr&auml;nkt sein.</span></p><p ><span>&nbsp;</span></p><p ><span>Google reCAPTCHA</span></p><p ><span>&nbsp;</span></p><p ><span>Wir nutzen &ldquo;Google reCAPTCHA&rdquo; (im Folgenden &ldquo;reCAPTCHA&rdquo;) auf unseren Websites.&nbsp;Anbieter ist die Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA (&ldquo;Google&rdquo;).</span></p><p ><span>&nbsp;</span></p><p ><span>Mit reCAPTCHA soll &uuml;berpr&uuml;ft werden, ob die Dateneingabe auf unseren Websites (z.B. in einem Kontaktformular) durch einen Menschen oder durch ein automatisiertes Programm erfolgt. Hierzu analysiert reCAPTCHA das Verhalten des Websitebesuchers anhand verschiedener Merkmale. Diese Analyse beginnt automatisch, sobald der Websitebesucher die Website betritt. Zur Analyse wertet reCAPTCHA verschiedene Informationen aus (z.B. IP-Adresse, Verweildauer des Websitebesuchers auf der Website oder vom Nutzer get&auml;tigte Mausbewegungen). Die bei der Analyse erfassten Daten werden an Google weitergeleitet.</span></p><p ><span>&nbsp;</span></p><p ><span>Die reCAPTCHA-Analysen laufen vollst&auml;ndig im Hintergrund. Websitebesucher werden nicht darauf hingewiesen, dass eine Analyse stattfindet.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Datenverarbeitung erfolgt auf Grundlage von Art. 6 Abs. 1 lit. f DSGVO. Der Websitebetreiber hat ein berechtigtes Interesse daran, seine Webangebote vor missbr&auml;uchlicher automatisierter Aussp&auml;hung und vor SPAM zu sch&uuml;tzen.</span></p><p ><span>&nbsp;</span></p><p ><span>Weitere Informationen zu Google reCAPTCHA sowie die Datenschutzerkl&auml;rung von Google entnehmen Sie folgenden Links: https://www.google.com/intl/de/policies/privacy/ und https://www.google.com/recaptcha/intro/android.html.</span></p><p ><span>&nbsp;</span></p><p ><span>Plugins und Tools</span></p><p ><span>&nbsp;</span></p><p ><span>YouTube</span></p><p ><span>&nbsp;</span></p><p ><span>Unsere Website nutzt Plugins der von Google betriebenen Seite YouTube. Betreiber der Seiten ist die YouTube, LLC, 901 Cherry Ave., San Bruno, CA 94066, USA.</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn Sie eine unserer mit einem YouTube-Plugin ausgestatteten Seiten besuchen, wird eine Verbindung zu den Servern von YouTube hergestellt. Dabei wird dem YouTube-Server mitgeteilt, welche unserer Seiten Sie besucht haben.</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn Sie in Ihrem YouTube-Account eingeloggt sind, erm&ouml;glichen Sie YouTube, Ihr Surfverhalten direkt Ihrem pers&ouml;nlichen Profil zuzuordnen. Dies k&ouml;nnen Sie verhindern, indem Sie sich aus Ihrem YouTube-Account ausloggen.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Nutzung von YouTube erfolgt im Interesse einer ansprechenden Darstellung unserer Online-Angebote. Dies stellt ein berechtigtes Interesse im Sinne von Art. 6 Abs. 1 lit. f DSGVO dar.</span></p><p ><span>&nbsp;</span></p><p ><span>Weitere Informationen zum Umgang mit Nutzerdaten finden Sie in der Datenschutzerkl&auml;rung von YouTube unter: https://www.google.de/intl/de/policies/privacy.</span></p><p ><span>&nbsp;</span></p><p ><span>Google Web Fonts</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Seite nutzt zur einheitlichen Darstellung von Schriftarten so genannte Web Fonts, die von Google bereitgestellt werden. Beim Aufruf einer Seite l&auml;dt Ihr Browser die ben&ouml;tigten Web Fonts in ihren Browsercache, um Texte und Schriftarten korrekt anzuzeigen.</span></p><p ><span>&nbsp;</span></p><p ><span>Zu diesem Zweck muss der von Ihnen verwendete Browser Verbindung zu den Servern von Google aufnehmen. Hierdurch erlangt Google Kenntnis dar&uuml;ber, dass &uuml;ber Ihre IP-Adresse unsere Website aufgerufen wurde. Die Nutzung von Google Web Fonts erfolgt im Interesse einer einheitlichen und ansprechenden Darstellung unserer Online-Angebote. Dies stellt ein berechtigtes Interesse im Sinne von Art. 6 Abs. 1 lit. f DSGVO dar.</span></p><p ><span>&nbsp;</span></p><p ><span>Wenn Ihr Browser Web Fonts nicht unterst&uuml;tzt, wird eine Standardschrift von Ihrem Computer genutzt.</span></p><p ><span>&nbsp;</span></p><p ><span>Weitere Informationen zu Google Web Fonts finden Sie unter https://developers.google.com/fonts/faq und in der Datenschutzerkl&auml;rung von Google: https://www.google.com/policies/privacy/.</span></p><p ><span>&nbsp;</span></p><p ><span>Google Maps</span></p><p ><span>&nbsp;</span></p><p ><span>Diese Seite nutzt &uuml;ber eine API den Kartendienst Google Maps.&nbsp;Anbieter ist die Google Inc., 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.</span></p><p ><span>&nbsp;</span></p><p ><span>Zur Nutzung der Funktionen von Google Maps ist es notwendig, Ihre IP Adresse zu speichern. Diese Informationen werden in der Regel an einen Server von Google in den USA &uuml;bertragen und dort gespeichert. Der Anbieter dieser Seite hat keinen Einfluss auf diese Daten&uuml;bertragung.</span></p><p ><span>&nbsp;</span></p><p ><span>Die Nutzung von Google Maps erfolgt im Interesse einer ansprechenden Darstellung unserer Online-Angebote und an einer leichten Auffindbarkeit der von uns auf der Website angegebenen Orte. Dies stellt ein berechtigtes Interesse im Sinne von Art. 6 Abs. 1 lit. f DSGVO dar.</span></p><p ><span>&nbsp;</span></p><p ><span>Mehr Informationen zum Umgang mit Nutzerdaten finden Sie in der Datenschutzerkl&auml;rung von Google: https://www.google.de/intl/de/policies/privacy/.</span></p>`\n  };\n  var _default = defaultTheme;\n  _exports.default = _default;\n});","define(\"event-services/theme/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@netzreich/u-models/models\", \"event-services/base/service\", \"event-services/theme/default\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _models, _service, _default) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class;\n\n  let ThemeService = (_dec = Ember.computed('clientID', 'models.[]', 'recomputeActiveTheme'), (_class = class ThemeService extends _service.default {\n    createChangeset(id) {\n      return super.createChangeset({\n        clientID: id,\n        config: _default.default\n      });\n    }\n\n    async update(model) {\n      const activeTheme = this.models.find(m => m.get('clientID') === this.clientID);\n\n      if (activeTheme != undefined) {\n        var _model$moduleConfig, _model$moduleConfig$f;\n\n        model.moduletitles = (_model$moduleConfig = model.moduleConfig) === null || _model$moduleConfig === void 0 ? void 0 : (_model$moduleConfig$f = _model$moduleConfig.filter(module => module.routeName && module.name)) === null || _model$moduleConfig$f === void 0 ? void 0 : _model$moduleConfig$f.reduce((res, module) => ({ ...res,\n          [module.routeName]: module.name\n        }), {});\n        activeTheme === null || activeTheme === void 0 ? void 0 : activeTheme.set('config', model);\n        super.update(activeTheme, false);\n      } else {\n        this.logger.error('Theme not found when updating');\n      }\n    } // Count this up to reset or recompute the activeThemeConfig\n\n\n    get activeThemeConfig() {\n      var _this$models$find, _data$config;\n\n      const data = (_this$models$find = this.models.find(m => m.get('clientID') === this.clientID)) === null || _this$models$find === void 0 ? void 0 : _this$models$find.get('pendingData');\n      console.log(data === null || data === void 0 ? void 0 : (_data$config = data.config) === null || _data$config === void 0 ? void 0 : _data$config.moduletitles); // To POJO\n\n      if (data == undefined) return undefined; // console.log(JSON.stringify(data.config, undefined, 2));\n\n      return JSON.parse(JSON.stringify(data.config));\n    }\n\n    constructor() {\n      super('Theme', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Theme);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Theme',\n        translated: {\n          de: 'Projekt-Design',\n          en: 'Theme'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"isClientAware\", false);\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      (0, _defineProperty2.default)(this, \"mergeDirtyModels\", false);\n      (0, _defineProperty2.default)(this, \"hasChanges\", false);\n      (0, _defineProperty2.default)(this, \"recomputeActiveTheme\", 0);\n      this.initDatastoreSubscription();\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"activeThemeConfig\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"activeThemeConfig\"), _class.prototype)), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = ThemeService;\n});","define(\"event-services/typed-bufferedchangesset.interface\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.BufferedChangeset = void 0;\n\n  class BufferedChangeset extends _validatedChangeset.BufferedChangeset {\n    constructor(obj, validateFn, validationMap, options) {\n      super(obj, validateFn, validationMap, options);\n    } // Hacky ts-ignore because we override the default function which accepts strings to\n    // a function which only accepts keys of the Type T\n    // @ts-ignore\n\n\n    set(key, value) {\n      super.set(key, value);\n    } // @ts-ignore\n\n\n    get(key) {\n      return super.get(key);\n    }\n\n    save(options) {\n      return super.save(options);\n    }\n\n  } // export function changeset<T>(\n  //   obj: object,\n  //   validateFn?: ValidatorAction,\n  //   validationMap?: ValidatorMap | null | undefined,\n  //   options?: Config\n  // ): BufferedChangeset {\n  //   return new BufferedChangeset<T>(obj, validateFn, validationMap, options);\n  // }\n  // export function Changeset<T>(\n  //   obj: object,\n  //   validateFn?: ValidatorAction,\n  //   validationMap?: ValidatorMap | null | undefined,\n  //   options?: Config\n  // ): BufferedChangeset {\n  //   const c: BufferedChangeset<T> = changeset<T>(\n  //     obj,\n  //     validateFn,\n  //     validationMap,\n  //     options\n  //   );\n  //   return new Proxy(c, {\n  //     get(targetBuffer, key /*, receiver*/) {\n  //       const res = targetBuffer.get(key.toString() as keyof T);\n  //       return res;\n  //     },\n  //     set(targetBuffer, key, value /*, receiver*/) {\n  //       console.log(key, value);\n  //       targetBuffer.set(key.toString() as keyof T, value);\n  //       return true;\n  //     },\n  //   });\n  // }\n\n\n  _exports.BufferedChangeset = BufferedChangeset;\n});","define(\"event-services/user/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\", \"@aws-amplify/auth\", \"@aws-amplify/api\", \"@ember-decorators/object\"], function (_exports, _defineProperty2, _applyDecoratedDescriptor2, _validators, _models, _service, _auth, _api, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class;\n\n  let UserService = (_dec = (0, _object.observes)('models.[]', 'activeModel'), (_class = class UserService extends _service.default {\n    constructor() {\n      super('User', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.User);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'User',\n        translated: {\n          de: 'Teilnehmer',\n          en: 'User'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"batchQuery\", 'upsertUserNoSub');\n      (0, _defineProperty2.default)(this, \"csvFields\", [{\n        field: 'id',\n        type: 'string'\n      }, {\n        field: 'lastname',\n        type: 'string'\n      }, {\n        field: 'invitecode',\n        type: 'string'\n      }, {\n        field: 'email',\n        type: 'string'\n      }, {\n        field: 'title',\n        type: 'string'\n      }, {\n        field: 'phone',\n        type: 'string'\n      }, {\n        field: 'description',\n        type: 'string'\n      }, {\n        field: 'username',\n        type: 'string'\n      }, {\n        field: 'salutation',\n        type: 'string'\n      }, {\n        field: 'salutationpraefix',\n        type: 'string'\n      }, {\n        field: 'company',\n        type: 'string'\n      }, {\n        field: 'firstname',\n        type: 'string'\n      }, {\n        field: 'city',\n        type: 'string'\n      }, {\n        field: 'address',\n        type: 'string'\n      }, {\n        field: 'zip',\n        type: 'string'\n      }, {\n        field: 'var1',\n        type: 'string'\n      }, {\n        field: 'var2',\n        type: 'string'\n      }, {\n        field: 'var3',\n        type: 'string'\n      }, {\n        field: 'var4',\n        type: 'string'\n      }, {\n        field: 'var5',\n        type: 'string'\n      }, {\n        field: 'country',\n        type: 'string'\n      }, {\n        field: 'username',\n        type: 'string'\n      }, {\n        field: 'finished',\n        type: 'boolean'\n      }, {\n        field: 'groups',\n        type: 'string'\n      }]);\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        firstname: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Vorname ist ein Pflichtfeld'\n        }),\n        lastname: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Nachname ist ein Pflichtfeld'\n        }),\n        email: [(0, _validators.validatePresence)({\n          presence: true,\n          message: 'E-Mail ist ein Pflichtfeld'\n        }), (0, _validators.validateFormat)({\n          type: 'email',\n          message: 'Gültige E-Mail Adresse erforderlich'\n        })]\n      });\n      this.initDatastoreSubscription();\n    }\n\n    onModelsChange() {\n      var _this$activeModel;\n\n      if ((_this$activeModel = this.activeModel) !== null && _this$activeModel !== void 0 && _this$activeModel.id) {\n        const foundModel = this.models.find(m => {\n          var _this$activeModel2;\n\n          return m.id === ((_this$activeModel2 = this.activeModel) === null || _this$activeModel2 === void 0 ? void 0 : _this$activeModel2.id);\n        });\n\n        if (foundModel) {\n          this.set('activeModel', foundModel);\n        }\n      }\n    }\n\n    async update(model, verbose) {\n      if (model.get('invitecode') === '') {\n        model.set('invitecode', undefined);\n      }\n\n      await super.update(model, verbose);\n    }\n\n    async create(modelChangeset) {\n      if (modelChangeset.get('invitecode') === '') {\n        modelChangeset.set('invitecode', undefined);\n      }\n\n      return await super.create(modelChangeset);\n    }\n\n    async beforeDelete(deleted) {\n      try {\n        // No username so we continue to delete\n        if (deleted.username == undefined) {\n          return deleted;\n        }\n\n        const res = await this.deleteCognitoUser(deleted);\n\n        if (res.message !== undefined && res.message.includes('Deleted')) {\n          return deleted;\n        } else {\n          console.error(res);\n\n          if (this.notificationService != undefined) {\n            this.notificationService.showError(res, `${this.modelname.translated.de} konnte nicht gelöscht werden!`);\n          }\n\n          return undefined;\n        }\n      } catch (e) {\n        var _this$notificationSer;\n\n        if (e.response !== undefined && e.response.data !== undefined && e.response.data.message !== undefined && e.response.data.message == 'User does not exist.') {\n          return deleted;\n        }\n\n        console.log(e.response);\n        (_this$notificationSer = this.notificationService) === null || _this$notificationSer === void 0 ? void 0 : _this$notificationSer.showError(e, 'Cognito User Deletion Failed');\n        return undefined;\n      }\n    }\n\n    async getCognitoUser(user) {\n      if (user.username == undefined) {\n        return undefined;\n      }\n\n      let apiName = 'AdminQueries';\n      let path = `/getUser`;\n      let myInit = {\n        queryStringParameters: {\n          username: user.username\n        },\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        }\n      };\n      return await _api.default.get(apiName, path, myInit);\n    }\n\n    async deleteCognitoUser(user) {\n      if (user.username == undefined) {\n        return undefined;\n      }\n\n      let apiName = 'AdminQueries';\n      let path = `/deleteUser`;\n      let myInit = {\n        body: {\n          username: user.username\n        },\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        }\n      };\n      return await _api.default.post(apiName, path, myInit);\n    }\n\n    async confirmCognitoUser(user) {\n      if (user.username == undefined) {\n        return undefined;\n      }\n\n      let apiName = 'AdminQueries';\n      let path = `/confirmUserSignUp`;\n      let myInit = {\n        body: {\n          username: user.username\n        },\n        headers: {\n          'Content-Type': 'application/json',\n          Authorization: `${(await _auth.default.currentSession()).getAccessToken().getJwtToken()}`\n        }\n      };\n      return await _api.default.post(apiName, path, myInit);\n    }\n\n    beforeParse(element, index) {\n      var _this$client;\n\n      if (element.username == '') {\n        return false;\n      }\n\n      if (!element.username.includes((_this$client = this.client) === null || _this$client === void 0 ? void 0 : _this$client.get('kuerzel'))) {\n        var _this$notificationSer2, _this$client2;\n\n        (_this$notificationSer2 = this.notificationService) === null || _this$notificationSer2 === void 0 ? void 0 : _this$notificationSer2.showError(`CSV Zeile(${index + 2}) ${element.username} beinhaltet nicht ${(_this$client2 = this.client) === null || _this$client2 === void 0 ? void 0 : _this$client2.get('kuerzel')}`, 'Kuerzel muss in username vorhanden sein');\n        return false;\n      } else if (element.invitecode == '' || element.invitecode == undefined) {\n        var _this$notificationSer3;\n\n        (_this$notificationSer3 = this.notificationService) === null || _this$notificationSer3 === void 0 ? void 0 : _this$notificationSer3.showError(`CSV Zeile(${index + 2}) ${element.username} hat kein Invitecode`, 'Invitecode muss vorhanden sein');\n        return false;\n      }\n\n      if (element.groups && typeof element.groups === 'string' && element.groups !== '') {\n        element.groups = element.groups.split(',').map(i => i.trim());\n      }\n\n      if (element.invitecode == '') {\n        delete element.invitecode;\n      }\n\n      element.finished = element.finished == 'true' ? true : false;\n\n      if (typeof element.email == 'string') {\n        element.email = element.email.toLowerCase();\n      }\n\n      if (typeof element.username == 'string') {\n        element.username = element.username.toLowerCase();\n      }\n\n      element.owner = element.username;\n      return element;\n    }\n\n    beforeSerialize(model) {\n      model = super.beforeSerialize(model);\n\n      if (Ember.isEmpty(model.invitecode)) {\n        model.invitecode = '';\n      }\n\n      if (typeof model.groups == 'object' && model.groups != undefined) {\n        model.groups = model.groups.join(',');\n      }\n\n      model.finished = model.finished ? 'true' : 'false';\n      return model;\n    }\n\n  }, ((0, _applyDecoratedDescriptor2.default)(_class.prototype, \"onModelsChange\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"onModelsChange\"), _class.prototype)), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = UserService;\n});","define(\"event-services/vote/service\", [\"exports\", \"@babel/runtime/helpers/esm/initializerDefineProperty\", \"@babel/runtime/helpers/esm/defineProperty\", \"@babel/runtime/helpers/esm/applyDecoratedDescriptor\", \"@babel/runtime/helpers/esm/initializerWarningHelper\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _initializerDefineProperty2, _defineProperty2, _applyDecoratedDescriptor2, _initializerWarningHelper2, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  var _dec, _class, _descriptor;\n\n  let VoteService = (_dec = Ember.inject.service('user'), (_class = class VoteService extends _service.default {\n    constructor() {\n      super('Vote', ...arguments);\n      (0, _initializerDefineProperty2.default)(this, \"userService\", _descriptor, this);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Vote);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Vote',\n        translated: {\n          de: 'Umfrage',\n          en: 'Vote'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", undefined);\n      (0, _defineProperty2.default)(this, \"isSecondaryExport\", false);\n      this.initDatastoreSubscription();\n    }\n\n    afterNoUpdateChange(model) {\n      model.rollback();\n    }\n\n    serializeToCSV() {\n      if (this.isSecondaryExport) {\n        const votes = this.models;\n        const serialized = [];\n\n        for (const vote of votes) {\n          for (const value of vote.get('values')) {\n            serialized.push({\n              id: vote.id,\n              frage: vote.get('question'),\n              value,\n              moderated: vote.get('moderatedvalues') == null || !vote.get('moderated') ? '' : vote.get('moderatedvalues').includes(value)\n            });\n          }\n        }\n\n        return serialized;\n      } else {\n        const users = this.userService.models;\n        const votes = this.models;\n        const serialized = [];\n\n        for (const vote of votes) {\n          for (const userVote of vote.get('votes')) {\n            var _users$find;\n\n            serialized.push({\n              id: vote.get('id'),\n              title: vote.get('question'),\n              user: (_users$find = users.find(u => u.id == userVote.user)) === null || _users$find === void 0 ? void 0 : _users$find.get('email'),\n              vote: userVote.vote\n            });\n          }\n        }\n\n        return serialized;\n      }\n    }\n\n  }, (_descriptor = (0, _applyDecoratedDescriptor2.default)(_class.prototype, \"userService\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  })), _class)); // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n  _exports.default = VoteService;\n});","define(\"event-services/wall/service\", [\"exports\", \"@babel/runtime/helpers/esm/defineProperty\", \"ember-changeset-validations/validators\", \"@netzreich/u-models/models\", \"event-services/base/service\"], function (_exports, _defineProperty2, _validators, _models, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  class WallService extends _service.default {\n    // Only logic see program-table-view for visual\n    constructor() {\n      super('Wall', ...arguments);\n      (0, _defineProperty2.default)(this, \"modelClass\", _models.Wall);\n      (0, _defineProperty2.default)(this, \"modelname\", {\n        name: 'Wall',\n        translated: {\n          de: 'Wall',\n          en: 'Wall'\n        }\n      });\n      (0, _defineProperty2.default)(this, \"sorting\", condition => {\n        condition['sorting']('ASCENDING');\n        return condition;\n      });\n      (0, _defineProperty2.default)(this, \"validatorMap\", {\n        name: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Name ist ein Pflichtfeld'\n        }),\n        sorting: (0, _validators.validatePresence)({\n          presence: true,\n          message: 'Sorting ist ein Pflichtfeld'\n        })\n      });\n      this.initDatastoreSubscription();\n    }\n\n  } // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n\n\n  _exports.default = WallService;\n});","define(\"moment/index\", [\"exports\", \"moment/lib\"], function (_exports, _lib) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  function compare(a, b) {\n    if (_lib.default.isMoment(a) && _lib.default.isMoment(b)) {\n      if (a.isBefore(b)) {\n        return -1;\n      } else if (a.isSame(b)) {\n        return 0;\n      } else {\n        return 1;\n      }\n    }\n\n    throw new Error('Arguments provided to `compare` are not moment objects');\n  }\n\n  _lib.default.prototype.compare = compare;\n  _lib.default.compare = compare;\n\n  _lib.default.prototype.clone = function clone() {\n    return (0, _lib.default)(this);\n  };\n\n  var _default = _lib.default;\n  _exports.default = _default;\n});","define(\"moment/lib\", [\"exports\", \"ember-get-config\"], function (_exports, _emberGetConfig) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /* globals self */\n  let moment;\n  const localeOutputPath = _emberGetConfig.default.moment && _emberGetConfig.default.moment.includeTimezone;\n\n  if (typeof self.FastBoot === 'undefined') {\n    moment = self.moment;\n  } else if (localeOutputPath) {\n    moment = self.FastBoot.require('moment-timezone');\n  } else {\n    moment = self.FastBoot.require('moment');\n  }\n\n  var _default = moment;\n  _exports.default = _default;\n});","\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChoVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACriLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChwUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/rBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7qIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClcA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1OA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3oDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACptDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACreA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/uFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3yLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1gBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACztEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AC57EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7yfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACplFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjkFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC55BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvjCA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7bA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;;ACHA;AACA;;ACDA;AACA;;ACDA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjeA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5fA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv2BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3ZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;","file":"vendor.js"}